:root {
  color-scheme: dark;
  font: 16px/1.45 'Inter', system-ui, sans-serif;
  color: #f0f3ef;
  background: #101513;
  --panel: #181f1c;
  --line: #35423b;
  --muted: #b0bdb4;
  --green: #b6edc3;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(1rem, 10vh, 6.5rem) 1rem 1rem;
  background: radial-gradient(ellipse at 50% 4%, #222e27 0, transparent 62%);
}
a { color: inherit; text-underline-offset: .2em; }
button, select { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #c0f5c9; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
.wrap { width: min(100%, 29rem); margin-inline: auto; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 2; padding: .65rem; background: #151b18; }
.skip:focus { top: .65rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app { overflow: clip; border: 1px solid #3b4b42; border-radius: 1rem; background: var(--panel); box-shadow: 0 24px 64px #080b0a66; }
.app-bar { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.15rem; }
.app-bar img { border-radius: .36rem; }
.app-bar h1 { font-size: 1.16rem; font-weight: 760; letter-spacing: -.045em; }
.connection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .85rem;
  min-height: 10rem;
  padding: 1.25rem 1.15rem;
  border-block: 1px solid var(--line);
  background: linear-gradient(108deg, #27352d, #1d2722 72%);
}
.connection::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(circle at calc(100% - 4.1rem) 50%, transparent 0 22px, #8ca79724 23px, transparent 24px 35px);
  mask-image: linear-gradient(to left, #000 15%, transparent 68%);
}
.connection-status { display: flex; align-items: center; gap: .45rem; color: #d1dbd4; font-size: .76rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.connection-status span { width: .47rem; height: .47rem; border-radius: 50%; background: #d1ad79; }
.connection h2 { margin-top: .33rem; font-size: clamp(1.6rem, 6vw, 2rem); letter-spacing: -.05em; line-height: 1.08; }
.connection h2 + p { max-width: 15.5rem; margin-top: .45rem; color: #d1dbd4; font-size: .875rem; }
.connection-link { display: inline-block; margin-top: .45rem; color: var(--green); font-size: .85rem; }
.power { display: grid; place-items: center; width: clamp(3.75rem, 18vw, 5.9rem); aspect-ratio: 1; padding: 0; border: 1px solid #617268; border-radius: 50%; background: #26332c; color: #aabbb0; }
.power span { position: relative; width: 36%; aspect-ratio: 1; border: .15rem solid currentColor; border-top-color: transparent; border-radius: 50%; }
.power span::after { content: ''; position: absolute; top: -.2rem; left: calc(50% - .075rem); width: .15rem; height: 55%; border-radius: .1rem; background: currentColor; }
.location { padding: 1.2rem 1.15rem 1.1rem; }
.account { border-bottom: 1px solid var(--line); }
.account button { margin-top: .75rem; }
.location h2, .plans summary { font-size: .97rem; font-weight: 700; }
.muted { margin-top: .22rem; color: var(--muted); font-size: .875rem; }
.location-row { position: relative; margin-top: .75rem; }
.location-row select { width: 100%; min-height: 2.8rem; padding: .5rem .75rem .5rem 2.5rem; border: 1px solid #52645a; border-radius: .42rem; background: #202b25; color: inherit; }
.globe { position: absolute; top: 50%; left: .85rem; width: 1rem; height: 1rem; transform: translateY(-50%); border: 1px solid #a4b7a9; border-radius: 50%; pointer-events: none; }
.globe::before, .globe::after { content: ''; position: absolute; }
.globe::before { inset: -1px .22rem; border-inline: 1px solid #a4b7a9; border-radius: 50%; }
.globe::after { inset: calc(50% - .5px) 0 auto; border-top: 1px solid #a4b7a9; }
.action { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin-top: .85rem; padding: .4rem .75rem; border: 1px solid var(--green); border-radius: .42rem; background: var(--green); color: #18281e; font-size: .87rem; font-weight: 710; text-decoration: none; }
.action:hover { background: #d2f5d8; }
.hint { margin-top: .35rem; color: var(--muted); font-size: .78rem; }
.plans { border-top: 1px solid var(--line); }
.plans summary { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; min-height: 3.3rem; padding: .7rem 1.15rem; cursor: pointer; list-style: none; }
.plans summary::-webkit-details-marker { display: none; }
.plans summary:focus-visible { outline-offset: -5px; }
.plans summary:hover { background: #222d26; }
.plans summary::after { content: ''; width: .42rem; height: .42rem; margin-inline: auto .2rem; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-.12rem); }
.plans summary:has(.plan-range)::after { margin-left: .2rem; }
.plans[open] summary::after { transform: rotate(225deg) translateY(-.12rem); }
.plan-range { margin-left: auto; color: var(--green); font-size: .8rem; font-weight: 500; }
.plan-list { padding: 0 1.15rem .9rem; }
.plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.plan h2 { font-size: .91rem; }
.plan h2 + p, .plan-note, .price span { color: var(--muted); font-size: .8rem; }
.price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price strong { color: var(--green); }
.plan-note { padding-top: .15rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: .85rem .2rem 0; color: var(--muted); font-size: .79rem; }
.secondary { min-height: 2.75rem; padding: .35rem .65rem; border: 1px solid #52645a; border-radius: .42rem; background: transparent; color: inherit; cursor: pointer; }
.secondary:hover { background: #202b25; }
.section { padding-block: 1.5rem; }
.section h1 { margin-bottom: .5rem; font-size: 2rem; }

@media (max-width: 360px) {
  .app-bar, .connection, .location, .plans summary { padding-inline: .85rem; }
  .plan-list { padding-inline: .85rem; }
}

@media (max-width: 520px) {
  body { padding-top: max(1.25rem, env(safe-area-inset-top)); }
}
