:root {
  --light-color: rgb(24, 102, 76);
  --bright-color: rgb(11, 50, 37);
  --dark-color: rgb(8, 26, 30);
  --shadow-color: rgb(20, 60, 64);
  --tint-color: rgb(5, 170, 135);
  --credits-color: rgb(11, 69, 50);
  --trollstore-color: #0188fd;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-soft: rgba(255, 255, 255, 0.8);
  --line: rgba(255, 255, 255, 0.12);
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", var(--font-stack);
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --shell: min(1120px, calc(100% - (var(--gutter) * 2)));
  --header-h: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-stack);
  color: var(--text);
  background: linear-gradient(to bottom, var(--dark-color), var(--bright-color));
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.55;
  min-height: 100vh;
  min-height: 100dvh;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior: none;
}

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

a {
  color: var(--tint-color);
  text-underline-offset: 0.18em;
}

a:hover {
  filter: brightness(110%);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--tint-color);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 100;
  border-radius: 100vh;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(1rem + var(--safe-top));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 26, 30, 0.85);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-top);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: normal;
  min-width: 0;
}

.brand-lockup img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 0.65rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--text);
  filter: none;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  background: var(--tint-color);
  color: white !important;
  border-radius: 100vh;
  box-shadow: 0 5px 20px 1px var(--shadow-color);
}

.nav-cta:hover {
  filter: brightness(110%);
}

.nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.15rem;
  height: 0.85rem;
}

.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.site-header.is-nav-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(0.325rem) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-0.325rem) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(8, 26, 30, 0.96);
}

.site-header.is-nav-open .nav-mobile {
  display: block;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile-inner {
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem 0 calc(1rem + var(--safe-bottom));
}

.nav-mobile-inner a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.95rem 0.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.nav-mobile-inner a:last-child {
  border-bottom: 0;
}

.nav-mobile-cta {
  color: var(--tint-color) !important;
  font-weight: 700 !important;
}

@media (min-width: 860px) {
  --header-h: 4.25rem;

  .brand-lockup {
    font-size: 1.15rem;
  }

  .brand-lockup img {
    width: 36px;
    height: 36px;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile,
  .site-header.is-nav-open .nav-mobile {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: start;
  overflow: hidden;
  isolation: isolate;
  min-height: auto;
  padding: 1.25rem 0 2.25rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
  width: var(--shell);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Soft Dopamine-app style light wash in the gap between copy and phone */
.hero-accent {
  position: absolute;
  left: 42%;
  top: 50%;
  width: min(42vw, 28rem);
  height: min(70%, 26rem);
  translate: -35% -50%;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      55% 65% at 40% 45%,
      rgba(90, 220, 180, 0.34) 0%,
      rgba(5, 170, 135, 0.2) 38%,
      rgba(11, 50, 37, 0) 72%
    );
  filter: blur(8px);
  opacity: 0.95;
}

.hero-device {
  display: block;
  width: clamp(96px, 28vw, 132px);
  flex-shrink: 0;
  justify-self: end;
  align-self: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero-device img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--tint-color);
  opacity: 0;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.35rem, 11vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  white-space: nowrap;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.lede {
  margin: 0.85rem 0 0;
  font-family: var(--font-stack);
  font-size: clamp(0.95rem, 3.2vw, 1.25rem);
  color: var(--text);
  max-width: 26rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  animation: rise-lede 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.15rem;
  width: auto;
  max-width: 100%;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 100vh;
  font-family: var(--font-stack);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  color: white;
  box-shadow: 0 5px 20px 1px var(--shadow-color);
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.02);
  filter: brightness(110%);
  color: white;
}

.btn:active {
  transform: scale(1);
}

.btn-primary {
  background-color: var(--tint-color);
}

.btn-ghost {
  background-color: var(--trollstore-color);
}

@media (min-width: 640px) {
  .hero-inner {
    gap: 1.25rem 1.75rem;
  }

  .hero-accent {
    left: 48%;
    width: min(46vw, 34rem);
    height: min(78%, 30rem);
    opacity: 1;
  }

  .hero-device {
    width: clamp(130px, 24vw, 180px);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 8vw, 4.25rem);
  }

  .lede {
    font-size: 1.2rem;
    max-width: 30rem;
  }

  .btn {
    min-height: 3rem;
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 860px) {
  .hero {
    min-height: min(68vh, 640px);
    min-height: min(68dvh, 640px);
    align-items: center;
    padding: 1.75rem 0 2.25rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 2rem 3rem;
    align-items: center;
  }

  .hero-accent {
    left: 50%;
    width: min(40vw, 38rem);
    height: min(85%, 34rem);
    translate: -42% -50%;
  }

  .hero-device {
    width: 100%;
    max-width: 280px;
    opacity: 0;
    transform: translateY(16px) rotate(2deg);
    animation: rise-tilt 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 8vw, 6.75rem);
  }

  .lede {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin-top: 1rem;
    max-width: 36rem;
  }

  .cta-row {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .btn {
    font-size: 15px;
  }
}

/* Sections */
.section {
  padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-stack);
  font-size: clamp(1.6rem, 4.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
  color: var(--text);
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--text);
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 400;
  opacity: 0.8;
}

.support {
  background-color: rgba(0, 0, 0, 0.2);
}

.support-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.support-row {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.support-row h3 {
  margin: 0;
  font-family: var(--font-stack);
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
}

.support-row .version {
  margin: 0;
  font-weight: 700;
  color: var(--tint-color);
  font-size: clamp(0.98rem, 3.4vw, 1.1rem);
  overflow-wrap: anywhere;
}

.support-row p:last-child {
  margin: 0;
  color: var(--text-soft);
  max-width: 46rem;
  font-size: 1rem;
  opacity: 0.85;
}

@media (min-width: 800px) {
  .support-row {
    grid-template-columns: 12rem minmax(12rem, 17rem) minmax(0, 1fr);
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.6rem 0;
  }
}

.get-started {
  background: transparent;
}

.guide-list {
  display: grid;
  gap: 0.85rem;
}

.guide-link {
  position: relative;
  display: grid;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--text);
  padding: 1.15rem 2.75rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 69, 50, 0.45);
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.guide-link:hover {
  transform: scale(1.02);
  filter: brightness(110%);
  color: var(--text);
}

.guide-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tint-color);
}

.guide-title {
  font-family: var(--font-stack);
  font-size: clamp(1.15rem, 4.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: normal;
}

.guide-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  opacity: 0.85;
}

.guide-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--tint-color);
  pointer-events: none;
}

@media (min-width: 720px) {
  .guide-link {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: baseline;
    padding: 1.25rem 3rem 1.25rem 1.35rem;
  }

  .guide-kicker {
    grid-row: span 2;
  }

  .guide-title,
  .guide-desc {
    grid-column: 2;
  }
}

.about {
  background-color: rgba(0, 0, 0, 0.2);
}

.about-layout {
  display: grid;
  gap: 1.75rem;
}

.link-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.link-stack a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  min-width: 0;
}

.link-stack a:hover {
  color: var(--tint-color);
  filter: none;
}

.link-stack .muted {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 640px) {
  .link-stack a {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem 1rem;
    padding: 1.1rem 0;
    font-size: 1.05rem;
  }

  .link-stack .muted {
    font-size: 0.95rem;
  }
}

.facts {
  display: grid;
  gap: 1.35rem;
}

.facts h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-stack);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.facts p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  opacity: 0.85;
}

@media (min-width: 800px) {
  .about-layout {
    gap: 2rem;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding-top: 0.5rem;
  }
}

.ecosystem {
  background: transparent;
  padding-block: clamp(1.5rem, 4vw, 2.75rem);
}

.ecosystem-inner {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

.ecosystem-device {
  width: min(100%, 168px);
  margin-inline: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.ecosystem-device img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(38vh, 320px);
  margin-inline: auto;
}

@media (min-width: 800px) {
  .ecosystem-inner {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
    gap: 1.75rem 2.5rem;
  }

  .ecosystem .section-head {
    margin-bottom: 0;
  }

  .ecosystem-device {
    width: 100%;
    max-width: 220px;
    margin-inline: 0;
    justify-self: end;
  }

  .ecosystem-device img {
    max-height: min(52vh, 440px);
  }
}

.caution h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-stack);
  font-size: clamp(1.25rem, 4.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
}

.caution p {
  margin: 0;
  max-width: 52rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  opacity: 0.85;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 calc(1.5rem + var(--safe-bottom));
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: grid;
  gap: 0.85rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.footer-brand:hover {
  filter: none;
  color: var(--text);
}

.footer-brand img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-brand strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--text-soft);
  filter: none;
}

.footer-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-note a:hover {
  color: var(--tint-color);
  filter: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-lede {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 0.5;
    transform: none;
  }
}

@keyframes rise-tilt {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .eyebrow,
  .hero h1,
  .lede,
  .cta-row,
  .hero-device {
    animation: none !important;
  }

  .eyebrow,
  .hero h1,
  .cta-row,
  .hero-device {
    opacity: 1;
    transform: none;
  }

  .lede {
    opacity: 0.5;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Content pages */
.breadcrumbs {
  padding: 0.85rem 0 0;
  border-bottom: 1px solid transparent;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--tint-color);
  filter: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-soft);
}

.compare-table {
  display: grid;
  gap: 0;
  margin: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.compare-row.compare-head {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding-top: 0.5rem;
}

.compare-row > span:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .compare-row {
    grid-template-columns: 5rem 8rem minmax(0, 1fr);
    align-items: baseline;
  }

  .compare-row > span:last-child {
    grid-column: auto;
  }
}

.prose code {
  font-size: 0.9em;
  color: var(--tint-color);
  word-break: break-all;
}

.page-hero {
  padding: clamp(1.75rem, 5vw, 3rem) 0 clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-stack);
  font-size: clamp(1.85rem, 6vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
}

.page-lede {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 3.2vw, 1.2rem);
  line-height: 1.5;
}

.page-cta {
  opacity: 1;
  animation: none;
  margin-top: 1.35rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: clamp(1.25rem, 4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.minor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.minor-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}

.matrix {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.matrix-block {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.matrix-block:last-child {
  border-bottom: 1px solid var(--line);
}

.matrix-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.matrix-block .version {
  margin: 0 0 0.55rem;
  color: var(--tint-color);
  font-weight: 700;
}

.matrix-note {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.device-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.device-list li + li {
  margin-top: 0.25rem;
}

.verify-note {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 46rem;
}

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--tint-color);
  background: rgba(5, 170, 135, 0.08);
  color: var(--text-soft);
  font-size: 0.98rem;
}

.callout.warn {
  border-left-color: #e8b84a;
  background: rgba(232, 184, 74, 0.08);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.related-links a {
  font-weight: 700;
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--tint-color);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.65rem 0 0.35rem;
  color: var(--text-soft);
}

.release-block {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.release-block .version {
  margin: 0.35rem 0 0.85rem;
  color: var(--tint-color);
  font-weight: 700;
}

@media (min-width: 800px) {
  .matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
  }

  .matrix-block {
    border-top: 1px solid var(--line);
  }
}
