/* ==========================================================
   MERBLY – Creator Commerce
   Brand palette (fixed): #0C101C · #6A57F8 · #C154BF · #FA8660
   ========================================================== */

:root {
  /* Brand */
  --navy: #0C101C;
  --violet: #6A57F8;
  --pink: #C154BF;
  --orange: #FA8660;
  --gradient: linear-gradient(90deg, #6A57F8 0%, #C154BF 50%, #FA8660 100%);

  /* Neutrals (supporting, not brand colors) */
  --surface: #121829;
  --surface-2: #182036;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F3F4F9;
  --text-muted: #A4AAC0;
  --text-dim: #7A8199;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--text); color: var(--navy); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 18px;
}
.eyebrow-muted { background: none; color: var(--text-muted); }

.display { font-size: clamp(44px, 7.4vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.h-xl { font-size: clamp(34px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-muted); max-width: 620px; margin-top: 22px; }

.gradient-text {
  background: var(--gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-gradient { background: var(--gradient); color: #fff; box-shadow: 0 10px 30px -10px rgba(193, 84, 191, .6); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(193, 84, 191, .75); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.07); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 16, 28, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--text); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(106, 87, 248, .35), transparent 70%) -120px 60px / 620px 620px no-repeat,
    radial-gradient(closest-side, rgba(193, 84, 191, .28), transparent 70%) 220px 220px / 560px 560px no-repeat,
    radial-gradient(closest-side, rgba(250, 134, 96, .22), transparent 70%) 120px 420px / 520px 520px no-repeat;
  filter: blur(20px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-orbit {
  position: absolute; inset: 8%; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 50%, rgba(106,87,248,.12), transparent 65%);
}
.hero-orbit::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed var(--line);
}
.hero-item { position: absolute; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
.hero-hoodie { width: 44%; left: 2%; top: 15%; }
.hero-shirt { width: 34%; left: 38%; top: 28%; animation-delay: -3.4s; }
.hero-mug { width: 28%; right: 0; top: 3%; animation-delay: -2.5s; }
.hero-bottle { width: 11%; left: 53%; top: 1%; animation-delay: -5.6s; }
.hero-ball { width: 17%; right: 3%; top: 40%; animation-delay: -0.6s; }
.hero-phone { width: 16%; left: 7%; bottom: 3%; animation-delay: -1.2s; }
.hero-headset { width: 27%; left: 34%; bottom: 3%; animation-delay: -6.3s; }
.hero-teddy { width: 22%; right: 6%; bottom: 3%; animation-delay: -4.5s; }
.phone-case {
  /* iPhone proportions (~71.5 × 147 mm); body matches the logo background so the mark blends in */
  position: relative; aspect-ratio: 71.5 / 147; border-radius: 17% / 8.3%;
  transform: rotate(-12deg);
  background: #0C101C;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.07),
    inset 2px 2px 6px rgba(255,255,255,.06),
    inset -3px -3px 8px rgba(0,0,0,.5);
  overflow: hidden;
}
.phone-case::after {
  /* soft matte sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 40%);
}
/* Camera plateau (case cut-out showing the phone's glass bump) */
.phone-cam {
  position: absolute; top: 3%; left: 6%; width: 47%; aspect-ratio: 1; border-radius: 24%;
  background: linear-gradient(145deg, #232838, #12151f 60%, #0a0c13);
  box-shadow:
    0 0 0 1.5px #05070b,
    inset 0 1px 1px rgba(255,255,255,.18),
    0 3px 6px rgba(0,0,0,.6);
  z-index: 1;
}
.phone-cam i { position: absolute; border-radius: 50%; display: block; }
.lens {
  width: 42%; aspect-ratio: 1;
  /* steel ring → black bezel → layered glass elements */
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.75) 0 3%, rgba(255,255,255,0) 7%),
    radial-gradient(circle at 64% 68%, rgba(150,120,255,.55) 0 5%, rgba(106,87,248,0) 14%),
    radial-gradient(circle, #020306 0 18%, #1b1f3a 22%, #070910 30%, #2a2552 36%, #06070c 42%, #05060a 56%, #1b1e28 60%, #000 64%, #3b3f4a 68%, #9a9fab 72%, #555a66 78%, #23262f 86%, #0b0d13 100%);
  box-shadow: 0 2px 3px rgba(0,0,0,.7), inset 0 0 0 0.5px rgba(255,255,255,.15);
}
.lens-1 { top: 5%; left: 5%; }
.lens-2 { bottom: 5%; left: 5%; }
.lens-3 { top: 29%; right: 5%; }
.flash {
  width: 13%; aspect-ratio: 1; top: 9%; right: 13%;
  background: radial-gradient(circle at 40% 40%, #fff6e0, #e9d9b0 45%, #9b8f74 75%, #3b3833);
  box-shadow: 0 0 0 1px #0a0b10;
}
.lidar {
  width: 12%; aspect-ratio: 1; bottom: 10%; right: 13.5%;
  background: radial-gradient(circle at 40% 40%, #2b2f3d, #0b0d14 60%, #000);
  box-shadow: 0 0 0 1px #1b1e28;
}
.phone-logo { position: absolute; left: 50%; top: 58%; width: 60%; transform: translate(-50%, -50%); mix-blend-mode: lighten; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.concept-tag {
  position: absolute; left: 4%; top: 4%;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  color: var(--text-muted); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(12,16,28,.7);
}

.hero-facts {
  list-style: none; padding: 0; margin: 70px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18, 24, 41, .6);
}
.hero-facts li { padding: 24px 28px; display: flex; flex-direction: column; gap: 2px; }
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.hero-facts span { color: var(--text-muted); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--gradient); opacity: 0; transition: opacity .3s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gradient); margin-bottom: 26px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-step { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.card h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.card > p { color: var(--text-muted); font-size: 16px; }

.check-list, .dot-list, .contact-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.check-list li, .contact-points li { position: relative; padding-left: 30px; font-size: 15.5px; }
.check-list li::before, .contact-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient);
}
.check-list li::after, .contact-points li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.split-col { padding: 36px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18, 24, 41, .5); }
.split-col h3 { font-size: 26px; font-weight: 600; }
.split-col .eyebrow { margin-bottom: 12px; }
.split-col-accent {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  border: 1px solid transparent;
}
.dot-list li { position: relative; padding-left: 22px; color: var(--text-muted); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.split-col-accent .dot-list li { color: var(--text); }
.split-col-accent .dot-list li::before { background: var(--gradient); }

/* ---------- Model ---------- */
.section-model { background: linear-gradient(180deg, transparent, rgba(106, 87, 248, .06) 30%, rgba(193, 84, 191, .05) 70%, transparent); }
.model-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model-step { padding: 32px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.model-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  border: 1px solid var(--line-strong); margin-bottom: 22px;
}
.model-step h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.model-step p { color: var(--text-muted); font-size: 16px; }

.flow { margin-top: 44px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18, 24, 41, .6); }
.flow-label { font-family: var(--font-display); font-weight: 600; margin-bottom: 14px; }
.flow-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; gap: 4px; }
.flow-seg { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-align: center; padding: 0 8px; }
.flow-costs { flex: 1.1; background: var(--surface-2); color: var(--text-muted); border-radius: 14px 0 0 14px; }
.flow-you { flex: 1; background: linear-gradient(90deg, #6A57F8, #C154BF); }
.flow-us { flex: 1; background: linear-gradient(90deg, #C154BF, #FA8660); border-radius: 0 14px 14px 0; }
.flow-legend { display: grid; grid-template-columns: 1.1fr 2fr; gap: 4px; margin-top: 12px; color: var(--text-dim); font-size: 14px; }
.flow-legend span:last-child { text-align: center; }

.callout {
  margin-top: 22px; display: flex; gap: 22px; align-items: flex-start;
  padding: 32px; border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  border: 1px solid transparent;
}
.callout-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gradient); }
.callout-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.callout h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.callout p { color: var(--text-muted); }

.fineprint { margin-top: 26px; font-size: 14px; color: var(--text-dim); max-width: 760px; }
.section-head-center ~ .fineprint { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Process ---------- */
.process-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.process-head { position: sticky; top: 110px; margin-bottom: 0; }

/* ---------- Instagram-style story (example) ---------- */
.story-wrap { margin: 40px 0 0; max-width: 300px; }
.story-wrap figcaption { margin-top: 14px; font-size: 13px; color: var(--text-dim); text-align: center; }
.story {
  /* Instagram renders stickers in the system UI font (SF Pro on iOS, Roboto on Android);
     Inter is the closest web fallback for other platforms. */
  --ig-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden;
  font-family: var(--ig-font); color: #fff;
  background:
    radial-gradient(120% 60% at 50% 45%, rgba(106, 87, 248, .35), transparent 60%),
    radial-gradient(90% 50% at 80% 100%, rgba(250, 134, 96, .25), transparent 60%),
    linear-gradient(180deg, #1b1830 0%, #12152a 45%, #0C101C 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 6px #05070c, 0 0 0 7px rgba(255,255,255,.08);
}
.story-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 2; }
.story-bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.story-bars .done { background: #fff; }
.story-bars .active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: storybar 6s linear infinite; }
@keyframes storybar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.story-top { position: absolute; top: 22px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; z-index: 2; }
.story-avatar {
  width: 30px; height: 30px; border-radius: 50%; padding: 2px; flex: none;
  background: conic-gradient(from 210deg, #FA8660, #C154BF, #6A57F8, #FA8660);
}
.story-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #12152a; background: #0C101C; }
.story-top strong { font-weight: 600; }
.story-time { color: rgba(255,255,255,.7); }
.story-icons { margin-left: auto; display: flex; gap: 10px; }
.story svg { width: 18px; height: 18px; fill: #fff; }
.story svg.stroke { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.story-caption { position: absolute; top: 15%; left: 0; right: 0; text-align: center; z-index: 2; }
.story-caption span {
  display: inline-block; background: #fff; color: #0C101C; font-weight: 700; font-size: 14px;
  padding: 5px 10px; border-radius: 7px; transform: rotate(-3deg);
}

.story-hoodies { position: absolute; top: 27%; left: 2%; right: 2%; display: flex; gap: 0; }
.story-hoodie { position: relative; flex: 1; }
.story-hoodie img { width: 100%; filter: drop-shadow(0 12px 16px rgba(0,0,0,.6)); }
.story-hoodie .hoodie-print { position: absolute; left: 50%; top: 37%; width: 46%; transform: translateX(-50%); filter: none; }
.story-num {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: #fff; color: #0C101C;
}

/* Poll sticker */
.ig-poll {
  position: absolute; left: 9%; right: 9%; bottom: 15%; z-index: 2;
  background: #fff; border-radius: 14px; overflow: hidden; color: #262626;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.ig-poll-q { padding: 12px 12px 10px; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.ig-poll-opts { display: flex; border-top: 1px solid #efefef; }
.ig-opt {
  flex: 1; position: relative; overflow: hidden; cursor: pointer; border: 0; background: #fff;
  height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--ig-font);
}
.ig-opt + .ig-opt { border-left: 1px solid #efefef; }
.ig-label {
  position: relative; font-weight: 700; font-size: 15px; letter-spacing: 0;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: font-size .3s ease;
}
.ig-pct {
  position: relative; font-weight: 800; font-size: 0; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: font-size .3s ease;
}
.ig-fill { position: absolute; inset: auto 0 0 0; height: 0; background: rgba(193, 84, 191, .12); transition: height .6s cubic-bezier(.2,.8,.2,1); }
.ig-poll.voted .ig-opt { cursor: default; }
.ig-poll.voted .ig-label { font-size: 10px; color: #8e8e8e; background: none; -webkit-text-fill-color: #8e8e8e; }
.ig-poll.voted .ig-pct { font-size: 20px; margin-top: 3px; }
.ig-poll.voted .ig-opt.voted .ig-label { -webkit-text-fill-color: transparent; background: var(--gradient); -webkit-background-clip: text; background-clip: text; }

.story-bottom { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.story-input { flex: 1; font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); color: rgba(255,255,255,.9); }
.story-bottom svg { width: 22px; height: 22px; flex: none; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--violet), var(--pink), var(--orange)); opacity: .5; }
.timeline li { position: relative; display: flex; gap: 26px; padding-bottom: 38px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-num {
  flex: none; position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  background: var(--navy); border: 1px solid var(--line-strong);
  transition: background .4s ease, border-color .4s ease;
}
.timeline li.in .tl-num { background: var(--surface-2); border-color: var(--pink); }
.timeline h3 { font-size: 22px; font-weight: 600; margin: 12px 0 8px; }
.timeline p { color: var(--text-muted); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 22px; }
.product { margin: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease; }
.product:hover { transform: translateY(-4px); }
.product-wide img { width: 100%; height: 240px; object-fit: cover; object-position: center 28%; }
/* Cut-out photo on the same stage background as the other cards, with the same rim glow */
.photo-glow {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(193, 84, 191, .18), transparent 65%), var(--surface-2);
}
.photo-glow img {
  display: block; transition: transform .4s ease;
  filter:
    drop-shadow(-8px -2px 14px rgba(106, 87, 248, .45))
    drop-shadow(8px 2px 14px rgba(250, 134, 96, .35));
}
.product:hover .photo-glow img { transform: scale(1.04); }
.product-stage {
  height: 240px; display: flex; align-items: center; justify-content: center; padding: 26px;
  background: radial-gradient(circle at 50% 60%, rgba(193, 84, 191, .18), transparent 65%), var(--surface-2);
}
.product-stage img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); transition: transform .4s ease; }
.product:hover .product-stage img { transform: scale(1.05); }
.product-stage-gaming { align-items: flex-end; gap: 2%; padding-top: 16px; padding-bottom: 18px; }
.product-stage-gaming img.gaming-item { width: auto; min-width: 0; object-fit: contain; transition: transform .4s ease; }
.product-stage-gaming img.gaming-headset { height: 74%; max-width: 36%; }
.product-stage-gaming img.gaming-chair { height: 100%; max-width: 34%; }
.product-stage-gaming img.gaming-bottle { height: 66%; max-width: 20%; }
.product:hover .gaming-item { transform: scale(1.05); }
.product-stage-acc { align-items: flex-end; gap: 3%; padding-top: 16px; padding-bottom: 18px; }
.product-stage-acc img.acc-item { width: auto; min-width: 0; object-fit: contain; }
/* Brand-colored rim glow on product cut-outs */
.product-stage-acc img.acc-item,
.product-stage-gaming img.gaming-item {
  filter:
    drop-shadow(-8px -2px 14px rgba(106, 87, 248, .55))
    drop-shadow(8px 2px 14px rgba(250, 134, 96, .4))
    drop-shadow(0 18px 24px rgba(0, 0, 0, .5));
}
.product-stage-acc img.acc-mug { height: 62%; max-width: 36%; }
.product-stage-acc img.acc-teddy { height: 100%; max-width: 32%; }
.product-stage-acc img.acc-ball { height: 56%; max-width: 28%; }
.product figcaption { padding: 24px 26px 28px; }
.product h3 { font-size: 21px; font-weight: 600; margin: 12px 0 6px; }
.product p { color: var(--text-muted); font-size: 15.5px; }
.chip {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-muted);
}

/* ---------- Why ---------- */
.section-why { padding-top: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why { background: var(--navy); padding: 34px 30px; transition: background .3s ease; }
.why:hover { background: var(--surface); }
.why h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.why h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--gradient); margin-bottom: 18px; }
.why p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.faq[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border: solid var(--text-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--orange); }
.faq p { padding: 0 24px 24px; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(106, 87, 248, .22), transparent 70%),
    radial-gradient(500px 400px at 100% 100%, rgba(250, 134, 96, .16), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-strong);
}
.contact-points { margin-top: 30px; }
.contact-form { display: grid; gap: 18px; align-content: start; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field-hint { font-weight: 500; color: var(--text-dim); font-size: 13px; margin-left: 4px; }
.field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(12, 16, 28, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4AAC0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 14px 44px 14px 16px; appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.field select:invalid { color: var(--text-dim); }
.field select option { color: var(--text); background: var(--surface); }
.field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(106, 87, 248, .25); }
.field.invalid select { border-color: var(--orange); }
.contact-alt { margin-top: 26px; color: var(--text-muted); }
.contact-alt a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.contact-alt a:hover { color: var(--orange); }
.callback-page { padding: 130px 0 90px; }
@media (max-width: 640px) { .callback-page { padding-top: 110px; } }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(12, 16, 28, .7); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(106, 87, 248, .25); }
.field.invalid input { border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 120px; }
/* Success pop-up */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: 16px; max-width: calc(100% - 32px);
  background: var(--surface-2); border: 1px solid rgba(34, 197, 94, .45);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .7), 0 0 0 4px rgba(34, 197, 94, .08);
  transform: translate(-50%, 20px); opacity: 0;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.toast[hidden] { display: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #22C55E; }
.toast-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.toast.show .toast-icon svg { animation: tick .45s .15s ease-out forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.toast strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.toast span:not(.toast-icon) { color: var(--text-muted); font-size: 14px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.error { color: var(--orange); }
.form-note { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: -6px; }
.form-note a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: 15px; color: var(--text-muted); min-height: 1.5em; }
.form-status.ok { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: 15px; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-muted); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }

.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-muted); border: 1px solid var(--line-strong);
  transition: color .2s, background .25s, border-color .25s, transform .2s;
}
.socials a:hover { color: #fff; background: var(--gradient); border-color: transparent; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Legal pages ---------- */
.legal { padding: 150px 0 100px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 700; margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p { color: var(--text-muted); margin-bottom: 12px; }
.legal .eyebrow { margin-bottom: 12px; }
.legal-meta { font-size: 14px; color: var(--text-dim) !important; margin-bottom: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.legal-link:hover { color: var(--orange); }
/* Not-yet-provided details, kept visible until filled in */
.ph { color: var(--orange); background: rgba(250, 134, 96, .1); border: 1px dashed rgba(250, 134, 96, .5); border-radius: 6px; padding: 0 6px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: 0; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-footer a:hover { color: var(--text); }
.placeholder-note { padding: 18px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--orange); color: var(--text); margin-bottom: 30px; }

/* ---------- Reveal animation ---------- */
/* Content is only hidden once main.js has loaded (it adds .js), so a missing script never blanks the page */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; }
  .card-grid, .model-steps { grid-template-columns: 1fr; }
  .process-layout, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-head { position: static; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-wide { grid-column: span 2; }
  .product-wide img { height: auto; aspect-ratio: 4 / 5; object-position: center 35%; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12, 16, 28, .97); backdrop-filter: blur(14px);
    padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 18px 0 0; }
  .site-header:has(.main-nav.open) { background: rgba(12, 16, 28, .97); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 48px; }
  .hero-facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .product-grid, .why-grid { grid-template-columns: 1fr; }
  .product-wide { grid-column: auto; }
  .flow { padding: 22px; }
  .flow-bar { height: auto; flex-direction: column; }
  .flow-seg { padding: 14px; border-radius: 10px !important; }
  .flow-legend { display: none; }
  .callout { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
