:root {
  --bg-dark: #0b0c10;
  --bg-dark-elev: #14161d;
  --bg-paper: #faf8f5;
  --bg-card: #ffffff;
  --ink: #13151a;
  --ink-muted: #525866;
  --paper-ink: #f5f3ef;
  --paper-muted: #a5acb8;
  --tally: #ff4738;
  --tally-soft: rgba(255, 71, 56, 0.13);
  --amber: #f59e0b;
  --line-light: rgba(19, 21, 26, 0.1);
  --line-dark: rgba(255, 255, 255, 0.11);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 48px rgba(12, 14, 20, 0.08);
  --shadow-device: 0 28px 70px rgba(0, 0, 0, 0.45);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--tally); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 12px; }

/* Top Studio Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(11, 12, 16, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper-ink);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.78rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.68rem;
  text-decoration: none; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.tally-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--tally);
  box-shadow: 0 0 0 4px rgba(255, 71, 56, 0.22);
  display: inline-block;
}
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a.nav-link {
  text-decoration: none; color: var(--paper-muted); font-size: 0.93rem; font-weight: 500;
  transition: color 0.18s ease;
}
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { color: #fff; }
.header-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--tally); color: #fff; text-decoration: none;
  padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.header-cta:hover { transform: translateY(-1px); filter: brightness(1.07); }

/* Store Button */
.cta-store {
  display: inline-flex; align-items: center; gap: 0.72rem;
  background: #ffffff; color: #0b0c10; text-decoration: none;
  padding: 0.76rem 1.25rem; border-radius: 14px;
  font-weight: 600; box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-store:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.cta-store--dark { background: var(--bg-dark); color: #fff; box-shadow: 0 10px 26px rgba(11,12,16,0.18); }
.cta-store--ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: var(--line-dark); box-shadow: none; }
.cta-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.cta-store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cta-store small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.72; }
.cta-store strong { font-size: 0.98rem; font-weight: 700; }

/* Dark Cinema Hero */
.cinema-hero {
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(255, 71, 56, 0.18), transparent 65%),
    radial-gradient(650px 420px at 14% 80%, rgba(245, 158, 11, 0.10), transparent 65%),
    var(--bg-dark);
  color: var(--paper-ink);
  padding: 4.5rem 1.4rem 5rem;
  border-bottom: 1px solid var(--line-dark);
}
.container { max-width: 1180px; margin: 0 auto; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 3.2rem; align-items: center;
}
.mono-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.38rem 0.78rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: #ffd7d3;
}
.cinema-hero h1 {
  font-size: clamp(2.35rem, 4.7vw, 3.85rem);
  line-height: 1.06; letter-spacing: -0.03em; margin: 1.15rem 0 1.1rem; font-weight: 800;
}
.cinema-hero h1 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: #ff857a; font-size: 1.08em;
}
.hero-lead {
  font-size: 1.13rem; color: var(--paper-muted); max-width: 560px; margin: 0 0 1.85rem; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.95rem; margin-bottom: 1.8rem; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.84rem 1.25rem; border-radius: 14px; text-decoration: none;
  border: 1px solid var(--line-dark); color: var(--paper-ink); font-weight: 600; font-size: 0.95rem;
  background: rgba(255,255,255,0.04); transition: background 0.18s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.spec-strip {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--paper-muted);
  padding-top: 1.2rem; border-top: 1px solid var(--line-dark);
}
.spec-strip span::before { content: "● "; color: var(--tally); }

/* Hero Dual Device Stage */
.device-stage {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end;
}
.phone-frame {
  background: #181b24; border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px; padding: 8px; box-shadow: var(--shadow-device); overflow: hidden; position: relative;
}
.phone-frame img, .phone-frame video {
  border-radius: 21px; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover;
}
.video-pill {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(11,12,16,0.82); color: #fff; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; padding: 6px 12px; font-family: var(--font-mono); font-size: 0.72rem;
  cursor: pointer; backdrop-filter: blur(8px);
}
.stage-caption {
  grid-column: 1 / -1; text-align: center; font-family: var(--font-mono);
  font-size: 0.75rem; color: var(--paper-muted); margin-top: 0.35rem;
}

/* Editorial Sections */
.section { padding: 4.5rem 1.4rem; }
.section--alt { background: #f2efe9; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.section--dark { background: var(--bg-dark); color: var(--paper-ink); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--tally); font-weight: 600; margin: 0 0 0.55rem;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem); line-height: 1.14;
  letter-spacing: -0.025em; margin: 0 0 0.8rem; font-weight: 800;
}
.section-head p { margin: 0; color: var(--ink-muted); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--paper-muted); }

/* Paired Studio Bento */
.paired-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.paired-card {
  background: var(--bg-dark-elev); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 1.35rem; display: flex; flex-direction: column; gap: 1rem;
}
.paired-visuals {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0.75rem; align-items: center;
}
.paired-visuals img {
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.12); width: 100%;
}
.paired-card h3 { margin: 0.2rem 0 0.35rem; font-size: 1.16rem; color: #fff; }
.paired-card p { margin: 0; color: var(--paper-muted); font-size: 0.94rem; line-height: 1.58; }

/* Feature Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.pillar {
  background: var(--bg-card); border: 1px solid var(--line-light);
  border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-soft);
}
.pillar-num {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--tally);
  background: var(--tally-soft); padding: 0.24rem 0.58rem; border-radius: 6px; display: inline-block;
}
.pillar h3 { margin: 0.85rem 0 0.45rem; font-size: 1.15rem; }
.pillar p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Pricing Strip */
.pricing-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.6rem; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; justify-content: space-between;
}
.price-card--pro {
  background: var(--bg-dark); color: var(--paper-ink); border-color: rgba(255,71,56,0.45);
}
.price-tag { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.5rem 0; }
.price-tag small { font-size: 0.92rem; font-weight: 500; opacity: 0.72; }
.check-list { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; display: grid; gap: 0.58rem; font-size: 0.95rem; }
.check-list li::before { content: "✓ "; color: var(--tally); font-weight: 700; }

/* Guide Cards Grid */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center;
  margin-bottom: 1.6rem;
}
.search-input {
  padding: 0.68rem 1rem; border-radius: 10px; border: 1px solid var(--line-light);
  font-family: inherit; font-size: 0.95rem; min-width: 260px; background: #fff;
}
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.guide-card {
  background: var(--bg-card); border: 1px solid var(--line-light); border-radius: var(--radius-md);
  padding: 1.35rem; text-decoration: none; display: grid; grid-template-columns: 108px 1fr; gap: 1.15rem;
  align-items: center; box-shadow: var(--shadow-soft); transition: transform 0.18s ease, border-color 0.18s ease;
}
.guide-card:hover { transform: translateY(-2px); border-color: var(--tally); }
.guide-thumb {
  width: 108px; height: 156px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line-light); background: #14161d;
}
.guide-meta {
  font-family: var(--font-mono); font-size: 0.73rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--tally);
}
.guide-card h3 { margin: 0.35rem 0 0.45rem; font-size: 1.12rem; line-height: 1.3; }
.guide-card p { margin: 0 0 0.6rem; color: var(--ink-muted); font-size: 0.91rem; line-height: 1.52; }
.guide-read { font-size: 0.85rem; font-weight: 700; color: var(--ink); }

/* Article Layout */
.article-hero {
  background: var(--bg-dark); color: var(--paper-ink); padding: 3.2rem 1.4rem 3.4rem;
  border-bottom: 1px solid var(--line-dark);
}
.breadcrumb {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--paper-muted);
  margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.breadcrumb a { color: #ff9c93; text-decoration: none; }
.article-hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -0.025em;
  max-width: 860px; margin: 0.4rem 0 1rem;
}
.article-summary { font-size: 1.1rem; color: var(--paper-muted); max-width: 780px; margin: 0; }
.article-shell {
  max-width: 1160px; margin: 0 auto; padding: 3rem 1.4rem 4.5rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start;
}
.prose h2 { font-size: 1.52rem; letter-spacing: -0.02em; margin: 2.3rem 0 0.75rem; scroll-margin-top: 90px; }
.prose p { margin: 0 0 1.05rem; color: #222630; }
.prose ol, .prose ul { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.prose li { margin-bottom: 0.55rem; }
.takeaway-box {
  background: #fff5f4; border-left: 4px solid var(--tally);
  padding: 1.15rem 1.35rem; border-radius: 0 12px 12px 0; margin: 0 0 1.8rem;
}
.takeaway-box strong { display: block; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; color: var(--tally); margin-bottom: 0.3rem; }
.verdict-box {
  background: var(--bg-dark-elev); color: var(--paper-ink);
  border: 1px solid rgba(255, 71, 56, 0.45); border-left: 5px solid var(--tally);
  padding: 1.35rem 1.5rem; border-radius: 14px; margin: 0 0 2rem; box-shadow: var(--shadow-soft);
}
.verdict-box strong {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #ff857a; margin-bottom: 0.5rem;
}
.verdict-box p { margin: 0; color: var(--paper-ink); font-size: 1rem; line-height: 1.65; }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.compare-card {
  background: var(--bg-card); border: 1px solid var(--line-light); border-radius: var(--radius-md);
  padding: 1.4rem; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between;
  gap: 0.75rem; box-shadow: var(--shadow-soft); transition: transform 0.18s ease, border-color 0.18s ease;
}
.compare-card:hover { transform: translateY(-2px); border-color: var(--tally); }
.compare-card h3 { margin: 0.3rem 0 0.4rem; font-size: 1.13rem; line-height: 1.32; color: var(--ink); }
.compare-card p { margin: 0; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }
.btn-hub-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-dark); color: #fff; text-decoration: none;
  padding: 0.82rem 1.35rem; border-radius: 12px; font-weight: 700; font-size: 0.94rem;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn-hub-link:hover { transform: translateY(-1px); background: #1e222d; }
.data-table-wrap { overflow-x: auto; margin: 1.6rem 0 2rem; border: 1px solid var(--line-light); border-radius: 12px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table caption { text-align: left; padding: 0.85rem 1rem; font-weight: 700; background: #f4f1eb; border-bottom: 1px solid var(--line-light); }
.data-table th, .data-table td { padding: 0.78rem 1rem; text-align: left; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.data-table th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; color: var(--ink-muted); background: #faf8f5; }

/* Interactive Pre-Flight Checklist */
.checklist-card {
  background: var(--bg-card); border: 1px solid var(--line-light); border-radius: var(--radius-md);
  padding: 1.5rem; margin: 2.2rem 0; box-shadow: var(--shadow-soft);
}
.checklist-card h2 { margin-top: 0; font-size: 1.3rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line-light); cursor: pointer; font-size: 0.95rem;
}
.check-item:last-child { border-bottom: 0; }
.check-item input { margin-top: 0.28rem; accent-color: var(--tally); width: 17px; height: 17px; flex-shrink: 0; }

/* Sticky Sidebar */
.article-aside { position: sticky; top: 88px; display: grid; gap: 1.25rem; }
.aside-card {
  background: var(--bg-dark); color: var(--paper-ink); border-radius: var(--radius-md);
  padding: 1.25rem; border: 1px solid var(--line-dark);
}
.aside-visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.9rem; }
.aside-visuals img { border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); width: 100%; height: 170px; object-fit: cover; }
.aside-card h3 { margin: 0.25rem 0 0.45rem; font-size: 1.08rem; }
.aside-card p { margin: 0 0 1rem; font-size: 0.88rem; color: var(--paper-muted); line-height: 1.5; }
.toc-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-md); padding: 1.15rem;
}
.toc-card strong { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 0.6rem; }
.toc-card a { display: block; text-decoration: none; font-size: 0.88rem; color: var(--ink-muted); padding: 0.32rem 0; }
.toc-card a:hover { color: var(--tally); }

/* FAQ Details */
.faq-list { display: grid; gap: 0.75rem; margin-top: 1.2rem; }
.faq-item { background: #fff; border: 1px solid var(--line-light); border-radius: 12px; padding: 1rem 1.2rem; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 1rem; }
.faq-item p { margin: 0.65rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: var(--bg-dark); color: var(--paper-muted);
  border-top: 1px solid var(--line-dark); padding: 3.2rem 1.4rem; font-size: 0.9rem;
}
.footer-grid {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 2rem; align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--paper-ink); text-decoration: none; }
.footer-links a:hover { color: #ff857a; }

@media (max-width: 940px) {
  .hero-grid, .paired-grid, .pillars-grid, .pricing-grid, .guides-grid, .compare-grid, .article-shell {
    grid-template-columns: 1fr;
  }
  .article-aside { position: static; }
  .site-nav { gap: 0.9rem; }
}
@media (max-width: 600px) {
  .guide-card { grid-template-columns: 1fr; }
  .guide-thumb { width: 100%; height: 190px; }
  .site-nav a.nav-hide-sm { display: none; }
}
