/* Supercut site. Black, white, one violet accent (the app's). No frameworks. */
:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #0b0b0d;
  --panel-2: #111114;
  --text: #f4f4f5;
  --soft: #d4d4d8;
  --muted: #a1a1aa;
  --dim: #71717a;
  --line: #222226;
  --line-2: #2e2e34;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --grad: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 45%, #6d28d9 100%);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-soft); text-underline-offset: 3px; }
img { max-width: 100%; }
strong { color: var(--text); }

/* ---------- Top bar ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.72); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { max-width: 1080px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -0.015em; }
.brand img { width: 26px; height: 26px; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #000; background: #fff; padding: 7px 15px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.pill:hover { background: #e9e9ee; }

/* ---------- Legal / support pages ---------- */
.doc { max-width: 700px; margin: 0 auto; padding: 48px 22px 40px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.doc h2 { font-size: 20px; margin: 40px 0 8px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.lede { font-size: 18px; color: var(--text); }
.muted { color: var(--muted); font-size: 14px; }
.doc details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.doc details:first-of-type { border-top: 1px solid var(--line); }
.doc summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 20px; line-height: 1; }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin: 10px 0 2px; }
.contact-card { margin: 28px 0 8px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.contact-card p { margin: 0; }
.contact-card a.mail { font-size: 19px; font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 28px 22px 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; font-size: 14px; color: var(--muted); }
.foot-in .brand { font-size: 15px; margin-right: auto; }
.foot-in .brand img { width: 22px; height: 22px; }
.foot-in a { color: var(--muted); text-decoration: none; }
.foot-in a:hover { color: var(--text); }
.foot-in .by { width: 100%; color: var(--dim); font-size: 13px; }
.foot-in .by a { color: var(--muted); }

/* ---------- Landing ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.glow { position: relative; overflow: hidden; }
.glow::before { content: ""; position: absolute; inset: -10% -20% 0; background: radial-gradient(closest-side, rgba(139,92,246,.30), rgba(109,40,217,.10) 55%, transparent 80%); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); pointer-events: none; }
.hero { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; padding: 72px 22px 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); padding: 5px 12px; border-radius: 999px; margin: 0 0 22px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(42px, 6.6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 22px; font-weight: 700; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; color: var(--soft); max-width: 540px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.appstore { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; text-decoration: none; padding: 10px 20px 10px 16px; border-radius: 14px; line-height: 1.1; transition: transform .15s ease, background .15s ease; }
.appstore:hover { background: #ececf1; transform: translateY(-1px); }
.appstore svg { width: 24px; height: 28px; flex: none; }
.appstore small { display: block; font-size: 11px; font-weight: 500; }
.appstore b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.req { color: var(--dim); font-size: 13px; }

/* Phone mockup (pure CSS) */
.phone { position: relative; margin: 0 auto; width: 300px; aspect-ratio: 9 / 19.2; border-radius: 52px; padding: 11px; background: linear-gradient(160deg, #2a2a30, #101013 40%, #1c1c21); box-shadow: 0 0 0 1px #3a3a42, 0 30px 90px -24px rgba(139,92,246,.45); }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #050506; display: flex; flex-direction: column; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.video { position: relative; flex: 1 1 auto; margin: 0; background:
  radial-gradient(120% 70% at 30% 20%, rgba(167,139,250,.45), transparent 60%),
  radial-gradient(90% 60% at 80% 85%, rgba(109,40,217,.55), transparent 65%),
  linear-gradient(180deg, #1b1430, #0a0812); }
.person { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 64%; height: 70%; }
.person::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 46%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, #3b3450, #251f36); }
.person::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; border-radius: 48% 48% 0 0; background: linear-gradient(180deg, #2f2942, #19152a); }
.hook { position: absolute; top: 54px; left: 0; right: 0; text-align: center; z-index: 2; }
.hook span { display: inline-block; background: #fff; color: #000; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; padding: 5px 10px; border-radius: 8px; transform: rotate(-2deg); }
.cap { position: absolute; left: 0; right: 0; bottom: 30%; text-align: center; z-index: 2; font-weight: 900; font-size: 25px; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.05; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0,0,0,.6); }
.cap em { font-style: normal; color: #c4b5fd; display: inline-block; transform: scale(1.12); margin: 0 .2em; }
.chat { position: relative; z-index: 2; padding: 12px 12px 6px; background: #0a0a0c; border-top: 1px solid #1d1d22; display: grid; gap: 7px; }
.msg { font-size: 11.5px; line-height: 1.35; padding: 8px 11px; border-radius: 15px; max-width: 86%; }
.msg.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.msg.ai { justify-self: start; background: #1a1a1f; color: var(--soft); border-bottom-left-radius: 5px; }
.tl { position: relative; z-index: 2; background: #0a0a0c; padding: 6px 12px 16px; display: grid; gap: 4px; }
.track { position: relative; height: 12px; }
.track b { position: absolute; top: 0; height: 100%; border-radius: 4px; }
.t1 b { background: #4c4c57; } .t2 b { background: #7c3aed; } .t3 b { background: #2563eb; opacity: .85; } .t4 b { background: #059669; opacity: .8; }
.playhead { position: absolute; top: 2px; bottom: 12px; left: 46%; width: 2px; background: #fff; border-radius: 2px; }

/* Sections */
section.block { padding: 64px 0 8px; }
.kicker { color: var(--accent-soft); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.block h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 14px; max-width: 760px; }
.block .sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 0 34px; }

.prompts { display: flex; flex-wrap: wrap; gap: 10px; }
.prompts span { font-size: 15px; color: var(--soft); background: var(--panel); border: 1px solid var(--line-2); padding: 10px 16px; border-radius: 999px; }
.prompts span::before { content: "“"; color: var(--accent-soft); }
.prompts span::after { content: "”"; color: var(--accent-soft); }
.prompts.chips span { color: var(--text); font-weight: 550; background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.prompts.chips span::before, .prompts.chips span::after { content: none; }

.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { grid-column: span 2; position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; overflow: hidden; }
.card.wide { grid-column: span 3; }
.card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.35); margin-bottom: 16px; }
.card .ic svg { width: 20px; height: 20px; stroke: var(--accent-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tags span { font-size: 12.5px; color: var(--soft); border: 1px solid var(--line-2); background: rgba(255,255,255,.025); padding: 4px 10px; border-radius: 999px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { list-style: none; border-top: 1px solid var(--line-2); padding: 20px 4px 0 0; color: var(--muted); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; color: var(--accent-soft); font-weight: 600; font-size: 14px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; letter-spacing: -0.015em; }
ol.steps { padding: 0; margin: 0; }

.final { text-align: center; padding: 110px 0 40px; }
.final img { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 20px 60px -10px rgba(139,92,246,.55); margin-bottom: 26px; }
.final h2 { margin-left: auto; margin-right: auto; }
.final .sub { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 44px 22px 80px; text-align: left; }
  .card, .card.wide { grid-column: span 3; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-in .pill { margin-left: auto; }
  .hero h1 { font-size: 40px; }
  .hero > div:first-child { min-width: 0; }
  .hero .lede { font-size: 17.5px; }
  .phone { width: 270px; }
  .grid { grid-template-columns: 1fr; }
  .card, .card.wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  section.block { padding-top: 64px; }
  .block .sub { font-size: 17px; }
  .prompts span { font-size: 14px; }
  .foot-in .brand { width: 100%; }
}
