/* Cut, Edit AI — marketing site. Dark only, mirrors the app's Theme tokens. */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #121212;
  --elevated: #1a1a1a;
  --elevated-high: #292929;
  --fill: rgba(255, 255, 255, .07);
  --stroke: rgba(255, 255, 255, .10);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .66);
  --text-3: rgba(255, 255, 255, .54);
  --on-primary: #26215c;
  --indigo: #6b4ee6;
  --indigo-soft: #d6d2f5;
  --indigo-deep: #1b1546;
  --gold: #ffc95c;
  --filler: #ffbd5c;
  --retake: #8c99ff;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--indigo-soft); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--on-primary); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--stroke); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--fill); }
.nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 860px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: #fff; color: var(--on-primary); }
.btn-primary:hover { background: var(--indigo-soft); }
.btn-secondary { background: var(--fill); color: var(--text); border: 1px solid var(--stroke); }
.btn-secondary:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: inline-block; border-radius: 9px; transition: transform .15s ease, opacity .2s; }
.badges a:hover { opacity: .88; }
.badges a:active { transform: scale(.97); }
.badges img { height: 52px; width: auto; }
@media (max-width: 380px) { .badges img { height: 46px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 420px at 72% 38%, rgba(107, 78, 230, .42), transparent 70%),
    radial-gradient(520px 380px at 18% 10%, rgba(60, 44, 150, .28), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--indigo-soft);
  padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(107, 78, 230, .16); border: 1px solid rgba(140, 120, 255, .28);
}
.eyebrow .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; }
.eyebrow .dot svg { width: 12px; height: 12px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); margin: 22px 0 20px; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, #fff 10%, var(--indigo-soft) 55%, #a99bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cut-line { position: relative; white-space: nowrap; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 34em; }
.hero .badges { margin-top: 32px; }
.privacy-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--text-3); font-size: 15px; }
.privacy-note svg { flex: none; width: 18px; height: 18px; color: var(--indigo-soft); }

/* Phone mockup */
.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 300px; aspect-ratio: 1320 / 2868; border-radius: 48px; padding: 10px;
  background: linear-gradient(160deg, #3a3a40, #121214 40%, #0b0b0d); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 40px 90px rgba(0,0,0,.65), 0 0 0 1px #000;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px; background: #000; }
.phone-main { left: 50%; top: 0; transform: translateX(-38%); z-index: 2; }
.phone-back { left: 50%; top: 56px; width: 262px; transform: translateX(-108%) rotate(-7deg); z-index: 1; opacity: .72; filter: saturate(.9); }
.float-card {
  position: absolute; z-index: 3; width: 290px; left: 50%; bottom: 36px; transform: translateX(-112%);
  border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12);
  background: #141414;
}
.float-card img { width: 100%; height: auto; }

/* ---------- Generic sections ---------- */
section { position: relative; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.kicker { display: block; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a99bff; margin-bottom: 14px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: 19px; }
@media (max-width: 720px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

/* Audience strip */
.audience { padding: 24px 0 8px; }
.audience ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.audience li { font-size: 15px; color: var(--text-2); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,.03); }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; max-width: 720px; margin: 0 auto; }
.ba-item { text-align: center; }
.ba-video { position: relative; border-radius: 26px; overflow: hidden; background: #111; border: 1px solid var(--stroke); aspect-ratio: 9 / 16; }
.ba-video video { width: 100%; height: 100%; object-fit: cover; }
.ba-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 15px; }
.ba-label strong { font-weight: 600; }
.ba-time { font-variant-numeric: tabular-nums; color: var(--text-3); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; }
.ba-after .ba-video { border-color: rgba(140, 120, 255, .5); box-shadow: 0 30px 90px rgba(107, 78, 230, .28); }
.ba-arrow { display: grid; justify-items: center; gap: 10px; color: var(--text-3); font-size: 13px; text-align: center; }
.ba-arrow span.circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--on-primary); }
.ba-arrow svg { width: 24px; height: 24px; }
.tag-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--elevated); border: 1px solid var(--stroke); color: var(--text-2); }
.tag i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
@media (max-width: 720px) {
  .ba { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ba-arrow { display: none; }
  .ba-video { border-radius: 18px; }
  .ba-label { flex-direction: column; gap: 2px; font-size: 14px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 32px 28px 30px; display: flex; flex-direction: column; }
.step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: #fff; color: var(--on-primary); margin-bottom: 22px; }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 16px; }
.step-visual { margin-top: 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--stroke); background: #0c0c0c; }
.step-visual img { width: 100%; height: auto; }
.step-chips { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--fill); border: 1px solid var(--stroke); color: var(--text-2); }
.chip.on { background: #fff; color: var(--on-primary); border-color: #fff; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); transition: border-color .25s, background .25s; }
.feature:hover { border-color: rgba(255,255,255,.18); background: #151515; }
.feature .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(107, 78, 230, .18); color: #c4baff; border: 1px solid rgba(140,120,255,.25); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 15.5px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } .feature.wide { grid-column: span 2; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature.wide { grid-column: auto; grid-template-columns: 1fr; } .feature { padding: 24px; } }

/* ---------- Gallery ---------- */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 24px; scrollbar-width: thin; scrollbar-color: #333 transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.gallery figure { margin: 0; flex: none; width: 250px; scroll-snap-align: center; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1320 / 2868; border-radius: 22px; border: 1px solid var(--stroke); background: #0b0b14; }
@media (min-width: 1200px) { .gallery { justify-content: safe center; } }
@media (max-width: 480px) { .gallery { padding: 4px 16px 20px; } .gallery figure { width: 70vw; max-width: 260px; } }

/* ---------- Privacy ---------- */
.privacy-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px; border: 1px solid rgba(140,120,255,.28);
  background: radial-gradient(700px 400px at 85% 0%, rgba(107, 78, 230, .35), transparent 70%), linear-gradient(180deg, #120f2b, #0a0914);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.privacy-card h2 { font-size: clamp(32px, 4.2vw, 50px); }
.privacy-card .lede { margin-top: 18px; color: rgba(255,255,255,.78); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 16px; }
.privacy-list svg { flex: none; width: 22px; height: 22px; color: var(--indigo-soft); margin-top: 1px; }
.privacy-list strong { display: block; font-weight: 600; }
.privacy-list span { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .privacy-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; border-radius: 26px; } }
@media (max-width: 420px) { .privacy-card { padding: 32px 20px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke); transition: border-color .2s, background .2s; }
.faq details[open] { background: #161616; border-color: rgba(255,255,255,.16); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .answer { padding: 0 24px 22px; color: var(--text-2); font-size: 16px; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--indigo-soft); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 22px; letter-spacing: -.015em; max-width: 820px; margin: 0 auto 16px; }

/* ---------- Download CTA ---------- */
.cta { text-align: center; padding: 120px 0 128px; position: relative; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 360px at 50% 40%, rgba(107, 78, 230, .38), transparent 70%); }
.cta img.app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 28px; box-shadow: 0 24px 70px rgba(107,78,230,.5), 0 0 0 1px rgba(255,255,255,.12); }
.cta h2 { font-size: clamp(38px, 5.5vw, 64px); }
.cta p { color: var(--text-2); margin: 18px auto 0; font-size: 19px; max-width: 32em; }
.cta .badges { justify-content: center; margin-top: 34px; }
.cta small { display: block; margin-top: 20px; color: var(--text-3); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--stroke); padding: 48px 0 40px; color: var(--text-3); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--text-2); font-size: 15px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: grid; gap: 8px; font-size: 12.5px; line-height: 1.6; }

/* ---------- Support page ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -80px 0 auto; height: 520px; z-index: -1; background: radial-gradient(520px 300px at 50% 30%, rgba(107, 78, 230, .34), transparent 70%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); }
.page-hero p { color: var(--text-2); font-size: 19px; margin: 16px auto 0; max-width: 34em; }
.contact-card { max-width: 820px; margin: 0 auto 72px; padding: 36px; border-radius: 26px; background: linear-gradient(180deg, #15122d, #0c0b16); border: 1px solid rgba(140,120,255,.28); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.contact-card h2 { font-size: 26px; letter-spacing: -.02em; }
.contact-card p { color: var(--text-2); margin-top: 8px; font-size: 16px; }
.contact-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.contact-card .mail { display: block; margin-top: 10px; color: var(--text-3); font-size: 14px; text-align: center; }
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; padding: 28px 22px; } .contact-card .btn { width: 100%; } }

/* ---------- Responsive hero ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero .badges { justify-content: center; }
  .privacy-note { display: block; max-width: 30em; margin-left: auto; margin-right: auto; }
  .privacy-note svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
  .phones { height: 600px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero h1 { margin: 18px 0 16px; }
  .phones { height: 500px; }
  .phone { width: 236px; border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 31px; }
  .phone-main { transform: translateX(-26%); }
  .phone-back { width: 188px; top: 44px; transform: translateX(-88%) rotate(-7deg); }
  .float-card { width: 200px; bottom: 26px; transform: translateX(-80%); border-radius: 14px; }
}
@media (max-width: 370px) {
  .phones { height: 450px; }
  .phone { width: 210px; }
  .phone-back { width: 170px; }
  .float-card { width: 184px; }
}

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