:root {
  color-scheme: dark;
  --bg: #0b1320;
  --surface: #121d31;
  --surface-strong: #182640;
  --surface-soft: #f7f2e8;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.72);
  --muted-strong: rgba(247, 248, 251, 0.84);
  --gold: #d4a854;
  --blue: #5b8def;
  --green: #4cd964;
  --rose: #ffb3c1;
  --paper: #f3eee3;
  --ink: #172134;
  --max-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0b1320 0%, #0e1828 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(212, 168, 84, 0.28);
  border-radius: 999px;
  color: #f6dfb0;
  background: rgba(212, 168, 84, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 19, 32, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover,
.footer-links a:hover,
.article-card a:hover,
.text-link:hover {
  color: var(--text);
}

.header-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #d4a854 0%, #f2d08c 100%);
  color: #171b25;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.header-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(91, 141, 239, 0.16), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(212, 168, 84, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.article-hero h1,
.article-layout h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 11ch;
  margin-top: 18px;
  font-size: 64px;
  font-weight: 900;
}

.hero-copy p {
  max-width: 60ch;
  font-size: 18px;
  color: var(--muted);
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(242, 208, 140, 0.86);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.device-shot {
  position: absolute;
  width: min(255px, 46%);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  border: 10px solid #060b12;
  background: #05080d;
}

.device-shot--primary {
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 3;
}

.device-shot--left {
  left: 2%;
  top: 130px;
  transform: rotate(-9deg);
  z-index: 2;
}

.device-shot--right {
  right: 1%;
  top: 170px;
  transform: rotate(9deg);
  z-index: 1;
}

.device-shot img {
  width: 100%;
  height: auto;
}

.callout-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.callout {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
}

.callout strong,
.feature-card strong,
.story-card strong,
.article-card strong,
.faq-item summary strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.callout span,
.feature-card p,
.story-card p,
.article-card p,
.article-layout p,
.faq-item p,
.metrics-table td,
.metrics-table th {
  color: var(--muted);
}

.content-band {
  padding: 84px 0;
}

.content-band--paper {
  background: linear-gradient(180deg, #f4efe4 0%, #efe9dc 100%);
  color: var(--ink);
}

.content-band--paper .section-tag,
.content-band--paper .article-card time,
.content-band--paper .metric-key {
  color: #7a5a26;
}

.content-band--paper .section-heading p,
.content-band--paper .feature-card p,
.content-band--paper .story-card p,
.content-band--paper .article-card p,
.content-band--paper .article-card time,
.content-band--paper .faq-item p,
.content-band--paper .metrics-table td {
  color: rgba(23, 33, 52, 0.78);
}

.content-band--paper .feature-card,
.content-band--paper .story-card,
.content-band--paper .article-card,
.content-band--paper .faq-item,
.content-band--paper .metrics-table {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 33, 52, 0.1);
}

.content-band--paper .button-secondary {
  color: var(--ink);
  border-color: rgba(23, 33, 52, 0.16);
  background: rgba(255, 255, 255, 0.48);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 46px;
  font-weight: 850;
}

.section-heading p {
  margin: 14px 0 0;
  font-size: 18px;
  color: var(--muted);
}

.feature-grid,
.story-grid,
.article-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.schedule-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.schedule-item time {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
}

.schedule-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.24;
}

.schedule-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.story-card,
.article-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.feature-card img,
.story-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 10 / 12;
  object-fit: cover;
}

.feature-card-content,
.story-card-content,
.article-card-content {
  padding: 18px;
}

.feature-card-content h3,
.story-card-content h3,
.article-card-content h3,
.article-layout h2,
.article-layout h3,
.faq-item summary {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

.feature-card-content h3,
.story-card-content h3,
.article-card-content h3 {
  font-size: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-list-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.feature-list-card img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.feature-list-card h3 {
  font-size: 28px;
  margin: 0 0 10px;
  line-height: 1.1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.step-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(212, 168, 84, 0.14);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 14px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.comparison-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.comparison-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.comparison-card ul,
.article-layout ul,
.article-layout ol {
  margin: 14px 0 0 20px;
  padding: 0;
}

.comparison-card li,
.article-layout li {
  margin-bottom: 10px;
  color: var(--muted);
}

.comparison-card--highlight {
  border-color: rgba(212, 168, 84, 0.32);
  background: linear-gradient(180deg, rgba(212, 168, 84, 0.14), rgba(255, 255, 255, 0.03));
}

.metrics-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.metrics-table th,
.metrics-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.metrics-table tr:last-child td {
  border-bottom: 0;
}

.metric-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 168, 84, 0.3);
  background: rgba(212, 168, 84, 0.12);
}

.metric-key {
  font-size: 14px;
  font-weight: 700;
  color: #f4dca7;
}

.metric-value {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
  margin: 8px 0 12px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card time {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #f4dca7;
}

.article-card p {
  margin-top: 12px;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.cadence-note {
  margin: 10px 0 24px;
  color: rgba(212, 168, 84, 0.92);
  font-weight: 700;
}

.faq-item {
  padding: 0 18px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 18px;
}

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

.faq-item p {
  margin: 0 0 18px;
}

.cta-band {
  padding: 72px 0 80px;
}

.cta-panel {
  padding: 34px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 168, 84, 0.26);
  background: linear-gradient(180deg, rgba(212, 168, 84, 0.16), rgba(255, 255, 255, 0.03));
}

.cta-panel h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.08;
}

.cta-panel p {
  margin: 14px 0 0;
  max-width: 60ch;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 34px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-note {
  color: var(--muted);
  font-size: 13px;
}

.article-hero {
  padding: 56px 0 20px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}

.article-hero h1 {
  max-width: 12ch;
  font-size: 60px;
  font-weight: 900;
}

.article-hero p {
  max-width: 64ch;
  margin: 18px 0 0;
  font-size: 19px;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0 72px;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.article-sidebar h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.article-sidebar ul {
  margin: 0;
  padding-left: 18px;
}

.article-sidebar li {
  margin-bottom: 10px;
}

.article-main {
  min-width: 0;
}

.article-cover {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.quick-answer,
.article-section,
.article-endcap {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.quick-answer {
  border-color: rgba(212, 168, 84, 0.28);
  background: rgba(212, 168, 84, 0.08);
}

.article-layout h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.article-layout h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.article-endcap strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
}

.article-back {
  margin-top: 28px;
}

.article-grid-page {
  padding: 48px 0 72px;
}

.article-list-hero {
  padding: 56px 0 14px;
}

.article-list-hero h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
}

.article-list-hero p {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 19px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-copy h1,
  .article-hero h1,
  .article-list-hero h1 {
    font-size: 52px;
  }

  .feature-grid,
  .story-grid,
  .article-grid,
  .schedule-grid,
  .steps,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .callout-strip,
  .feature-list,
  .metrics-wrap {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .article-layout,
  .feature-list-card {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    padding-inline: 14px;
    min-height: 42px;
    font-size: 14px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy h1,
  .section-heading h2,
  .article-hero h1,
  .article-list-hero h1,
  .cta-panel h2 {
    font-size: 40px;
  }

  .hero-copy p,
  .section-heading p,
  .article-hero p,
  .article-list-hero p {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .device-shot {
    width: min(235px, 52%);
    border-width: 8px;
  }

  .feature-grid,
  .story-grid,
  .article-grid,
  .schedule-grid,
  .faq-grid,
  .steps,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .content-band,
  .cta-band {
    padding: 66px 0;
  }

  .feature-list-card h3 {
    font-size: 24px;
  }

  .quick-answer,
  .article-section,
  .article-endcap,
  .cta-panel,
  .step,
  .comparison-card,
  .feature-list-card {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}
