/* ==========================================================================
   gautamrahul.com — design system
   Dark bento layout, orange accent.
   ========================================================================== */

:root {
  --bg: #0c0c0c;
  --bg-2: #0f0f0f;
  --card: #171717;
  --card-2: #1c1c1c;
  --card-3: #222;
  --line: #292929;
  --line-2: #333;
  --text: #fff;
  --muted: #8c8c8c;
  --dim: #737373;
  --faint: rgba(255, 255, 255, .08);

  --accent: #f6821f;        /* Cloudflare orange */
  --accent-2: #fbad41;      /* amber */
  --accent-3: #ff5e1a;      /* hot orange */
  --accent-soft: rgba(246, 130, 31, .14);
  --accent-glow: rgba(246, 130, 31, .28);
  --grad: linear-gradient(135deg, #ffb547 0%, #f6821f 45%, #f04a12 100%);

  --ok: #3ecf8e;
  --danger: #ff5a5a;

  --r-xl: 24px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --cell: 200px;
  --gap: 16px;
  --grid-w: calc(var(--cell) * 4 + var(--gap) * 3); /* 848px */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --display: "Anton", "Inter", sans-serif;
  --hand: "Caveat", cursive;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 20px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
::selection { background: var(--accent); color: #000; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; border: 3px solid var(--bg); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }
.icon-lg { width: 24px; height: 24px; flex: none; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); letter-spacing: -.04em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Ambient background glow ---------- */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 380px at 50% -120px, rgba(246, 130, 31, .10), transparent 70%),
    radial-gradient(500px 300px at 85% 110%, rgba(246, 130, 31, .05), transparent 70%);
}
.page { position: relative; z-index: 1; }

/* ---------- Reveal (entrance) animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease),
    filter .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.is-ready [data-reveal] { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.home { padding: 56px 16px 40px; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-name {
  position: relative;
  display: grid; place-items: center;
  font-size: 80px; line-height: 80px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--faint);
  user-select: none;
}
.hero-name span { display: block; }
.hero-dp {
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
}
.hero-dp img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg), 0 10px 40px rgba(246, 130, 31, .35);
}
.hero-dp .verified {
  position: absolute; right: -4px; bottom: -2px; width: 22px; height: 22px;
  filter: drop-shadow(0 0 0 var(--bg)) drop-shadow(0 2px 4px rgba(0,0,0,.6));
}
.hero-dp::after { /* soft breathing halo */
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,130,31,.35), transparent 65%);
  z-index: -1; animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .5; transform: scale(.92);} 50% { opacity: 1; transform: scale(1.08);} }

.tagline {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 14px; line-height: 14px; font-weight: 500;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--dim);
}

.socials { display: flex; gap: 4px; margin-top: 28px; }
.social {
  width: 102px; height: 40px;
  display: grid; place-items: center;
  background: var(--card);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 var(--line);
  color: #bdbdbd;
  transition: background .25s, color .25s, transform .25s var(--spring);
}
.social:first-child { border-radius: 32px 8px 8px 32px; }
.social:last-child { border-radius: 8px 32px 32px 8px; }
.social:hover { background: var(--card-2); color: var(--accent); }
.social:active { transform: scale(.94); }
.social .icon { width: 20px; height: 20px; }

/* ==========================================================================
   HOME — bento grid
   ========================================================================== */
.bento {
  width: var(--grid-w);
  max-width: 100%;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  grid-auto-rows: var(--cell);
  gap: var(--gap);
}
.span-2 { grid-column: span 2; }

.card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 16px;
  display: flex; flex-direction: column;
  box-shadow: 0 0 0 1px rgba(41, 41, 41, 0), 0 1px 2px rgba(0, 0, 0, .1);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), background .35s;
  isolation: isolate;
}
.card::before { /* hairline that lights up on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; transition: background .35s; z-index: 3;
}
.card.is-link { cursor: pointer; }
.card.is-link:hover::before { background: linear-gradient(180deg, rgba(246,130,31,.55), rgba(246,130,31,.05) 70%); }
.card.is-link:hover { box-shadow: 0 0 0 1px rgba(41,41,41,0), 0 20px 50px -20px var(--accent-glow); }
.card.is-link:active { transform: scale(.985); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; position: relative; z-index: 2; }
.card-icon { width: 20px; height: 20px; color: var(--muted); }
.card-icon.accent { color: var(--accent); }
.card-arrow { width: 20px; height: 20px; color: var(--muted); transition: transform .35s var(--spring), color .25s; }
.card.is-link:hover .card-arrow { transform: translate(2px, -2px); color: var(--accent); }
.card-count { color: var(--dim); }
.card-body { margin-top: auto; position: relative; z-index: 2; }
.card-title { color: var(--text); }
.card-sub { color: var(--muted); }

/* --- Product cards (big) --- */
.product-card { padding: 16px; }
.product-card .card-body { max-width: 148px; }
.product-visual {
  position: absolute; top: 12px; right: 0; bottom: 12px; width: 62%;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: inset 0 0 0 1px #222;
  z-index: 1;
  transform: perspective(900px) rotateY(-6deg);
  transform-origin: right center;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-visual { transform: perspective(900px) rotateY(0deg) scale(1.02); }

/* faux editor timeline that scrolls behind the big title */
.timeline { position: absolute; inset: 0; padding: 10px 12px; font-family: var(--mono); font-size: 7.5px; line-height: 11px; color: #5d5d5d; letter-spacing: -.02em; }
.timeline-track { display: flex; flex-direction: column; gap: 3px; animation: scrollY 18s linear infinite; }
.timeline-row { display: grid; grid-template-columns: 70px 1fr; gap: 8px; white-space: nowrap; }
.timeline-row b { font-weight: 400; color: #444; }
.clip-bar { height: 9px; border-radius: 2px; background: #1f1f1f; position: relative; }
.clip-bar i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, #2c2c2c, #3a3a3a); }
.clip-bar i.hot { background: linear-gradient(90deg, rgba(246,130,31,.55), rgba(251,173,65,.35)); }
@keyframes scrollY { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.visual-title {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 2;
  background: radial-gradient(closest-side, rgba(11,11,11,.85), rgba(11,11,11,.0));
  pointer-events: none;
}
.visual-title .big {
  font-family: var(--display); font-size: 40px; line-height: .95; letter-spacing: .005em; text-transform: uppercase;
  color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.8);
}
.visual-title .big em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.visual-title .hand {
  display: block; font-family: var(--hand); font-weight: 600; font-size: 22px; line-height: 1; color: var(--accent-2);
  transform: rotate(-6deg) translateY(6px); text-shadow: 0 2px 10px rgba(0,0,0,.9);
}
.visual-title .chips { display: flex; gap: 4px; justify-content: center; margin-top: 8px; }
.visual-title .chip-mini {
  font-family: var(--mono); font-size: 8px; line-height: 1; padding: 4px 5px; border-radius: 4px;
  background: #1a1a1a; color: #cfcfcf; box-shadow: inset 0 0 0 1px #2c2c2c;
}
.visual-title .chip-mini.pr { color: #d9a8ff; background: #2a1440; box-shadow: none; }

/* waveform list visual (store card) */
.wave-list { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; gap: 6px; animation: scrollY 22s linear infinite; }
.wave-item { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 8px; color: #555; white-space: nowrap; }
.wave-item .wv { flex: 1; height: 10px; background: repeating-linear-gradient(90deg, #2a2a2a 0 2px, transparent 2px 4px); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }

/* sparkles flying over visuals */
.spark { position: absolute; width: 6px; height: 6px; z-index: 3; color: var(--accent-2); animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* --- Freebies card --- */
.freebie-stack { position: absolute; right: 12px; bottom: -14px; width: 84px; height: 84px; z-index: 1; }
.freebie-tile {
  position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 6px;
  transition: transform .5s var(--spring);
}
.freebie-tile.back { background: #3a3a3a; transform: translate(-13px, -12px); }
.freebie-tile.front { background: #fff; color: #111; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.freebie-tile.front .icon { width: 30px; height: 30px; color: #111; }
.freebie-tile.front span { font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.card.is-link:hover .freebie-tile.back { transform: translate(-22px, -18px) rotate(-8deg); background: var(--accent); }
.card.is-link:hover .freebie-tile.front { transform: translate(2px, -6px) rotate(4deg); }

/* --- About card --- */
.about-avatar { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--accent); }
.about-card .card-body { display: flex; flex-direction: column; gap: 12px; }
.wave-emoji { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 0%,60%,100% { transform: rotate(0); } 10%,30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }

/* --- Newsletter --- */
.news-card .card-body { margin-top: auto; }
.news-form {
  margin-top: 16px; position: relative; height: 44px;
  background: var(--bg-2); border-radius: 36px;
  display: flex; align-items: center; padding: 0 4px 0 16px; gap: 10px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .25s;
}
.news-form:focus-within { box-shadow: inset 0 0 0 1px rgba(246,130,31,.6), 0 0 0 4px rgba(246,130,31,.12); }
.news-form .icon { width: 18px; height: 18px; color: var(--dim); }
.news-form input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 14px; }
.news-form input::placeholder { color: var(--dim); }
.news-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #1f1f1f; color: var(--muted); transition: background .25s, color .25s, transform .3s var(--spring);
}
.news-form:focus-within .news-btn, .news-btn:hover { background: var(--accent); color: #111; }
.news-btn:active { transform: scale(.9); }
.news-btn .icon { width: 18px; height: 18px; color: inherit; }
.news-form.is-done { box-shadow: inset 0 0 0 1px rgba(62,207,142,.5); }
.news-form.is-done .news-btn { background: var(--ok); color: #062; }

/* --- Location / globe --- */
.loc-card { padding: 16px; }
.loc-flag { width: 21px; height: 14px; border-radius: 2px; }
.globe {
  position: absolute; left: 50%; bottom: -52%; width: 128%; aspect-ratio: 1;
  transform: translateX(-50%); z-index: 0; pointer-events: none;
}
.globe canvas { width: 100%; height: 100%; }
.loc-card .card-body { text-shadow: 0 1px 12px rgba(23,23,23,1), 0 0 4px rgba(23,23,23,1); }
.weather { display: inline-flex; gap: 4px; color: var(--muted); }

/* --- Gear card --- */
.gear-peek {
  position: absolute; right: -6px; bottom: 16px; width: 124px; height: 82px; z-index: 1;
  border-radius: 14px; background: linear-gradient(145deg, #f2f2f2, #cfcfcf);
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  transition: transform .5s var(--spring);
  overflow: hidden;
}
.gear-peek svg { width: 100%; height: 100%; }
.card.is-link:hover .gear-peek { transform: translateX(-8px) rotate(-3deg); }

/* --- Instagram card --- */
.ig-card { padding: 16px 8px 8px; }
.ig-card .card-top { padding: 0 8px; }
.ig-logo { width: 22px; height: 22px; color: var(--accent); }
.ig-panel {
  margin-top: auto; background: rgba(140, 140, 140, .07); border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.ig-head { display: flex; align-items: center; gap: 12px; }
.ig-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ig-name { display: flex; align-items: center; gap: 4px; }
.ig-name svg { width: 15px; height: 15px; }
.ig-handle { color: var(--muted); display: flex; gap: 4px; align-items: center; }
.ig-follow { color: var(--accent); font-weight: 500; }
.ig-quote { font-size: 16px; line-height: 24px; letter-spacing: .01em; }
.ig-meta { color: var(--muted); display: flex; gap: 6px; font-size: 14px; line-height: 14px; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 56px 16px 40px; color: #7e7e7e; position: relative; z-index: 1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.copyright { margin-top: 18px; color: var(--muted); }
.copyright a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }

/* ==========================================================================
   SHEET / POPUP (Freebies, Gear)
   ========================================================================== */
.sheet-root { position: fixed; inset: 0; z-index: 100; display: none; }
.sheet-root.is-open { display: block; }
.sheet-backdrop {
  position: absolute; inset: 0; background: rgba(8, 8, 8, .55);
  backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.sheet-root.is-visible .sheet-backdrop { opacity: 1; }
.sheet-wrap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 24px));
  max-height: min(78vh, 760px);
  display: flex; flex-direction: column;
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px 14px 20px;
  font-size: 16px; opacity: 0; transform: translateY(6px); transition: opacity .3s .15s, transform .4s .15s var(--ease);
}
.sheet-root.is-visible .sheet-head { opacity: 1; transform: none; }
.sheet-head .count { color: var(--muted); }
.sheet-close { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #cfcfcf; transition: background .2s, transform .3s var(--spring); }
.sheet-close:hover { background: rgba(255,255,255,.08); transform: rotate(90deg); }
.sheet-panel {
  background: #1a1a1a; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 0 0 1px #262626, 0 30px 80px rgba(0,0,0,.6);
  display: flex; flex-direction: column; min-height: 0;
  transform-origin: top left;
}
.sheet-list { overflow-y: auto; padding: 14px 10px; overscroll-behavior: contain; }
.sheet-list::-webkit-scrollbar-thumb { border-color: #1a1a1a; }
.sheet-item {
  display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 14px;
  opacity: 0; transform: translateY(10px);
  transition: background .2s, opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: 0s, calc(.12s + var(--i, 0) * 35ms), calc(.12s + var(--i, 0) * 35ms);
}
.sheet-root.is-visible .sheet-item { opacity: 1; transform: none; }
a.sheet-item:hover { background: rgba(255,255,255,.04); }
.sheet-thumb { width: 56px; height: 56px; border-radius: 6px; flex: none; overflow: hidden; position: relative; display: grid; place-items: center; }
.sheet-thumb.plain { background: transparent; }
.sheet-thumb svg.gear-svg { width: 52px; height: 52px; }
.sheet-text { flex: 1; min-width: 0; font-size: 15px; line-height: 22px; }
.sheet-text .k { color: var(--muted); }
.sheet-text .t { color: var(--text); }
.sheet-go { width: 22px; height: 22px; color: #bdbdbd; transition: transform .3s var(--spring), color .2s; }
a.sheet-item:hover .sheet-go { transform: translate(2px,-2px); color: var(--accent); }

/* generated thumbnails */
.thumb-art {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 12px; line-height: .95; text-align: center; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.thumb-a { background: radial-gradient(circle at 50% 45%, #1e7bff 0 34%, #0a0a0a 36%); }
.thumb-b { background: linear-gradient(160deg, #ffd7a0, #f6821f 55%, #3b1a05); }
.thumb-c { background: linear-gradient(200deg, #2b2b2b, #0d0d0d), #111; }
.thumb-d { background: linear-gradient(135deg, #3b2412, #f6821f); }
.thumb-e { background: conic-gradient(from 210deg, #ff5e1a, #fbad41, #1a1a1a, #ff5e1a); }
.thumb-f { background: linear-gradient(180deg, #121212, #2b1606); }
.thumb-g { background: linear-gradient(135deg, #0f2e2a, #0b0b0b); }
.thumb-h { background: linear-gradient(135deg, #fbad41, #ff5e1a); }

/* ==========================================================================
   INNER PAGES — shared chrome
   ========================================================================== */
.topbar {
  position: sticky; top: 12px; z-index: 50;
  width: min(980px, calc(100% - 24px)); margin: 12px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 6px 6px 8px; border-radius: 999px;
  background: rgba(20, 20, 20, .72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px #222, 0 10px 30px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; gap: 10px; padding-right: 6px; }
.brand-dp { position: relative; width: 32px; height: 32px; }
.brand-dp img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-dp svg { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; }
.brand-name { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; color: #bdbdbd;
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.is-active { color: #fff; background: rgba(255,255,255,.06); }
.nav a.nav-cta { background: var(--accent); color: #140800; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--accent-2); }
.nav .icon { width: 18px; height: 18px; }

.container { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 32px)); margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.eyebrow.plain::before { display: none; }

.page-head { text-align: center; padding: 72px 0 40px; }
.page-title { font-size: clamp(40px, 7vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.045em; margin-top: 16px; }
.page-title .serif { color: var(--accent); font-size: 1.08em; }
.page-sub { margin: 16px auto 0; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 24px; }

.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-title { font-size: clamp(26px, 4vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; margin-top: 12px; }
.section-title .serif { color: var(--accent); font-size: 1.12em; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--r-md);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .3s var(--spring), background .25s, box-shadow .3s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #160900; box-shadow: 0 14px 32px rgba(246,130,31,.28), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { box-shadow: 0 18px 44px rgba(246,130,31,.42), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: #e6e6e6; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--card-2); box-shadow: inset 0 0 0 1px #3a3a3a; }
.btn-block { width: 100%; }
.btn-lg { height: 58px; padding: 0 44px; font-size: 16px; border-radius: 16px; }

/* glow-border buy button (like the inspo "Buy Now") */
.btn-glow {
  height: 58px; padding: 0 44px; border-radius: 14px; color: #fff; font-size: 15px; font-weight: 600;
  background: linear-gradient(#141414, #141414) padding-box, linear-gradient(120deg, #ffb547, #f6821f 40%, #ff5e1a 70%, #ffb547) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 14px 32px rgba(246, 130, 31, .22), inset 0 0 22px rgba(246,130,31,.12);
  background-size: 100% 100%, 300% 300%;
  animation: borderflow 6s linear infinite;
}
.btn-glow:hover { box-shadow: 0 18px 48px rgba(246,130,31,.38), inset 0 0 30px rgba(246,130,31,.2); transform: translateY(-1px); }
.btn-glow s { color: var(--dim); font-weight: 400; }
@keyframes borderflow { to { background-position: 0 0, 300% 0; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: -.02em; color: #cfcfcf; white-space: nowrap;
}
.pill b { color: var(--accent); font-weight: 500; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: -.01em;
  background: var(--accent-soft); color: var(--accent-2);
}
.badge.ok { background: rgba(62,207,142,.12); color: var(--ok); }
.badge.mute { background: #1f1f1f; color: var(--muted); }

/* ---------- Panels ---------- */
.panel { background: var(--card); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px #1f1f1f; padding: 24px; }
.panel-tight { padding: 16px; }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: 0; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field { margin-top: 16px; }
.field label, .label { font-size: 13px; color: #bdbdbd; }
.input, .select {
  height: 48px; width: 100%; padding: 0 16px; border-radius: 12px;
  background: var(--bg-2); color: var(--text); border: 0; outline: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.input::placeholder { color: #5f5f5f; }
.input:focus, .select:focus { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgba(246,130,31,.12); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-row .field + .field { margin-top: 0; }
.hint { font-size: 12px; color: var(--dim); }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 2px 0 0; }
.link { color: var(--accent); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.p-hero { text-align: center; padding: 64px 0 24px; }
.p-avatar { position: relative; display: block; width: 56px; height: 56px; margin: 0 auto; }
.p-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(246,130,31,.6), 0 12px 40px rgba(246,130,31,.35); }
.p-avatar svg { position: absolute; right: -4px; bottom: -3px; width: 20px; height: 20px; }
.p-title {
  margin-top: 28px; font-size: clamp(42px, 7.5vw, 66px); line-height: .98; font-weight: 700; letter-spacing: -.05em;
}
.p-title .shimmer {
  background: linear-gradient(110deg, rgba(255,255,255,.86) 30%, #fff 46%, var(--accent-2) 50%, #fff 54%, rgba(255,255,255,.86) 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4.5s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 120% 0; } 60%,100% { background-position: -40% 0; } }
.p-title .serif { color: var(--accent); font-size: 1.14em; padding-right: .06em; }
.p-sub { margin: 18px auto 0; max-width: 460px; color: var(--muted); font-size: 16px; line-height: 24px; }
.p-sub b { color: #fff; font-weight: 500; }
.p-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.p-cta-note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); display: flex; gap: 10px; align-items: center; }
.app-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-family: var(--font); font-weight: 700; font-size: 10px; letter-spacing: 0; }
.app-badge.pr { background: #2a0d45; color: #d9a8ff; box-shadow: inset 0 0 0 1px #6c3aa0; }
.app-badge.ae { background: #1a0c3d; color: #a9a6ff; box-shadow: inset 0 0 0 1px #4a3ea8; }
.app-badge.dr { background: #10252e; color: #8fe0ff; box-shadow: inset 0 0 0 1px #1f5f73; }

/* preview stage */
.stage {
  position: relative; margin: 48px auto 0; width: min(860px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden;
  background: #0a0a0a; box-shadow: 0 0 0 1px #222, 0 40px 120px -30px rgba(246,130,31,.35);
}
.stage-clip { position: absolute; inset: 0; }
.stage-clip.a { background:
  radial-gradient(60% 80% at 30% 60%, rgba(255,181,71,.55), transparent 60%),
  radial-gradient(50% 60% at 80% 30%, rgba(240,74,18,.5), transparent 60%),
  linear-gradient(180deg, #2a1205, #0d0603); }
.stage-clip.b { background:
  radial-gradient(60% 70% at 70% 60%, rgba(80,140,255,.35), transparent 60%),
  linear-gradient(180deg, #0e1420, #060709);
  animation: whip 4.8s var(--ease) infinite; }
@keyframes whip {
  0%, 38% { clip-path: inset(0 0 0 100%); filter: blur(0); }
  44% { clip-path: inset(0 0 0 30%); filter: blur(10px); }
  50%, 88% { clip-path: inset(0 0 0 0); filter: blur(0); }
  94% { clip-path: inset(0 70% 0 0); filter: blur(10px); }
  100% { clip-path: inset(0 100% 0 0); filter: blur(0); }
}
.stage-word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 10vw, 104px); line-height: .9;
  color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.stage-word .hand { display: block; font-family: var(--hand); text-transform: none; font-size: .42em; color: var(--accent-2); transform: rotate(-5deg); }
.stage-ui { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.stage-ui .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.stage-ui .bar i { display: block; height: 100%; width: 40%; background: var(--accent); animation: prog 4.8s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.stage-ui .time { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.7); }
.stage-tag { position: absolute; top: 14px; left: 14px; z-index: 3; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #140800;
  background: var(--grad); box-shadow: 0 0 0 10px rgba(246,130,31,.15), 0 20px 50px rgba(246,130,31,.4);
  transition: transform .35s var(--spring);
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.07); }
.play-btn .icon { width: 28px; height: 28px; margin-left: 4px; }

.stat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }

/* included grid */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inc {
  background: var(--card); border-radius: 18px; padding: 20px; min-height: 150px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: inset 0 0 0 1px #1f1f1f; transition: box-shadow .3s, transform .3s var(--ease);
}
.inc:hover { box-shadow: inset 0 0 0 1px rgba(246,130,31,.35); transform: translateY(-2px); }
.inc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: auto; }
.inc-ico .icon { width: 20px; height: 20px; }
.inc h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-top: 18px; }
.inc p { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: step; }
.step { position: relative; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, #161616, #121212); box-shadow: inset 0 0 0 1px #1f1f1f; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.step h3 { margin-top: 28px; font-size: 18px; letter-spacing: -.02em; }
.step p { margin-top: 6px; color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px #1f1f1f; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .35s var(--spring), color .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq .ans { padding: 0 20px 18px; color: var(--muted); line-height: 22px; }

/* final CTA */
.final-cta {
  position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: 28px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(246,130,31,.22), transparent 60%), #121212;
  box-shadow: inset 0 0 0 1px #262626;
}
.final-cta .section-title { font-size: clamp(32px, 5vw, 44px); }
.final-cta p { color: var(--muted); margin-top: 10px; }
.final-cta .btn { margin-top: 26px; }
.guarantee { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; color: var(--dim); font-size: 13px; }
.guarantee .icon { width: 16px; height: 16px; color: var(--ok); }

/* sticky mobile buy bar */
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none;
  align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px;
  background: rgba(20,20,20,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px #262626, 0 20px 40px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.buybar.is-shown { transform: none; }
.buybar .price { font-weight: 600; font-size: 16px; }
.buybar .price s { color: var(--dim); font-weight: 400; font-size: 13px; margin-left: 6px; }
.buybar .btn { height: 44px; }

/* ==========================================================================
   SHOP PAGE
   ========================================================================== */
.filters { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.filter {
  height: 36px; padding: 0 16px; border-radius: 999px; background: var(--card); color: #bdbdbd;
  box-shadow: inset 0 0 0 1px var(--line); transition: all .2s;
}
.filter:hover { color: #fff; }
.filter.is-active { background: #fff; color: #111; box-shadow: none; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-xl); overflow: hidden; padding: 8px;
  box-shadow: inset 0 0 0 1px #1f1f1f; transition: box-shadow .35s, transform .35s var(--ease);
}
.p-card:hover { box-shadow: inset 0 0 0 1px rgba(246,130,31,.45), 0 24px 50px -24px var(--accent-glow); transform: translateY(-3px); }
.p-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0c0c0c; }
.p-thumb .thumb-art { font-size: 34px; }
.p-thumb .thumb-art small { display: block; font-family: var(--hand); font-size: 18px; text-transform: none; color: var(--accent-2); }
.p-thumb .badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.p-card:hover .p-thumb .thumb-art { transform: scale(1.05); }
.p-thumb .thumb-art { transition: transform .6s var(--ease); }
.p-meta { padding: 14px 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.p-meta .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.p-meta .t { font-size: 16px; font-weight: 500; }
.p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-weight: 600; }
.price s { color: var(--dim); font-weight: 400; margin-left: 6px; font-size: 13px; }
.p-card.is-soon { pointer-events: none; }
.p-card.is-soon .p-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(12,12,12,.55); backdrop-filter: blur(3px); }
.soon-lock { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #bdbdbd; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.soon-lock span { display: inline-flex; gap: 8px; align-items: center; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.co-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.co-title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.co-step { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: var(--accent-soft); color: var(--accent); }
.pay-opts { display: grid; gap: 8px; }
.pay-opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s;
}
.pay-opt:hover { background: #121212; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt .radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #444; flex: none; transition: box-shadow .2s; }
.pay-opt:has(input:checked) { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgba(246,130,31,.08); }
.pay-opt:has(input:checked) .radio { box-shadow: inset 0 0 0 5px var(--accent); }
.pay-opt .icon { color: var(--muted); }
.pay-opt .po-t { flex: 1; }
.pay-opt .po-t small { display: block; color: var(--dim); font-size: 12px; }
.summary { position: sticky; top: 84px; }
.sum-item { display: flex; gap: 14px; align-items: center; }
.sum-thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; position: relative; flex: none; }
.sum-thumb .thumb-art { font-size: 13px; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); }
.sum-row + .sum-row { margin-top: 10px; }
.sum-row.total { color: var(--text); font-size: 18px; font-weight: 600; margin-top: 16px; }
.coupon { display: flex; gap: 8px; }
.coupon .input { height: 44px; }
.coupon .btn { height: 44px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--dim); }
.secure .icon { width: 14px; height: 14px; }
.demo-note { margin-top: 10px; text-align: center; font-family: var(--mono); font-size: 11px; color: #6b6b6b; letter-spacing: -.01em; }

/* ==========================================================================
   AUTH
   ========================================================================== */
.auth-wrap { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: min(420px, 100%); text-align: center; }
.auth-card .p-avatar { width: 64px; height: 64px; }
.auth-card h1 { margin-top: 22px; font-size: 30px; letter-spacing: -.04em; font-weight: 700; }
.auth-card h1 .serif { color: var(--accent); font-size: 1.1em; }
.auth-card .sub { color: var(--muted); margin-top: 8px; }
.auth-form { margin-top: 28px; text-align: left; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { margin-top: 22px; color: var(--muted); }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tab { height: 36px; padding: 0 18px; border-radius: 999px; color: var(--muted); transition: all .25s var(--ease); }
.tab.is-active { background: #fff; color: #111; }
.auth-alert {
  margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 19px; text-align: left;
  background: rgba(255,90,90,.1); color: #ffb0b0; box-shadow: inset 0 0 0 1px rgba(255,90,90,.25);
}
.auth-alert.is-info { background: var(--accent-soft); color: #f3c9a3; box-shadow: inset 0 0 0 1px rgba(246,130,31,.25); }
.sent-ico {
  width: 72px; height: 72px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 8px rgba(246,130,31,.06);
  animation: popIn .5s var(--spring);
}
.sent-ico .icon { width: 32px; height: 32px; }
.sent-email { color: #fff; font-weight: 500; word-break: break-all; }
.dev-link { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.btn.is-off { opacity: .55; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ==========================================================================
   DOWNLOAD
   ========================================================================== */
.success-ring { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(62,207,142,.12); color: var(--ok); box-shadow: 0 0 0 10px rgba(62,207,142,.05); }
.success-ring .icon { width: 34px; height: 34px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-chip { display: inline-flex; gap: 8px; margin-top: 16px; }
.files { display: flex; flex-direction: column; gap: 8px; }
.file { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px #1d1d1d; }
.file-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.file-info { flex: 1; min-width: 0; }
.file-info .t { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-info .k { color: var(--dim); font-family: var(--mono); font-size: 12px; }
.file .btn { height: 40px; padding: 0 16px; }
.howto { counter-reset: h; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.howto li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.howto li::before { counter-increment: h; content: counter(h); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--accent-soft); }
.howto b { color: #fff; font-weight: 500; }

/* ==========================================================================
   LEGAL
   ========================================================================== */
.legal { padding-bottom: 40px; }
.legal-meta { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.legal-toc a { font-size: 13px; height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; }
.legal-toc a:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(246,130,31,.5); }
.legal-body h2 { font-size: 20px; letter-spacing: -.02em; margin: 36px 0 10px; display: flex; gap: 12px; align-items: baseline; scroll-margin-top: 90px; }
.legal-body h2 .n { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 500; }
.legal-body p, .legal-body li { color: #a9a9a9; font-size: 15px; line-height: 25px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 10px 0 0; }
.legal-body li + li { margin-top: 6px; }
.legal-body li::marker { color: var(--accent); }
.legal-body strong { color: #fff; font-weight: 500; }
.callout { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); color: #f3c9a3; box-shadow: inset 0 0 0 1px rgba(246,130,31,.25); font-size: 14px; line-height: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: #1c1c1c; box-shadow: 0 0 0 1px #2c2c2c, 0 20px 40px rgba(0,0,0,.5);
  transition: transform .45s var(--spring); font-size: 14px; white-space: nowrap;
}
.toast.is-shown { transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; color: var(--accent); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .inc-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .co-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 880px) {
  :root { --gap: 14px; }
  .home { padding: 40px 18px 24px; }
  .hero-name { font-size: clamp(56px, 16vw, 80px); line-height: .98; }
  .hero-dp { width: 72px; height: 72px; }
  .tagline { margin-top: 24px; }
  .socials { width: 100%; max-width: 468px; }
  .social { flex: 1; width: auto; height: 44px; }

  .bento {
    width: 100%; max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
  .bento > .card { aspect-ratio: 1; }
  .bento > .card.span-2 { aspect-ratio: 2.1 / 1; }
  .bento > .card.news-card, .bento > .card.ig-card { aspect-ratio: auto; min-height: 0; }
  .news-card .card-body { margin-top: 28px; }
  .ig-card .ig-panel { margin-top: 16px; }

  /* mobile ordering (matches the sketch) */
  .o-p1 { order: 1; } .o-p2 { order: 2; } .o-about { order: 3; } .o-free { order: 4; }
  .o-news { order: 5; } .o-loc { order: 6; } .o-gear { order: 7; } .o-ig { order: 8; }

  .product-card .card-body { max-width: 40%; }
  .visual-title .big { font-size: clamp(26px, 7.5vw, 40px); }
  .about-card .card-sub { font-size: 13px; line-height: 19px; }
}

@media (max-width: 640px) {
  .topbar { top: 8px; margin-top: 8px; }
  .brand-name { display: none; }
  .nav a { padding: 0 11px; }
  .nav a .lbl { display: none; }
  .nav a.nav-cta .lbl { display: inline; }
  .inc-grid, .shop-grid, .steps { grid-template-columns: 1fr; }
  .input-row { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 56px 0; }
  .panel { padding: 18px; }
  .buybar { display: flex; }
  .btn-glow { padding: 0 28px; }
  .file .btn .lbl { display: none; }
  .file .btn { width: 40px; padding: 0; }
  .p-hero { padding-top: 48px; }
}

@media (max-width: 420px) {
  .about-card .card-sub { font-size: 12px; line-height: 17px; }
  .bento > .card { padding: 14px; }
  .freebie-stack { width: 70px; height: 70px; }
  .gear-peek { width: 88px; height: 58px; bottom: 10px; }
}
