:root {
  color-scheme: light;
  --surface: #fff;
  --panel: #f4f7fb;
  --canvas: #edf2f8;
  --ink: #111a2b;
  --muted: #4d5d74;
  --line: #dce5ef;
  --accent: #234fdf;
  --accent-light: #e5ecff;
  --success: #176148;
  --success-light: #e6f5ec;
  --device-width: 414px;
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, label { touch-action: manipulation; }
button:focus-visible, a:focus-visible, label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
button:active { filter: brightness(.93); }
.presentation { min-height: 100dvh; display: grid; grid-template-columns: minmax(18rem, 24rem) var(--device-width); align-items: center; justify-content: center; gap: clamp(2rem, 7vw, 7rem); padding: 1.5rem 2rem; }
.desktop-intro { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 2.5rem; min-height: min(650px, calc(100dvh - 6rem)); }
.wordmark { display: inline-flex; gap: .55rem; align-items: center; white-space: nowrap; letter-spacing: .025em; font-size: .82rem; font-weight: 800; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 28px; border-radius: 7px; color: white; background: var(--ink); letter-spacing: -.08em; font-weight: 850; font-size: .9rem; }
.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .09em; color: var(--muted); }
.accent { color: var(--accent); }
.intro-main h1 { margin: .6rem 0 .95rem; font-size: clamp(3rem, 6vw, 4.7rem); line-height: .98; letter-spacing: -.08em; }
.intro-main > p:not(.eyebrow) { max-width: 20rem; color: var(--muted); }
.intro-note { font-size: .82rem; color: var(--muted); }
.desktop-steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .45rem; }
.desktop-steps li { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .875rem; font-weight: 600; }
.desktop-steps li::before { content: ""; display: block; width: 8px; height: 8px; border: 1px solid #9dacbd; border-radius: 50%; }
.desktop-steps li.done::before { background: #8fa6e5; border-color: #8fa6e5; }
.desktop-steps li[aria-current="step"] { color: var(--accent); font-weight: 800; }
.desktop-steps li[aria-current="step"]::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px #dce6ff; }
.device { background: var(--surface); border: 6px solid #202a3d; border-radius: 42px; height: min(830px, calc(100dvh - 3rem)); display: grid; grid-template-rows: 35px auto 3px minmax(0, 1fr) auto 17px; overflow: hidden; box-shadow: 0 24px 70px #23344e35, 0 6px 16px #23344e20; position: relative; }
.device-status { display: flex; align-items: center; justify-content: space-between; padding: 2px 1.5rem 0; font-size: .75rem; font-weight: 800; position: relative; }
.device-island { position: absolute; background: #202a3d; width: 74px; height: 16px; left: 50%; transform: translateX(-50%); border-radius: 12px; }
.device-symbols { display: flex; align-items: flex-end; gap: 4px; }
.device-symbols i:first-child { width: 11px; height: 8px; background: var(--ink); clip-path: polygon(0 75%, 20% 75%, 20% 50%, 40% 50%, 40% 25%, 60% 25%, 60% 0, 100% 0, 100% 100%, 0 100%); }
.device-symbols i:nth-child(2) { border: solid var(--ink); border-width: 2px 0 0; border-radius: 50%; width: 10px; height: 7px; }
.device-symbols i:last-child { width: 12px; height: 7px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); box-shadow: inset 0 0 0 1px white; }
.navigation { min-height: 52px; background: var(--surface); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1.15rem; gap: .4rem; }
.nav-brand { grid-column: 1 / 3; }
.nav-end { justify-self: end; }
.nav-button { min-height: 44px; min-width: 44px; border: 0; background: transparent; padding: 0; text-align: left; color: var(--accent); font-weight: 750; font-size: .88rem; }
.nav-button.nav-end { text-align: right; }
.nav-back { display: inline-flex; align-items: center; gap: 4px; justify-self: start; }
.nav-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.nav-label { text-align: center; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.nav-tag, .tag { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; width: max-content; padding: .22rem .52rem; border: 1px solid var(--line); border-radius: 100px; background: var(--panel); color: var(--muted); font-size: .75rem; font-weight: 780; white-space: nowrap; }
.nav-tag.active { color: var(--success); background: var(--success-light); border-color: #cde8d7; }
.nav-tag.active::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.progress { background: var(--panel); position: relative; }
.progress::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--progress, 20%); background: var(--accent); transition: width 220ms ease; }
.app-scroll { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; overscroll-behavior-y: contain; padding: 1.25rem 1.2rem 1rem; }
.app-scroll.forward > .view { animation: enter-forward 190ms ease-out both; }
.app-scroll.back > .view { animation: enter-back 190ms ease-out both; }
@keyframes enter-forward { from { opacity: .6; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: .6; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.view { display: grid; align-content: start; gap: 1rem; }
.view h2 { font-size: 1.75rem; letter-spacing: -.052em; line-height: 1.07; font-weight: 850; }
.view h2:focus { outline: none; }
.heading > p:not(.eyebrow) { color: var(--muted); margin-top: .5rem; }
.heading .eyebrow { margin-bottom: .45rem; }
.heading.center { text-align: center; }
.heading.center .tag { margin: 0 auto .45rem; }
.genie-view { min-height: 100%; align-content: center; justify-items: center; padding-block: 1rem; }
.genie-view .heading { max-width: 19rem; }
.genie-spark { width: 64px; height: 64px; border-radius: 18px; font-size: 2rem; }
.genie-progress { width: min(13rem, 100%); height: 6px; overflow: hidden; border-radius: 10px; background: var(--accent-light); }
.genie-progress::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left;
  animation: genie-build var(--genie-build-time) linear both;
}
@keyframes genie-build { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.feature-art { display: grid; justify-content: space-between; align-content: space-between; grid-template-columns: auto auto; min-height: 130px; background: #e8eeff; border: 1px solid #d5dfff; border-radius: 16px; color: #192f72; position: relative; overflow: hidden; padding: 1rem; }
.feature-art strong { font-size: 1.15rem; letter-spacing: -.035em; align-self: end; z-index: 1; line-height: 1.1; grid-column: 1; grid-row: 2; max-width: 9rem; }
.art-kicker { font-weight: 800; font-size: .75rem; letter-spacing: .09em; z-index: 1; }
.art-stage { width: 160px; position: absolute; right: 0; top: 0; bottom: 0; display: grid; place-items: center; }
.art-stage::before, .art-stage::after { content: ""; border-radius: 50%; position: absolute; border: 1px solid #cbd8fc; width: 164px; height: 164px; }
.art-stage::after { width: 132px; height: 132px; }
.art-phone { position: absolute; z-index: 1; height: 65px; width: 39px; border-radius: 9px; outline: 2px solid #4667bf; outline-offset: -2px; left: 20px; top: 45px; background: #f8faff; transform: rotate(-15deg); }
.art-phone:nth-child(2) { width: 50px; height: 86px; top: 24px; left: 48px; z-index: 2; background: #3159df; outline-color: #3159df; transform: rotate(-5deg); box-shadow: 0 4px 14px #27469d30; }
.art-phone:nth-child(3) { top: 32px; left: 87px; transform: rotate(13deg); }
.art-phone span { display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; margin: 7px auto; }
.art-phone:nth-child(2) span { color: white; }
.art-spark { width: 19px; height: 19px; position: absolute; right: 15px; top: 24px; color: var(--accent); font: 800 1.25rem/1 system-ui; z-index: 3; }
.feature-list, .plan-list, .cost-list, .usage-list { list-style: none; margin: 0; padding: 0; }
.feature-list { display: grid; gap: .5rem; }
.feature-list li, .option, .add-on, .metric, .panel, .activation, .status-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.feature-list li { padding: .65rem .75rem; display: flex; gap: .65rem; align-items: center; }
.feature-list b, .option b, .add-on b, .plan-list b, .cost-list b, .status-card b { display: block; font-size: .91rem; line-height: 1.23; }
.detail { display: block; font-size: .79rem; line-height: 1.35; margin-top: .16rem; color: var(--muted); }
.symbol { width: 29px; height: 29px; flex: 0 0 auto; display: inline-grid; place-items: center; background: var(--accent-light); color: var(--accent); border-radius: 8px; font-size: .86rem; font-weight: 850; }
.symbol.phone::before { content: ""; width: 9px; height: 14px; border: 1.5px solid; border-radius: 2px; }
.symbol.shield::before { content: "✓"; font-size: .72rem; line-height: 13px; color: white; text-align: center; width: 13px; height: 15px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 96% 55%, 50% 100%, 4% 55%); }
.field { padding: 0; margin: 0; border: 0; min-width: 0; }
.field legend { padding: 0; width: 100%; margin-bottom: .5rem; }
.legend-content { display: flex; gap: .5rem; align-items: center; justify-content: space-between; font-size: .91rem; font-weight: 800; }
.segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.segmented label, .option, .add-on { cursor: pointer; position: relative; }
.segmented input, .option input, .add-on input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.segmented label { display: grid; min-height: 44px; place-items: center; color: var(--ink); font-size: .94rem; font-weight: 750; border: 1px solid #cbd7e7; border-radius: 9px; background: var(--surface); }
.segmented label:has(input:checked) { background: var(--ink); color: white; border-color: var(--ink); }
.options, .add-ons { display: grid; gap: .45rem; }
.option { display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center; min-height: 46px; padding: .42rem .6rem; background: white; }
.option:has(input:checked) { background: #f1f5ff; border-color: #9fb0e2; }
.option:has(input:checked) .checkbox { background: var(--accent); border-color: var(--accent); }
.option:has(input:checked) .checkbox::after { content: "✓"; color: white; line-height: 1; }
.checkbox { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #aab9cc; border-radius: 5px; font-size: .8rem; font-weight: 800; }
.choice-detail { color: var(--muted); font-size: .75rem; text-align: right; }
.add-on { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; min-height: 58px; padding: .6rem .7rem; }
.switch { position: relative; width: 42px; height: 24px; background: #aebacb; border-radius: 2rem; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform .15s; box-shadow: 0 1px 3px #202c4d42; }
.add-on:has(input:checked) .switch { background: var(--accent); }
.add-on:has(input:checked) .switch::after { transform: translateX(18px); }
.metric-grid, .status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.metric { padding: .7rem .45rem; text-align: center; }
.metric p, .total p, .usage-heading p, .usage-title { font-size: .73rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.metric b { display: block; margin-top: .15rem; font-size: 1rem; letter-spacing: -.02em; }
.panel { padding: .8rem; }
.plan-list li { display: flex; align-items: flex-start; gap: .55rem; padding: .4rem 0; }
.plan-list .symbol { background: var(--ink); color: white; width: 24px; height: 24px; border-radius: 50%; font-size: .69rem; }
.panel-note { border-top: 1px solid var(--line); margin-top: .45rem; padding-top: .65rem; text-align: center; color: var(--muted); font-size: .78rem; font-weight: 750; }
.cost-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; padding: .55rem 0; }
.cost-list li:first-child { padding-top: 0; }
.cost-list li:last-child { padding-bottom: 0; }
.cost-list li + li { border-top: 1px solid var(--line); }
.amount { white-space: nowrap; text-align: right; }
.amount .detail { display: inline; font-size: .7rem; }
.total { border: 2px solid var(--ink); border-radius: 12px; padding: .7rem .78rem; display: flex; gap: .4rem; justify-content: space-between; align-items: center; background: var(--panel); }
.total strong { letter-spacing: -.06em; line-height: 1; font-size: 1.85rem; }
.total .amount .detail { font-size: .8rem; font-weight: 700; }
.comparison-heading { display: flex; align-items: center; gap: .55rem; }
.comparison-heading h3 { font-size: 1rem; line-height: 1.2; }
.comparison-note { margin: .65rem 0 .4rem; color: var(--muted); font-size: .875rem; }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: .875rem; line-height: 1.3; }
.comparison-table :is(th, td) { padding: .5rem .3rem; vertical-align: top; overflow-wrap: anywhere; }
.comparison-table thead th { color: var(--muted); }
.comparison-table th:first-child { width: 36%; }
.comparison-table tbody tr { border-top: 1px solid var(--line); }
.comparison-table .comparison-total { background: var(--accent-light); color: #192f72; font-weight: 800; }
.guarantee { border-radius: 12px; background: var(--ink); color: white; display: flex; align-items: flex-start; gap: .65rem; padding: .85rem; }
.guarantee b { font-size: .91rem; }
.guarantee .detail { color: #d5def0; }
.guarantee .symbol { background: #375077; color: white; }
.guarantee .symbol.shield::before { background: #fff; color: var(--ink); }
.activation { display: flex; align-items: center; gap: .6rem; padding: .72rem; background: var(--success-light); border-color: #c5e7d3; }
.activation strong { font-size: .93rem; }
.activation .symbol { background: var(--success); color: white; border-radius: 50%; }
.status-card { padding: .62rem; }
.status-card .detail, .activation .detail { margin-top: .1rem; }
.usage-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: .4rem; }
.usage-heading strong { font-size: 1.27rem; letter-spacing: -.035em; }
meter { display: block; width: 100%; height: 12px; appearance: none; border: 0; background: #dce4ef; border-radius: 10px; overflow: hidden; margin: .58rem 0 .5rem; }
meter::-webkit-meter-bar { height: 12px; background: #dce4ef; border: 0; }
meter::-webkit-meter-optimum-value { background: var(--accent); border-radius: 10px; }
meter::-moz-meter-bar { background: var(--accent); border-radius: 10px; }
.usage-list li { display: flex; justify-content: space-between; gap: .65rem; padding: .33rem 0; color: var(--muted); font-size: .83rem; }
.usage-list li + li { border-top: 1px solid var(--line); }
.usage-list li b { color: var(--ink); white-space: nowrap; }
.bill-note { display: flex; gap: .45rem; background: #eff4fb; border: 1px solid var(--line); border-radius: 10px; padding: .65rem; font-size: .82rem; color: var(--muted); }
.bill-note b { color: var(--ink); }
.app-footer { padding: .66rem 1.2rem .25rem; border-top: 1px solid var(--line); background: #fff; }
.primary, .secondary { border-radius: 11px; min-height: 48px; padding: .57rem .85rem; font-size: .94rem; font-weight: 800; border: 1px solid var(--ink); text-align: center; }
.primary { width: 100%; background: var(--ink); color: white; }
.secondary { width: 100%; border-color: var(--line); background: var(--panel); color: var(--ink); }
.footer-note { color: var(--muted); text-align: center; font-size: .72rem; margin-top: .4rem; line-height: 1.25; }
.home-indicator { width: 106px; height: 4px; border-radius: 4px; background: #202a3d; align-self: center; justify-self: center; }
dialog { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 22px; width: min(384px, calc(100% - 2rem)); max-height: min(90dvh, 600px); padding: 1.2rem; box-shadow: 0 15px 65px #111a2b48; }
dialog[open] { animation: sheet-in 180ms ease-out both; }
dialog::backdrop { background: #121d36aa; }
@keyframes sheet-in { from { opacity: .5; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sheet-grip { display: block; width: 36px; height: 4px; margin: 0 auto 1rem; border-radius: 3px; background: #cad4e1; }
dialog h2 { font-size: 1.4rem; font-weight: 850; letter-spacing: -.04em; }
dialog > p { margin-top: .45rem; color: var(--muted); }
.sheet-buttons { display: grid; gap: .48rem; margin-top: 1rem; }
.sheet-data { margin-top: .8rem; }
@media (max-width: 859px) {
  :root { --device-width: 100%; }
  .presentation { display: block; padding: 0; }
  .desktop-intro, .device-status, .home-indicator { display: none; }
  .device { height: 100dvh; border: 0; border-radius: 0; box-shadow: none; grid-template-rows: auto 3px minmax(0, 1fr) auto; }
  .navigation { padding-top: env(safe-area-inset-top); min-height: calc(54px + env(safe-area-inset-top)); }
  .navigation, .app-scroll, .app-footer { padding-left: max(1.15rem, env(safe-area-inset-left)); padding-right: max(1.15rem, env(safe-area-inset-right)); }
  .app-footer { padding-bottom: max(.65rem, env(safe-area-inset-bottom)); }
  dialog { inset: auto 0 0; margin: 0 auto; width: 100%; max-width: none; border-radius: 22px 22px 0 0; padding-bottom: max(1.2rem, env(safe-area-inset-bottom)); }
}
@media (min-width: 520px) and (max-width: 859px) {
  .view, .app-footer > *, .navigation > * { max-width: 28rem; }
  .view { margin-inline: auto; }
  .app-footer > * { display: block; margin-inline: auto; }
}
@media (max-width: 350px) {
  .feature-art { padding: .8rem; }
  .art-stage { transform: scale(.85); transform-origin: right center; }
  .app-scroll, .app-footer, .navigation {
    padding-left: max(.8rem, env(safe-area-inset-left));
    padding-right: max(.8rem, env(safe-area-inset-right));
  }
  .option { gap: .35rem; }
  .choice-detail { font-size: .69rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .genie-progress::after { width: 33%; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.detail.inline { display: inline; }
.retest { display: block; margin: .1rem auto 0; background: transparent; border: 0; min-height: 44px; padding: .1rem .7rem; color: var(--accent); font-size: .87rem; font-weight: 750; }
.line-stepper { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; font-size: .87rem; color: var(--muted); }
.line-stepper > div { display: flex; align-items: center; gap: .5rem; }
.line-stepper button { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); min-width: 44px; min-height: 44px; font-weight: 850; }
.line-stepper button:disabled { opacity: .45; cursor: default; }
