/* ==========================================================
   StwayFX — styles.css
   ========================================================== */

:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #2a2c30;
  --muted: #5f636a;
  --line: #e2e2e2;
  --cyan: #4fd6ef;
  --mint: #6fe6b5;
  --lime: #c3f55a;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--mint) 50%, var(--lime) 100%);
  --grad-deep: linear-gradient(100deg, #12b3d3 0%, #2fc98a 55%, #8acb1f 100%);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -18px rgba(0,0,0,.18);
  --font-head: 'League Spartan', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- StwayFX site logo ---------- */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(111,230,181,.85);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 4px;
}
.logo-text b {
  font-weight: 800;
  background: var(--grad-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Lumeloom product logo (hero crop) ---------- */
.product-logo {
  position: relative;
  width: 300px;
  height: 112px;
  margin: 0 auto 14px;
  overflow: hidden;
}
.product-logo img {
  position: absolute;
  width: 430px;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -53%);
  mix-blend-mode: darken;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(79,214,239,.8), 0 8px 22px -12px rgba(195,245,90,.9);
}
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9c9c9; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(195,245,90,.7); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,244,244,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.eyebrow-light { color: #d6d9de; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 100px;
  text-align: center;
}
#ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -2; opacity: .5; }
.blob-a { width: 520px; height: 400px; background: var(--cyan); left: 6%; top: 34%; animation: float 14s ease-in-out infinite; }
.blob-b { width: 520px; height: 400px; background: var(--lime); right: 4%; top: 16%; animation: float 17s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
.hero h1 { font-size: clamp(46px, 7.6vw, 96px); font-weight: 800; margin: 22px 0 24px; }
.glow { position: relative; display: inline-block; z-index: 0; }
.glow::before {
  content: '';
  position: absolute;
  inset: 20% -5% 2%;
  background: var(--grad);
  filter: blur(26px);
  opacity: .85;
  z-index: -1;
  border-radius: 40px;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 640px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--muted);
}
.hero-meta li::before { content: '✓'; font-weight: 700; color: #1a9f6b; margin-right: 8px; }

/* ---------- Showcase (After Effects mock) ---------- */
.showcase { padding: 0 0 40px; }
.ae {
  max-width: 1000px;
  margin: 0 auto;
  background: #1b1c1f;
  color: #b9bcc2;
  font-size: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.08);
}
.ae-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #232428; border-bottom: 1px solid #2e3035; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3c42; }
.ae-title { margin-left: 10px; color: #8c9097; }
.ae-body { display: grid; grid-template-columns: 180px 1fr; }
.ae-project { border-right: 1px solid #2e3035; padding: 16px 14px; }
.ae-label { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; color: #6f737a; margin: 0 0 10px; }
.ae-project ul { list-style: none; margin: 0; padding: 0; }
.ae-project li { padding: 6px 9px; border-radius: 6px; }
.ae-project li.is-active { background: #24363c; color: #e6f9fd; }
.ae-viewer { padding: 22px; background: #141518; display: flex; align-items: center; justify-content: center; }
.ae-frame { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #0c0d10; }
.ae-footage { position: absolute; inset: 0; background: radial-gradient(120% 85% at 50% 110%, #2c4160 0%, #121826 55%, #07080c 100%); }
.ae-footage::after {
  content: '';
  position: absolute;
  left: -5%; right: -5%; bottom: 0; height: 40%;
  background: #05060a;
  clip-path: polygon(0 60%, 8% 40%, 15% 55%, 24% 30%, 33% 50%, 42% 35%, 50% 55%, 60% 25%, 70% 48%, 80% 32%, 90% 52%, 100% 38%, 100% 100%, 0 100%);
}
.ae-fx {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(79,214,239,.55) 60deg, transparent 120deg, rgba(195,245,90,.45) 200deg, transparent 260deg, rgba(111,230,181,.4) 320deg, transparent 360deg);
  filter: blur(34px);
  mix-blend-mode: screen;
  animation: spin 10s linear infinite;
}
.ae-flare {
  position: absolute;
  top: -10%; bottom: -10%;
  width: 28%;
  left: -40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  mix-blend-mode: screen;
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep { 0% { left: -40%; } 60%, 100% { left: 130%; } }

.ae-timeline { --name: 150px; position: relative; border-top: 1px solid #2e3035; padding: 8px 0 12px; }
.ae-ruler {
  display: flex;
  justify-content: space-between;
  padding: 0 16px 6px calc(var(--name) + 8px);
  margin-bottom: 6px;
  border-bottom: 1px solid #2a2c31;
  color: #6f737a;
  font-size: 10px;
}
.ae-track { display: grid; grid-template-columns: var(--name) 1fr; align-items: center; height: 30px; padding-right: 16px; }
.ae-name { padding-left: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ae-lane { position: relative; height: 18px; margin-left: 8px; }
.clip { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.clip-fx { left: 18%; width: 52%; background: var(--grad); }
.clip-adj { left: 10%; width: 70%; background: #5b4f86; }
.clip-footage { left: 0; width: 100%; background: #3d5a7a; }
.ae-playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--cyan);
  left: calc(var(--name) + 8px);
  animation: play 6s linear infinite;
}
.ae-playhead::before {
  content: '';
  position: absolute;
  top: 0; left: -5px;
  border: 6px solid transparent;
  border-top-color: var(--cyan);
}
@keyframes play { from { left: calc(var(--name) + 8px); } to { left: calc(100% - 18px); } }
.showcase-caption { text-align: center; color: var(--muted); margin: 26px 0 0; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 40px 0 80px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; margin: 16px 0 18px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 25px; margin: 24px 0 10px; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(79,214,239,.25), rgba(195,245,90,.35));
}
.icon svg { width: 24px; height: 24px; }

/* How it works (dark) */
.section-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.section-dark::before, .section-dark::after {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .22;
  z-index: -1;
}
.section-dark::before { background: var(--cyan); top: -160px; left: -160px; }
.section-dark::after { background: var(--lime); bottom: -200px; right: -160px; }
.section-dark .section-head p { color: #a9adb4; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #141518; border: 1px solid #26282d; border-radius: var(--radius); padding: 30px; }
.step-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 26px;
}
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { margin: 0; color: #a9adb4; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 230px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.use::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--c);
  filter: blur(60px);
  opacity: .45;
  top: -100px; right: -90px;
  z-index: -1;
  transition: opacity .35s ease, transform .5s ease;
}
.use:hover::before { opacity: .8; transform: scale(1.15); }
.use h3 { font-size: 30px; margin-bottom: 8px; }
.use p { margin: 0; color: var(--muted); }
.use-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.use-cta p { color: #b8bcc3; }
.use-cta::before { opacity: .35; }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.audience-item { border-top: 2px solid var(--ink); padding-top: 24px; }
.audience-tag { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.audience-item h3 { font-size: 34px; margin: 8px 0 12px; }
.audience-item p { color: var(--muted); margin: 0; }

/* About */
.creator { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.creator-visual {
  aspect-ratio: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.creator-visual img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: darken; }
.creator-copy h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin: 16px 0 22px; }
.creator-copy p { color: var(--ink-2); font-size: 17px; }

/* Pricing */
.pricing .container { position: relative; z-index: 0; }
.price-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 44px;
}
.price-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 30px;
  background: var(--grad);
  filter: blur(30px);
  opacity: .55;
  z-index: -1;
}
.price-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.price-top h3 { font-size: 34px; }
.price-sub { color: var(--muted); margin: 4px 0 0; }
.price-badge {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(79,214,239,.25), rgba(195,245,90,.4));
}
.price { font-family: var(--font-head); font-size: 76px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 28px 0; }
.price-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.price-list li { position: relative; padding-left: 34px; color: var(--ink-2); }
.price-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
}
.price-list li::after {
  content: '';
  position: absolute;
  left: 8px; top: 6px;
  width: 5px; height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.price-note { text-align: center; font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-weight: 600;
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 680px; }
.faq a { text-decoration-color: var(--cyan); text-underline-offset: 3px; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  padding: 90px 40px;
  text-align: center;
}
.cta-glow {
  position: absolute;
  inset: 40% 10% -40%;
  background: var(--grad);
  filter: blur(90px);
  opacity: .45;
  z-index: -1;
}
.cta-band h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; margin-bottom: 18px; }
.cta-band p { color: #c7cad0; font-size: 18px; margin-bottom: 34px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin: 14px 0 0; max-width: 280px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; margin-bottom: 8px; color: var(--ink-2); font-size: 15px; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Long email addresses wrap cleanly on small screens */
.legal a, .faq a, .footer-cols a { overflow-wrap: anywhere; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 110px; }
.legal-inner { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 800; margin-top: 14px; }
.legal .updated { color: var(--muted); margin: 14px 0 40px; }
.legal h2 { font-size: 27px; margin: 48px 0 14px; scroll-margin-top: 90px; }
.legal h3 { font-size: 20px; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration-color: var(--cyan); text-underline-offset: 3px; }
.legal-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 24px 0; }
.legal-box p:last-child { margin: 0; }
.nav-back { margin-left: auto; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.nav-back:hover { color: var(--ink); }

/* ==========================================================
   CHECKOUT
   ========================================================== */
body.is-checkout { background: #fff; }
body.is-checkout #site { display: none; }
.checkout { min-height: 100vh; background: #fff; color: #1a1a1a; font-size: 14px; }
.checkout[hidden] { display: none; }

.co-cols { display: grid; grid-template-columns: 1fr 1fr; }
.co-left { display: flex; justify-content: flex-end; padding: 0 44px; }
.co-right { padding: 0 44px; }
.co-wrap-l { width: 100%; max-width: 560px; }
.co-wrap-r { width: 100%; max-width: 440px; }

.co-header { border-bottom: 1px solid #dedede; background: #fff; }
.co-header .co-left, .co-header .co-right { height: 76px; align-items: center; }
.co-header .co-right { display: flex; }
.co-header .co-wrap-l { display: flex; align-items: center; }
.co-head-r { display: flex; justify-content: flex-end; }
.co-cart { display: grid; place-items: center; width: 40px; height: 40px; color: #1a1a1a; border-radius: 8px; }
.co-cart:hover { background: #f3f3f3; }
.co-cart svg { width: 24px; height: 24px; }

.co-main { min-height: calc(100vh - 77px); }
.co-form-col { padding-top: 38px; padding-bottom: 60px; }
.co-summary-col { background: #f5f5f5; border-left: 1px solid #dedede; padding-top: 38px; padding-bottom: 60px; }
.co-summary { position: sticky; top: 38px; }

.co-block { margin-bottom: 30px; }
.co-block h2 { font-family: var(--font-body); font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.co-note { color: #707070; font-size: 13px; margin: -4px 0 0; }

/* Floating-label fields */
.field { position: relative; margin-bottom: 14px; }
.field input, .field select {
  width: 100%;
  height: 50px;
  padding: 20px 12px 5px;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.field select {
  padding-right: 36px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23707070' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.field label {
  position: absolute;
  left: 13px;
  top: 25px;
  transform: translateY(-50%);
  color: #707070;
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 26px);
  transition: top .15s ease, font-size .15s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select + label { top: 14px; font-size: 12px; }
.field input:focus, .field select:focus { border-color: #1a1a1a; box-shadow: 0 0 0 1px #1a1a1a; }
.field.has-icon input { padding-right: 42px; }
.fi-icon { position: absolute; right: 13px; top: 25px; transform: translateY(-50%); width: 18px; height: 18px; color: #707070; }
.field.invalid input, .field.invalid select { border-color: #dd1d1d; box-shadow: 0 0 0 1px #dd1d1d; }
.err { color: #dd1d1d; font-size: 13px; margin: 7px 0 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Payment box */
.pay-box { border: 1px solid #1a1a1a; border-radius: 6px; overflow: hidden; }
.pay-head { display: flex; align-items: center; gap: 12px; padding: 15px 14px; background: #f6f6f6; border-bottom: 1px solid #dedede; font-weight: 500; }
.radio-on { width: 18px; height: 18px; border-radius: 50%; border: 6px solid #1a1a1a; background: #fff; flex-shrink: 0; }
.brands { margin-left: auto; display: flex; gap: 5px; }
.cb {
  display: grid;
  place-items: center;
  height: 22px;
  min-width: 36px;
  padding: 0 4px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: opacity .2s;
}
.cb-visa { color: #1a1f71; font-style: italic; }
.cb-mc { display: flex; align-items: center; justify-content: center; }
.cb-mc i { width: 12px; height: 12px; border-radius: 50%; background: #eb001b; display: block; }
.cb-mc i + i { background: #f79e1b; margin-left: -5px; opacity: .9; }
.cb-amex { background: #2e77bc; color: #fff; border-color: #2e77bc; }
.cb.dim { opacity: .25; }
.pay-body { background: #f5f5f5; padding: 14px 14px 0; }

/* Consent */
.co-consent { margin: 6px 0 22px; }
.co-check { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: #4a4a4a; line-height: 1.5; cursor: pointer; }
.co-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1a1a1a; flex-shrink: 0; cursor: pointer; }
.co-check a { color: #1a1a1a; }
.co-consent.invalid .co-check input { outline: 2px solid #dd1d1d; outline-offset: 1px; }

.co-pay {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.co-pay:hover { background: #000; }
.co-pay:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.co-policies { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid #dedede; margin-top: 36px; padding-top: 18px; }
.co-policies a { font-size: 13px; color: #1a1a1a; text-underline-offset: 3px; }

/* Summary */
.co-line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.co-thumb { position: relative; width: 64px; height: 64px; }
.co-thumb-img { width: 100%; height: 100%; overflow: hidden; border-radius: 8px; border: 1px solid #dcdcdc; background: #f4f4f4; }
.co-thumb-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 50% 53%; mix-blend-mode: darken; }
.co-qty {
  position: absolute;
  top: -9px; right: -9px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #666;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.co-item-name { font-weight: 600; margin: 0; }
.co-item-variant { color: #707070; font-size: 12px; margin: 2px 0 0; }
.co-item-price { font-weight: 500; }
.co-discount { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0; }
.co-discount .field { flex: 1; margin: 0; }
.co-apply {
  height: 50px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid #dedede;
  background: #ededed;
  color: #707070;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.co-apply.ready { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.co-totals { margin: 0; display: grid; gap: 10px; }
.co-totals div { display: flex; justify-content: space-between; align-items: baseline; }
.co-totals dt, .co-totals dd { margin: 0; }
.co-total { font-size: 19px; font-weight: 600; margin-top: 6px; }
.co-total small { font-size: 12px; font-weight: 400; color: #707070; margin-right: 8px; }
.co-tax { color: #707070; font-size: 13px; margin: 4px 0 0; }

.co-summary-toggle {
  display: none;
  width: 100%;
  padding: 17px 20px;
  background: #f5f5f5;
  border: 0;
  border-bottom: 1px solid #dedede;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
}
.co-toggle-lbl { display: flex; align-items: center; gap: 8px; }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.co-summary-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.co-summary-toggle strong { font-size: 17px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1000px) {
  .grid-3, .uses { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .creator { grid-template-columns: 1fr; gap: 44px; }
  .creator-visual { max-width: 460px; }

  .co-cols { grid-template-columns: 1fr; }
  .co-header .co-cols { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 68px; }
  .co-header .co-left, .co-header .co-right { padding: 0; height: auto; }
  .co-header .co-wrap-l, .co-header .co-wrap-r { width: auto; }
  .co-main { display: flex; flex-direction: column; min-height: 0; }
  .co-left { padding: 0 20px; justify-content: stretch; }
  .co-right { padding: 0 20px; }
  .co-wrap-l, .co-wrap-r { max-width: none; }
  .co-form-col { padding-top: 28px; padding-bottom: 48px; }
  .co-summary-col { order: -1; display: none; border-left: 0; border-bottom: 1px solid #dedede; padding-top: 22px; padding-bottom: 22px; }
  .co-summary-col.open { display: block; }
  .co-summary { position: static; }
  .co-summary-toggle { display: flex; }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: flex; }
  .audience { grid-template-columns: 1fr; gap: 28px; }
  .ae-body { grid-template-columns: 1fr; }
  .ae-project { display: none; }
  .ae-viewer { padding: 12px; }
  .ae-timeline { --name: 96px; }
}

@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .hero { padding: 60px 0 70px; }
  .grid-3, .uses, .steps { grid-template-columns: 1fr; }
  .card, .step, .use { padding: 26px; }
  .use { min-height: 190px; }
  .price-card { padding: 30px 24px; }
  .price { font-size: 62px; }
  .cta-band { padding: 64px 24px; border-radius: 26px; }
  .footer-cols { gap: 40px; }
  .product-logo { width: 240px; height: 90px; }
  .product-logo img { width: 344px; }
  .logo-text { font-size: 22px; }
  .logo-mark { width: 27px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}