:root {
  color-scheme: dark;

  --forest: #0b2b22;
  --grove: #123b30;
  --midnight: #10172f;
  --ink: #061713;

  --gold: #d6ad54;
  --parchment: #f0e5cf;
  --moon: #d9e3ee;
  --silver: #aebbc9;
  --ember: #d97745;

  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(circle at 18% 8%, rgba(214, 173, 84, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 14%, rgba(111, 143, 85, 0.18), transparent 30rem),
    linear-gradient(145deg, var(--midnight) 0%, var(--forest) 52%, var(--ink) 100%);

  color: var(--parchment);

  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header,
.site-footer {
  margin: 0 auto;
  width: min(1120px, calc(100% - 32px));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: white;

  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;

  border-radius: 8px;
}

nav {
  display: flex;
  gap: 8px;
}

nav a,
.button,
.filter {
  border: 1px solid var(--line);
  border-radius: 999px;

  padding: 10px 14px;

  background: rgba(255, 255, 255, 0.05);

  color: var(--moon);

  text-decoration: none;

  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

nav a:hover,
.button:hover,
.filter:hover {
  border-color: rgba(214, 173, 84, 0.55);
}

nav a[aria-current="page"],
.filter.active,
.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--midnight);
}

main {
  overflow: hidden;
}

/* =========================
   LAYOUT WRAPPERS
========================= */

.hero,
.experience,
.info-band,
.support-hero,
.support-layout {
  margin: 0 auto;
  width: min(1120px, calc(100% - 32px));
}

/* =========================
   HERO SECTION
========================= */

.hero {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(340px, 520px);

  gap: clamp(28px, 4vw, 72px);

  align-items: center;

  min-height: calc(100vh - 88px);

  padding: 48px 0 76px;
}

.hero-copy {
  min-width: 0;

  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;

  color: var(--gold);

  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote,
dd {
  font-family: Georgia, Cambria, "Times New Roman", serif;
}

h1 {
  margin: 0;

  max-width: 9ch;

  color: white;

  font-size: clamp(3rem, 6vw, 5.8rem);

  line-height: 0.92;

  letter-spacing: -0.035em;

  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin: 0;

  color: white;

  font-size: clamp(2rem, 4vw, 3.2rem);

  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;

  color: white;

  font-size: 1.22rem;
}

.lede,
.section-heading p,
.support-panel p {
  color: var(--moon);
  line-height: 1.75;
}

.lede {
  max-width: 58ch;

  margin: 22px 0 0;

  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding-inline: 18px;
}

.button.secondary {
  color: var(--parchment);
}

/* =========================
   PROMO IMAGE
========================= */

.promo-art {
  position: relative;

  width: 100%;
  max-width: 520px;

  justify-self: end;

  overflow: hidden;

  border: 1px solid rgba(214, 173, 84, 0.25);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.promo-art img {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 1400 / 560;

  object-fit: cover;
}

/* =========================
   EXPERIENCE SECTION
========================= */

.experience {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.76fr)
    minmax(320px, 1fr);

  gap: 38px;

  align-items: start;

  padding: 80px 0;
}

.section-heading {
  max-width: 44rem;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.reading-shell {
  border: 1px solid rgba(214, 173, 84, 0.22);
  border-radius: 8px;

  padding: 24px;

  background: rgba(255, 255, 255, 0.05);

  box-shadow: 0 18px 60px rgba(16, 23, 47, 0.45);

  backdrop-filter: blur(14px);
}

.filter-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;

  margin-bottom: 18px;
}

.filter {
  min-width: 0;
  cursor: pointer;
}

.daily-card {
  min-height: 360px;

  border: 1px solid rgba(214, 173, 84, 0.25);
  border-radius: 8px;

  background: rgba(9, 42, 34, 0.72);

  padding: 24px;
}

.status {
  color: var(--silver);
}

.hidden {
  display: none;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  color: var(--silver);
}

.element-pill {
  border: 1px solid rgba(214, 173, 84, 0.36);
  border-radius: 999px;

  padding: 6px 12px;

  color: var(--gold);

  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

blockquote {
  margin: 22px 0 0;

  color: white;

  font-size: clamp(1.7rem, 4vw, 2.35rem);

  line-height: 1.2;
}

.guidance {
  margin: 20px 0 0;

  color: var(--moon);

  line-height: 1.7;
}

.detail-grid,
.feature-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;
}

.detail-grid {
  margin-top: 22px;
}

.detail-grid div,
.feature-grid article,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;

  background: var(--panel);
}

.detail-grid div {
  padding: 14px;
}

.detail-grid .wide {
  grid-column: 1 / -1;
}

dt {
  color: var(--silver);

  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;

  color: var(--parchment);

  font-size: 1.12rem;
}

/* =========================
   FEATURES
========================= */

.info-band {
  padding: 72px 0 92px;
}

/* =========================
   INSTALL BAND
========================= */

.install-band {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 420px);

  gap: 42px;

  align-items: center;

  margin: 0 auto;

  width: min(1120px, calc(100% - 32px));

  padding: 24px 0 84px;
}

.install-copy p {
  color: var(--moon);
  line-height: 1.8;
}

.install-card {
  display: grid;
  gap: 16px;

  border: 1px solid rgba(214, 173, 84, 0.22);
  border-radius: 12px;

  padding: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  box-shadow:
    0 18px 60px rgba(0,0,0,0.35);

  backdrop-filter: blur(10px);
}

.install-stat {
  display: grid;
  gap: 6px;

  padding-bottom: 14px;

  border-bottom: 1px solid var(--line);
}

.install-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.install-label {
  color: var(--gold);

  font-size: 0.74rem;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.install-stat strong {
  color: white;

  font-family: Georgia, Cambria, "Times New Roman", serif;

  font-size: 1.1rem;

  line-height: 1.4;
}

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

.feature-grid article {
  padding: 24px;
}

.feature-grid p {
  margin: 0;

  color: var(--moon);

  line-height: 1.7;
}

/* =========================
   SUPPORT
========================= */

.support-hero {
  padding: 72px 0 42px;
}

.support-hero h1 {
  max-width: 14ch;
}

.support-layout {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  padding: 18px 0 92px;
}

.support-panel {
  padding: 26px;
}

.support-panel h2 {
  font-size: 1.8rem;
}

.support-panel h3 {
  margin-top: 22px;
  font-size: 1.08rem;
}

.support-panel code {
  border: 1px solid var(--line);
  border-radius: 6px;

  padding: 2px 6px;

  background: rgba(0, 0, 0, 0.18);

  color: var(--parchment);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  display: flex;
  justify-content: space-between;

  gap: 16px;

  border-top: 1px solid var(--line);

  padding: 28px 0 34px;

  color: var(--silver);
}

/* =========================
   TABLET / SMALL LAPTOP
========================= */

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    width: min(100% - 24px, 760px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .experience,
  .info-band,
  .support-hero,
  .support-layout {
    width: min(100% - 24px, 760px);
  }

  .hero,
  .experience,
  .support-layout {
    grid-template-columns: 1fr;
  }

.hero {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(320px, 460px);

  gap: clamp(32px, 5vw, 72px);

  align-items: center;

  min-height: calc(100vh - 88px);

  padding: 48px 0 76px;
}

.hero-copy {
    order: 2;
  }

.promo-art {
  position: relative;

  width: 100%;
  max-width: 460px;

  justify-self: end;

  overflow: hidden;

  border: 1px solid rgba(214, 173, 84, 0.25);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

  .hero-actions {
    justify-content: center;
  }

  h1 {
    max-width: 100%;

    margin-inline: auto;

    font-size: clamp(3rem, 14vw, 5rem);
  }

  .lede {
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
  
.install-band {
  grid-template-columns: 1fr;

  text-align: center;
}

.install-card {
  max-width: 560px;

  width: 100%;

  justify-self: center;
}
}

/* =========================
   MOBILE
========================= */

@media (max-width: 460px) {
  nav,
  .hero-actions {
    width: 100%;
  }

  nav {
    flex-wrap: wrap;
  }

  nav a,
  .button {
    flex: 1;

    text-align: center;
  }

  .reading-shell,
  .daily-card {
    padding: 16px;
  }

  .filter-grid,
  .detail-grid {
    gap: 8px;
  }

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

  .card-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  blockquote {
    font-size: 1.5rem;
  }
}
