/* SynFrame landing page: "the page is the timeline". Cream page, dark editor, icon-blue glow. */
:root {
  --bg: #f4eee3;
  --bg2: #ffffff;
  --panel: rgba(255, 255, 255, 0.6);
  --line: rgba(28, 25, 23, 0.1);
  --grid: rgba(28, 25, 23, 0.06);
  --text: #1c1917;
  --muted: #57534e;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --glow: rgba(37, 99, 235, 0.35);
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #1c1917; color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(90deg, #2563eb, #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav: dark glass */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(244, 238, 227, 0.8); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img.logo { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link { color: var(--muted); font-size: 14px; }
.nav-links a.link:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform 0.12s, box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 30px var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 10px 44px rgba(56, 140, 255, 0.7); }
.btn-glass { background: rgba(255, 255, 255, 0.65); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: rgba(37, 99, 235, 0.5); background: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn:active { transform: translateY(1px); }

/* Hero artboard */
.hero { position: relative; overflow: hidden; padding: 80px 24px 40px; text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(59, 130, 246, 0.12), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg); }
.hero-inner { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #1d4ed8; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.3); margin-bottom: 30px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 10px rgba(37, 99, 235, 0.6); }
.hero h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1.02; letter-spacing: -2.5px; font-weight: 850; margin: 0 0 26px; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 660px; margin: 0 auto 34px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Product window */
.window { position: relative; max-width: 1140px; margin: -10px auto 0; padding: 0 24px; z-index: 4; }
.window-frame { border-radius: 16px; overflow: hidden; border: 1px solid rgba(28, 25, 23, 0.12); background: #1e2230;
  box-shadow: 0 40px 100px rgba(28, 25, 23, 0.25), 0 0 80px rgba(37, 99, 235, 0.25); }
.window-bar { display: flex; gap: 7px; padding: 11px 14px; background: #2a2f3f; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4566; }

/* Sections */
section.block { padding: 120px 0; position: relative; }
section.block[data-tight] { padding-top: 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: #1d4ed8; margin-bottom: 14px; }
.head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.head h2 { text-wrap: balance; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 16px; font-weight: 800; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Feature rows */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 10px 30px rgba(28, 25, 23, 0.05); }
.feature .stage { height: 150px; border-radius: 12px; margin-bottom: 20px; overflow: hidden;
  background: linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px) 0 0 / 20px 20px, #0b1226;
  border: 1px solid var(--line); }
.feature .stage svg { width: 100%; height: 100%; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Download panels */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; backdrop-filter: blur(12px); }
.plan.highlight { border: 2px solid #2563eb; box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18); }
.plan .tag { position: absolute; top: -12px; left: 26px; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; margin: 0 0 4px; }
.plan .meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--muted); flex: 1; }
.plan li { display: flex; gap: 8px; padding: 4px 0; }
.check { color: #047857; font-weight: 800; }
.plan .btn { width: 100%; }
.steps { margin-top: 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.steps summary { cursor: pointer; font-weight: 700; color: var(--text); min-height: 24px; }
.steps ol { padding-left: 18px; margin: 10px 0 0; }

/* Privacy strip, CTA, footer */
.privacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.privacy div { border-top: 1px solid var(--line); padding-top: 18px; }
.privacy h3 { font-size: 15px; margin: 0 0 6px; }
.privacy p { margin: 0; font-size: 14px; color: var(--muted); }
.cta-box { text-align: center; border-radius: 28px; padding: 80px 24px; border: 1px solid rgba(37, 99, 235, 0.3);
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.16), transparent 70%), #fbf8f3; }
.cta-box h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; letter-spacing: -1px; }
.cta-box p { color: var(--muted); margin: 0 0 32px; }
footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a:hover { color: var(--text); }
.credit { width: 100%; font-size: 12px; margin: 0; }

@media (max-width: 960px) {
  .features, .plans, .privacy { grid-template-columns: 1fr 1fr; }
  .nav-links a.link { display: none; }
}
@media (max-width: 620px) {
  .features, .plans, .privacy { grid-template-columns: 1fr; }
  .hero { padding-top: 90px; min-height: 0; }
  .hero h1 { letter-spacing: -1.2px; }
}

/* Hero editor: viewer above a three-track timeline */
.editor { position: relative; z-index: 3; max-width: 860px; margin: 52px auto 0; padding: 14px; border-radius: 22px; background: #16181f;
  border: 1px solid rgba(28, 25, 23, 0.14); box-shadow: 0 40px 100px rgba(28, 25, 23, 0.25), 0 0 80px rgba(37, 99, 235, 0.2); text-align: left; }
.viewer { border-radius: 12px; background: #1f222b; padding: 12px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.title-card { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); font-size: clamp(22px, 4.6vw, 54px); font-weight: 850; letter-spacing: -1px; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); opacity: 0; white-space: nowrap; }
.caption { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.72); color: #fff; font-size: clamp(11px, 1.6vw, 17px); font-weight: 700; padding: 4px 12px; border-radius: 4px; white-space: nowrap; opacity: 0; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px 2px; font: 600 14px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.tc { color: #60a5fa; }
.tc-total { color: #9aa3b5; }
.transport { display: flex; gap: 16px; align-items: center; }
.transport b { width: 9px; height: 9px; border-radius: 2px; background: #9aa3b5; }
.transport b.play { width: 0; height: 0; border-radius: 0; background: none; border-left: 12px solid #e5e9f2; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.timeline { margin-top: 12px; border-radius: 12px; background: #1f222b; padding: 10px 12px 12px; }
.ruler { display: flex; justify-content: space-between; margin-left: 44px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font: 600 11px/1 ui-monospace, Menlo, monospace; color: #7c8496; }
.tracks { --g: 44px; position: relative; padding-top: 6px; }
.track { display: flex; align-items: stretch; gap: 8px; height: 30px; margin-bottom: 5px; }
.track.tall { height: 52px; }
.tname { flex: 0 0 36px; display: grid; place-items: center; border-radius: 6px; background: #2c3242; color: #cbd5e1; font-size: 11px; font-weight: 800; }
.lane { position: relative; flex: 1; border-radius: 6px; background: rgba(255, 255, 255, 0.03); }
.clip { position: absolute; top: 0; bottom: 0; border-radius: 6px; overflow: hidden; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; padding: 3px 7px; white-space: nowrap; text-overflow: ellipsis; }
.clip.v { width: 19.6%; background-size: cover; background-position: center; border: 1px solid rgba(255, 255, 255, 0.18); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 18px 14px -10px rgba(16, 40, 80, 0.85); }
.v1 { left: 0; background-image: url(/assets/frames/f1.webp); }
.v2 { left: 20%; background-image: url(/assets/frames/f2.webp); }
.v3 { left: 40%; background-image: url(/assets/frames/f3.webp); }
.v4 { left: 60%; background-image: url(/assets/frames/f4.webp); }
.v5 { left: 80%; background-image: url(/assets/frames/f6.webp); }
.clip.ttl { left: 4%; width: 15%; background: linear-gradient(135deg, #7c3aed, #a855f7); }
.clip.au { left: 0; width: 99.6%; color: #ecfccb; background:
  repeating-linear-gradient(90deg, transparent 0 3px, rgba(190, 242, 100, 0.55) 3px 5px) 0 60% / 100% 45% no-repeat,
  linear-gradient(#2f5d23, #24481b); }
.cap { position: absolute; top: 5px; bottom: 5px; border-radius: 4px; background: #6d28d9; }
.c-a { left: 21%; width: 13%; } .c-b { left: 41%; width: 12%; } .c-c { left: 61%; width: 16%; }
.playhead { position: absolute; top: -18px; bottom: 0; left: var(--g); width: 2px; background: #3b82f6; box-shadow: 0 0 10px rgba(59, 130, 246, 0.9); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 12px; border-radius: 3px 3px 7px 7px; background: #3b82f6; }

/* Workspace tour: radio tabs, no scripts */
.tour > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tabs label { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tabs label:hover { color: var(--text); border-color: rgba(37, 99, 235, 0.4); }
#ws-edit:checked ~ .tabs label[for=ws-edit], #ws-color:checked ~ .tabs label[for=ws-color], #ws-audio:checked ~ .tabs label[for=ws-audio],
#ws-captions:checked ~ .tabs label[for=ws-captions], #ws-effects:checked ~ .tabs label[for=ws-effects], #ws-export:checked ~ .tabs label[for=ws-export] {
  color: #fff; background: linear-gradient(135deg, #2563eb, #0ea5e9); border-color: transparent; box-shadow: 0 8px 24px var(--glow); }
#ws-edit:focus-visible ~ .tabs label[for=ws-edit], #ws-color:focus-visible ~ .tabs label[for=ws-color], #ws-audio:focus-visible ~ .tabs label[for=ws-audio],
#ws-captions:focus-visible ~ .tabs label[for=ws-captions], #ws-effects:focus-visible ~ .tabs label[for=ws-effects], #ws-export:focus-visible ~ .tabs label[for=ws-export] {
  outline: 3px solid var(--cyan); outline-offset: 3px; }
.tour .window-frame { max-width: 1150px; margin: 0 auto; }
.pane { display: none; margin: 0; }
#ws-edit:checked ~ .window-frame .p-edit, #ws-color:checked ~ .window-frame .p-color, #ws-audio:checked ~ .window-frame .p-audio,
#ws-captions:checked ~ .window-frame .p-captions, #ws-effects:checked ~ .window-frame .p-effects, #ws-export:checked ~ .window-frame .p-export { display: block; }
.pane figcaption { padding: 16px 22px; background: #fbf8f3; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.pane figcaption strong { color: var(--text); }

/* Feature stages */
.mc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 100%; padding: 14px 70px; }
.cam { display: grid; place-items: center; border-radius: 8px; font-style: normal; font-weight: 800; color: #94a3b8; background: rgba(120, 160, 255, 0.1); border: 2px solid rgba(120, 160, 255, 0.2); }
.ramp { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ramp i { width: 14px; height: 40px; border-radius: 3px; background: #22d3ee; opacity: 0.25; }
.ramp span { position: absolute; bottom: 12px; font-size: 12px; font-weight: 700; color: #94a3b8; }
.grade { position: relative; }
.grade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grade .graded { filter: saturate(1.7) contrast(1.15) hue-rotate(-12deg); clip-path: inset(0 0 0 50%); }
.split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 30px; color: #cbd5e1; font-size: 13px; font-weight: 700; }
.bar b { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar b i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #2563eb, #22d3ee); }

/* FAQ */
.narrow { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; font-weight: 700; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); }

@media (max-width: 620px) {
  .editor { padding: 8px; margin-top: 44px; }
  .viewer { padding: 6px; }
  .tname { flex-basis: 28px; font-size: 10px; }
  .ruler { margin-left: 36px; font-size: 9px; }
  .tracks { --g: 36px; }
  .clip { font-size: 9px; padding: 2px 4px; }
  .transport { display: none; }
  .tabs label { padding: 0 14px; font-size: 14px; }
  .mc { padding: 14px 40px; }
}
