/* RallyWire public site — plain, hand-authored CSS.
   Tokens mirror the "Trailhead Pine" dark editorial design system
   (see DESIGN.md in the RallyWire application repo). No build-time CSS
   framework: every class below is written and used deliberately. */

:root {
  --pine: #27413b;
  --sand: #cbb89d;
  --clay: #7e5837;
  --moss: #5f7d57;
  --river: #3f7286;
  --ember: #b96e36;

  --pine-deep: #141f1b;
  --pine-panel: #2a4438;
  --pine-bright: #456e5d;
  --pine-light: #b7d4c1;
  --clay-light: #d9b28e;
  --moss-light: #afd3a6;
  --river-light: #9dcedd;
  --ember-light: #efbc91;
  --mist: #c9d4cb;
  --haze: #93a599;

  --radius-ui: 10px;
  --shadow-terrain: 0 24px 80px rgba(24, 37, 34, 0.18);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05);

  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-body: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;

  --container-max: 80rem;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--mist);
  background:
    radial-gradient(circle at 12% 0%, rgba(203, 184, 157, 0.1), transparent 42%),
    radial-gradient(circle at 88% 6%, rgba(95, 125, 87, 0.14), transparent 40%),
    linear-gradient(180deg, #182721 0%, #141f1b 45%, #101916 100%);
  position: relative;
}

/* Procedural dot texture — deliberately not a photographic background, so it
   never crops on tall mobile viewports (see DESIGN.md: "The Dark Ground Rule"). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    rgba(203, 184, 157, 0.16) 0,
    rgba(203, 184, 157, 0.16) 1px,
    transparent 1px,
    transparent 18px
  );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
}

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

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

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
select {
  font: inherit;
}

/* Layout ------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 32px;
  }
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page-body {
  flex: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 20px 64px;
}

@media (min-width: 768px) {
  .page-body {
    padding: 0 32px 96px;
  }
}

.section {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .section {
    margin-top: 48px;
  }
}

.section--lg {
  margin-top: 48px;
}

@media (min-width: 768px) {
  .section--lg {
    margin-top: 64px;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-light);
}

/* Header --------------------------------------------------------------- */

.site-header {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .site-header {
    padding: 28px 32px;
  }
}


.brand-mark {
  display: inline-flex;
  align-items: left;
}

a.brand-mark:hover {
  background: rgba(42, 68, 56, 0.8);
}

.brand-mark img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.brand-mark--compact img {
  height: 48px;
}

.header-home-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--haze);
  transition: color 0.2s ease;
}

.header-home-link:hover {
  color: var(--pine-light);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-ui);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--pine-light);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--pine-bright);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
  background: rgba(69, 110, 93, 0.9);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(183, 212, 193, 0.25);
  color: var(--pine-light);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--onlight {
  background: #fff;
  color: var(--pine);
}

.btn--onlight:hover {
  background: var(--sand);
}

.btn--onlight-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--onlight-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  font-weight: 500;
  color: var(--haze);
  text-underline-offset: 4px;
  text-decoration: underline;
  text-decoration-color: rgba(147, 165, 153, 0.4);
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--pine-light);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: 20px;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 0.94fr 1.06fr;
    gap: 64px;
    padding-block: 32px;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.97;
  font-size: 3rem;
  letter-spacing: -0.035em;
  color: var(--pine-light);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__title em {
  font-style: normal;
  color: var(--clay-light);
}

.hero__copy {
  margin-top: 28px;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 2rem;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero__meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 0.75rem;
}

.hero__meta strong {
  font-weight: 600;
  color: var(--clay-light);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-height: 340px;
  padding: 24px;
  box-shadow: var(--shadow-terrain);
  background: linear-gradient(135deg, #61796c, #314b43 55%, #1b2824);
}

@media (min-width: 640px) {
  .hero-photo {
    min-height: 500px;
    padding: 32px;
  }
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.55), transparent 55%, rgba(2, 6, 23, 0.1));
}

.hero-photo__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(39, 65, 59, 0.65);
  padding: 16px;
  color: #fff;
  backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .hero-photo__caption {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }
}

.hero-photo__caption p:first-child {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(203, 184, 157, 0.8);
}

.hero-photo__caption p:last-child {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Cards -------------------------------------------------------------- */

.card-grid {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  height: 100%;
  border-radius: var(--radius-ui);
  border: 1px solid;
  padding: 24px;
}

@media (min-width: 768px) {
  .card {
    padding: 28px;
  }
}

.card--sand {
  border-color: rgba(203, 184, 157, 0.45);
  background: #374d40;
}

.card--moss {
  border-color: rgba(95, 125, 87, 0.45);
  background: #344e3e;
}

.card--river {
  border-color: rgba(63, 114, 134, 0.45);
  background: #2e4c46;
}

.card--ember {
  border-color: rgba(185, 110, 54, 0.45);
  background: #444c38;
}

.card--clay {
  border-color: rgba(126, 88, 55, 0.45);
  background: #394838;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pine-light);
}

.card p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.75rem;
}

.card__list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(183, 212, 193, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.card__list li {
  display: flex;
  gap: 12px;
}

.card__list li::before {
  content: "";
  margin-top: 8px;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--clay-light);
}

.card__icon {
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  border-radius: var(--radius-ui);
  background: rgba(95, 125, 87, 0.25);
  color: var(--moss-light);
}

.card--river .card__icon {
  background: rgba(63, 114, 134, 0.25);
  color: var(--river-light);
}

.card--clay .card__icon {
  background: rgba(126, 88, 55, 0.25);
  color: var(--clay-light);
}

.card__icon svg {
  height: 24px;
  width: 24px;
}

/* Chapter / feature-tour sections --------------------------------------- */

.chapter-band {
  margin-top: 40px;
  overflow: hidden;
  border-radius: var(--radius-ui);
  padding: 28px 20px;
  color: #fff;
  box-shadow: var(--shadow-terrain);
  background:
    radial-gradient(circle at 88% 84%, rgba(239, 222, 190, 0.28), transparent 36%),
    linear-gradient(135deg, #3d4a3a 50%, #7e5837 100%);
}

@media (min-width: 768px) {
  .chapter-band {
    margin-top: 48px;
    padding: 36px 32px;
  }
}

.chapter-band__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .chapter-band__grid {
    grid-template-columns: 0.76fr 1.24fr;
    align-items: center;
    gap: 40px;
  }
}

.chapter-band h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

@media (min-width: 768px) {
  .chapter-band h2 {
    font-size: 2.25rem;
  }
}

.chapter-band p {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.chapter-band__tagline {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sand);
}

.chapter-band figure {
  overflow: hidden;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
  box-shadow: var(--shadow-terrain);
}

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

/* Features section (landing page) -------------------------------------- */

.feature-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(183, 212, 193, 0.2);
  background: var(--pine-panel);
  padding: 20px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feature-cta:hover {
  border-color: rgba(183, 212, 193, 0.4);
  background: rgba(42, 68, 56, 0.7);
}

@media (min-width: 768px) {
  .feature-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
  }
}

.feature-cta__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pine-light);
}

.feature-cta__copy {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.5rem;
  max-width: 42rem;
}

.feature-cta__action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pine-light);
}

@media (min-width: 768px) {
  .feature-cta__action {
    margin-top: 0;
  }
}

.feature-cta:hover .feature-cta__action svg {
  transform: translateX(4px);
}

.feature-cta__action svg {
  height: 16px;
  width: 16px;
  transition: transform 0.3s ease;
}

/* Pricing ----------------------------------------------------------------- */


.pricing-banner {
  margin-top: 28px;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(185, 110, 54, 0.45);
  background: #444c38;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .pricing-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}


.pricing-banner .btn {
  align-self: flex-start;
  flex: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .pricing-banner .btn {
    align-self: auto;
  }
}

.pricing-banner strong {
  color: var(--pine-light);
  font-weight: 600;
}

.pricing-banner p {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.pricing-card .price {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--pine-light);
}

.pricing-card .price__amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pricing-card .price__period {
  padding-bottom: 4px;
  font-size: 0.875rem;
}

.pricing-note {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--haze);
}

.pricing-note a {
  color: var(--pine-light);
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* Security band ------------------------------------------------------- */

.security-band {
  margin-top: 48px;
  overflow: hidden;
  border-radius: var(--radius-ui);
  background: var(--pine-bright);
  padding: 28px 24px;
  color: #fff;
  box-shadow: var(--shadow-terrain);
  background-image:
    radial-gradient(circle at 78% 28%, rgba(207, 226, 210, 0.12), transparent 26%),
    radial-gradient(circle at 1px 1px, rgba(239, 222, 190, 0.22) 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-color: var(--pine-bright);
  background-size: auto, 42px 42px, 42px 42px, 42px 42px;
}

@media (min-width: 768px) {
  .security-band {
    padding: 32px 36px;
  }
}

.security-band__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .security-band__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.security-band h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .security-band h2 {
    font-size: 1.875rem;
  }
}

.security-band > .security-band__grid > div > p {
  margin-top: 12px;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.security-band__link {
  margin-top: 16px;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sand);
  text-decoration: underline;
  text-decoration-color: rgba(203, 184, 157, 0.4);
  text-underline-offset: 4px;
}

.security-band__link:hover {
  color: #fff;
}

.security-list {
  display: grid;
  gap: 8px;
}

@media (min-width: 640px) {
  .security-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.security-list li::before {
  content: "";
  margin-top: 8px;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
}

/* Closing section ------------------------------------------------------ */

.closing-band {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  overflow: hidden;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(183, 212, 193, 0.2);
  background: var(--pine-panel);
  padding: 32px 24px;
  box-shadow: var(--shadow-terrain);
}

@media (min-width: 768px) {
  .closing-band {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 48px 40px;
  }
}

.closing-band h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pine-light);
}

@media (min-width: 768px) {
  .closing-band h2 {
    font-size: 2.25rem;
  }
}

.closing-band p {
  margin-top: 16px;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
}

.closing-band__tagline {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pine-light);
}

.closing-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-height: 240px;
  padding: 20px;
  background: linear-gradient(135deg, #78836a, #4b634f 55%, #263c34);
}

.closing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.55), transparent 55%, rgba(2, 6, 23, 0.1));
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--haze);
}

@media (min-width: 768px) {
  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px 24px;
  }
}

.site-footer a {
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--pine-light);
  text-decoration: underline;
}

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

/* Reveal-on-scroll (see /js/reveal.js) ------------------------------------ */

.reveal {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* Features page ------------------------------------------------------- */

.features-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--pine-light);
  text-wrap: balance;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .features-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .features-hero h1 {
    font-size: 3.75rem;
  }
}

.features-hero__copy {
  margin-top: 24px;
  max-width: 44rem;
  font-size: 1.125rem;
  line-height: 2rem;
}

.chapter-nav {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chapter-nav a {
  border-radius: var(--radius-ui);
  border: 1px solid rgba(183, 212, 193, 0.2);
  background: var(--pine-panel);
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pine-light);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.chapter-nav a:hover {
  border-color: rgba(183, 212, 193, 0.4);
  background: rgba(42, 68, 56, 0.7);
}

.dashboard-plates {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .dashboard-plates {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: end;
  }
}

.screenshot-note {
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.5rem;
  color: var(--haze);
}

.chapter {
  margin-top: 64px;
  scroll-margin-top: 24px;
}

@media (min-width: 768px) {
  .chapter {
    margin-top: 96px;
  }
}

.chapter__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .chapter__grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: start;
  }
  .chapter--phone-left .chapter__grid {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .chapter--phone-left .chapter__text {
    order: 2;
  }
  .chapter--phone-left .chapter__phone {
    order: 1;
  }
}

.chapter__text {
  max-width: 42rem;
}

.chapter__text h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pine-light);
}

@media (min-width: 768px) {
  .chapter__text h2 {
    font-size: 2.25rem;
  }
}

.chapter__text > p {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.75rem;
}

.chapter__points {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(183, 212, 193, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.chapter__points li {
  display: flex;
  gap: 12px;
}

.chapter__points li::before {
  content: "";
  margin-top: 8px;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--clay-light);
}

.chapter__desktop {
  margin-top: 32px;
}

.desktop-plate {
  overflow: hidden;
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px;
  box-shadow: var(--shadow-terrain);
}

@media (min-width: 768px) {
  .desktop-plate {
    padding: 12px;
  }
}

.desktop-plate img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(39, 65, 59, 0.1);
  object-fit: cover;
}

.desktop-plate__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 6px 4px;
  font-size: 0.75rem;
  color: #64748b;
}

.desktop-plate__caption span:first-child {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay);
}

.desktop-plate__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(39, 65, 59, 0.25);
  padding: 4px 10px;
  font-weight: 600;
  color: var(--pine);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.desktop-plate__link:hover {
  border-color: rgba(39, 65, 59, 0.5);
  background: rgba(39, 65, 59, 0.05);
}

.desktop-plate__link svg {
  height: 14px;
  width: 14px;
}

.phone-plate {
  margin-inline: auto;
  width: 100%;
  max-width: 240px;
}

@media (min-width: 1024px) {
  .phone-plate {
    margin-inline: 0;
  }
}

.phone-plate__frame {
  overflow: hidden;
  border-radius: 26px;
  background: var(--pine);
  padding: 8px;
  box-shadow: var(--shadow-terrain);
}

.phone-plate__frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.phone-plate__caption {
  margin-top: 12px;
  padding-inline: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay-light);
}

.more-section h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pine-light);
  max-width: 40rem;
}

@media (min-width: 768px) {
  .more-section h2 {
    font-size: 2.25rem;
  }
}

.more-section > p {
  margin-top: 16px;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75rem;
}

.more-grid {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.more-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pine-light);
}

.more-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.75rem;
}

.features-closing {
  margin-top: 64px;
}

@media (min-width: 768px) {
  .features-closing {
    margin-top: 96px;
  }
}

.features-closing__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .features-closing__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.features-closing h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

@media (min-width: 768px) {
  .features-closing h2 {
    font-size: 2.25rem;
  }
}

.features-closing > .features-closing__grid > div:first-child > p {
  margin-top: 16px;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.features-closing__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.features-closing dl {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .features-closing dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

.features-closing dl > div {
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.features-closing dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(203, 184, 157, 0.9);
}

.features-closing dd {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.features-closing__links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sand);
}

.features-closing__links a {
  text-decoration: underline;
  text-decoration-color: rgba(203, 184, 157, 0.4);
  text-underline-offset: 4px;
}

.features-closing__links a:hover {
  color: #fff;
}

/* Updates page ---------------------------------------------------------- */

.updates-header {
  max-width: 64rem;
  margin-inline: auto;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .updates-header {
    margin-top: 28px;
  }
}

.updates-panel {
  margin-inline: auto;
  max-width: 64rem;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(183, 212, 193, 0.15);
  background: var(--pine-panel);
  padding: 24px;
  box-shadow: var(--shadow-terrain);
}

@media (min-width: 768px) {
  .updates-panel {
    padding: 40px;
  }
}

.updates-panel h1 {
  margin-top: 8px;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pine-light);
}

@media (min-width: 768px) {
  .updates-panel h1 {
    font-size: 2.25rem;
  }
}

.updates-panel > p {
  margin-top: 12px;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
}

.updates-panel > p.cadence {
  font-weight: 600;
}

.updates-select-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(183, 212, 193, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .updates-select-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.updates-select-row label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay-light);
}

#release-version-select {
  width: 100%;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(183, 212, 193, 0.25);
  background: var(--pine-deep);
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pine-light);
}

@media (min-width: 640px) {
  #release-version-select {
    width: auto;
  }
}

#release-version-select:focus {
  outline: none;
  border-color: var(--pine-light);
}

.release-article {
  margin-top: 32px;
}

.release-article__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .release-article__head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
}

.release-article__version {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay-light);
}

.release-article__current {
  border-radius: 999px;
  background: rgba(95, 125, 87, 0.25);
  padding: 2px 8px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--moss-light);
}

.release-article__title {
  margin-top: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pine-light);
}

.release-article__date {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--haze);
}

.release-article__summary {
  margin-top: 16px;
  max-width: 48rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
}

.release-article__highlights {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.release-article__highlights li {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.release-article__highlights li::before {
  content: "";
  margin-top: 8px;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--clay-light);
}

.updates-footer {
  margin-inline: auto;
  max-width: 64rem;
  margin-top: 32px;
}
