/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1e3a5f;
  --primary-light: #2a4f7a;
  --accent: #e8913a;
  --accent-hover: #d07e2e;
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --text: #1e3a5f;
  --text-secondary: #5a7089;
  --border: #e2ddd5;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

/* === Typography === */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.2; }

/* === Layout === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
.nav-links a { color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.2s;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-lg {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-hover); color: white; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); }

/* === Hero === */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #f0ebe4 100%);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--accent); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.hero-price {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-price strong {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-helper {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.hero-helper a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.hero-helper a:hover { border-bottom-color: var(--accent); }

.hero-platforms {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.hero-platforms span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* === Section Headings === */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  text-align: center;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* === Story Timeline (Sunday Morning + Classroom) === */
.story-section {
  padding: 5rem 0;
}

.story-alt {
  background: #f5f0ea;
}

.story-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.story-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.story-step:last-child {
  margin-bottom: 0;
}

.story-time {
  flex-shrink: 0;
  width: 60px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  padding-top: 0.15rem;
  position: relative;
}

.story-time::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  z-index: 1;
}

.story-alt .story-time::after {
  border-color: #f5f0ea;
}

.story-step-highlight .story-time::after {
  width: 14px;
  height: 14px;
  right: -11px;
  top: 0.25rem;
  box-shadow: 0 0 0 4px rgba(232, 145, 58, 0.2);
}

.story-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex: 1;
}

.story-step-highlight .story-content {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fffcf8 0%, var(--bg-card) 100%);
}

.story-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.story-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.story-content p + p {
  margin-top: 0.75rem;
}

/* === Classroom Grid === */
.classroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.classroom-problem,
.classroom-solution {
  padding: 2rem;
  border-radius: var(--radius);
}

.classroom-problem {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.classroom-solution {
  background: linear-gradient(180deg, #fffcf8 0%, var(--bg-card) 100%);
  border: 2px solid var(--accent);
}

.classroom-problem h3,
.classroom-solution h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.classroom-problem h3 { color: var(--text-secondary); }
.classroom-solution h3 { color: var(--accent); }

.classroom-problem p,
.classroom-solution p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.classroom-solution p:last-child {
  color: var(--primary);
  font-weight: 500;
  font-style: italic;
}

/* === Shut-in Section === */
.shutin-grid {
  max-width: 720px;
  margin: 0 auto;
}

.shutin-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.shutin-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.shutin-content p:last-child {
  color: var(--primary);
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* === Integrations / Workflow === */
.integrations {
  padding: 5rem 0;
  background: var(--primary);
  color: white;
}

.integrations .section-label { color: var(--accent); }
.integrations .section-title { color: white; }
.integrations .section-subtitle { color: rgba(255,255,255,0.7); }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.workflow-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.2s, transform 0.2s;
}

.workflow-card:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

.workflow-featured {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.6);
}

.workflow-featured:hover {
  background: rgba(255, 255, 255, 0.85);
}

.workflow-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.workflow-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.workflow-card p {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Workflow cards on light backgrounds need solid cards */
.story-section .workflow-card {
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.12);
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.06);
}

.story-section .workflow-card:hover {
  background: #fff;
}

.story-section .workflow-featured {
  background: rgba(232, 145, 58, 0.06);
  border-color: var(--accent);
}

.story-section .workflow-featured:hover {
  background: rgba(232, 145, 58, 0.1);
}

/* === Broadcast Section === */
.broadcast-section {
  padding: 5rem 0;
  background: #0d1b2a;
  color: white;
}

.broadcast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.broadcast-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: white;
  margin-bottom: 1rem;
}

.broadcast-section .section-label { color: var(--accent); }

.broadcast-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.broadcast-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.broadcast-features li {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.broadcast-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.broadcast-features li strong {
  color: rgba(255,255,255,0.95);
}

.broadcast-visual {
  display: flex;
  justify-content: center;
}

.broadcast-mock {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}

.broadcast-mock-bar {
  background: #2a2a2a;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.broadcast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.broadcast-mock-title {
  margin-left: 0.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.broadcast-mock-body {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.75rem;
}

.broadcast-mock-preview {
  background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}

.broadcast-mock-preview-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.broadcast-mock-preview-content {
  font-size: 0.85rem;
  font-family: 'DM Serif Display', serif;
  color: white;
  text-align: center;
}

.broadcast-mock-queue {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.broadcast-mock-queue-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.25rem;
}

.broadcast-mock-queue-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.5rem 0.6rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

.broadcast-mock-queue-item.active {
  background: rgba(232, 145, 58, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* === ProPresenter Bridge Section === */
.bridge-section {
  padding: 3rem 0;
  background: #0f2235;
  color: white;
}

.bridge-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.bridge-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.bridge-text h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0.5rem;
}

.bridge-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* === Offline / Hardware Section === */
.offline-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, #f0ebe4 100%);
}

.offline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.offline-card:hover {
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
  transform: translateY(-2px);
}

.offline-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #d07e2e 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.offline-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.offline-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* === Pricing === */
.pricing-section {
  padding: 5rem 0;
}

.pricing-single {
  max-width: 480px;
  margin: 0 auto 3rem;
}

.pricing-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto 3rem;
}

@media (max-width: 640px) {
  .pricing-dual {
    grid-template-columns: 1fr;
  }
}

.pricing-main-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(232, 145, 58, 0.12);
}

.pricing-eink-card {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.1);
}

.pricing-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pricing-eink-card .pricing-card-label {
  color: var(--primary);
}

.pricing-main-price {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-currency {
  font-size: 2rem;
  vertical-align: top;
  position: relative;
  top: 0.4rem;
}

.pricing-period {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
}

.pricing-main-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Pricing comparison */
.pricing-compare {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-compare-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.pricing-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pricing-compare-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.pricing-compare-us {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fffcf8 0%, var(--bg-card) 100%);
}

.pricing-compare-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.pricing-compare-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-compare-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Coming Soon Badge (Hero) === */
.coming-soon-badge small {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(232, 145, 58, 0.12);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  margin-left: 0.2rem;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* === Devices Section === */
.devices-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f5f0ea 0%, var(--bg) 100%);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.device-card:hover {
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
  transform: translateY(-2px);
}

.device-card-featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fffcf8 0%, var(--bg-card) 100%);
}

.device-card-coming-soon {
  opacity: 0.75;
  border-style: dashed;
}

.device-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.device-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.device-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.device-cta {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.device-cta:hover { background: var(--accent); }

.device-eink-pricing {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-style: italic;
}

.device-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background: var(--accent);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.device-badge-soon {
  background: var(--text-secondary);
}

.device-badge-experimental {
  background: #7c6f3e;
}

.device-card-experimental {
  border-style: solid;
  border-color: #c4a94d;
}

/* === FAQ Section === */
.faq-section {
  padding: 5rem 0;
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-answer p + .faq-table,
.faq-answer .faq-table + p {
  margin-top: 0.75rem;
}

.faq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.faq-table th {
  text-align: left;
  font-weight: 600;
  color: var(--primary);
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-table td {
  padding: 0.45rem 0.75rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.faq-table tbody tr:last-child td {
  border-bottom: none;
}

.faq-table tbody tr:hover {
  background: rgba(232, 145, 58, 0.04);
}

/* === CTA === */
.cta-section {
  padding: 4rem 0 5rem;
  text-align: center;
}

.cta-box {
  background: var(--primary);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  color: white;
}

.cta-box h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: white;
}

.email-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.email-form input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
}

.cta-reassurance {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--primary); }

/* === Support Page === */
.support-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #f0ebe4 100%);
}

.support-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  align-items: start;
}

.support-sidebar {
  position: sticky;
  top: 80px;
}

.support-toc {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.support-toc-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.support-toc-section {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 2px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.support-toc-section:hover {
  color: var(--primary);
  border-left-color: var(--accent);
}

.support-content {
  min-width: 0;
}

.support-section {
  margin-bottom: 3rem;
}

.support-section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.support-section .faq-item {
  margin-bottom: 0.6rem;
}

.support-section .faq-answer ul,
.support-section .faq-answer ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.support-section .faq-answer li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.support-section .faq-answer ul ul {
  margin: 0.25rem 0;
}

.support-section .faq-answer code {
  background: rgba(30, 58, 95, 0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.support-contact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.support-contact h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.support-contact p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .support-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .support-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .support-toc {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .support-toc-label {
    display: none;
  }

  .support-toc-section {
    border-left: none;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .support-toc-section:hover {
    border-bottom-color: var(--accent);
  }
}

/* === Legal Pages === */
.legal {
  padding: 3rem 0 4rem;
  max-width: 740px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal .legal-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* === Responsive === */
@media (max-width: 900px) {
  .broadcast-inner { grid-template-columns: 1fr; }
  .broadcast-visual { margin-top: 1rem; }
  .classroom-grid { grid-template-columns: 1fr; }
  .offline-grid { grid-template-columns: 1fr; }
  .pricing-compare-grid { grid-template-columns: 1fr; }
  .bridge-inner { flex-direction: column; text-align: center; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hamburger menu kicks in earlier than the rest of the mobile rules —
   the nav has 9 items + a CTA and would otherwise wrap on narrow
   laptops. */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.nav-open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }

  .hero { padding: 3rem 0 2rem; }
  .hero-platforms { gap: 1rem; flex-wrap: wrap; }

  .story-timeline::before { left: 50px; }
  .story-time { width: 50px; font-size: 0.7rem; }

  .story-section { padding: 3rem 0; }
  .broadcast-section { padding: 3rem 0; }
  .offline-section { padding: 3rem 0; }
  .pricing-section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero-platforms { font-size: 0.75rem; gap: 0.75rem; }

  .story-timeline::before { display: none; }
  .story-step { flex-direction: column; gap: 0.5rem; }
  .story-time { width: auto; text-align: left; }
  .story-time::after { display: none; }
}

/* ── Screenshot frames ─────────────────────────────────────────────────
   Drop a real DisplayCache UI screenshot into a TV-style bezel so the
   image reads as "the product on a wall," not "a screenshot of a UI." */
.screenshot-frame {
  position: relative;
  border-radius: 12px;
  background: #1a1a1a;
  padding: 14px 14px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}
.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #000;
}
.screenshot-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.hero-screenshot {
  max-width: 880px;
  margin: 2.5rem auto 0;
}

.story-screenshot {
  margin-top: 1rem;
  max-width: 720px;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 0 auto 2.5rem;
  max-width: 1100px;
}
.screenshot-row figure { margin: 0; }
.screenshot-row figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--primary);
  text-align: center;
  font-weight: 500;
}

.setup-screenshot {
  max-width: 360px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 600px) {
  .screenshot-frame { padding: 8px 8px 12px; border-radius: 8px; }
  .screenshot-frame::after { width: 40px; height: 3px; bottom: 3px; }
}
