/* Wingyy landing — dark brand theme, tokens from the app design system. */
:root {
  --bg: #0B0D11;
  --surface: #1A1E27;
  --surface-hi: #232936;
  --outline: #2A3140;
  --outline-soft: #1E2430;
  --text: #E9ECF2;
  --text-dim: #9AA3B5;
  --text-muted: #646D80;
  --pink: #FF66A3;
  --cyan: #00CFFF;
  --green: #38EF7D;
  --amber: #FFB454;
  --radius: 14px;
  --radius-sm: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--pink); color: #16060d;
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700; z-index: 60;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 16px; flex-wrap: wrap;
}
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.wordmark .gg { color: var(--pink); }
a.brand, a.brand:hover { color: inherit; text-decoration: none; }
nav .links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
nav .links a { color: var(--text-dim); font-size: 14px; font-weight: 500; }
nav .links a:hover { color: var(--text); text-decoration: none; }
nav .links a.nav-cta {
  background: var(--pink); color: #16060d; font-weight: 700;
  padding: 8px 18px; border-radius: 999px;
}
nav .links a.nav-cta:hover { color: #16060d; }

/* Buttons */
.btn {
  display: inline-block; border: none; cursor: pointer;
  border-radius: 999px; font-family: inherit; font-weight: 700;
  font-size: 15px; padding: 13px 28px; transition: transform .12s, box-shadow .12s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--pink); color: #16060d;
  box-shadow: 0 6px 24px rgba(255, 102, 163, .25);
}
.btn-primary:hover { color: #16060d; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--outline);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-block { display: block; width: 100%; }

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; }
.hero h1 {
  font-size: clamp(32px, 6vw, 58px); font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.08; max-width: 860px; margin: 0 auto 20px;
}
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p.sub {
  color: var(--text-dim); font-size: clamp(16px, 2.4vw, 19px); max-width: 660px; margin: 0 auto 30px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; color: var(--text-muted); font-size: 13px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(0, 207, 255, .3); background: rgba(0, 207, 255, .07);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}

/* Trust strip */
.trust { border-top: 1px solid var(--outline-soft); border-bottom: 1px solid var(--outline-soft); padding: 22px 0; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.trust li { color: var(--text-dim); font-size: 13.5px; display: flex; align-items: center; gap: 7px; }
.trust li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* App chips */
.apps { padding: 40px 0 0; text-align: center; }
.apps h2 { font-size: 15px; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  background: var(--surface); border: 1px solid var(--outline-soft); color: var(--text-dim);
  border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 500;
}

/* Sections */
section { padding: 60px 0; }
section h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 10px; line-height: 1.15; }
section p.lead { color: var(--text-dim); max-width: 680px; margin-bottom: 34px; font-size: 16px; }
.section-center { text-align: center; }
.section-center p.lead { margin-left: auto; margin-right: auto; }

/* Features */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--radius); padding: 26px;
}
.card.hi { border-color: var(--outline); background: linear-gradient(180deg, #1E232E 0%, var(--surface) 100%); }
.card .icon { font-size: 26px; margin-bottom: 12px; display: block; line-height: 1; }
.card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.2px; }
.card h3.pink { color: var(--pink); } .card h3.cyan { color: var(--cyan); } .card h3.green { color: var(--green); } .card h3.amber { color: var(--amber); }
.card p { color: var(--text-dim); font-size: 14.5px; }
.card p + p { margin-top: 10px; }
.card ul { list-style: none; margin-top: 12px; }
.card li { color: var(--text-dim); font-size: 14px; padding: 4px 0 4px 20px; position: relative; }
.card li::before { content: "›"; color: var(--pink); position: absolute; left: 4px; font-weight: 800; }
.kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 8px; }

/* Feature split (text + example) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: center; margin-bottom: 22px; }
.example {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--radius); padding: 20px; font-size: 14px;
}
.example .row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--outline-soft); }
.example .row:last-child { border-bottom: 0; }
.example .row .k { color: var(--text-muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; min-width: 92px; flex: none; }
.example .row .v { color: var(--text-dim); }
.example .row .v b { color: var(--text); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px; background: var(--pink);
  color: #16060d; font-weight: 800; margin-bottom: 12px;
}
.step h3, .step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 13.5px; }

/* Install callout */
.callout {
  background: linear-gradient(180deg, rgba(0,207,255,.06) 0%, rgba(0,207,255,0) 100%);
  border: 1px solid var(--outline); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 22px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.callout h3 { font-size: 19px; margin-bottom: 6px; }
.callout p { color: var(--text-dim); font-size: 14.5px; max-width: 560px; }
.callout .cta-col { display: flex; flex-direction: column; gap: 10px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--radius); padding: 30px; text-align: center; position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--pink); box-shadow: 0 12px 48px rgba(255,102,163,.12); }
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: #16060d; font-size: 11px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.price-card h3 { font-size: 17px; margin-bottom: 6px; }
.price-card .price { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.price-card .price span { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.price-card .tokens { color: var(--cyan); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.price-card ul { list-style: none; margin: 18px 0 24px; text-align: left; flex: 1; }
.price-card li { color: var(--text-dim); font-size: 14px; padding: 5px 0 5px 26px; position: relative; }
.price-card li::before { content: "✓"; color: var(--green); position: absolute; left: 4px; font-weight: 700; }
.topup-note { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-top: 22px; }
.topup-note b { color: var(--text-dim); }

/* Per-plan unit price. The monthly figure is abstract; what a single coach
   read costs is the number people actually compare. */
.per-use { color: var(--text-dim); font-size: 13px; margin-top: 8px; line-height: 1.45; }
.per-use b { color: var(--text); font-weight: 700; }
.risk-reversal b { color: var(--green); }

/* "Wingyy vs a screenshot app" strip. Scrolls on narrow screens rather than
   forcing the page body to scroll sideways. */
.cmp-h { text-align: center; font-size: 17px; margin: 40px 0 14px; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; min-width: 520px; margin: 0 auto; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--radius); overflow: hidden;
}
.cmp th, .cmp td { padding: 12px 14px; text-align: left; font-size: 14px; vertical-align: middle; }
.cmp thead th { color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cmp tbody tr { border-top: 1px solid var(--outline-soft); }
.cmp tbody th { color: var(--text); font-weight: 600; }
.cmp td.yes { color: var(--green); font-weight: 700; white-space: nowrap; }
.cmp td.no { color: var(--text-muted); }
.vh-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* FAQ */
details {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 10px;
}
details[open] { border-color: var(--outline); }
details summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style-position: outside; }
details summary::marker { color: var(--pink); }
details p { color: var(--text-dim); font-size: 14px; margin-top: 10px; }
details p + p { margin-top: 8px; }
details ul { margin-top: 10px; padding-left: 20px; }
details li { color: var(--text-dim); font-size: 14px; padding: 3px 0; }

/* Footer */
footer { border-top: 1px solid var(--outline-soft); padding: 40px 0 48px; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
footer p, footer li { color: var(--text-muted); font-size: 12.5px; }
footer ul { list-style: none; margin-top: 10px; }
footer li { padding: 3px 0; }
footer a { color: var(--text-dim); }
footer h2, footer h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 800; }
footer .legal-row { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--outline-soft); }
.age-gate { color: var(--amber); font-weight: 600; font-size: 13px; }

/* Success page */
.success-box {
  max-width: 560px; margin: 64px auto; background: var(--surface);
  border: 1px solid var(--outline); border-radius: var(--radius); padding: 40px; text-align: center;
}
.key-display {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: clamp(16px, 3.4vw, 24px); font-weight: 700; letter-spacing: 1px;
  background: var(--bg); border: 1px dashed var(--pink); border-radius: var(--radius-sm);
  padding: 18px; margin: 22px 0; color: var(--pink); word-break: break-all;
  cursor: pointer;
}
.spinner {
  width: 34px; height: 34px; margin: 20px auto; border-radius: 50%;
  border: 3px solid var(--outline); border-top-color: var(--pink);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none; }

/* Legal / long-form pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 0 80px; }
.legal h1 { font-size: clamp(27px, 5vw, 34px); margin-bottom: 6px; letter-spacing: -0.6px; }
.legal p, .legal li { color: var(--text-dim); font-size: 15px; margin: 10px 0; }
.legal h2 { font-size: 19px; margin-top: 30px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal a { color: var(--cyan); }
.upd { color: var(--text-muted); font-size: 13px; }

/* Breadcrumbs */
.crumbs { font-size: 12.5px; color: var(--text-muted); padding: 10px 0 0; }
.crumbs a { color: var(--text-dim); }
.crumbs span { margin: 0 6px; color: var(--outline); }

/* ---- Blog ---- */
.blog-head { padding: 34px 0 10px; }
.blog-head h1 { font-size: clamp(30px, 5.4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; max-width: 760px; }
.blog-head p.deck { color: var(--text-dim); font-size: 17px; max-width: 700px; margin-top: 14px; }
.post-meta { color: var(--text-muted); font-size: 13px; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.post-meta .tag {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: 999px; padding: 3px 11px; font-size: 12px; color: var(--text-dim);
}

article.prose { max-width: 720px; padding: 8px 0 20px; }
article.prose p, article.prose li { color: var(--text-dim); font-size: 16.5px; line-height: 1.72; }
article.prose p { margin: 18px 0; }
article.prose h2 {
  font-size: clamp(22px, 3.4vw, 27px); font-weight: 800; letter-spacing: -0.4px;
  color: var(--text); margin: 42px 0 6px; line-height: 1.2;
}
article.prose h3 { font-size: 18.5px; font-weight: 700; color: var(--text); margin: 30px 0 4px; letter-spacing: -0.2px; }
article.prose ul, article.prose ol { margin: 16px 0; padding-left: 24px; }
article.prose li { margin: 8px 0; }
article.prose li::marker { color: var(--pink); }
article.prose strong { color: var(--text); font-weight: 700; }
article.prose a { color: var(--cyan); }
article.prose blockquote {
  border-left: 3px solid var(--pink); background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 20px; margin: 24px 0;
}
article.prose blockquote p { margin: 0; color: var(--text); font-size: 16px; }
article.prose code {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  background: var(--surface-hi); border: 1px solid var(--outline-soft);
  border-radius: 6px; padding: 1px 6px; font-size: 14px; color: var(--cyan);
}
article.prose hr { border: 0; border-top: 1px solid var(--outline-soft); margin: 36px 0; }

.post-cta {
  background: linear-gradient(180deg, rgba(255,102,163,.08) 0%, rgba(255,102,163,0) 100%);
  border: 1px solid var(--outline); border-radius: var(--radius);
  padding: 26px; margin: 40px 0 10px; max-width: 720px;
}
.post-cta h2 { font-size: 19px; margin: 0 0 8px; }
.post-cta p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 16px; }

.post-list { display: grid; gap: 14px; padding: 24px 0 10px; }
.post-item {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--radius); padding: 24px;
}
.post-item:hover { border-color: var(--outline); }
.post-item h2 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.3px; }
.post-item h2 a { color: var(--text); }
.post-item h2 a:hover { color: var(--pink); text-decoration: none; }
.post-item p { color: var(--text-dim); font-size: 14.5px; }
.post-item .date { color: var(--text-muted); font-size: 12.5px; margin-bottom: 8px; display: block; }
.read-more { font-size: 14px; font-weight: 600; margin-top: 12px; display: inline-block; }

.related { max-width: 720px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--outline-soft); }
.related h2 { font-size: 17px; margin-bottom: 12px; }
.related ul { list-style: none; }
.related li { padding: 5px 0 5px 18px; position: relative; font-size: 14.5px; }
.related li::before { content: "→"; position: absolute; left: 0; color: var(--pink); }

@media (max-width: 560px) {
  nav { padding: 14px 0; }
  nav .links { gap: 4px 16px; font-size: 13px; }
  .hero { padding: 40px 0 32px; }
  .btn { width: 100%; }
  .hero .cta-row .btn { max-width: 340px; margin: 0 auto; }
  section { padding: 44px 0; }
  .card, .step, .price-card, .post-item { padding: 22px; }
  .callout { padding: 22px; }
  .callout .cta-col { width: 100%; }
  article.prose p, article.prose li { font-size: 16px; }
  .example .row { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   PRODUCT VISUALS
   Faithful CSS re-creations of the shipped Android UI — no screenshots, so
   they stay crisp at any DPI and cost no bytes. Every colour and label below
   is taken from the app source (BubbleController.kt, ModeRingOverlay.kt,
   ui/theme/Color.kt), so the page and the product cannot drift apart.
   ========================================================================== */

/* --- Phone frame --------------------------------------------------------- */
.phone {
  --w: 300px;
  width: var(--w); flex: none;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px; padding: 8px;
  background: linear-gradient(160deg, #333A49 0%, #14171F 45%, #2A3140 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.phone .screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 27px; background: var(--bg);
  display: flex; flex-direction: column;
  /* the hero centres its text; phone chrome must not inherit that */
  text-align: left;
}
/* camera punch-hole */
.phone .screen::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: #05070A; z-index: 5;
}

/* --- Chat app running underneath ----------------------------------------- */
.chatapp { display: flex; flex-direction: column; height: 100%; background: #101319; }
.chatapp .bar {
  display: flex; align-items: center; gap: 8px; flex: none;
  padding: 24px 12px 10px; background: #171B23;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chatapp .bar .av {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #FF66A3, #9D8CFF);
}
.chatapp .bar .who { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.chatapp .bar .who span { display: block; font-size: 9.5px; font-weight: 500; color: var(--green); }
.chatapp .bar .ico { margin-left: auto; color: var(--text-muted); font-size: 13px; letter-spacing: 2px; }
.chatapp .msgs { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.chatapp .m {
  font-size: 11.5px; line-height: 1.4; padding: 7px 11px; border-radius: 14px; max-width: 82%;
}
.chatapp .m.her { background: #242A36; color: #DDE3ED; border-bottom-left-radius: 5px; align-self: flex-start; }
.chatapp .m.me  { background: #2F6BD8; color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chatapp .m .t { display: block; font-size: 8.5px; color: rgba(255,255,255,.45); margin-top: 3px; }
.chatapp .compose {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px;
  background: #171B23; border-top: 1px solid rgba(255,255,255,.06);
}
.chatapp .compose .field {
  flex: 1; background: #242A36; border-radius: 999px; padding: 7px 12px;
  font-size: 11px; color: var(--text-muted);
}
.chatapp .compose .snd { color: #2F6BD8; font-size: 13px; }

/* --- The floating bubble -------------------------------------------------- */
/* 32dp circle, 135deg #232936 -> #161A22, 1dp #353D4D stroke, pink ring icon. */
.wbubble {
  position: absolute; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #232936 0%, #161A22 100%);
  border: 1px solid #353D4D;
  box-shadow: 0 6px 18px rgba(0,0,0,.55);
  display: grid; place-items: center;
}
.wbubble::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--pink); grid-area: 1 / 1;
}
.wbubble::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink); grid-area: 1 / 1;
}
.wbubble.pulse::before { animation: wb-ping 2.4s ease-out infinite; }
@keyframes wb-ping {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* --- The suggestion panel ------------------------------------------------- */
/* #0B0D11 body, 1dp #2A3140 stroke, 22dp top corners, sticky grip header. */
.wpanel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  max-height: 78%; overflow: hidden;
  background: var(--bg); border-top: 1px solid var(--outline);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -14px 40px rgba(0,0,0,.6);
  padding: 8px 10px 12px;
  display: flex; flex-direction: column; gap: 7px;
}
.wpanel .grip {
  width: 36px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,.33); margin: 0 auto 4px;
}
.wpanel .phead {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; color: var(--text-dim);
  padding-bottom: 6px; border-bottom: 1px solid var(--outline-soft);
}
.wpanel .phead .acts { margin-left: auto; color: var(--text-muted); letter-spacing: 5px; font-size: 10px; }
.wpanel .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }

/* one suggestion card */
.scard {
  background: var(--surface); border: 1px solid var(--outline);
  border-radius: 16px; padding: 9px 10px;
}
.scard .tagline { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.tagpill {
  font-size: 8.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
}
/* intent buckets, exact accents from the app */
.tagpill.tease   { color: #FF66A3; background: rgba(255,102,163,.09); border: 1px solid rgba(255,102,163,.22); }
.tagpill.qualify { color: #00CFFF; background: rgba(0,207,255,.09);   border: 1px solid rgba(0,207,255,.22); }
.tagpill.date    { color: #38EF7D; background: rgba(56,239,125,.09);  border: 1px solid rgba(56,239,125,.22); }
.tagpill.banter  { color: #9D8CFF; background: rgba(157,140,255,.09); border: 1px solid rgba(157,140,255,.22); }
.tagpill.frame   { color: #FFB454; background: rgba(255,180,84,.09);  border: 1px solid rgba(255,180,84,.22); }
.scard .star { margin-left: auto; color: var(--text-muted); font-size: 11px; }
.scard .star.on { color: #FFD166; }
.scard .body { display: flex; gap: 8px; }
.scard .n {
  width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pink);
  color: #16060d; font-size: 9.5px; font-weight: 800; display: grid; place-items: center;
}
.scard .txt { font-size: 11.5px; line-height: 1.42; color: var(--text); }
.scard .why { font-size: 9.5px; font-style: italic; color: var(--text-muted); margin-top: 4px; }
.scard .teach {
  margin-top: 6px; font-size: 9.5px; line-height: 1.4; color: var(--pink);
  background: rgba(255,102,163,.08); border: 1px solid rgba(255,102,163,.25);
  border-radius: 10px; padding: 5px 7px;
}
.wpanel .brief-row {
  font-size: 9.5px; line-height: 1.45; color: var(--cyan);
  border-top: 1px solid var(--outline-soft); padding-top: 7px;
}
.wpanel .brief-row b { color: var(--cyan); }
.wpanel .refine {
  display: flex; align-items: center; gap: 6px; flex: none;
  background: var(--surface-hi); border: 1px solid var(--outline);
  border-radius: 999px; padding: 6px 11px; font-size: 10px; color: var(--text-muted);
}
.wpanel .refine .go { margin-left: auto; color: var(--pink); font-weight: 800; }

/* loading pill state */
.wpill {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px;
  background: var(--surface-hi); border: 1px solid var(--outline);
  border-radius: 999px; padding: 6px 12px; font-size: 9.5px; color: var(--text-dim);
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
  white-space: nowrap; /* must never wrap inside a 230px phone frame */
}
.wpill .spin {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,102,163,.25); border-top-color: var(--pink);
  animation: wsp .8s linear infinite;
}
@keyframes wsp { to { transform: rotate(360deg); } }

/* --- Mode ring ------------------------------------------------------------ */
/* Radii scale off one container variable (--d) so the ring stays correctly
   proportioned at every width — inline styles only carry angle + colour.
   Ratios mirror the app: mode ring 78dp, style ring 130dp. */
.ringwrap {
  --d: min(380px, 86vw);
  position: relative; width: var(--d); height: var(--d); margin: 0 auto;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(4,6,9,.85) 0%, rgba(4,6,9,.6) 55%, transparent 72%);
}
.ringwrap .guide {
  position: absolute; width: 48%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(154,163,181,.22);
}
.ringwrap .guide.outer { width: 87%; }
.ringwrap .hubb { position: relative; z-index: 2; }
.rchip {
  --r: calc(var(--d) * .24);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  display: grid; place-items: center; gap: 3px; text-align: center;
}
.rchip.sm { --r: calc(var(--d) * .435); }
.rchip .disc {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 13px;
  background: rgba(26,30,39,.95); border: 1.5px solid var(--c);
}
.rchip .lab {
  font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap; text-shadow: 0 1px 6px #000;
}
.rchip.focus .disc {
  background: var(--c); color: #10131A; transform: scale(1.14);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--c) 45%, transparent);
}
.rchip.focus .lab { color: var(--text); }
.rchip.sm .disc { width: 28px; height: 28px; font-size: 10px; border-width: 1.2px; }
.ringhint {
  text-align: center; color: var(--text-muted); font-size: 12px; margin-top: 6px;
}

/* --- Showcase layout ------------------------------------------------------ */
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; justify-items: center; }
.shot { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 300px; }
.shot .cap { text-align: center; }
.shot .cap b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.shot .cap span { color: var(--text-dim); font-size: 13px; }
.shot .phone { --w: 230px; }

.hero-shot { display: flex; justify-content: center; margin-top: 44px; }
.hero-shot .phone { --w: 320px; }

/* --- Android permission rows (install section) ---------------------------- */
.permcard {
  background: var(--surface); border: 1px solid var(--outline);
  border-radius: var(--radius); overflow: hidden; max-width: 420px;
}
.permcard .ph {
  background: var(--surface-hi); padding: 12px 16px; font-size: 12.5px;
  font-weight: 700; color: var(--text-dim); border-bottom: 1px solid var(--outline);
}
.permrow { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.permrow + .permrow { border-top: 1px solid var(--outline-soft); }
.permrow .pi { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 15px; background: var(--surface-hi); }
.permrow .pt { flex: 1; }
.permrow .pt b { display: block; font-size: 14px; }
.permrow .pt span { color: var(--text-muted); font-size: 12.5px; }
.toggle {
  width: 40px; height: 22px; border-radius: 999px; flex: none; position: relative;
  background: var(--outline); transition: background .2s;
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--text-muted); transition: transform .2s, background .2s;
}
.toggle.on { background: rgba(56,239,125,.35); }
.toggle.on::after { transform: translateX(18px); background: var(--green); }

/* --- Small UI vignettes --------------------------------------------------- */
.vignette { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 16px; }
.vignette .vh { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.dial { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.dial .dl { font-size: 12.5px; color: var(--text-dim); min-width: 78px; }
.dial .track { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-hi); position: relative; }
.dial .track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.dial .track b { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.dial .dv { font-size: 12px; color: var(--text); font-weight: 700; min-width: 58px; text-align: right; }
.metric { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.metric + .metric { border-top: 1px dashed var(--outline-soft); }
.metric .mk { color: var(--text-dim); flex: 1; }
.metric .mv { font-weight: 700; }
.metric .mv.good { color: var(--green); } .metric .mv.warn { color: var(--amber); } .metric .mv.bad { color: var(--error, #FF6B6B); }
.factlist { display: flex; flex-wrap: wrap; gap: 6px; }
.factlist span { font-size: 12px; background: var(--surface-hi); border: 1px solid var(--outline); border-radius: 999px; padding: 5px 11px; color: var(--text-dim); }

@media (max-width: 560px) {
  .phone { --w: min(300px, 78vw); }
  .hero-shot .phone { --w: min(320px, 82vw); }
  .shot .phone { --w: min(260px, 72vw); }
  .rchip .lab { font-size: 7px; }
}
