/* AI Film Factory site. Shared styles for index.html and sample.html.
   Layout: full-bleed colour bands (cobalt / cream / black, never two cobalt in a row),
   content capped at 1200px, mobile first. Flat colour only. */
:root {
  --cobalt: #3557B0;      /* Cobalt Sky */
  --cream: #F1EDE2;       /* Screen Cream */
  --ink: #0B0B0F;         /* Studio Black */
  --yellow: #F2D45C;      /* Board Yellow */
  --rec: #E3263B;         /* Rec Red, record dot only */
  --line-dark: rgba(241, 237, 226, 0.22);   /* hairline on cobalt / black */
  --line-light: rgba(11, 11, 15, 0.16);     /* hairline on cream */
  --muted-dark: rgba(241, 237, 226, 0.74);
  --muted-light: rgba(11, 11, 15, 0.66);

  --font: "Inter Tight", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  /* Blueprint type scale, mobile size at 390px, desktop size at 1200px */
  --t-hero: clamp(52px, 5.432vw + 30.8px, 96px);
  --t-section: clamp(38px, 3.21vw + 25.48px, 64px);
  --t-card: clamp(22px, 0.741vw + 19.1px, 28px);
  --t-body: clamp(17px, 0.247vw + 16.04px, 19px);
  --t-label: 13px;

  --pad-section: clamp(72px, 5.926vw + 48.9px, 120px);
  --gutter: 24px;
  --max: 1200px;
  --radius-btn: 12px;
  --radius-phone: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.t-cream :focus-visible { outline-color: var(--cobalt); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Safe-area band above the sticky nav (phone apps) */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px);
  background: var(--band, var(--cobalt));
  transition: background .3s;
}
html.scrolled { --band: var(--ink); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.band { padding-block: var(--pad-section); position: relative; }
.t-cobalt { background: var(--cobalt); color: var(--cream); }
.t-cream { background: var(--cream); color: var(--ink); }
.t-black { background: var(--ink); color: var(--cream); }
.stack { display: flex; flex-direction: column; }

/* ---------- Type ---------- */
.label {
  font-size: var(--t-label); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; line-height: 1.3; margin: 0;
}
.t-cobalt .label, .t-black .label { color: var(--yellow); }
.t-cream .label { color: var(--cobalt); }
.h-hero {
  font-size: var(--t-hero); line-height: .92; font-weight: 800;
  letter-spacing: -0.045em; margin: 0; text-wrap: balance;
}
.h-section {
  font-size: var(--t-section); line-height: .98; font-weight: 800;
  letter-spacing: -0.04em; margin: 0; text-wrap: balance; max-width: 16ch;
}
.h-card {
  font-size: var(--t-card); line-height: 1.1; font-weight: 700;
  letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
.body { font-size: var(--t-body); line-height: 1.5; font-weight: 500; margin: 0; max-width: 60ch; }
.t-cobalt .body.soft, .t-black .body.soft { color: var(--muted-dark); }
.t-cream .body.soft { color: var(--muted-light); }
.small { font-size: 15px; line-height: 1.45; font-weight: 500; margin: 0; }
.y { color: var(--yellow); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 4vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 26px; border-radius: var(--radius-btn); border: 0;
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-cobalt { background: var(--cobalt); color: var(--cream); }
.t-cobalt .btn-auto, .t-black .btn-auto { background: var(--yellow); color: var(--ink); }
.t-cream .btn-auto { background: var(--cobalt); color: var(--cream); }
.btn-sm { padding: 12px 16px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.section-cta { margin-top: clamp(40px, 4vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

/* ---------- Brand mark + record dot ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand svg { width: 22px; height: auto; flex: none; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.035em; line-height: .95; display: flex; gap: .26em; }
.rec { animation: rec-pulse 2.8s ease-in-out infinite; transform-origin: center; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }
@media (max-width: 559px) {
  .brand-name { flex-direction: column; gap: 0; font-size: 16px; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--cobalt); color: var(--cream);
  transition: background .3s;
}
html.scrolled .nav { background: var(--ink); }
.nav-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.nav-links { display: none; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 16px; padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--yellow); }
.nav .btn { margin-left: auto; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: transparent; border: 1.5px solid var(--line-dark); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn[aria-expanded="true"] .i-open, .menu-btn[aria-expanded="false"] .i-close { display: none; }
.mobile-menu { background: var(--ink); border-top: 1px solid var(--line-dark); }
.mobile-menu ul { list-style: none; margin: 0 auto; padding-block: 8px 20px; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 22px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 380px) { .nav .btn-sm { padding: 11px 12px; font-size: 14px; } .nav-in { gap: 10px; } }
@media (min-width: 900px) {
  .nav-links { display: flex; gap: 28px; margin-left: 48px; }
  .menu-btn, .mobile-menu { display: none !important; }
  .brand-name { font-size: 20px; }
}

/* ---------- Phone frames + placeholders ---------- */
.phone {
  position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 100%;
  border-radius: var(--radius-phone); background: var(--ink);
  padding: 8px; overflow: hidden;
}
.phone > video, .phone > .ph-in { width: 100%; height: 100%; border-radius: calc(var(--radius-phone) - 8px); object-fit: cover; }
.phone > video { background: var(--ink); }
.ph-in {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 20px; border: 2px dashed rgba(241, 237, 226, .34);
  color: var(--cream);
}
.ph-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; border: 1px solid currentColor; opacity: .8;
}
.ph-text { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; max-width: 14ch; }

/* ---------- 1. Hero ---------- */
.hero { padding-block: 40px 72px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy .body { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.hero .small { color: var(--muted-dark); display: flex; gap: 10px; align-items: center; }
.hero .small svg { width: 18px; height: 18px; flex: none; color: var(--yellow); }
.hero-phone { justify-self: center; width: min(300px, 78vw); position: relative; }
.rec-chip {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 10px 6px 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
}
.rec-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); display: block; }
@media (min-width: 900px) {
  .hero { padding-block: 56px 96px; min-height: calc(100svh - 72px); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; }
  .hero-phone { width: min(360px, 100%); justify-self: end; }
}

/* ---------- 2. Reel strip ---------- */
.reel-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.reel-card { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; min-width: 0; }
.reel-card .meta { display: grid; gap: 6px; }
.reel-card .label { color: var(--ink); }
.reel-card .note { font-size: 13px; line-height: 1.4; color: var(--muted-light); margin: 0; }
@media (min-width: 640px) { .reel-scroller { grid-auto-columns: 40%; } }
@media (min-width: 1000px) {
  .reel-scroller { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ---------- 3. Problem ---------- */
.cards-3 { display: grid; gap: 0; }
.p-card { display: grid; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line-dark); align-content: start; min-width: 0; }
.p-card .num { font-size: var(--t-label); font-weight: 700; letter-spacing: .14em; color: var(--yellow); }
.p-card .body { color: var(--muted-dark); }
@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- 4. How it works ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line-dark); min-width: 0; }
.step-num { font-size: clamp(56px, 4vw + 40px, 88px); font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--yellow); }
.step .body { color: var(--muted-dark); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ---------- 5. Product truth ---------- */
.truth-grid { display: grid; gap: 48px; align-items: center; }
.truth-copy { display: grid; gap: 22px; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.checks li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px;
  border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 16px;
}
.checks svg { width: 20px; height: 20px; color: var(--cobalt); }
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: center;
  border-radius: 24px; overflow: hidden; user-select: none; touch-action: pan-y;
}
.compare .side { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.compare .side.right { background: var(--cobalt); color: var(--cream); }
.compare .side.left { background: var(--ink); color: var(--cream); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .ph-text { max-width: 12ch; }
.compare .tag {
  position: absolute; top: 16px; padding: 8px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.compare .side.left .tag { left: 16px; background: var(--cream); color: var(--ink); }
.compare .side.right .tag { right: 16px; background: var(--yellow); color: var(--ink); }
.compare .ph-box { border: 2px dashed rgba(241, 237, 226, .4); border-radius: 16px; padding: 24px 18px; display: grid; justify-items: center; gap: 10px; width: min(78%, 280px); }
.compare .ph-box { width: 40%; padding: 18px 10px; }
.compare .left .ph-box { position: absolute; left: 25%; top: 50%; transform: translate(-50%, -50%); }
.compare .right .ph-box { position: absolute; left: 75%; top: 50%; transform: translate(-50%, -50%); }
.compare .ph-box .ph-text { font-size: 15px; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--cream); pointer-events: none; }
.compare .knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: var(--cream); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.compare .knob svg { width: 26px; height: 26px; }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.compare:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.compare-caption { font-size: 13px; color: var(--muted-light); margin: 12px 0 0; text-align: center; }
@media (min-width: 900px) { .truth-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }

/* ---------- 6. Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
.f-tile { display: grid; gap: 12px; align-content: start; min-width: 0; }
.f-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #16161c;
}
.f-media video { width: 100%; height: 100%; object-fit: cover; }
.f-media .ph-in { position: absolute; inset: 10px; border-radius: 14px; height: auto; width: auto; }
.f-media .ph-text { font-size: 15px; }
.ai-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .08em;
  padding: 6px 10px; border-radius: 8px;
}
.f-tile h3 { font-size: clamp(17px, 0.6vw + 15px, 22px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.f-tile .sub { font-size: 13px; line-height: 1.4; color: var(--muted-dark); margin: -6px 0 0; }
.phone .ai-badge { top: 18px; left: 18px; }
.reel-card .phone video { background: var(--ink); }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; } }

/* ---------- 7. Different ideas ---------- */
.ideas-head { display: grid; gap: 20px; margin-bottom: 48px; }
.ideas-head .body { color: var(--muted-dark); }
.map { display: none; position: relative; width: 100%; aspect-ratio: 1000 / 540; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map svg line { stroke: var(--cream); stroke-width: 2; stroke-opacity: .55; }
.map svg line.dash { stroke-dasharray: 6 8; }
.node {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--cream); color: var(--ink); border-radius: 16px;
  padding: 14px 18px; font-weight: 700; font-size: 18px; line-height: 1.15; letter-spacing: -0.01em;
  display: grid; gap: 4px; text-align: left; min-width: 150px;
}
.node .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.node.todo { background: transparent; color: var(--cream); border: 2px dashed rgba(241, 237, 226, .6); }
.node.todo .k { color: var(--yellow); }
.product-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 23%; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 14px;
  border: 2px dashed rgba(241, 237, 226, .45);
}
.product-box .ph-text { font-size: 20px; }
/* mobile tree */
.tree { display: grid; gap: 0; }
.tree .product-box { position: relative; left: auto; top: auto; transform: none; width: 160px; margin-bottom: 8px; }
.tree ul { list-style: none; margin: 0; padding: 0 0 0 24px; position: relative; display: grid; gap: 12px; }
.tree ul::before { content: ""; position: absolute; left: 0; top: 0; bottom: 30px; width: 2px; background: rgba(241, 237, 226, .55); }
.tree li { position: relative; }
.tree li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 24px; height: 2px; background: rgba(241, 237, 226, .55); }
.tree .node { position: relative; transform: none; left: auto; top: auto; width: 100%; }
@media (min-width: 760px) { .map { display: block; } .tree { display: none; } }

/* ---------- 8. Ways to work ---------- */
.plans { display: grid; gap: 20px; align-items: start; }
.plan {
  display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 20px;
  border: 1.5px solid var(--line-light); background: var(--cream); min-width: 0;
}
.plan.featured { border: 3px solid var(--cobalt); }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan .amount { font-size: clamp(44px, 2vw + 36px, 60px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan .unit { font-size: 16px; font-weight: 700; color: var(--muted-light); }
.plan .body { color: var(--muted-light); }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan .body { margin-bottom: 6px; }
.plan .pill { justify-self: start; }
.plans-note { margin-top: 28px; font-size: 15px; color: var(--muted-light); }
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; align-items: stretch; }
  .plan { padding: 36px 32px; }
  .plan.featured { transform: translateY(-24px); }
}

/* ---------- 9. Honesty ---------- */
.never { list-style: none; margin: 0; padding: 0; display: grid; }
.never li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center;
  padding-block: 20px; border-top: 1px solid var(--line-dark);
  font-size: var(--t-card); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.never li:last-child { border-bottom: 1px solid var(--line-dark); }
.never .x { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--yellow); color: var(--yellow); display: flex; align-items: center; justify-content: center; }
.never .x svg { width: 18px; height: 18px; }
.closing { margin-top: clamp(40px, 4vw, 64px); font-size: var(--t-card); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; max-width: 30ch; }
.closing span { color: var(--yellow); }

/* ---------- 10. FAQ ---------- */
.faq { display: grid; max-width: 880px; }
.faq details { border-top: 1.5px solid var(--line-light); }
.faq details:last-child { border-bottom: 1.5px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-block: 22px; font-size: var(--t-card); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt); color: var(--cream); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.faq .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 56px 24px 0; color: var(--muted-light); }
@media (prefers-reduced-motion: reduce) { .faq .pm { transition: none; } }

/* ---------- 11. Final CTA ---------- */
.final { text-align: left; }
.final .h-section { max-width: 18ch; font-size: clamp(42px, 4.2vw + 25.6px, 80px); }
.final .small { color: var(--muted-dark); }
.final .small a { font-weight: 700; }

/* ---------- 12. Footer ---------- */
.footer { padding-block: 72px 40px; }
.footer-top { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer .tag { font-size: var(--t-card); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 0; }
.footer .contact { display: grid; gap: 8px; font-size: 17px; }
.footer .contact a { font-weight: 700; text-underline-offset: 4px; }
.footer .contact span { color: var(--muted-dark); font-size: 14px; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-dark); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }

/* ---------- /sample page ---------- */
.sample-body { background: var(--cream); color: var(--ink); }
.sample-page { min-height: 100vh; display: grid; }
.s-intro { padding-block: 24px 56px; }
.s-intro .brand { margin-bottom: 48px; }
.s-intro-copy { display: grid; gap: 20px; }
.s-intro .h-hero { font-size: clamp(48px, 4vw + 32px, 84px); }
.s-intro .body { color: var(--muted-dark); max-width: 34ch; }
.s-form { padding-block: 56px 88px; }
.s-form-in { max-width: 640px; }
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > .flabel, fieldset legend {
  font-size: 16px; font-weight: 700; letter-spacing: -0.005em; padding: 0;
}
.req { color: var(--cobalt); }
.opt { font-weight: 500; color: var(--muted-light); }
.input {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: #FBF9F4; border: 1.5px solid rgba(11, 11, 15, .28); border-radius: 12px;
  padding: 15px 16px; min-height: 54px;
}
.input:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; border-color: var(--cobalt); }
.field.invalid .input, .field.invalid .drop { border-color: var(--rec); }
.err { display: none; font-size: 14px; font-weight: 700; color: #B3192B; margin: 0; }
.field.invalid .err { display: block; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 11px 16px; border-radius: 999px;
  border: 1.5px solid rgba(11, 11, 15, .3); background: #FBF9F4; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.drop {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px;
  border: 1.5px dashed rgba(11, 11, 15, .4); background: #FBF9F4; cursor: pointer; min-width: 0;
}
.drop:hover { border-color: var(--cobalt); }
.drop .ico { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--cobalt); color: var(--cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.drop .ico svg { width: 22px; height: 22px; }
.drop .ico img { width: 100%; height: 100%; object-fit: cover; }
.drop .txt { display: grid; gap: 2px; min-width: 0; }
.drop .txt b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop .txt small { font-size: 14px; color: var(--muted-light); }
.drop.dragging { border-color: var(--cobalt); background: rgba(53, 87, 176, .08); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + .drop { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.remove-file { background: none; border: 0; padding: 4px 0; font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; justify-self: start; color: var(--ink); }
.consent { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 600; font-size: 16px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cobalt); }
.submit-row { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.submit-row .small { color: var(--muted-light); max-width: 40ch; }
.send-err { display: none; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.s-foot { padding-block: 24px 32px; font-size: 14px; color: var(--muted-light); border-top: 1px solid var(--line-light); }
.s-foot a { font-weight: 700; color: var(--ink); }
.legal { padding-block: 56px 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin: 16px 0 12px; }
.legal h2 { font-size: var(--t-card); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted-light); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-nav { padding-block: 20px; }
.thanks { display: grid; gap: 20px; padding-block: 24px; }
.thanks .h-section { max-width: none; }
.thanks .body { color: var(--muted-light); }
.thanks .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--cobalt); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.thanks .tick svg { width: 30px; height: 30px; }
@media (min-width: 960px) {
  .sample-page { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .s-intro { padding: 0; }
  .s-intro-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; padding: 32px clamp(32px, 4vw, 64px) 64px; }
  .s-intro-copy { margin-top: auto; margin-bottom: auto; }
  .s-form { padding: 120px clamp(32px, 5vw, 96px) 120px; }
}
