/* lettuce.mobile — shared styles (paper feel, matches lettuce.tools / lettuce.wine tokens) */
:root, :root[data-theme="light"] {
  --bg:            #f4f4f3;
  --panel-2:       #ffffff;
  --panel-3:       #e9e9e7;
  --line:          rgba(20,22,25,0.13);
  --line-2:        rgba(20,22,25,0.06);
  --ink:           #141619;
  --ink-2:         #4b5057;
  --muted:         #83888e;
  --accent:        #1b1f24;
  --accent-ink:    #f7f7f6;
  --accent-soft:   #343a42;
  --accent-wash:   rgba(20,22,25,0.05);
  --signal:        #2f6d8f;
  --signal-soft:   #3f83a8;
  --signal-wash:   rgba(47,109,143,0.13);
  --danger:        #b0431d;
  --ok:            #2f7d4f;
  --ok-wash:       rgba(47,125,79,0.12);
  --warn:          #9a6b12;
  --warn-wash:     rgba(154,107,18,0.12);
  --header:        rgba(244,244,243,0.78);
}
:root[data-theme="dark"] {
  --bg:            #0d0e10;
  --panel-2:       #17191c;
  --panel-3:       #08090a;
  --line:          rgba(240,241,243,0.13);
  --line-2:        rgba(240,241,243,0.06);
  --ink:           #f0f1f3;
  --ink-2:         #b0b5bb;
  --muted:         #7b8087;
  --accent:        #f0f1f3;
  --accent-ink:    #14171a;
  --accent-soft:   #ffffff;
  --accent-wash:   rgba(240,241,243,0.06);
  --signal:        #7cb4d4;
  --signal-soft:   #9bcae5;
  --signal-wash:   rgba(124,180,212,0.16);
  --danger:        #dd7f55;
  --ok:            #6fbf8c;
  --ok-wash:       rgba(111,191,140,0.14);
  --warn:          #e0b45a;
  --warn-wash:     rgba(224,180,90,0.14);
  --header:        rgba(13,14,16,0.76);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; position: relative;
  transition: background-color .25s ease, color .25s ease;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

h1, h2, h3 { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .98; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; }
h3 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h4 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: .95rem; margin: 0; }
p { margin: 0; color: var(--ink-2); }
.italic { font-style: italic; color: var(--signal); }
code, kbd { font-family: 'JetBrains Mono', monospace; font-size: .84em; background: color-mix(in oklab, var(--ink) 7%, transparent); padding: 1px 5px; border-radius: 5px; }
.hidden { display: none !important; }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--signal); }

/* ---------- Dev banner ---------- */
.dev-bar {
  position: relative; z-index: 41;
  background: var(--warn-wash); color: var(--ink);
  border-bottom: 1px solid color-mix(in oklab, var(--warn) 35%, transparent);
  font-size: .82rem; text-align: center; padding: 9px 16px;
}
.dev-bar b { font-weight: 600; color: var(--warn); }
.dev-bar a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: var(--header);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; gap: 14px; height: 64px; }
.nav-links { display: none; gap: 4px; margin-left: 14px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--accent-wash); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--accent-wash); }
@media (min-width: 960px) { .nav-links { display: inline-flex; } }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(140deg, #3d434b, #14171a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.brand .mark svg { width: 15px; height: 15px; color: #fff; }
.brand span.small { color: var(--muted); font-size: 0.82rem; font-weight: 500; margin-left: 4px; font-family: 'JetBrains Mono', monospace; }
@media (max-width: 560px) { .brand span.small { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .15s ease; white-space: nowrap;
  font-family: inherit; text-decoration: none;
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: color-mix(in oklab, var(--ink) 35%, transparent); }
.btn.signal { background: var(--signal); color: #fff; }
.btn.signal:hover { background: var(--signal-soft); }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: .84rem; }
.btn.lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--panel-2); color: var(--ink); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.icon-btn, .theme-toggle, .apps-btn {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  width: 38px; height: 38px; border-radius: 999px; cursor: pointer;
  display: inline-grid; place-items: center; transition: border-color .15s, background .15s;
  padding: 0; font: inherit;
}
.icon-btn:hover, .theme-toggle:hover, .apps-btn:hover, .apps-btn[aria-expanded="true"], .icon-btn[aria-expanded="true"] { border-color: color-mix(in oklab, var(--ink) 35%, transparent); background: var(--panel-2); }
.theme-toggle svg, .icon-btn svg { width: 16px; height: 16px; }
.apps-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* Account dropdown */
.acct { position: relative; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer;
}
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: color-mix(in oklab, var(--ink) 35%, transparent); background: var(--panel-2); }
.acct-btn .av { width: 26px; height: 26px; border-radius: 999px; background: linear-gradient(140deg, #3d434b, #14171a); color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 700; background-size: cover; background-position: center; }
.acct-btn .lbl { display: none; }
@media (min-width: 640px) { .acct-btn .lbl { display: inline; } }
.acct-btn .chev { width: 12px; height: 12px; color: var(--muted); }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; z-index: 50;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14); display: none;
}
.acct-menu[data-open="true"] { display: block; }
.acct-menu a, .acct-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px;
  border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover { background: var(--accent-wash); }
.acct-menu svg { width: 16px; height: 16px; color: var(--muted); }
.acct-menu .sep { height: 1px; background: var(--line-2); margin: 6px 4px; }
.acct-menu .who { padding: 10px 12px 6px; font-size: .78rem; color: var(--muted); }
.acct-menu .who b { display: block; color: var(--ink); font-size: .9rem; font-weight: 600; }

/* Mobile nav */
.menu-btn { display: inline-grid; }
@media (min-width: 960px) { .menu-btn { display: none; } }
.mobile-nav {
  display: none; border-top: 1px solid var(--line-2); background: var(--header); backdrop-filter: blur(18px);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav .wrap { display: grid; gap: 2px; padding-top: 8px; padding-bottom: 14px; }
.mobile-nav a { padding: 12px 10px; border-radius: 10px; font-weight: 600; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--accent-wash); }

/* ---------- Generic sections ---------- */
section { padding: 64px 0; }
.sec-head { max-width: 640px; margin-bottom: 30px; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { margin-top: 12px; font-size: 1rem; }
.divider { border-top: 1px solid var(--line-2); }
.page-hero { padding: 56px 0 26px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 14px; }
.page-hero .lead { max-width: 620px; margin-top: 16px; font-size: 1.05rem; }

.card { border: 1px solid var(--line); background: var(--panel-2); border-radius: 18px; padding: 22px; }
.card.pad-lg { padding: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.tag { display: inline-flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; color: var(--ink-2); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.tag.warn { color: var(--warn); border-color: color-mix(in oklab, var(--warn) 40%, transparent); }
.tag.ok { color: var(--ok); border-color: color-mix(in oklab, var(--ok) 40%, transparent); }
.tag.signal { color: var(--signal); border-color: color-mix(in oklab, var(--signal) 40%, transparent); }

.input, .select, textarea.input {
  width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: .95rem;
}
.input::placeholder { color: var(--muted); }
.input:focus, .select:focus { outline: 2px solid var(--signal); outline-offset: 0; border-color: transparent; }
label.lbl { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field { display: grid; gap: 0; }
.row { display: flex; gap: 8px; }
@media (max-width: 520px) { .row.stack-sm { flex-direction: column; } }
.msg { font-size: .84rem; min-height: 1.2em; color: var(--muted); margin-top: 8px; }
.notice { border: 1px solid color-mix(in oklab, var(--warn) 40%, transparent); background: var(--warn-wash); border-radius: 14px; padding: 14px 16px; font-size: .88rem; color: var(--ink); }
.notice b { color: var(--warn); }
.notice.info { border-color: color-mix(in oklab, var(--signal) 40%, transparent); background: var(--signal-wash); }
.notice.info b { color: var(--signal); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--signal); border: 1px solid var(--line); border-radius: 999px; width: 36px; height: 36px; display: grid; place-items: center; }
.steps p { font-size: .9rem; margin-top: 3px; }

/* ---------- Home: hero + plans ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero .lead { max-width: 560px; margin-top: 22px; font-size: 1.1rem; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero .fine { margin-top: 14px; font-size: .78rem; color: var(--muted); }
.price-card { border: 1px solid var(--line); background: var(--panel-2); border-radius: 22px; padding: 28px; box-shadow: 0 1px 0 var(--line-2); }
.price-card .from { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.big-price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.big-price .num { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; letter-spacing: -.04em; }
.big-price .per { color: var(--ink-2); font-size: 1.1rem; font-weight: 500; }
.price-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .93rem; }
.price-card li svg { width: 16px; height: 16px; color: var(--ok); flex: 0 0 auto; margin-top: 3px; }
.price-card .tag { margin-top: 20px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--panel-2); gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: .85rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg-note { margin-left: 12px; font-size: .8rem; color: var(--muted); }
.plans-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); background: var(--panel-2); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan.featured { border-color: color-mix(in oklab, var(--signal) 55%, transparent); box-shadow: 0 0 0 3px var(--signal-wash); }
.plan .badge { position: absolute; top: -11px; left: 18px; background: var(--signal); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.plan .data { font-family: 'Fraunces', serif; font-weight: 500; font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.plan .data small { font-family: 'Inter', sans-serif; font-size: .85rem; color: var(--muted); letter-spacing: 0; margin-left: 4px; font-weight: 500; }
.plan .rate { display: flex; align-items: baseline; gap: 4px; margin-top: 10px; }
.plan .rate .n { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; }
.plan .rate .p { color: var(--muted); font-size: .85rem; }
.plan .total { font-size: .8rem; color: var(--muted); }
.plan .was { font-size: .78rem; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.plan ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 7px; font-size: .86rem; color: var(--ink-2); }
.plan ul li::before { content: "— "; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: 18px; font-size: .78rem; color: var(--muted); max-width: 760px; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .perks { grid-template-columns: 1fr; } }
.perk { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--panel-2); display: flex; gap: 14px; align-items: flex-start; }
.perk img { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto; }
.perk p { font-size: .88rem; margin-top: 4px; }

.byod { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .byod { grid-template-columns: 1fr; } }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .three { grid-template-columns: 1fr; } }
.tile { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--panel-2); }
.tile .ic { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg, #3d434b, #14171a); display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.tile .ic svg { width: 18px; height: 18px; }
.tile p { font-size: .9rem; margin-top: 6px; }

.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--line-2); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.2rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: .93rem; max-width: 680px; }

.wait { border: 1px solid var(--line); background: var(--panel-2); border-radius: 22px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 800px) { .wait { grid-template-columns: 1fr; padding: 26px; } }
.wait form { display: grid; gap: 10px; }

/* ---------- Phones (photos) ---------- */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .phones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .phones { grid-template-columns: 1fr; } }
.phone { border: 1px solid var(--line); background: var(--panel-2); border-radius: 20px; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.phone .art { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--panel-3); border: 1px solid var(--line-2); position: relative; }
.phone .art img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.phone .art.top img { object-position: center 22%; }
.phone .art.contain img { object-fit: contain; padding: 14px; }
.phone:hover .art img { transform: scale(1.03); }
.phone .art .swatch { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.phone .art .swatch i { width: 14px; height: 14px; border-radius: 999px; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 1px 4px rgba(0,0,0,.3); display: block; }
.phone .body { padding: 8px 6px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.phone .maker { font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phone .name { font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.phone .spec { font-size: .82rem; color: var(--muted); }
.phone .fin { font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.phone .fin b { color: var(--ink); font-size: 1.05rem; }
.phone .new { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--ok); font-weight: 600; }
.phone .new::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--ok); }
.phone .actions { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; }
.phones-note { margin-top: 18px; font-size: .78rem; color: var(--muted); max-width: 760px; }
.credits { font-size: .74rem; color: var(--muted); margin-top: 10px; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: var(--panel-2); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.feature-phone { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel-2); }
@media (max-width: 860px) { .feature-phone { grid-template-columns: 1fr; } }
.feature-phone .img { aspect-ratio: 4/3; overflow: hidden; }
.feature-phone .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.feature-phone .txt { padding: 30px; }
.feature-phone .txt h2 { margin-top: 10px; }
.feature-phone .txt p { margin-top: 12px; }

/* ---------- Help center ---------- */
.help-search { max-width: 640px; margin-top: 20px; position: relative; }
.help-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.help-search .input { padding-left: 42px; font-size: 1rem; min-height: 50px; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.topic { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--panel-2); display: flex; gap: 14px; }
.topic .ic { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg, #3d434b, #14171a); display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.topic .ic svg { width: 18px; height: 18px; }
.topic ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: .86rem; }
.topic ul a { color: var(--ink-2); }
.topic ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Activate ---------- */
.stepper { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .stepper { grid-template-columns: 1fr; } }
.stepper-nav { position: sticky; top: 84px; display: grid; gap: 4px; }
.stepper-nav button { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink-2); font: inherit; cursor: pointer; }
.stepper-nav button .n { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: .72rem; }
.stepper-nav button .t { font-weight: 600; font-size: .9rem; color: var(--ink); }
.stepper-nav button .d { font-size: .78rem; color: var(--muted); }
.stepper-nav button[aria-current="step"] { background: var(--panel-2); border-color: var(--line); }
.stepper-nav button[aria-current="step"] .n { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stepper-nav button[data-done="true"] .n { background: var(--ok); color: #fff; border-color: var(--ok); }
.step-pane { display: none; }
.step-pane[data-active="true"] { display: block; }
.step-actions { display: flex; gap: 8px; justify-content: space-between; margin-top: 22px; flex-wrap: wrap; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--bg); }
.radio-card:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-wash); }
.radio-card input { margin: 4px 0 0; accent-color: var(--signal); }
.radio-card b { display: block; font-weight: 600; }
.radio-card span { font-size: .84rem; color: var(--muted); }
.qr-box { aspect-ratio: 1; max-width: 220px; border: 1px dashed var(--line); border-radius: 16px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 20px; background: var(--bg); }

/* ---------- Orders / returns ---------- */
.lookup { max-width: 560px; }
.order-result { margin-top: 22px; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 0 0 18px; position: relative; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel-2); margin: 5px 0 0 3px; }
.timeline li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li[data-state="done"]::before { background: var(--ok); border-color: var(--ok); }
.timeline li[data-state="now"]::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-wash); }
.timeline b { display: block; font-weight: 600; font-size: .92rem; }
.timeline span { font-size: .8rem; color: var(--muted); }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; padding: 26px 0 80px; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.side { position: sticky; top: 84px; display: grid; gap: 18px; }
@media (max-width: 900px) { .side { position: static; } }
.side .who { display: flex; align-items: center; gap: 12px; padding: 4px 6px; }
.side .who .av { width: 42px; height: 42px; border-radius: 999px; background: linear-gradient(140deg, #3d434b, #14171a); color: #fff; display: grid; place-items: center; font-weight: 700; background-size: cover; background-position: center; }
.side .who b { display: block; font-weight: 600; line-height: 1.2; }
.side .who span { font-size: .78rem; color: var(--muted); }
.side-group { display: grid; gap: 2px; }
.side-group .gl { font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 6px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .92rem; border: 0; background: transparent; font-family: inherit; cursor: pointer; text-align: left; width: 100%; }
.side-link svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.side-link:hover { background: var(--accent-wash); color: var(--ink); }
.side-link[aria-current="page"] { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.side-link[aria-current="page"] svg { color: var(--signal); }
.side-link.sub { padding-left: 38px; font-size: .86rem; }
.side-link.danger { color: var(--danger); }
.side-link.danger svg { color: var(--danger); }
.side-toggle { display: none; }
@media (max-width: 900px) {
  .side-toggle { display: flex; }
  .side .side-nav { display: none; }
  .side[data-open="true"] .side-nav { display: grid; gap: 18px; }
}

.pane { display: none; }
.pane[data-active="true"] { display: block; }
.pane-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pane-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pane-head p { margin-top: 4px; font-size: .9rem; }

.usage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .usage { grid-template-columns: 1fr; } }
.ring-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; }
@media (max-width: 480px) { .ring-card { grid-template-columns: 1fr; } }
.ring { width: 150px; height: 150px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--line-2); }
.ring .fill { stroke: var(--signal); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .val b { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.8rem; letter-spacing: -.03em; line-height: 1; display: block; }
.ring .val span { font-size: .72rem; color: var(--muted); }
.kv { display: grid; gap: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; }
.stat { border: 1px solid var(--line); background: var(--panel-2); border-radius: 16px; padding: 18px; }
.stat .l { font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.9rem; letter-spacing: -.03em; margin-top: 8px; line-height: 1; }
.stat .s { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.renew { border: 1px solid color-mix(in oklab, var(--signal) 45%, transparent); background: var(--signal-wash); }
.renew .v { color: var(--signal); }
.bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--signal); border-radius: 999px; width: 0; transition: width .8s ease; }

.empty { border: 1px dashed var(--line); border-radius: 18px; padding: 30px; text-align: center; background: color-mix(in oklab, var(--panel-2) 60%, transparent); }
.empty h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.3rem; }
.empty p { margin-top: 8px; font-size: .9rem; max-width: 460px; margin-inline: auto; }
.empty .btn { margin-top: 16px; }

.list { display: grid; gap: 0; }
.list .li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.list .li:last-child { border-bottom: 0; }
.list .li b { display: block; font-weight: 600; font-size: .92rem; }
.list .li span { font-size: .8rem; color: var(--muted); }
.list .li .amt { font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: .9rem; }

.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .free-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .free-grid { grid-template-columns: 1fr; } }
.free { border: 1px solid var(--line); background: var(--panel-2); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.free img { width: 36px; height: 36px; border-radius: 9px; flex: 0 0 auto; }
.free b { display: block; font-weight: 600; font-size: .92rem; }
.free p { font-size: .8rem; margin-top: 3px; }
.free .st { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; color: var(--ok); }
.free .st::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--ok); }
.free .st.pending { color: var(--muted); }
.free .st.pending::before { background: var(--muted); }

.switch { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.switch:last-child { border-bottom: 0; }
.switch b { display: block; font-weight: 600; font-size: .92rem; }
.switch span { font-size: .8rem; color: var(--muted); }
.toggle { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line); border: 0; cursor: pointer; flex: 0 0 auto; transition: background .2s; padding: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle[aria-checked="true"] { background: var(--signal); }
.toggle[aria-checked="true"]::after { left: 21px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 80; }
.toast[data-show="true"] { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Auth gate */
.gate { max-width: 520px; margin: 60px auto; text-align: center; }
.gate h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.gate p { margin-top: 12px; }
.gate .cta { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.loading { display: grid; place-items: center; padding: 80px 0; color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
footer.site-foot { padding: 34px 0 30px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line-2); position: relative; z-index: 1; }
footer.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 22px; }
@media (max-width: 800px) { footer.site-foot .cols { grid-template-columns: 1fr 1fr; } }
footer.site-foot .cols h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; color: var(--ink-2); font-weight: 500; margin-bottom: 10px; }
footer.site-foot .cols a { display: block; color: var(--muted); padding: 3px 0; font-size: .84rem; }
footer.site-foot .cols a:hover { color: var(--ink); }
footer.site-foot .legal { display: block; line-height: 1.5; border-top: 1px solid var(--line-2); padding-top: 16px; }
footer.site-foot .footer-zip { color: var(--signal); font-weight: 800; letter-spacing: -.3px; }
