/* ==========================================================================
   Varshi — 2028 Warm Paper & Ink Editorial Design System
   Light, airy, tactile, and effortless to read—crafted for writers,
   novelists, scriptwriters, and creative thinkers.
   ========================================================================== */

:root {
  --bg: #fcfbf8;
  --bg-warm: #f4f1ea;
  --bg-tint: #efece3;
  --surface: #ffffff;
  --ink: #16171a;
  --ink-secondary: #4a4c54;
  --muted: #787a84;
  --hairline: #e6e2d8;
  --hairline-strong: #d5d0c3;

  --gold: #b07f12;
  --gold-bright: #e5bf3b;
  --gold-soft: rgba(176, 127, 18, 0.10);
  --gold-border: rgba(176, 127, 18, 0.32);
  --emerald: #173d31;
  --emerald-soft: rgba(23, 61, 49, 0.08);
  --green: #15803d;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --font-serif: "New York", "Iowan Old Style", Georgia, serif;
  --font-mono: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
  --font-typewriter: "Courier Prime", "Courier New", monospace;

  --shadow-soft: 0 10px 30px rgba(22, 23, 26, 0.05);
  --shadow-card: 0 22px 60px rgba(22, 23, 26, 0.08), 0 2px 8px rgba(22, 23, 26, 0.04);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --container-max: 1160px;
  --container-reading: 740px;
}

@font-face {
  font-family: "Courier Prime";
  src: url("../../Fonts/CourierPrime-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Courier Prime";
  src: url("../../Fonts/CourierPrime-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Courier Prime";
  src: url("../../Fonts/CourierPrime-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--bg-warm);
  border: 1px solid var(--hairline);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--emerald);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.container-reading {
  max-width: var(--container-reading);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation (Crisp Floating Paper Glass)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 248, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(22, 23, 26, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  cursor: pointer;
  font-size: 1.05rem;
}

/* ==========================================================================
   Buttons & App Store Pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.2;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.87rem;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 23, 26, 0.16);
}

.btn-ink:hover {
  transform: translateY(-1px);
  background: #24262b;
  box-shadow: 0 12px 28px rgba(22, 23, 26, 0.22);
}

.btn-paper {
  background: var(--surface);
  border-color: var(--hairline-strong);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-paper:hover {
  transform: translateY(-1px);
  border-color: var(--ink-secondary);
}

.appstore-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.appstore-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.appstore-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--ink);
}

.appstore-pill.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(22, 23, 26, 0.18);
}

.appstore-pill.primary:hover {
  background: #23252b;
  box-shadow: 0 16px 34px rgba(22, 23, 26, 0.24);
}

.appstore-pill svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.appstore-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.appstore-meta small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0.02em;
}

.appstore-meta strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 84px 0 68px;
  text-align: center;
  background:
    radial-gradient(ellipse 65% 45% at 50% 0%, rgba(229, 191, 59, 0.10), transparent 70%),
    var(--bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 26px;
  box-shadow: 0 2px 10px rgba(22, 23, 26, 0.04);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin: 0 auto 22px;
  color: var(--ink);
  font-weight: 700;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--emerald);
}

.hero-sub {
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.58;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   2028 Interactive Live Writing Instrument Demo
   ========================================================================== */

.studio-demo {
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
}

.studio-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--hairline);
}

.window-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.demo-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.demo-tab.active {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline-strong);
  box-shadow: 0 2px 8px rgba(22, 23, 26, 0.06);
}

.studio-canvas {
  padding: 44px 52px 36px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.demo-panel {
  display: none;
  animation: fadeSlide 0.25s ease;
}

.demo-panel.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.canvas-prose {
  font-family: var(--font-typewriter);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink);
  max-width: 68ch;
}

.canvas-prose .dim {
  color: #b8b6ad;
  transition: color 0.2s ease;
}

.caret-gold {
  display: inline-block;
  width: 2.5px;
  height: 1.25em;
  background: var(--gold-bright);
  vertical-align: text-bottom;
  margin-left: 2px;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(229, 191, 59, 0.65);
  animation: blinkCaret 1.1s steps(2, start) infinite;
}

@keyframes blinkCaret {
  to { opacity: 0.15; }
}

/* Hemingway & POS inline highlights */
.hl-adverb { background: rgba(59, 130, 246, 0.14); color: #1d4ed8; padding: 1px 4px; border-radius: 4px; }
.hl-passive { background: rgba(16, 185, 129, 0.15); color: #047857; padding: 1px 4px; border-radius: 4px; }
.hl-hard { background: rgba(245, 158, 11, 0.18); color: #92400e; padding: 1px 4px; border-radius: 4px; }
.hl-human { border-bottom: 2px solid var(--emerald); padding-bottom: 1px; }
.hl-ai { background: var(--gold-soft); border-bottom: 2px dashed var(--gold); padding: 1px 4px; border-radius: 4px; }

.studio-statusbar {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--ink-secondary);
  font-weight: 600;
}

/* ==========================================================================
   Sections & Warm Paper Alternating Bands
   ========================================================================== */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

.section-warm {
  background: var(--bg-warm);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-secondary);
  font-size: 1.08rem;
}

/* ==========================================================================
   Who Writes With Varshi (Writers, Authors, Scriptwriters, Creatives)
   ========================================================================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--hairline-strong);
}

.audience-icon {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-soft);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.audience-card p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Alternating Editorial Feature Spreads (Ulysses / iA Writer Rhythm)
   ========================================================================== */

.spread-stack {
  display: grid;
  gap: 88px;
}

.spread {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}

.spread.reverse .spread-media {
  order: -1;
}

.spread-copy .card-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.spread-copy h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.spread-copy p {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
  line-height: 1.65;
}

.spread-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.94rem;
  color: var(--ink);
}

.spread-bullets li::before {
  content: "— ";
  color: var(--gold);
  font-weight: 700;
}

.tech-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  padding: 5px 11px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--bg-warm);
}

.spread-media {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spread-media:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 72px rgba(22, 23, 26, 0.12);
}

.spread-media img,
.spread-media video {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Companion App (Mac + iPad + iPhone + Duo)
   ========================================================================== */

.device-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.device-feature-panel {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.device-list {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.device-list li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--gold-bright);
}

.device-list strong {
  color: var(--ink);
  font-size: 1rem;
}

.device-list span {
  color: var(--ink-secondary);
  font-size: 0.93rem;
}

.device-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.device-thumb {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.device-thumb.wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.device-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ==========================================================================
   Comparison Table & Pricing
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

th, td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--hairline);
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--bg-warm);
}

tr:last-child td {
  border-bottom: none;
}

.col-varshi {
  background: rgba(176, 127, 18, 0.06);
  color: var(--ink);
  font-weight: 600;
}

.check {
  color: var(--green);
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.price-card.pro {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, rgba(229, 191, 59, 0.08), var(--surface) 45%);
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 8px 0 4px;
}

.price-note {
  color: var(--ink-secondary);
  font-size: 0.93rem;
  margin-bottom: 24px;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 30px;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

.price-list li::before {
  content: "✓ ";
  color: var(--emerald);
  font-weight: 700;
}

/* ==========================================================================
   Blog Cards & Literary Article Layout
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--hairline-strong);
}

.blog-meta {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-card h3 {
  font-size: 1.24rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.read-more {
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}

.filter-pill {
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  color: var(--ink-secondary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Article Page */
.article-header {
  padding: 72px 0 38px;
  border-bottom: 1px solid var(--hairline);
}

.article-header h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 14px 0 18px;
}

.article-lead {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.article-body {
  padding: 48px 0 72px;
  font-size: 1.07rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.article-body h2 {
  font-size: 1.62rem;
  color: var(--ink);
  margin: 42px 0 14px;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-size: 1.24rem;
  color: var(--ink);
  margin: 28px 0 10px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
  display: grid;
  gap: 8px;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  border-left: 3px solid var(--gold-bright);
  background: var(--bg-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-typewriter);
  font-style: italic;
  color: var(--ink);
}

.article-cta {
  margin-top: 52px;
  padding: 36px;
  background: var(--bg-warm);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.article-cta h3 {
  margin-top: 0;
  font-size: 1.48rem;
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-warm);
  padding: 60px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--ink-secondary);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(22, 23, 26, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(1120px, 95vw);
  text-align: center;
}

.lightbox-inner img {
  max-height: 82vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  margin: 0 auto 14px;
}

.lightbox-caption {
  color: #f3f1ec;
  font-size: 0.94rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

  .spread,
  .device-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .device-feature-panel {
    position: static;
  }

  .spread.reverse .spread-media {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(252, 251, 248, 0.98);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .studio-canvas {
    padding: 28px 22px;
  }

  .audience-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}
