@font-face {
  font-family: Bricolage;
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --midnight: #181526;
  --ink: #211c33;
  --cream: #fff9e7;
  --lilac: #d0c8e0;
  --mint: #68eccc;
  --mango: #ffc84f;
  --coral: #ff8e86;
  --display: Bricolage, ui-rounded, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* {box-sizing: border-box;}
html {scroll-behavior: smooth; scroll-padding-top: 1rem;}
body {margin: 0; background: var(--midnight); color: var(--cream); font-family: var(--display); font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased;}
a {color: inherit; text-underline-offset: .22em;}
button {font: inherit; cursor: pointer;}
button, a {touch-action: manipulation;}
a:focus-visible, button:focus-visible, summary:focus-visible {outline: 3px solid currentColor; outline-offset: 4px;}
[hidden] {display: none !important;}
h1,h2,h3,h4,p,dl,dd {margin: 0;}
.container {width: min(1200px, 87%); margin-inline: auto;}
.sr-only, .skip-link:not(:focus) {position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;}
.skip-link:focus {position: fixed; inset: 12px auto auto 12px; z-index: 10; padding: .6rem; background: var(--cream); color: var(--ink);}
.topbar {border-bottom: 1px solid #3b354d; background: #181526;}
.nav-inner, .footer-inner {display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;}
.nav-inner {min-height: 80px;}
.brand, .wordmark {font-family: var(--display); font-weight: 800; font-size: 1.52rem; text-decoration: none; letter-spacing: -.055em; display: inline-flex; align-items: center; gap: .74rem; min-height: 44px;}
.key-logo {height: 24px; display: inline-flex; align-items: center; gap: 3px; transform: rotate(-7deg);}
.key-logo i {height: 16px; width: 9px; border-radius: 2px; background: var(--mint); box-shadow: 0 3px #348b80;}
.key-logo i:nth-child(2) {height: 22px; background: var(--mango); box-shadow: 0 3px #a7722b;}
.key-logo i:nth-child(3) {height: 18px; background: var(--coral); box-shadow: 0 3px #9f545e;}
nav {display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.8rem,3vw,2.4rem);}
nav a {display: inline-flex; align-items: center; min-height: 44px; color: #dfd9ea; font-size: .965rem; font-weight: 600; text-decoration: none;}
nav a:hover {color: var(--mint); text-decoration: underline;}
.hero {position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 81% 62%,#332950 0%,#201a32 38%,var(--midnight) 72%);}
.hero-grid {display: grid; grid-template-columns: 1fr 1.03fr; align-items: center; gap: clamp(1rem,4vw,4rem); min-height: clamp(560px,44vw,650px);}
.hero-copy {position: relative; z-index: 2; padding-block: 3.8rem;}
.availability {display: flex; align-items: center; gap: .6rem; font: 600 .88rem/1.5 var(--mono); color: var(--lilac); letter-spacing: -.02em;}
.phone-icon {width: 12px; height: 18px; border: 1.8px solid var(--mint); border-radius: 3px; position: relative;}
.phone-icon::after {content: ""; position: absolute; width: 4px; height: 1.5px; bottom: 1.5px; left: 2.25px; background: var(--mint);}
h1 {font-size: clamp(4.2rem,7.2vw,7.4rem); line-height: .97; font-weight: 800; letter-spacing: -.06em;}
.hero h1 {margin: 1.45rem 0 1.25rem;}
.mint-text {color: var(--mint);}
.mango-text {color: var(--mango);}
.coral-text {color: var(--coral);}
.hero-description {max-width: 24em; color: #e0d9ea; font-size: clamp(1.22rem,1.7vw,1.48rem); line-height: 1.42; letter-spacing: -.025em; text-wrap: pretty;}
.primary-button {display: inline-flex; align-items: center; justify-content: center; gap: .72rem; min-height: 52px; margin: 1.85rem 0 .45rem; padding: .72rem 1.18rem; border: 2px solid #121020; border-radius: 11px; background: var(--mint); color: var(--ink); box-shadow: 0 4px 0 #347f77; text-decoration: none; line-height: 1.25; font-weight: 800; font-size: 1.02rem;}
.primary-button:hover {background: #97f4dd;}
.primary-button:active {transform: translateY(2px); box-shadow: 0 2px 0 #347f77;}
.primary-button:focus-visible {outline-color: white;}
.bars-icon {display: inline-flex; height: 17px; gap: 3px; align-items: end;}
.bars-icon i {width: 4px; height: 7px; background: currentColor; border-radius: 1px 1px 0 0;}
.bars-icon i:nth-child(2) {height: 15px;}
.bars-icon i:nth-child(3) {height: 11px;}
/* An arcade marquee surrounding the native simulator capture. */
.hero-art {isolation: isolate; position: relative; min-width: 0; height: 100%; min-height: 500px; display: grid; place-items: center;}
.scene {position: absolute; z-index: -2; inset: 0 -12%; overflow: hidden; pointer-events: none;}
.orb {position: absolute; width: 74%; aspect-ratio: 1; top: 49%; left: 51%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid #7e6faa70; background: radial-gradient(ellipse at 55% 37%,#58457585,#372d5988 66%,#34304f55); box-shadow: inset 0 0 50px #a798ee0b;}
.orb::after {content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle,#c6acea65 1px,transparent 1.4px) 0 0/7px 7px; mask-image: linear-gradient(155deg,#000b,transparent 52%,#0005);}
.orbit {position: absolute; width: 88%; aspect-ratio: 1; left: 51%; top: 49%; transform: translate(-50%,-50%); border: 1px dashed #83769f4f; border-radius: 50%;}
.horizon {position: absolute; left: -22%; right: -22%; bottom: -16%; height: 40%; background-image: linear-gradient(#a68ce55c 1px,transparent 1px),linear-gradient(90deg,#a68ce55c 1px,transparent 1px); background-size: 34px 26px; transform: perspective(150px) rotateX(44deg); mask-image: radial-gradient(ellipse at 48% 30%,#000b, transparent 66%);}
.pixel-star {position: absolute; width: var(--size,16px); aspect-ratio: 1; background: var(--star,#d3b9ff); clip-path: polygon(40% 0,60% 0,60% 27%,73% 27%,73% 40%,100% 40%,100% 60%,73% 60%,73% 73%,60% 73%,60% 100%,40% 100%,40% 73%,27% 73%,27% 60%,0 60%,0 40%,27% 40%,27% 27%,40% 27%);}
.star1 {left: 17%; top: 20%; --size: 23px; --star: var(--mango);}
.star2 {left: 76%; top: 16%; --size: 12px; --star: var(--mint);}
.star3 {left: 88%; top: 46%; --size: 22px;}
.star4 {left: 14%; top: 58%; --size: 12px; --star: #a69cc1;}
.star5 {left: 25%; top: 83%; --size: 18px; --star: var(--mint);}
.star6 {left: 79%; top: 79%; --size: 10px; --star: var(--mango);}
.star7 {left: 30%; top: 11%; --size: 7px;}
.handset {width: clamp(222px,17.6vw,256px); padding: 5px; border: 2px solid #aaa0b7; border-radius: 39px; background: #100e18; box-shadow: inset -1px 0 0 1px #4f495b,3px 3px 0 #54485f,13px 24px 38px #0d081bbb; transform: rotate(4deg); position: relative;}
.handset img {display: block; width: 100%; height: auto; border-radius: 31px;}
.keycap {--key-color: var(--mint); --key-shade: #398b7c; display: grid; place-items: center; width: clamp(58px,5vw,79px); aspect-ratio: 1.15; position: absolute; border: 2px solid #272034; border-radius: 20%; background: var(--key-color); color: var(--ink); box-shadow: inset 0 0 0 2px #ffffff42,inset 0 0 0 5px #29213012,0 6px 0 var(--key-shade),0 8px 0 1px #1e1929,6px 12px 16px #14102080; font-weight: 800; font-size: clamp(1.6rem,2.15vw,2.3rem); line-height: 1; letter-spacing: -.07em;}
.key-in {left: 9%; top: 30%; transform: rotate(-14deg);}
.key-at {--key-color: var(--coral); --key-shade: #a75b63; right: 7%; top: 23%; transform: rotate(14deg);}
.key-on {--key-color: var(--mango); --key-shade: #a57b2f; right: 9%; bottom: 21%; transform: rotate(-9deg);}
.stats-section {background: #f7f2e7; color: var(--ink); padding-block: clamp(3.5rem,6vw,5.5rem);}
h2 {font-size: clamp(2.25rem,4vw,3.7rem); font-weight: 800; line-height: 1.04; letter-spacing: -.06em; text-wrap: balance;}
.period {color: #5c5a99;}
.section-intro p, .plan-intro p {color: #595365; margin-top: .68rem; font-size: 1.12rem; line-height: 1.5; text-wrap: pretty;}
.stats-panel {margin-top: 1.9rem; padding: clamp(1.1rem,2.6vw,2.2rem); background: #fffdf6; border: 1px solid #d2cabb; border-radius: 20px; box-shadow: 0 4px #ddd5c6;}
.stats-toolbar {display: flex; justify-content: space-between; gap: 1rem; align-items: center;}
.stats-toolbar h3 {display: flex; align-items: center; gap: .62rem; font-weight: 750; font-size: 1.2rem; letter-spacing: -.03em;}
.stats-toolbar .bars-icon {color: #585082;}
.switch {display: inline-flex; align-items: center; border-radius: 10px; background: #eee9df; padding: 3px; border: 1px solid #d6d0c5;}
.switch button {min-height: 44px; border: 0; border-radius: 7px; padding: .3rem .92rem; font-weight: 700; font-size: .91rem; color: #554f60; background: transparent;}
.switch button[aria-pressed=true] {color: #fff9e7; background: #332b47;}
.switch button:focus-visible {outline-color: #675784;}
.metrics {margin: 1.5rem 0; padding-block: .55rem; display: grid; grid-template-columns: repeat(4,1fr);}
.metrics > div {padding-inline: clamp(.7rem,2.3vw,2rem); border-left: 1px solid #ded7c8;}
.metrics > div:first-child {padding-left: 0; border-left: 0;}
.metrics dt {font-weight: 650; color: #554e60; display: flex; align-items: center; gap: .46rem; line-height: 1.4;}
.metric-dot {display: inline-block; height: .68rem; width: .68rem; border-radius: 3px; box-shadow: inset 0 0 0 1px #211c332f; transform: rotate(-6deg);}
.mint-bg {background: var(--mint);}
.mango-bg {background: var(--mango);}
.coral-bg {background: var(--coral);}
.metrics dd {font-weight: 800; letter-spacing: -.06em; line-height: 1.15; font-variant-numeric: tabular-nums; font-size: clamp(2.25rem,4vw,3.4rem); overflow-wrap: anywhere;}
.trend {border-top: 1px solid #dfd8cb; padding-top: 1.1rem;}
.trend h4 {font-size: 1.02rem; font-weight: 750;}
#stats-message:not(:empty) {color: #514a59; font-size: 1rem; margin-top: .6rem;}
#retry-stats {min-height: 44px; background: transparent; border: 0; padding: 0 .2rem; text-decoration: underline; font-weight: 700; color: #3e3754;}
#chart-bars {height: 125px; margin-top: .7rem; display: flex; align-items: stretch; gap: clamp(1px,.3vw,4px); border-bottom: 1px solid #a9a09b; background: repeating-linear-gradient(to top,transparent,transparent calc(33.333% - 1px),#dfd9ce 33.333%);}
.bar-column {flex: 1; min-width: 0; display: flex; align-items: end; justify-content: center;}
.bar {display: block; width: min(100%,3rem); background: #695a96; border-radius: 3px 3px 0 0;}
.axis {display: flex; justify-content: space-between; gap: .5rem; color: #595365; font: .81rem/1.6 var(--mono); margin-top: .25rem;}
#stats-table {margin-top: .5rem;}
#stats-table summary {width: fit-content; cursor: pointer; padding: .6rem 0; min-height: 44px; font-size: .95rem; font-weight: 650;}
.table-scroll {max-height: 250px; overflow: auto;}
table {border-collapse: collapse; font-size: .92rem;}
th,td {text-align: left; padding: .3rem .85rem .3rem .25rem; border-bottom: 1px solid #ddd7cd;}
.metadata:not(:empty) {color: #625a69; margin-top: .6rem; font: .81rem/1.6 var(--mono);}
.count-note {font-size: .96rem; line-height: 1.6; max-width: 86ch; color: #5a5463; margin-top: 1.25rem;}
.plans-section {padding-block: clamp(3.5rem,6vw,5.5rem);}
.plan-layout {display: grid; grid-template-columns: 1fr 1.25fr; gap: 6%; align-items: start;}
.plan-intro p {max-width: 34ch; color: var(--lilac);}
.quota-plans {display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2vw,1.8rem);}
.quota-plans article {border-top: 3px solid var(--mint); padding: .95rem 0 0;}
.quota-plans article + article {border-color: var(--mango);}
.quota-plans h3 {font-size: 1.16rem;}
.quota-plans p {color: var(--lilac); font-size: .98rem; line-height: 1.4; max-width: 18ch;}
.quota-plans strong {display: block; font-size: 3.2rem; font-weight: 800; letter-spacing: -.06em; line-height: 1.2; color: var(--cream);}
footer {border-top: 1px solid #40394e;}
.footer-inner {padding-block: 1.65rem;}
footer .brand {font-size: 1.23rem;}
footer nav a {font-size: .95rem;}
.legal-shell {max-width: 800px; width: 90%; margin: 0 auto; padding: 2rem 0;}
.legal-content {background: var(--cream); color: var(--ink); padding: clamp(1.3rem,4.5vw,3.25rem); margin: 1.3rem 0; border-radius: 20px;}
.legal-content h1 {font-size: clamp(2.55rem,6vw,4.4rem);}
.legal-content h2 {font-size: 1.6rem; letter-spacing: -.03em; margin-top: 2.2rem;}
.legal-content p {margin: .9rem 0; line-height: 1.65;}
.legal-content a, .back-link {overflow-wrap: anywhere; font-weight: 650;}
.back-link {display: inline-flex; align-items: center; min-height: 44px;}
@media (max-width: 820px) {
  .container {width: 89%;}
  .hero-grid {gap: 1rem;}
  .hero-art {min-height: 470px;}
  .handset {width: 205px; border-radius: 33px;}
  .handset img {border-radius: 25px;}
  .key-in {left: -1%;}
  .key-at,.key-on {right: -3%;}
}
@media (max-width: 680px) {
  .nav-inner {min-height: 66px; gap: .6rem;}
  .brand {font-size: 1.28rem; gap: .54rem;}
  .nav-inner nav {gap: .85rem;}
  .nav-inner nav a {font-size: .88rem;}
  .hero {background: radial-gradient(ellipse at 54% 75%,#382d50,var(--midnight) 64%);}
  .hero-grid {display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0;}
  .hero-copy {padding: 3rem 0 0;}
  h1 {font-size: clamp(4.4rem,14.2vw,6rem);}
  .hero h1 {margin: 1rem 0;}
  .hero-description {font-size: 1.18rem;}
  .primary-button {margin-top: 1.3rem;}
  .hero-art {margin: 1.8rem auto 0; width: min(100%,445px); min-height: 0; height: clamp(460px,122vw,540px); align-items: start;}
  .handset {width: clamp(233px,65vw,288px); margin-top: 12px; transform: rotate(2deg);}
  .key-in {left: -2%; top: 35%;}
  .key-at {right: -3%; top: 18%;}
  .key-on {right: -1%; bottom: 21%;}
  .scene {inset: 0 -9%;}
  .stats-toolbar {flex-wrap: wrap; gap: .6rem;}
  .metrics {grid-template-columns: 1fr 1fr; row-gap: 1rem;}
  .metrics > div:nth-child(3) {padding-left: 0; border-left: 0;}
  .plan-layout {grid-template-columns: 1fr; gap: 2rem;}
  .plan-intro p {max-width: none;}
  .footer-inner {flex-wrap: wrap; gap: .5rem 1rem;}
}
@media (max-width: 380px) {
  .container {width: 91%;}
  .key-logo {gap: 2px;}
  .key-logo i {width: 7px;}
  .nav-inner nav {gap: .55rem;}
  .hero-art {height: 460px;}
  .keycap {width: 48px; font-size: 1.35rem;}
  .key-in {left: -2%;}
  .key-at,.key-on {right: -2%;}
}
@media (prefers-reduced-motion: reduce) {html {scroll-behavior: auto;} .primary-button:active {transform: none;}}
@media (forced-colors: active) {.bar, .bars-icon i {background: CanvasText;} .switch button[aria-pressed=true] {outline: 2px solid Highlight;}}
