/* ===========================================================
   Minimalist Screenwriter — website stylesheet
   Theme: alternating black/white sections, one brass accent,
   SF Pro on Apple devices (system font stack elsewhere).
   =========================================================== */

:root{
  --black:#0a0a0a;
  --black-2:#141210;
  --white:#ffffff;
  --paper:#faf9f6;
  --ink:#111111;
  --muted:#5c5852;
  --muted-inv:#aca69c;
  --line:#e7e3da;
  --line-dark:#2a2622;

  --accent:#c9a15a;
  --accent-2:#f2cf8a;
  --accent-deep:#7a4f26;

  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:9px;
  --container:1200px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Courier New", Courier, monospace;

  --shadow-soft: 0 20px 50px -20px rgba(0,0,0,.35);
  --shadow-accent: 0 10px 28px -10px rgba(201,161,90,.55);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--font); color:var(--ink); background:var(--white);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  padding-top:68px; line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0 0 0.5em; letter-spacing:-0.02em; font-weight:700; }
h1{ line-height:1.08; }
h2{ line-height:1.15; }
h3{ line-height:1.4; }
h4{ line-height:1.25; }
p{ margin:0 0 1em; }
ul,ol{ margin:0 0 1em; padding-left:1.25em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

::selection{ background:var(--accent-2); color:#1a1206; }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 26px; border-radius:999px; font-weight:700; font-size:15px;
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn-primary{
  background:linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-deep));
  color:#1c1508; box-shadow:var(--shadow-accent);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 34px -10px rgba(201,161,90,.65); }
.btn-lg{ padding:16px 32px; font-size:16px; }
.btn-ghost-dark{ border-color:rgba(255,255,255,.22); color:#fff; background:rgba(255,255,255,.02); }
.btn-ghost-dark:hover{ background:rgba(255,255,255,.08); }
.btn-ghost-light{ border-color:rgba(0,0,0,.15); color:var(--ink); }
.btn-ghost-light:hover{ background:rgba(0,0,0,.05); }
.btn-block{ width:100%; }

/* ---------------- Nav ---------------- */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:100; height:68px;
  background:rgba(10,10,10,.78); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-nav .container{ height:100%; display:flex; align-items:center; justify-content:space-between; }
.nav-brand{ display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:15.5px; letter-spacing:-0.01em; }
.nav-brand .mark{
  width:26px; height:26px; border-radius:7px; flex:none;
  background:linear-gradient(135deg, var(--accent-2), var(--accent) 60%, var(--accent-deep));
  display:flex; align-items:center; justify-content:center; color:#1c1508; font-family:var(--font-mono); font-weight:700; font-size:13px;
}
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  color:var(--muted-inv); font-size:14px; font-weight:600; padding:9px 14px; border-radius:8px; transition:color .15s, background .15s;
}
.nav-links a:hover{ color:#fff; background:rgba(255,255,255,.06); }
.nav-links a.is-active{ color:#fff; }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none; width:38px; height:38px; border-radius:8px; border:1px solid rgba(255,255,255,.18);
  background:transparent; color:#fff; align-items:center; justify-content:center; cursor:pointer;
}
.nav-mobile{
  position:fixed; inset:68px 0 0 0; background:var(--black); z-index:99; display:none; flex-direction:column;
  padding:20px 24px; gap:4px; overflow-y:auto;
}
.nav-mobile.open{ display:flex; }
.nav-mobile a{ color:#fff; font-size:20px; font-weight:700; padding:14px 6px; border-bottom:1px solid var(--line-dark); }
.nav-mobile .btn{ margin-top:16px; }

@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-ghost-dark{ display:none; }
}

/* ---------------- Sections ---------------- */
.section{ padding:96px 0; }
.section-tight{ padding:64px 0; }
.section-black{ background:var(--black); color:#fff; }
.section-black .muted{ color:var(--muted-inv); }
.section-white{ background:var(--paper); color:var(--ink); }
.section-white .muted{ color:var(--muted); }
.section-plain{ background:var(--white); color:var(--ink); }
.muted{ color:var(--muted); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.10em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
}
.eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent); }

.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,4vw,40px); }
.section-head p{ font-size:17px; }

.grad-text{
  background:linear-gradient(100deg, var(--accent-2), var(--accent) 45%, var(--accent-deep));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative; overflow:hidden; padding:120px 0 100px;
  background:
    radial-gradient(ellipse 900px 500px at 18% -10%, rgba(201,161,90,.22), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(201,161,90,.10), transparent 55%),
    var(--black);
  color:#fff;
}
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:26px 26px; mask-image:radial-gradient(ellipse 900px 500px at 30% 0%, black, transparent 70%);
}
.hero .container{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(38px,5.4vw,62px); }
.hero-lede{ font-size:18px; color:var(--muted-inv); max-width:520px; margin-bottom:32px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px; }
.hero-meta{ display:flex; flex-wrap:wrap; gap:18px; font-size:13px; color:var(--muted-inv); }
.hero-meta span{ display:inline-flex; align-items:center; gap:7px; }
.hero-meta svg{ width:15px; height:15px; color:var(--accent); }

@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* Centered hero layout */
.hero-centered .hero-content{ text-align:center; margin:0 auto; }
.hero-centered .hero-lede{ margin-left:auto; margin-right:auto; }
.hero-centered h1{ font-size:clamp(42px,6vw,68px); margin-bottom:18px; }
.hero-mockup{ margin-top:56px; }
.hero-mockup .mock{ max-width:900px; margin:0 auto; box-shadow:0 25px 80px rgba(201,161,90,.16); }

@media (max-width:768px){
  .hero-centered h1{ font-size:38px; }
  .hero-mockup .mock{ max-width:95%; }
}

/* ------ App mock window (CSS-drawn, no screenshots needed) ------ */
.mock{
  border-radius:16px; overflow:hidden; background:#1c1a17; border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow-soft), 0 0 0 1px rgba(255,255,255,.03);
}
.mock-bar{ display:flex; align-items:center; gap:8px; padding:11px 14px; background:#211f1b; border-bottom:1px solid rgba(255,255,255,.06); }
.mock-bar span{ width:10px; height:10px; border-radius:50%; background:#3a362f; }
.mock-bar .label{ margin-left:10px; font-size:11.5px; color:var(--muted-inv); font-family:var(--font-mono); }
.mock-body{ display:flex; }
.mock-side{ width:34%; background:#1c1a17; padding:16px 12px; border-right:1px solid rgba(255,255,255,.06); }
.mock-side-title{ font-size:10px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted-inv); margin-bottom:10px; }
.mock-scene{ display:flex; gap:8px; align-items:flex-start; padding:7px 8px; border-radius:7px; font-size:10.5px; color:#c9c3b8; margin-bottom:3px; }
.mock-scene.active{ background:rgba(201,161,90,.14); color:#fff; }
.mock-scene b{ width:16px; height:16px; border-radius:50%; border:1px solid #3a362f; font-size:8.5px; display:flex; align-items:center; justify-content:center; color:var(--accent); flex:none; font-family:var(--font-mono); }
.mock-page{ flex:1; background:#fdfcfa; color:#171512; padding:26px 22px; font-family:var(--font-mono); font-size:11px; line-height:1.7; }
.mock-page .l-scene{ text-transform:uppercase; font-weight:700; margin-bottom:10px; }
.mock-page .l-action{ color:#171512; margin-bottom:10px; max-width:92%; }
.mock-page .l-char{ text-transform:uppercase; margin-left:34%; margin-bottom:2px; }
.mock-page .l-paren{ margin-left:26%; color:#5c5852; margin-bottom:2px; font-size:10.5px; }
.mock-page .l-dial{ margin-left:14%; max-width:60%; margin-bottom:10px; }
.mock-page .l-trans{ text-align:right; text-transform:uppercase; color:#5c5852; }

/* ---------------- Feature grid ---------------- */
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:860px){ .grid-3{ grid-template-columns:1fr 1fr; } .grid-2{ grid-template-columns:1fr; } }
@media (max-width:640px){ .grid-3{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:26px 24px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:0 18px 34px -20px rgba(0,0,0,.25); border-color:#d9d3c5; }
.card .icon{
  width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  background:linear-gradient(135deg, rgba(201,161,90,.18), rgba(201,161,90,.05)); color:var(--accent-deep);
}
.card .icon svg{ width:21px; height:21px; }
.card h3{ font-size:17px; margin-bottom:8px; }
.card p{ font-size:14.5px; color:var(--muted); margin-bottom:0; }

.card-dark{ background:#161412; border:1px solid var(--line-dark); }
.card-dark .icon{ background:linear-gradient(135deg, rgba(201,161,90,.25), rgba(201,161,90,.06)); color:var(--accent-2); }
.card-dark h3{ color:#fff; }
.card-dark p{ color:var(--muted-inv); }

/* ---------------- Steps ---------------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; counter-reset:step; }
@media (max-width:860px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding:28px 22px 22px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); }
.step .num{
  width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-weight:800;
  font-family:var(--font-mono); font-size:14px; margin-bottom:16px; color:#1c1508;
  background:linear-gradient(135deg, var(--accent-2), var(--accent));
}
.step h3{ font-size:16.5px; margin-bottom:8px; }
.step p{ font-size:14.5px; color:var(--muted); margin:0; }

/* ---------------- Quote ---------------- */
.quote-block{ max-width:760px; margin:0 auto; text-align:center; }
.quote-block blockquote{
  font-size:clamp(22px,3.4vw,32px); font-weight:700; letter-spacing:-0.01em; margin:0 0 20px; line-height:1.35;
}
.quote-block cite{ font-style:normal; color:var(--muted-inv); font-size:14px; }

/* ---------------- Table ---------------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-md); }
table{ width:100%; border-collapse:collapse; font-size:14.5px; min-width:560px; }
th,td{ text-align:left; padding:14px 18px; border-bottom:1px solid var(--line); }
thead th{ background:#f2efe8; font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
tbody tr:last-child td{ border-bottom:none; }
td.yes{ color:#3f7a4c; font-weight:700; }
td.no{ color:#9a9086; }
.table-highlight td:first-child, .table-highlight th:first-child{ font-weight:700; }
th.brand-col, td.brand-col{ background:rgba(201,161,90,.08); }

/* ---------------- FAQ ---------------- */
.faq{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  list-style:none; cursor:pointer; padding:20px 4px; display:flex; justify-content:space-between; align-items:center;
  font-weight:700; font-size:16px; gap:20px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{ flex:none; width:22px; height:22px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:15px; color:var(--accent-deep); }
.faq-item[open] summary .plus{ transform:rotate(45deg); }
.faq-item p{ padding:0 4px 20px; color:var(--muted); font-size:15px; max-width:640px; }

/* ---------------- CTA banner ---------------- */
.cta-banner{
  border-radius:24px; padding:56px 44px; text-align:center;
  background:radial-gradient(ellipse 700px 300px at 50% -30%, rgba(201,161,90,.35), transparent 60%), var(--black);
  border:1px solid var(--line-dark);
}
.cta-banner h2{ font-size:clamp(24px,3.6vw,34px); color:#fff; }
.cta-banner p{ color:var(--muted-inv); max-width:520px; margin-left:auto; margin-right:auto; }
.cta-banner .hero-ctas{ justify-content:center; }

/* ---------------- Footer ---------------- */
footer.site-footer{ background:var(--black); color:var(--muted-inv); padding:72px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; margin-bottom:56px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .nav-brand{ margin-bottom:14px; }
.footer-brand p{ font-size:14px; max-width:280px; }
.footer-col h4{ color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-col a{ display:block; font-size:14.5px; padding:6px 0; color:var(--muted-inv); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid var(--line-dark); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; }

/* ---------------- Page header (inner pages) ---------------- */
.page-hero{
  padding:76px 0 64px; background:var(--black); color:#fff; position:relative; overflow:hidden;
  background:radial-gradient(ellipse 800px 420px at 15% -20%, rgba(201,161,90,.20), transparent 60%), var(--black);
}
.page-hero h1{ font-size:clamp(32px,4.6vw,48px); max-width:780px; }
.page-hero p.lede{ font-size:17px; color:var(--muted-inv); max-width:640px; }
.breadcrumb{ font-size:13px; color:var(--muted-inv); margin-bottom:18px; display:flex; gap:8px; align-items:center; }
.breadcrumb a:hover{ color:#fff; }

/* ---------------- Prose (blog articles / long-form) ---------------- */
.prose{ max-width:720px; margin:0 auto; font-size:17px; line-height:1.75; color:var(--ink); }
.prose h2{ font-size:25px; margin-top:2em; }
.prose h3{ font-size:20px; margin-top:1.6em; }
.prose p{ margin-bottom:1.2em; }
.prose ul, .prose ol{ margin-bottom:1.2em; }
.prose li{ margin-bottom:.5em; }
.prose a{ color:var(--accent-deep); text-decoration:underline; text-decoration-color:rgba(122,79,38,.35); text-underline-offset:3px; }
.prose blockquote{ margin:2em 0; padding:4px 0 4px 22px; border-left:3px solid var(--accent); font-size:19px; font-weight:600; color:#171512; }
.prose code{ font-family:var(--font-mono); background:#f2efe8; padding:2px 6px; border-radius:5px; font-size:14.5px; }
.prose hr{ border:none; border-top:1px solid var(--line); margin:2.6em 0; }
.prose figure{ margin:2em 0; }
.prose figcaption{ font-size:13px; color:var(--muted); text-align:center; margin-top:8px; }

.article-meta{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; font-size:13.5px; color:var(--muted-inv); margin-bottom:8px; }
.article-meta .tag{ background:rgba(201,161,90,.16); color:var(--accent-2); padding:5px 11px; border-radius:999px; font-weight:700; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; }

/* ---------------- Blog cards ---------------- */
.post-card{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; background:var(--white); transition:transform .15s, box-shadow .15s; }
.post-card:hover{ transform:translateY(-3px); box-shadow:0 18px 34px -20px rgba(0,0,0,.25); }
.post-card .thumb{ position:relative; overflow:hidden; background:transparent; }
.post-card .thumb img{ width:100%; height:auto; display:block; object-fit:cover; aspect-ratio:16/9; }
.post-card .thumb .tag{ position:absolute; top:14px; left:14px; background:rgba(255,255,255,.1); color:var(--accent-2); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:5px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.15); }
.post-card .body{ padding:22px; flex:1; display:flex; flex-direction:column; }
.post-card .body .tag{ background:transparent; border:1px solid var(--accent-2); color:var(--accent-2); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:5px 10px; border-radius:999px; display:inline-flex; width:fit-content; margin-bottom:12px; }
.post-card h3{ font-size:18px; margin-bottom:8px; }
.post-card p{ font-size:14.5px; color:var(--muted); flex:1; }
.post-card .meta{ font-size:12.5px; color:var(--muted); margin-top:14px; display:flex; gap:10px; }

/* ---------------- Kbd / shortcut table ---------------- */
kbd{
  font-family:var(--font-mono); font-size:12.5px; background:#f2efe8; border:1px solid var(--line);
  border-bottom-width:2px; padding:3px 8px; border-radius:6px; color:var(--ink);
}
.section-black kbd{ background:#1c1a17; border-color:var(--line-dark); color:#fff; }

/* ---------------- Misc ---------------- */
.pill{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; padding:7px 13px; border-radius:999px; border:1px solid var(--line); color:var(--muted); }
.divider{ height:1px; background:var(--line); margin:56px 0; }
.center{ text-align:center; }
.mt-0{ margin-top:0; }
