:root {
  --bg: #0b0a09;
  --fg: #f2eadf;
  --muted: rgba(242, 234, 223, 0.6);
  --faint: rgba(242, 234, 223, 0.55);
  --line: rgba(242, 234, 223, 0.1);
  --accent: #ff5a1f;
  --pad: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
a { color: inherit; }
main { flex: 1; display: flex; }

.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(242, 234, 223, 0.06);
  background: rgba(11, 10, 9, 0.8);
  backdrop-filter: blur(20px);
}
.top-row { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }

/* Buttons: square, white, like the reference */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px;
  background: #f2eadf; color: #000; border: 0; border-radius: 0;
  font: 500 14.5px/1 inherit; font-family: inherit;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.btn:hover { background: rgba(242, 234, 223, 0.85); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.small { height: 36px; padding: 0 14px; font-size: 13.5px; }

/* Hero */
.hero {
  position: relative; isolation: isolate; flex: 1;
  display: flex; align-items: center;
  min-height: calc(100svh - 64px - 61px);
  padding: 56px 0;
  overflow: hidden;
}
.mosaic {
  position: absolute; inset: -8%;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
  transform: rotate(-8deg);
  opacity: 0.55;
}
.mosaic .col { display: flex; flex-direction: column; gap: 6px; animation: drift 60s linear infinite; }
.mosaic .col:nth-child(even) { animation-direction: reverse; }
.mosaic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .mosaic .col { animation: none; } }

.shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 50%, rgba(11, 10, 9,0.95), rgba(11, 10, 9,0.8) 65%, rgba(11, 10, 9,0.55) 100%),
    linear-gradient(to top, var(--bg), transparent 30%),
    linear-gradient(to bottom, var(--bg), transparent 20%);
}
@media (min-width: 768px) {
  .shade {
    background:
      radial-gradient(ellipse 55% 55% at 50% 50%, rgba(11, 10, 9,0.96), rgba(11, 10, 9,0.82) 55%, rgba(11, 10, 9,0.35) 100%),
      linear-gradient(to top, var(--bg), transparent 30%),
      linear-gradient(to bottom, var(--bg), transparent 15%);
  }
}

.hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  border: 1px solid var(--line); background: rgba(242, 234, 223, 0.04);
  font-size: 13px; color: rgba(242, 234, 223, 0.75);
}
.dot { width: 6px; height: 6px; background: var(--accent); }
h1 {
  margin: 28px 0 0;
  font-size: clamp(2.7rem, 7.6vw, 7.25rem);
  font-weight: 600; line-height: 0.92; letter-spacing: -0.055em;
}
.soft { color: var(--faint); }
.lead { margin: 28px 0 0; max-width: 40rem; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.6; color: var(--muted); }

/* Form */
.join { margin-top: 36px; width: 100%; max-width: 520px; }
.join .row { display: flex; gap: 8px; }
.join input[type="email"] {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  background: rgba(242, 234, 223, 0.04); color: var(--fg);
  border: 1px solid rgba(242, 234, 223, 0.14); border-radius: 0;
  font: 15px/1 inherit; font-family: inherit; outline: none;
}
.join input[type="email"]::placeholder { color: rgba(242, 234, 223, 0.35); }
.join input[type="email"]:focus { border-color: rgba(242, 234, 223, 0.45); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: rgba(242, 234, 223, 0.5); text-align: left; cursor: pointer; }
.consent input { margin: 2px 0 0; accent-color: #f2eadf; }
.consent a { color: rgba(242, 234, 223, 0.75); text-decoration: none; }
.consent a:hover { color: #f2eadf; }
.msg { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; }
.msg.ok { color: #86efac; }
.msg.err { color: #fca5a5; }
.join.done .row, .join.done .consent { display: none; }
.join.done .msg { font-size: 16px; }

.fine { margin: 20px 0 0; font-size: 13px; color: var(--faint); }

@media (max-width: 560px) {
  .join .row { flex-direction: column; }
  .join input[type="email"] { flex: none; width: 100%; }
  .join .btn { width: 100%; }
}

/* Footer */
.foot { border-top: 1px solid rgba(242, 234, 223, 0.06); color: rgba(242, 234, 223, 0.6); font-size: 12.5px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: #f2eadf; }

/* Privacy page */
.doc { max-width: 720px; padding-top: 64px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-top: 0; }
.doc h2 { font-size: 18px; margin: 36px 0 8px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--muted); line-height: 1.65; font-size: 15.5px; }

/* Countdown: split-flap cards, like a scoreboard flip chart */
.countdown {
  --w: clamp(30px, 8vw, 62px);
  --h: calc(var(--w) * 1.42);
  --card: #161513;
  --card-2: #0f0f0e;
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(8px, 2.2vw, 22px);
  margin-top: 36px;
}
.cd-group { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-digits { display: flex; gap: clamp(3px, 0.6vw, 6px); }
.cd-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.cd-sep { align-self: flex-start; height: var(--h); display: flex; align-items: center; font-size: calc(var(--w) * 0.7); font-weight: 600; color: rgba(242, 234, 223,0.25); }

.flip {
  position: relative; width: var(--w); height: var(--h);
  perspective: calc(var(--h) * 4);
  font-weight: 600; font-size: calc(var(--w) * 1.12); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: #f2eadf;
  border-radius: 6px;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.9), 0 0 0 1px rgba(242, 234, 223,0.06);
}
.flip .half, .flip .leaf {
  position: absolute; left: 0; right: 0; height: 50%;
  overflow: hidden; backface-visibility: hidden;
}
.flip .top, .flip .leaf.top { top: 0; background: var(--card); border-radius: 6px 6px 0 0; transform-origin: 50% 100%; }
.flip .bottom, .flip .leaf.bottom { bottom: 0; background: var(--card-2); border-radius: 0 0 6px 6px; transform-origin: 50% 0; }
.flip span { position: absolute; left: 0; right: 0; height: var(--h); line-height: var(--h); text-align: center; }
.flip .top span { top: 0; }
.flip .bottom span { bottom: 0; }
/* The hinge line across the middle */
.flip::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(0,0,0,0.85); box-shadow: 0 1px 0 rgba(242, 234, 223,0.05); z-index: 5;
}
.flip .leaf { z-index: 3; }
.flip .leaf.top { animation: flip-top 0.3s ease-in forwards; }
.flip .leaf.bottom { transform: rotateX(90deg); animation: flip-bottom 0.3s ease-out 0.3s forwards; }
/* A little shading while the leaf falls */
.flip .leaf.top::after, .flip .leaf.bottom::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); animation: shade 0.3s ease-in forwards; }
@keyframes flip-top { to { transform: rotateX(-90deg); } }
@keyframes flip-bottom { to { transform: rotateX(0deg); } }
@keyframes shade { to { background: rgba(0,0,0,0.35); } }
@media (prefers-reduced-motion: reduce) { .flip .leaf { display: none; } }

.countdown.live { font-size: clamp(20px, 3vw, 28px); font-weight: 600; letter-spacing: -0.02em; }

/* Waitlist counter */
.joined { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.joined[hidden] { display: none; }
.joined strong { color: #f2eadf; font-weight: 600; font-variant-numeric: tabular-nums; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Shop (below the hero / countdown) */
main { flex-direction: column; }
.shop { border-top: 1px solid var(--line); padding: 88px 0 96px; }
.shop-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
.shop-head h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  --c: var(--accent);
  display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 0 60px -12px color-mix(in srgb, var(--c) 45%, transparent);
  transform: translateY(-3px);
}
.shot { position: relative; aspect-ratio: 620 / 495; overflow: hidden; background: #161412; border-bottom: 1px solid var(--line); }
.shot > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.card:hover .shot > img { transform: scale(1.035); }
.chip {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 11px; font-size: 12.5px; color: rgba(242, 234, 223, 0.85);
  border: 1px solid rgba(242, 234, 223, 0.14); background: rgba(11, 10, 9, 0.6); backdrop-filter: blur(8px);
}
.chip .dot { background: var(--c); box-shadow: 0 0 8px var(--c); }
.info { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.row1 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.035em; }
.off { flex-shrink: 0; padding: 3px 8px; font-size: 12.5px; font-weight: 600; color: #0b0a09; background: var(--c); }
.desc { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li { padding: 4px 9px; font-size: 12px; color: rgba(242, 234, 223, 0.72); border: 1px solid var(--line); }
.pricebox { margin: 22px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.was { margin: 0; font-size: 13px; color: var(--faint); }
.was s { margin-left: 4px; }
.now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.unit { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.save { margin: 8px 0 0; font-size: 13px; color: var(--c); }
.info .btn { margin-top: auto; width: 100%; }
.card.featured { position: relative; border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 70px -20px color-mix(in srgb, var(--c) 55%, transparent); }
.card.featured .save { background: linear-gradient(90deg, var(--c), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card.featured .off { background: linear-gradient(90deg, var(--c), var(--c2)); }
.ribbon { position: absolute; left: -1px; right: -1px; bottom: 100%; margin: 0; padding: 7px 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #0b0a09; background: linear-gradient(90deg, var(--c), var(--c2)); }
.shop-note { margin: 32px 0 0; font-size: 14px; color: var(--faint); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .shop { padding: 64px 0 72px; }
  .card h3 { font-size: 22px; }
  .card.featured { margin-top: 28px; }
  .now { font-size: 34px; }
}

/* Top navigation */
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); font-size: 14px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #f2eadf; }
@media (max-width: 480px) { .nav { gap: 12px; font-size: 13px; } .nav .btn { display: none; } }

/* Product pages */
main.stack { flex-direction: column; }
.page-hero { --c: var(--accent); display: flex; flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 72px; }
.page-hero .dot { background: var(--c); }
.page-hero h1 { margin: 22px 0 0; font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.page-hero .lead { max-width: 46rem; }
.crumbs { margin-bottom: 22px; font-size: 13px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #f2eadf; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.price-tag { margin: 0; font-size: 15px; color: var(--muted); }
.hero-shot { display: block; width: 100%; max-width: 980px; height: auto; margin-top: 48px; border: 1px solid var(--line); box-shadow: 0 0 120px -30px color-mix(in srgb, var(--c) 50%, transparent); }
.block { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 64px; }
.block h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
.block .sub { max-width: 44rem; margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.block .sub a, .faq a { color: #f2eadf; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.gallery figure { margin: 0; position: relative; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; font-size: 12.5px; background: rgba(11, 10, 9, 0.65); border: 1px solid rgba(242, 234, 223, 0.14); }
.list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 10px 32px; }
.list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list li { font-size: 15px; line-height: 1.55; color: var(--muted); padding-left: 16px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; background: var(--accent); }
.list strong, .steps strong { color: #f2eadf; font-weight: 600; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.feats > div { background: var(--bg); padding: 24px; }
.feats h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.feats p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.steps { margin: 28px 0 0; padding-left: 22px; max-width: 46rem; }
.steps li { margin-bottom: 12px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.faq { margin-top: 28px; max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-size: 16px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.end-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 96px; }
.end-cta .btn { margin-top: 28px; }
.home-faq { border-top: 1px solid var(--line); padding: 72px 0 96px; }
.home-faq h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
@media (max-width: 900px) { .gallery, .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gallery, .feats, .list.cols { grid-template-columns: 1fr; } .block { padding-top: 48px; padding-bottom: 48px; } }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--c); }
.meta a { color: rgba(242, 234, 223, 0.7); }
.meta a:hover { color: #f2eadf; }

/* Guides */
.guide { max-width: 760px; padding-top: 48px; padding-bottom: 96px; }
.guide h1 { margin: 0; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; }
.byline { margin: 16px 0 0; font-size: 13px; color: var(--faint); }
.guide h2 { margin: 44px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.guide p, .guide li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.guide p.intro { color: rgba(242, 234, 223, 0.82); font-size: 18px; margin-top: 28px; }
.guide a { color: #f2eadf; }
.guide ul:not(.list) { padding-left: 20px; }
.guide em { color: rgba(242, 234, 223, 0.85); }
.guide figure { margin: 32px 0; }
.guide figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.guide figcaption { margin-top: 8px; font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.guide .faq { margin-top: 12px; }
.promo { margin: 56px 0 0; padding: 28px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: rgba(255, 90, 31, 0.05); }
.promo h2 { margin: 6px 0 8px; font-size: 26px; }
.promo-k { margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent) !important; }
.promo .cta-row { margin-top: 20px; }
.more { font-size: 14.5px; }
.gcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; margin-top: 48px; }
.gcard { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02); transition: border-color 0.25s, transform 0.25s; }
.gcard:hover { border-color: rgba(242, 234, 223, 0.3); transform: translateY(-3px); }
.gcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.gcard h2 { margin: 18px 20px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.gcard p { margin: 8px 20px 22px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 700px) { .gcards { grid-template-columns: 1fr; } .nav a[href="/metamorph"] { display: none; } }
.list a { color: #f2eadf; }
.guide a.btn { color: #000; }

/* Pricing tiers (product pages) + free Lite strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 40px; width: 100%; max-width: 980px; background: var(--line); border: 1px solid var(--line); }
.stats > div { background: var(--bg); padding: 18px 20px; }
.stats strong { display: block; font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tier { --c: var(--accent); position: relative; display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02); }
.tier.featured { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 70px -24px color-mix(in srgb, var(--c) 55%, transparent); }
.tier h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.tier .seats { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.tier .now { font-size: 36px; }
.tier .pricebox { margin: 18px 0 18px; }
.tier .list { margin: 0 0 22px; gap: 8px; }
.tier .list li { font-size: 14px; }
.tier .btn { margin-top: auto; width: 100%; }
.tier .btn.ghost, .btn.ghost { background: transparent; color: #f2eadf; border: 1px solid rgba(242, 234, 223, 0.3); }
.tier .btn.ghost:hover, .btn.ghost:hover { background: rgba(242, 234, 223, 0.08); }
.tier .flag { position: absolute; top: -1px; right: -1px; margin: 0; padding: 4px 9px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #0b0a09; background: var(--c); }
.tier-note { margin: 24px 0 0; max-width: 52rem; font-size: 14px; line-height: 1.6; color: var(--faint); }
.tier-note a { color: #f2eadf; }
.lite-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 28px; padding: 22px 24px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); background: rgba(255, 90, 31, 0.04); }
.lite-strip p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 46rem; }
.lite-strip strong { color: #f2eadf; }
.included { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.included li { padding: 6px 11px; font-size: 13px; color: rgba(242, 234, 223, 0.8); border: 1px solid var(--line); }
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers, .stats { grid-template-columns: 1fr 1fr; } .tiers { grid-template-columns: 1fr; } .lite-strip .btn { width: 100%; } }

/* Gallery (/gallery) */
.g-hero { padding-bottom: 48px; }
.g-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.g-jump a { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 14px; font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.03); }
.g-jump a:hover { color: #f2eadf; border-color: rgba(242, 234, 223, 0.3); }
.g-jump strong { color: #f2eadf; font-weight: 600; }
.block .sub a { color: #f2eadf; }
.filters { position: sticky; top: 64px; z-index: 20; display: grid; gap: 10px; margin: 28px calc(-1 * var(--pad)) 0; padding: 14px var(--pad); background: rgba(11, 10, 9, 0.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.f-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.f-scroll::-webkit-scrollbar { display: none; }
.chip-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; font: 500 13px/1 inherit; font-family: inherit; color: rgba(242, 234, 223, 0.72); background: rgba(242, 234, 223, 0.03); border: 1px solid var(--line); cursor: pointer; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.chip-btn:hover { color: #f2eadf; border-color: rgba(242, 234, 223, 0.3); }
.chip-btn[aria-pressed="true"] { color: #0b0a09; background: #f2eadf; border-color: #f2eadf; }
.chip-btn span { font-size: 11.5px; opacity: 0.6; font-variant-numeric: tabular-nums; }
.chip-btn i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(242, 234, 223, 0.25); }
.chip-btn:focus-visible, .linkish:focus-visible, .t:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg { display: inline-flex; }
.seg .chip-btn + .chip-btn { margin-left: -1px; }
.f-count { margin: 0 0 0 auto; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.f-empty { margin: 32px 0 0; color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; color: #f2eadf; text-decoration: underline; font: inherit; cursor: pointer; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; margin-top: 24px; }
.t { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02); transition: border-color 0.2s, transform 0.2s; }
.t[hidden] { display: none; }
.t:hover { border-color: rgba(242, 234, 223, 0.3); transform: translateY(-2px); }
.t-media { position: relative; aspect-ratio: 1; background: #161412; overflow: hidden; }
.t-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; gap: 4px; flex-wrap: wrap; pointer-events: none; }
.b { padding: 3px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(242, 234, 223, 0.85); background: rgba(11, 10, 9, 0.66); border: 1px solid rgba(242, 234, 223, 0.14); backdrop-filter: blur(6px); }
.b.lite { color: #0b0a09; background: #86efac; border-color: #86efac; }
.b.inline { display: inline-block; vertical-align: 1px; padding: 1px 5px; }
.t figcaption { padding: 9px 10px 11px; font-size: 13px; line-height: 1.35; color: #f2eadf; }
.t .fx, .v .fx { color: var(--faint); }
.vids { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.v { margin: 0; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02); }
.v-media { aspect-ratio: 9 / 16; background: #161412; }
.v video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.v figcaption { padding: 10px 11px 12px; font-size: 13.5px; color: #f2eadf; }
.v small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.g-h3 { margin: 48px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.l { margin: 0; position: relative; }
.l img { display: block; width: 100%; height: auto; aspect-ratio: 854 / 478; object-fit: cover; border: 1px solid var(--line); }
.l figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; font-size: 12.5px; background: rgba(11, 10, 9, 0.7); border: 1px solid rgba(242, 234, 223, 0.14); }
.g-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; align-items: start; }
.g-fig { margin: 0; }
.g-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.g-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.g-fig strong { color: #f2eadf; }
@media (max-width: 1100px) { .vids { grid-template-columns: repeat(3, minmax(0, 1fr)); } .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .filters { top: 64px; padding: 10px var(--pad); gap: 8px; }
  .f-row:not(.f-scroll):nth-child(2) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .f-count { width: 100%; margin: 2px 0 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .t figcaption { font-size: 12.5px; padding: 8px 8px 10px; }
  .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .t, .card { transition: none; } }

/* Shop: free tiers, team licences, Studio Bundle */
.shop-sub { margin: 72px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.04em; }
.free-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.free { --c: var(--accent); display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; border: 1px dashed color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 5%, transparent); }
.free-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.free h4 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.free p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.free .free-price { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; color: #f2eadf; line-height: 1; }
.free .btn { margin-top: auto; align-self: flex-start; }
.team { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.team-table { border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02); padding: 6px 22px 18px; overflow-x: auto; }
.team table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.team th, .team td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.team thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.team tbody th { font-size: 16px; font-weight: 600; }
.team tbody th a { text-decoration: none; }
.team tbody th a:hover { color: var(--accent); }
.team td { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.team td small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.team-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--faint); }
.studio-bundle { border-style: solid; border-color: color-mix(in srgb, var(--c) 60%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, transparent), color-mix(in srgb, var(--c2) 8%, transparent)); box-shadow: 0 0 70px -24px color-mix(in srgb, var(--c) 55%, transparent); }
.studio-bundle .off { background: linear-gradient(90deg, var(--c), var(--c2)); }
.studio-bundle .free-price { font-size: 40px; }
.sep-price { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.seats-line { font-size: 13.5px !important; color: var(--faint) !important; }
.studio-bundle .btn { align-self: stretch; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .free-cards { grid-template-columns: 1fr; } .shop-sub { margin-top: 56px; } .free .btn { align-self: stretch; } .team-table { padding: 4px 14px 14px; } .team td { font-size: 19px; } }

/* Why EmulsionFX: comparison table (product pages) */
.compare { margin-top: 28px; border: 1px solid var(--line); overflow-x: auto; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); background: rgba(242, 234, 223, 0.02); }
.compare thead th.us { color: #0b0a09; background: var(--c, var(--accent)); }
.compare tbody th { width: 22%; font-weight: 600; color: #f2eadf; }
.compare td { color: var(--muted); }
.compare td.us { color: #f2eadf; background: color-mix(in srgb, var(--c, var(--accent)) 7%, transparent); }
.compare-note { margin: 14px 0 0; max-width: 52rem; font-size: 13.5px; line-height: 1.6; color: var(--faint); }
.bundles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.bundles .free { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.bundles .free > div { flex: 1 1 240px; }
.bundles .free h4 { font-size: 18px; }
.bundles .free .btn { margin-top: 0; align-self: center; }
@media (max-width: 800px) { .bundles { grid-template-columns: 1fr; } }
.g-hero { padding-top: 40px; }
.g-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.g-hero + .block { padding-top: 48px; }
.g-lead { margin-top: 28px; margin-bottom: 12px; }
@media (min-width: 1200px) { .f-scroll { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
.g-lead { max-width: 1000px; }
.g-two .g-fig img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.shop-head .pill { height: auto; min-height: 32px; padding: 6px 12px; line-height: 1.4; }
@media (max-width: 640px) {
  .compare { border: 0; overflow: visible; }
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { margin-bottom: 14px; border: 1px solid var(--line); }
  .compare tbody th { width: auto; padding: 12px 14px; background: rgba(242, 234, 223, 0.03); }
  .compare td { padding: 10px 14px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
  .compare td.us::before { color: var(--c, var(--accent)); }
  .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tbody tr td:last-child { border-bottom: 0; }
}

/* ---- shop (scripts/build_shop.py) ---- */
.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.bundle { border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 18px; padding: 26px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), #161412; }
.bundle h3 { margin: 0 0 8px; font-size: 1.35rem; }
.bundle .bwhat { color: var(--c); font-weight: 600; margin: 10px 0 14px; }
.shop-group { padding-top: 56px; }
.sg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 22px; }
.sg-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.04em; }
.sg-head p { margin: 0; color: var(--muted); font-size: 15px; }
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcards.plugins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { --c: var(--accent); display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(242, 234, 223, 0.02); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; scroll-margin-top: 90px; }
.pcard:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 50px -14px color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-3px); }
.pshot { aspect-ratio: 1; overflow: hidden; background: #161412; border-bottom: 1px solid var(--line); }
.pshot.wide { aspect-ratio: 620 / 495; }
.pshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pinfo { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.pinfo h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.pinfo h3 a { text-decoration: none; }
.pdesc { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.pinfo .tags { margin-top: 10px; }
.p-inside { margin-top: 10px; font-size: 13px; color: var(--c); }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.pprice { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.pprice s { font-size: 15px; font-weight: 400; color: var(--faint); margin-right: 4px; }
.pprice.big { font-size: 40px; }
.vault { padding-top: 56px; }
.vault-box { padding: 40px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 80px -24px color-mix(in srgb, var(--c) 60%, transparent); background: rgba(242, 234, 223, 0.02); }
.vault-box h2 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.05em; }
.vault-box .kicker { margin: 0; color: var(--c); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.vault-box .prow { justify-content: flex-start; gap: 24px; max-width: 520px; }
.vault-note { margin: 14px 0 0; font-size: 14px; color: var(--faint); }
@media (max-width: 1000px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pcards.plugins { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .pcards, .pcards.plugins { grid-template-columns: 1fr 1fr; gap: 10px; } .pinfo { padding: 12px; } .pdesc { display: none; } .prow { flex-direction: column; align-items: stretch; } .vault-box { padding: 24px; } }
