html { scroll-behavior: smooth; }
body.landing-page { --bg: #f4f4f0; --panel: #fff; --panel-2: #e9eae7; --line: #d6d9d7; --text: #171d25; --muted: #59636e; --accent: #2750d8; --accent-2: #2750d8; display: block; height: auto; min-height: 100%; overflow: auto; background: var(--bg); color: var(--text); color-scheme: light; font-size: 16px; line-height: 1.55; }
.landing-page a { color: inherit; }
.landing-page a, .landing-page button, .landing-page summary { -webkit-tap-highlight-color: transparent; }
.landing-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.section-wrap { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 30; padding: 10px 14px; background: #fff; color: #171d25 !important; border: 1px solid var(--line); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; background: var(--bg); }
.site-header-inner { height: 64px; width: min(1440px, calc(100% - 80px)); margin: auto; display: flex; align-items: center; gap: 28px; }
.site-header .brand, .site-footer .brand { gap: 10px; white-space: nowrap; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.site-header .logo, .site-footer .logo { flex: none; width: 23px; height: 23px; background: var(--accent); color: #fff; border-radius: 2px; font: 700 14px/1 sans-serif; }
.site-nav { display: flex; gap: 32px; margin: auto; }
.site-nav a, .site-footer nav a { text-decoration: none; color: #39434d; font-size: 13px; font-weight: 600; }
.site-nav a:hover, .site-footer nav a:hover { color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--text); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header-inner > .nav-cta:last-child { margin-left: auto; }
.nav-cta:hover { color: var(--accent); border-color: var(--accent); }

.timeline-hero { width: min(1600px, 100%); margin: auto; display: grid; grid-template-columns: 70px minmax(0, 1fr); padding-right: 34px; }
.chapter-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 4px; color: #53606a; font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.rail-index { align-self: center; color: var(--text); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 35px; letter-spacing: -.06em; }
.rail-title { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 35px; }
.rail-time { writing-mode: vertical-rl; }
.rail-line { flex: 1; width: 1px; min-height: 100px; background: #aeb6ba; }
.rail-dots { display: grid; gap: 10px; margin: 18px 0; }
.rail-dots i { width: 6px; height: 6px; border: 1px solid #66717b; border-radius: 50%; }
.rail-dots i.on { background: var(--text); }
.hero-content { min-width: 0; }
.cinema-frame { position: relative; width: 100%; aspect-ratio: 2.55 / 1; overflow: hidden; background: #202029; isolation: isolate; }
.cinema-frame::after { content: ""; position: absolute; inset: 35% 0 0; z-index: 0; background: linear-gradient(transparent, rgba(0,0,0,.68)); pointer-events: none; }
.cinema-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 52%; }
.frame-top { position: absolute; z-index: 1; inset: 20px 22px auto; display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.85); font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.film-subtitle { position: absolute; z-index: 1; bottom: 8%; left: 4%; right: 4%; margin: 0; color: #fff; font: 500 clamp(38px, 5.9vw, 90px)/1.03 Iowan Old Style, Baskerville, Georgia, serif; letter-spacing: -.055em; text-align: center; text-shadow: 0 3px 20px rgba(0,0,0,.6); }
.film-subtitle [data-word].active { color: #6a87ff; }
.frame-note { position: absolute; z-index: 1; bottom: 14px; right: 18px; color: rgba(255,255,255,.8); font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.timeline-instrument { position: relative; border-bottom: 1px solid #c8ccca; }
.timeline-ruler { display: flex; justify-content: space-between; padding: 15px 0 3px; color: #53606a; font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-wave { position: relative; height: 70px; overflow: hidden; }
.timeline-wave canvas { display: block; width: 100%; height: 68px; }
.demo-playhead { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--accent); pointer-events: none; }
.demo-playhead::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.demo-seek { position: absolute; z-index: 2; left: 0; right: 0; top: 28px; width: 100%; height: 69px; margin: 0; opacity: 0; cursor: pointer; }
.timeline-chapters { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 0 14px; }
.timeline-chapters a { position: relative; padding-top: 12px; border-top: 1px solid #b8c0c0; text-decoration: none; color: #42505b; font-size: 13px; }
.timeline-chapters a::before { content: ""; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1px solid #849095; }
.timeline-chapters a:hover, .timeline-chapters a:focus-visible { color: var(--accent); }
.timeline-chapters b { margin-right: 6px; color: var(--text); font-family: Iowan Old Style, Baskerville, Georgia, serif; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px 0 80px; }
.eyebrow, .section-label { color: #53606a; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { margin: 0 0 8px; }
.hero-bottom h1 { margin: 0; font: 500 clamp(48px, 6vw, 90px)/1 Iowan Old Style, Baskerville, Georgia, serif; letter-spacing: -.055em; }
.hero-lede { margin: 12px 0 0; color: #4d5964; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.button-primary, .preview-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 22px; font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif; text-decoration: none; cursor: pointer; }
.button-primary { border: 1px solid var(--accent); background: var(--accent); color: #fff !important; }
.button-primary:hover { background: #1739ac; }
.preview-button { border: 0; background: transparent; color: var(--text); }
.preview-button:hover { color: var(--accent); }
.preview-button span { font-size: 13px; }

.editorial-section, .workflow-section, .faq-section { padding-block: 80px 110px; border-top: 1px solid #cbd0ce; }
.section-label { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 32px; }
.editorial-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 56px; }
.editorial-head h2, .workflow-section h2, .faq-layout h2, .final-cta h2 { max-width: 800px; margin: 0; font: 500 clamp(40px, 5vw, 70px)/1.05 Iowan Old Style, Baskerville, Georgia, serif; letter-spacing: -.05em; }
.editorial-head p { max-width: 360px; margin: 0; color: #52606b; font-size: 16px; }
.feature-lines { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid #b9c1c0; }
.feature-lines > div { padding: 24px 28px 5px 0; border-right: 1px solid #d0d5d3; }
.feature-lines > div + div { padding-left: 28px; }
.feature-lines > div:last-child { border-right: 0; }
.feature-lines span, .workflow-list li > span { color: var(--accent); font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.feature-lines h3 { margin: 20px 0 10px; font: 500 30px/1.1 Iowan Old Style, Baskerville, Georgia, serif; }
.feature-lines p { max-width: 300px; margin: 0; color: #52606b; line-height: 1.65; }

.style-showcase { padding-block: 80px 90px; background: #e8e9e6; }
.style-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.style-example { min-height: 270px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: #151b22 url('/assets/cinematic-street.png') center/cover; color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.style-example::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,13,20,.48); }
.style-example span { font: 700 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.style-example strong { display: block; margin: auto 0 28px; font-size: clamp(24px,2.6vw,38px); line-height: 1.12; text-align: center; text-shadow: 0 2px 12px #000; }
.style-example.clean strong { font-family: Iowan Old Style, Baskerville, Georgia, serif; font-weight: 500; }
.style-example.bold strong { font-weight: 900; letter-spacing: -.05em; }
.style-example.marker strong { font-weight: 750; }
.style-example.marker em { color: #89a0ff; font-style: normal; }

.workflow-section h2 { margin-bottom: 34px; }
.workflow-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #b9c1c0; }
.workflow-list li { display: grid; grid-template-columns: 180px minmax(0,1fr) minmax(220px,.9fr); gap: 20px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid #ccd2cf; }
.workflow-list h3 { margin: 0; font: 500 31px/1.1 Iowan Old Style, Baskerville, Georgia, serif; }
.workflow-list p { margin: 0; color: #52606b; }
.plans-section { padding-block: 80px 100px; background: #e8e9e6; }
.plans-section .editorial-head { margin-bottom: 36px; }
.plan-row { display: grid; grid-template-columns: 1fr 1fr 180px; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid #b7c0bd; }
.plan-row:last-child { border-bottom: 1px solid #b7c0bd; }
.plan-row > span:first-child { font: 500 29px/1.1 Iowan Old Style, Baskerville, Georgia, serif; }
.plan-row p { margin: 0; color: #52606b; }
.plan-row > span:last-child, .plan-row a { justify-self: end; color: #46535d; font-size: 13px; font-weight: 650; }
.plan-row a:hover { color: var(--accent); }
.faq-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 70px; }
.faq-list details { border-top: 1px solid #c8cecb; }
.faq-list details:last-child { border-bottom: 1px solid #c8cecb; }
.faq-list summary { padding: 20px 35px 20px 0; cursor: pointer; color: var(--text); font-size: 17px; font-weight: 650; }
.faq-list summary::marker { color: var(--accent); }
.faq-list p { margin: 0 0 20px; max-width: 58ch; color: #52606b; }
.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-block: 55px 75px; border-top: 1px solid #c8cecb; }
.final-cta > span { align-self: start; color: var(--accent); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.final-cta h2 { max-width: 600px; }
.final-cta .button-primary { flex: none; }
.site-footer { border-top: 1px solid #c8cecb; background: #e9eae7; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 30px; align-items: start; padding-block: 40px; }
.footer-inner p { margin: 12px 0 0; color: #5c6872; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-inner small { color: #5c6872; white-space: nowrap; }

@media (max-width: 1050px) { .hero-bottom { align-items: start; flex-direction: column; } .editorial-head { align-items: start; flex-direction: column; gap: 14px; } .final-cta { flex-wrap: wrap; } }
@media (max-width: 700px) {
  .section-wrap, .site-header-inner { width: calc(100% - 36px); }
  .site-header-inner { height: 60px; gap: 12px; }
  .site-header .brand { font-size: 18px; }
  .site-nav { display: none; }
  .nav-cta { margin-left: auto; gap: 6px; font-size: 12px; }
  .timeline-hero { display: block; padding: 0 18px; }
  .chapter-rail { display: none; }
  .cinema-frame { min-height: 390px; aspect-ratio: .86 / 1; }
  .cinema-frame img { object-position: 44% center; }
  .frame-top { inset: 14px 12px auto; font-size: 8px; }
  .frame-top span:last-child { display: none; }
  .film-subtitle { bottom: 11%; font-size: clamp(37px, 8vw, 58px); line-height: 1.03; }
  .frame-note { font-size: 8px; }
  .timeline-ruler span:nth-child(even) { display: none; }
  .timeline-chapters { font-size: 11px; }
  .timeline-chapters a { font-size: 11px; }
  .timeline-chapters b { display: block; }
  .hero-bottom { padding: 38px 0 65px; gap: 28px; }
  .hero-bottom h1 { font-size: clamp(49px, 12vw, 72px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { width: 100%; gap: 10px; }
  .hero-actions .button-primary { flex: 1; text-align: center; }
  .preview-button { padding-inline: 4px; }
  .editorial-section, .workflow-section, .faq-section, .style-showcase, .plans-section { padding-block: 62px 70px; }
  .section-label { font-size: 9px; padding-bottom: 25px; }
  .editorial-head { margin-bottom: 34px; }
  .editorial-head h2, .workflow-section h2, .faq-layout h2, .final-cta h2 { font-size: clamp(39px, 10vw, 54px); }
  .feature-lines, .style-strip, .faq-layout { grid-template-columns: 1fr; }
  .feature-lines > div, .feature-lines > div + div { padding: 20px 0; border-right: 0; border-bottom: 1px solid #cbd0ce; }
  .style-example { min-height: 240px; }
  .workflow-list li { grid-template-columns: 75px 1fr; gap: 8px 16px; }
  .workflow-list li p { grid-column: 2; }
  .workflow-list h3 { font-size: 26px; }
  .plan-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .plan-row p { grid-column: 1; grid-row: 2; }
  .plan-row > span:last-child, .plan-row a { grid-column: 2; grid-row: 1 / 3; }
  .faq-layout { gap: 26px; }
  .final-cta { display: grid; padding-block: 40px 60px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 390px) { .hero-actions { flex-direction: column-reverse; align-items: stretch; } .hero-actions .button-primary { width: 100%; } .cinema-frame { min-height: 350px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
