/* Plugd website — tokens mirror the Plugd design system. Dark is the default theme. */
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --surface: #151518;
  --surface-2: #1f1f24;
  --line: #2c2c33;
  --line-strong: #5a5a64;
  --ink: #f5f4ef;
  --muted: #a1a1aa;
  --volt: #d4ff3a;
  --volt-press: #bde81f;
  --on-volt: #0b0b0d;
  --volt-text: #d4ff3a;
  --hot: #ff6b4a;
  --warm: #ffc23d;
  --cold: #7cc7ff;
  --focus: #d4ff3a;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --wrap: 1160px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    color-scheme: light;
    --bg: #f6f5f0;
    --surface: #ffffff;
    --surface-2: #eeede6;
    --line: #e2e0d8;
    --line-strong: #9a9890;
    --ink: #0b0b0d;
    --muted: #5c5c63;
    --volt-text: #4f6b00;
    --hot: #c8381a;
    --warm: #8f5b00;
    --cold: #1f68a8;
    --focus: #0b0b0d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--volt); color: var(--on-volt); padding: 8px 14px; border-radius: 999px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; font: 800 26px/1 var(--font-display); letter-spacing: -0.05em; }
.brand img { width: 34px; height: 34px; margin-right: 10px; }
.brand b { color: var(--volt-text); font-weight: 800; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .site-nav { display: none; } .site-head .btn { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--font-sans); text-decoration: none; white-space: nowrap; transition: transform .15s ease-out, background-color .15s ease-out; }
.btn:active { transform: scale(.97); }
.btn-volt { background: var(--volt); color: var(--on-volt); }
.btn-volt:hover { background: var(--volt-press); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px; border-radius: var(--radius-md); background: var(--ink); color: var(--bg); text-decoration: none; transition: transform .15s ease-out; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font: 500 11px/1.2 var(--font-sans); opacity: .75; }
.store strong { display: block; font: 700 19px/1.15 var(--font-sans); letter-spacing: -0.01em; }
.store.soon { background: var(--surface-2); color: var(--muted); cursor: default; }
.store.soon:hover { transform: none; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--line-strong); }
.display { margin: 0; font: 800 clamp(48px, 9vw, 112px)/.92 var(--font-display); letter-spacing: -0.055em; }
.display em, .h2 em { font-style: normal; color: var(--volt-text); }
.h2 { margin: 0; font: 800 clamp(36px, 5.6vw, 68px)/.98 var(--font-display); letter-spacing: -0.05em; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.lead b { color: var(--ink); font-weight: 500; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(48% 60% at 78% 55%, rgba(212, 255, 58, .10), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero .lead { margin: 26px 0 32px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.phones { position: relative; height: clamp(460px, 52vw, 640px); }
.phones img { position: absolute; width: auto; height: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.phones .p-back { right: 0; top: 4%; height: 92%; transform: rotate(6deg); opacity: .96; }
.phones .p-front { right: 34%; top: 0; transform: rotate(-4deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 520px; max-width: 460px; width: 100%; margin: 8px auto 0; }
  .phones .p-front { right: auto; left: 0; }
}
@media (max-width: 480px) { .phones { height: 440px; } .phones .p-back { right: -8%; } }

/* Problem band */
.band { border-block: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.band p { margin: 0; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin: 20px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); counter-increment: step; }
.steps li::before { content: '0' counter(step); display: block; margin-bottom: 40px; font: 500 14px/1 var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.steps h3 { margin: 0 0 8px; font: 700 26px/1.1 var(--font-display); letter-spacing: -0.03em; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps li:first-child { background: var(--volt); color: var(--on-volt); }
.steps li:first-child::before, .steps li:first-child p { color: var(--on-volt); opacity: .75; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li::before { margin-bottom: 20px; } }

/* Feature grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.tile.wide { grid-column: span 3; }
.tile h3 { margin: auto 0 0; font: 700 24px/1.12 var(--font-display); letter-spacing: -0.03em; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--volt-text); }
.tile .icon svg { width: 24px; height: 24px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); font: 600 13px/1 var(--font-sans); }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.hot { color: var(--hot); } .tag.warm { color: var(--warm); } .tag.cold { color: var(--cold); }
.formats { display: flex; gap: 8px; flex-wrap: wrap; font: 500 14px/1 var(--font-mono); }
.formats span { padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile { min-height: 0; } .tile h3 { margin-top: 18px; } }

/* Showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.showcase figure { margin: 0; }
.showcase img { width: 100%; max-width: 340px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.showcase figcaption { margin-top: 22px; text-align: center; }
.showcase figcaption strong { display: block; font: 700 22px/1.15 var(--font-display); letter-spacing: -0.03em; }
.showcase figcaption span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .showcase { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .showcase figure { scroll-snap-align: center; }
}

/* Privacy promise */
.promise { border-radius: var(--radius-xl); background: var(--surface); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.promise li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 17px; }
.promise li b { display: block; font-weight: 600; }
.promise li span { color: var(--muted); font-size: 15px; }
.promise li::before { content: ''; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 19px/1.35 var(--font-sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font: 500 20px/1 var(--font-sans); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 44em; }

/* Final CTA */
.cta { text-align: center; padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 50% 100%, rgba(212, 255, 58, .14), transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; }
.cta .lead { margin: 22px auto 34px; }
.cta .stores { justify-content: center; }
.cta-icon { width: 88px; height: 88px; margin: 0 auto 28px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* Legal & support pages */
.doc { padding: clamp(40px, 7vw, 88px) 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin: 0 0 12px; font: 800 clamp(40px, 7vw, 72px)/.95 var(--font-display); letter-spacing: -0.05em; }
.doc .meta { margin: 0 0 32px; color: var(--muted); font: 500 14px/1.5 var(--font-mono); }
.doc h2 { margin: 52px 0 12px; font: 700 26px/1.15 var(--font-display); letter-spacing: -0.03em; scroll-margin-top: 84px; }
.doc h3 { margin: 28px 0 8px; font: 600 18px/1.3 var(--font-sans); }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--muted); }
.doc a { color: var(--volt-text); text-underline-offset: 3px; }
.doc .summary { padding: 24px 28px; border-radius: var(--radius-lg); background: var(--surface); margin: 0 0 12px; }
.doc .summary h2 { margin-top: 0; font-size: 20px; }
.doc .summary ul { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); color: var(--muted); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.doc .caps { text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
mark.fill { background: rgba(255, 194, 61, .22); color: inherit; padding: 0 4px; border-radius: 4px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.help-grid a { display: block; padding: 22px; border-radius: var(--radius-md); background: var(--surface); text-decoration: none; color: var(--ink); }
.help-grid a strong { display: block; font: 700 19px/1.2 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.help-grid a span { color: var(--muted); font-size: 15px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
