/* clipee.ai: same tokens as the app (app/src/lib/theme.ts). Indigo only marks things Clipee checked. */
:root {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface2: #F4F4F5;
  --surface3: #ECECEE;
  --border: #EBEBED;
  --border-strong: #D6D6DB;
  --ink: #0A0A0A;
  --ink2: #3F3F46;
  --muted: #71717A;
  --ai: #5B4BFF;
  --ai-soft: #EFEDFF;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --brand: "Fredoka", var(--sans);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand .logo { width: 30px; height: 30px; }
.wordmark { font: 600 25px/1 var(--brand); letter-spacing: -0.01em; color: var(--ink); }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a, .link-quiet { font-size: 15px; font-weight: 500; color: var(--ink2); text-decoration: none; }
.nav a:hover, .link-quiet:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.pill:hover { background: #26262B; }
.pill:active { transform: scale(.98); }
.pill-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.pill-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.pill-ghost:hover { background: var(--surface2); }
.pill-invert { background: #fff; color: var(--ink); border-color: #fff; }
.pill-invert:hover { background: var(--surface2); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) 24px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
h1 { font-size: clamp(44px, 6.6vw, 84px); line-height: .98; letter-spacing: -0.045em; font-weight: 700; }
.h1-sans { display: block; }
.h1-serif { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.08em; line-height: 1; margin-top: .06em; }
.lede { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink2); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.example-note { margin-top: 36px; font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; min-height: 600px; }
.wall-phone { position: absolute; border-radius: 30px; overflow: hidden; background: #000; border: 6px solid var(--ink); aspect-ratio: 9 / 16; box-shadow: 0 30px 60px -30px rgba(10, 10, 10, .45); }
.wall-phone video { width: 100%; height: 100%; object-fit: cover; }
.wall-center { left: 50%; top: 0; width: 46%; transform: translateX(-50%); z-index: 2; }
.wall-left { left: 0; top: 64px; width: 34%; opacity: .9; }
.wall-right { right: 0; top: 64px; width: 34%; opacity: .9; }
.hero-visual .hv-check { left: 50%; transform: translateX(-50%); bottom: -8px; z-index: 3; }
.sound {
  position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(10, 10, 10, .62); color: #fff; font: 500 13px/1 var(--sans);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sound[aria-pressed="true"] { background: #fff; color: var(--ink); }
.sound .icon { font-size: 15px; }

/* Video ideas */
.ideas-section { padding-block: clamp(56px, 8vw, 104px); background: var(--surface); border-block: 1px solid var(--border); }
.ideas { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.idea-media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 9 / 16; background: var(--ink); }
.idea-media video { width: 100%; height: 100%; object-fit: cover; }
.idea figcaption { margin-top: 12px; display: grid; gap: 2px; }
.idea-title { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.idea-detail { font-size: 15px; color: var(--ink2); line-height: 1.45; }
.idea-who { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ideas-section .fine { margin-top: 24px; }

/* Comparison */
.why-section { padding-block: clamp(64px, 9vw, 120px); }
.compare { margin-top: 40px; min-width: 640px; }
.compare th[scope="row"] { font-weight: 600; color: var(--ink); background: #fff; font-size: 15px; width: 22%; }
.compare td { color: var(--ink2); text-align: left !important; white-space: normal !important; }
.compare td:last-child { color: var(--ink); font-weight: 500; }
.compare thead th:last-child { color: var(--ink); text-align: left; }
.hv-product {
  position: absolute; left: 0; top: 24px; width: 42%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px 10px 12px;
}
.hv-product img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.hv-product figcaption, .hv-phone figcaption { font-size: 13px; color: var(--muted); padding: 10px 6px 0; }
.hv-phone { position: absolute; right: 0; top: 0; width: 58%; }
.phone {
  position: relative; border-radius: 34px; overflow: hidden; background: #000;
  border: 7px solid var(--ink); aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, .45);
}
.phone > img { width: 100%; height: 100%; object-fit: cover; }
.phone-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62));
  color: #fff; font-size: 14px; line-height: 1.35; display: grid; gap: 2px;
}
.handle { font-weight: 600; }
.hv-check {
  position: absolute; left: 4%; bottom: 0; width: min(92%, 400px);
  background: #fff; border: 1px solid #DCD8FF; border-radius: var(--r-md); padding: 16px 18px;
  box-shadow: 0 24px 48px -28px rgba(91, 75, 255, .45);
}
.check-head { display: flex; align-items: center; gap: 8px; color: var(--ai); font-weight: 600; font-size: 14px; }
.check-head .icon { font-size: 18px; }
.check-list { margin-top: 10px; display: grid; gap: 7px; font-size: 14px; line-height: 1.4; color: var(--ink2); }
.check-list li { display: flex; gap: 9px; align-items: flex-start; }
.check-list .icon { font-size: 16px; color: var(--ai); margin-top: 2px; stroke-width: 2.6; }
.check-list q { quotes: none; font-weight: 600; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .check-list li { opacity: 0; transform: translateY(4px); animation: tick .45s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.7s + var(--i) * .38s); }
  @keyframes tick { to { opacity: 1; transform: none; } }
}

/* Creators gallery */
.cast-section { padding-block: clamp(56px, 8vw, 104px); }
.cast-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.cast-head .section-sub { margin-top: 0; }
.cast { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cast-card { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface3); aspect-ratio: 4 / 5; }
.cast-card img, .cast-card video { width: 100%; height: 100%; object-fit: cover; }
.cast-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 14px 13px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; line-height: 1.3;
}
.cast-name { display: block; font-weight: 600; font-size: 15px; }
.cast-meta { display: block; font-size: 13px; color: rgba(255, 255, 255, .82); }
.cast-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(10, 10, 10, .55); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cast-badge .icon { font-size: 13px; }

/* Sections */
.band { background: var(--surface); border-block: 1px solid var(--border); padding-block: clamp(64px, 9vw, 120px); }
.split-section, .faq-section { padding-block: clamp(64px, 9vw, 120px); }
.section-title { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; max-width: 18em; }
.section-sub { margin-top: 14px; color: var(--ink2); max-width: 38em; }

.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: none; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.step-n { display: block; font: italic 400 64px/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 18px; }
.steps h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.steps p { margin-top: 10px; color: var(--ink2); font-size: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-copy p { margin-top: 18px; color: var(--ink2); max-width: 32em; }
.split-copy .section-title + p { margin-top: 24px; }
.ai-note { display: flex; gap: 10px; align-items: center; color: var(--ai) !important; font-size: 15px; }
.ai-note .icon { font-size: 20px; }
.ai-note strong { font-weight: 600; }

.inspect { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.inspect-media img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: 100%; }
.inspect-rows { display: grid; gap: 8px; align-content: center; }
.inspect-rows div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.inspect-rows dt { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.inspect-rows dt .icon { color: var(--ai); font-size: 17px; }
.inspect-rows dd { margin-top: 2px; font-size: 14px; color: var(--muted); padding-left: 25px; }

.formats { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.format-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface3); }
.format-media img, .format-media video { width: 100%; height: 100%; object-fit: cover; }
.format h3 { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.format h3 .icon { font-size: 18px; color: var(--muted); }
.format p { margin-top: 6px; font-size: 15px; color: var(--ink2); line-height: 1.5; }
.format .cost { margin-top: 10px; font-size: 14px; color: var(--muted); font-weight: 500; }
.talk-card { background: var(--ink); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
/* Scoped under .format so these win over the generic ".format p" rules. */
.format .talk-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #A1A1AA; }
.format .talk-script { margin: 0; color: #fff; font: italic 400 clamp(21px, 1.8vw, 25px)/1.25 var(--serif); }

.autopilot-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.ap-head { display: flex; align-items: center; gap: 12px; }
.ap-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 19px; flex: none; }
.ap-title { font-weight: 600; }
.ap-sub { font-size: 14px; color: var(--muted); line-height: 1.4; }
.toggle { margin-left: auto; width: 44px; height: 26px; border-radius: 99px; background: var(--ink); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.ap-label { margin-top: 22px; font-size: 13px; color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink2); }
.chip.sel { border-color: var(--ink); background: #F1F1F3; color: var(--ink); }
.ap-accounts { margin-top: 22px; display: grid; gap: 8px; }
.acct { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-weight: 500; font-size: 15px; }
.acct svg { width: 18px; height: 18px; }
.acct em { margin-left: auto; font-style: normal; font-size: 13px; color: #12A150; font-weight: 500; }

/* Pricing */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 20px 22px; display: flex; flex-direction: column; min-width: 0; }
.plan-featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 17px; }
.plan-tag { font-size: 12px; font-weight: 500; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.plan-price strong { font-size: 40px; letter-spacing: -0.04em; font-weight: 700; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-credits { margin-top: 8px; font-size: 15px; color: var(--ink2); font-weight: 500; }
.plan-makes { font-size: 14px; color: var(--muted); }
.plan ul { margin-top: 20px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink2); line-height: 1.45; }
.plan li .icon { margin-top: 3px; font-size: 16px; color: var(--ink); stroke-width: 2.4; }
.plan .pill { margin-top: 24px; width: 100%; }
.plan:not(.plan-featured) .pill { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.plan:not(.plan-featured) .pill:hover { background: var(--surface2); }

.credits { margin-top: 56px; max-width: 560px; }
.credits h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.table-scroll { overflow-x: auto; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
th { font-weight: 500; color: var(--muted); font-size: 13px; background: var(--surface); }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink2); max-width: 40em; }
.faq a { color: var(--ink); text-underline-offset: 3px; }

/* Closing */
.closing { background: var(--ink); color: #fff; padding-block: clamp(72px, 10vw, 128px); }
.closing-inner { text-align: center; display: grid; justify-items: center; gap: 20px; }
.closing h2 { font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.closing p { color: #A1A1AA; font-size: 18px; }
.closing .pill { margin-top: 8px; }

.foot { border-top: 1px solid var(--border); padding-block: 40px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { font-size: 14px; color: var(--ink2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { margin-left: auto; font-size: 13px; color: var(--muted); text-align: right; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .hero-grid, .split, .faq-wrap, .cast-head { grid-template-columns: minmax(0, 1fr); }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .split-reverse .autopilot-mock { order: 2; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / 1.08; max-width: 560px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-row { gap: 12px; }
  .link-quiet { display: none; }
  .pill { height: 40px; padding: 0 16px; }
  .pill-lg { height: 50px; flex: 1 1 auto; }
  .hero-visual { aspect-ratio: auto; display: grid; gap: 12px; }
  .hv-product, .hv-phone, .hv-check { position: static; width: 100%; }
  .hv-product { display: none; }
  .wall-left, .wall-right { display: none; }
  .wall-phone.wall-center { position: relative; left: auto; transform: none; width: min(78%, 320px); margin-inline: auto; }
  .hero-visual .hv-check { position: static; transform: none; width: 100%; }
  .ideas { gap: 18px 10px; }
  .formats, .plans { grid-template-columns: minmax(0, 1fr); }
  .inspect { grid-template-columns: minmax(0, 1fr); }
  .foot-note { margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { transition: none; }
}
