/* Form Plugins for WordPress: design system */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 650 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #06131c;
  --ink-2: #0c2230;
  --ink-3: #163447;
  --sea: #1fb8a8;
  --sea-bright: #3de0ce;
  --sea-text: #0a6b62; /* AA text on light surfaces */
  --sea-dim: rgba(31, 184, 168, 0.14);
  --sand: #f3f1eb;
  --paper: #faf9f6;
  --line: rgba(6, 19, 28, 0.1);
  --line-strong: rgba(6, 19, 28, 0.18);
  --text: #122433;
  --muted: #4a5d6a; /* darkened for AA on sand/paper */
  --white: #ffffff;
  --gold: #8a5a12; /* AA star/rating text on light surfaces */
  --danger: #c45c4a;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(6, 19, 28, 0.18);
  --max: 1120px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(31, 184, 168, 0.08), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(212, 162, 76, 0.06), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--sea-text);
}

:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sea);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* --- Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 14rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--sea-bright), var(--sea) 55%, #0e8f84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px 6px 7px 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  border-top-width: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--sea-bright);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-2);
  color: var(--sea-bright);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--sea);
  color: var(--ink);
  background: var(--sea-dim);
}

/* --- Hero --- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 7rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 70% at 85% 35%, rgba(31, 184, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(212, 162, 76, 0.12), transparent 50%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #0d3540 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(255, 255, 255, 0.03) 47px,
      rgba(255, 255, 255, 0.03) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(255, 255, 255, 0.025) 47px,
      rgba(255, 255, 255, 0.025) 48px
    );
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
}

.hero-inner {
  max-width: 36rem;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: -8%;
  width: min(52vw, 34rem);
  transform: translateY(-50%);
  opacity: 0;
  animation: rise 1s var(--ease) 0.35s forwards;
  pointer-events: none;
}

.hero-panel {
  padding: 1.75rem 2rem 2rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 0;
  border-radius: 20px 0 0 20px;
  box-shadow: -24px 30px 80px rgba(0, 0, 0, 0.28);
  animation: panel-drift 10s var(--ease) infinite alternate;
}

.hero-panel-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero-panel-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-panel-bar span:first-child {
  background: rgba(61, 224, 206, 0.75);
}

.hero-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-field {
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-field.wide {
  grid-column: 1 / -1;
  height: 3.1rem;
}

.hero-field.tall {
  grid-column: 1 / -1;
  height: 6rem;
}

.hero-field.accent {
  grid-column: 1 / -1;
  height: 3rem;
  background: linear-gradient(90deg, rgba(31, 184, 168, 0.5), rgba(61, 224, 206, 0.28));
  border-color: rgba(61, 224, 206, 0.3);
}

@keyframes panel-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

@media (max-width: 860px) {
  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 28rem;
    margin-top: 2.5rem;
    transform: none;
  }

  .hero-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(243, 241, 235, 0.78);
  font-size: 1.05rem;
  max-width: 32rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

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

.page-hero {
  padding: 5.5rem 0 3rem;
  background:
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 70%, #134455 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 85% 20%, rgba(31, 184, 168, 0.25), transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.03) 39px,
      rgba(255, 255, 255, 0.03) 40px
    );
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea-bright);
  margin: 0 0 0.9rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: rgba(243, 241, 235, 0.72);
  font-size: 1.08rem;
}

.page-hero .updated {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(243, 241, 235, 0.72);
}

/* --- Sections --- */
section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.band-ink {
  background: var(--ink);
  color: var(--white);
}

.band-ink .section-head h2 {
  color: var(--white);
}

.band-ink .section-head p {
  color: rgba(243, 241, 235, 0.78);
}

.band-sand {
  background: var(--sand);
}

/* --- Verdict --- */
.verdict {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}

@media (max-width: 800px) {
  .verdict {
    grid-template-columns: 1fr;
  }
}

.verdict-main {
  padding: 2rem 2.1rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, var(--ink-2), var(--ink)),
    var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.verdict-main::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -60px;
  background: radial-gradient(circle, rgba(31, 184, 168, 0.35), transparent 65%);
  pointer-events: none;
}

.verdict-main h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  position: relative;
}

.verdict-main p {
  margin: 0;
  color: rgba(243, 241, 235, 0.78);
  position: relative;
}

.verdict-main strong {
  color: var(--sea-bright);
}

.verdict-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.stat.highlight {
  background: linear-gradient(160deg, #e8fffb, #d4f7f2);
  border-color: rgba(31, 184, 168, 0.35);
}

.stat.highlight .stat-value {
  color: var(--sea-text);
}

/* --- Key facts (quotable) --- */
.key-facts {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.key-facts h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.key-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}

.key-facts dl > div {
  min-width: 0;
}

.key-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.key-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.key-facts a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-3);
}

.key-facts a:hover {
  color: var(--sea-text);
}

@media (max-width: 800px) {
  .key-facts dl {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .key-facts dl {
    grid-template-columns: 1fr;
  }
}

/* --- Table --- */
.table-scroll {
  overflow-x: auto;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 40px rgba(6, 19, 28, 0.05);
}

table.rankings {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.95rem;
}

table.rankings th,
table.rankings td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.rankings th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(6, 19, 28, 0.03);
  font-weight: 700;
}

table.rankings tbody tr {
  transition: background 0.2s var(--ease);
}

table.rankings tbody tr:hover {
  background: rgba(31, 184, 168, 0.05);
}

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

table.rankings tr.is-top {
  background: linear-gradient(90deg, rgba(31, 184, 168, 0.1), rgba(31, 184, 168, 0.02));
}

.rank-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--muted);
}

tr.is-top .rank-num {
  color: var(--sea-text);
}

.plugin-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.plugin-link:hover {
  color: var(--sea-text);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

/* --- Criteria --- */
.criteria {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 960px) {
  .criteria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .criteria {
    grid-template-columns: 1fr;
  }
}

.criterion {
  padding: 1.4rem 1.25rem;
  border-top: 3px solid var(--sea);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.criterion-weight {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sea-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.criterion h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.criterion p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- Plugin reviews --- */
.plugin {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.plugin:first-of-type {
  padding-top: 0;
}

.plugin:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 640px) {
  .plugin {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.plugin-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--muted);
}

.plugin.is-winner .plugin-rank {
  color: var(--sea-text);
}

.plugin-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

.plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sea-dim);
  color: var(--sea-text);
}

.plugin.is-winner {
  position: relative;
}

.plugin-body p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

.plugin-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

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

.plugin-cols h4 {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.plugin-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plugin-cols li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.25rem;
  font-size: 0.95rem;
}

.plugin-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.pros li::before {
  background: var(--sea);
}

.cons li::before {
  background: var(--danger);
}

/* --- Guide cards (interaction: navigation) --- */
.guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 700px) {
  .guides {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  display: block;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.guide-card:hover {
  border-color: var(--sea);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6, 19, 28, 0.08);
  color: inherit;
}

.guide-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea-text);
  margin-bottom: 0.55rem;
}

.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- FAQ --- */
.faq {
  max-width: 44rem;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ink);
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sea-text);
  font-weight: 500;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0.85rem 0 0.25rem;
  color: var(--muted);
}

/* --- CTA band --- */
.cta-band {
  padding: 4rem 0;
  background:
    linear-gradient(120deg, var(--ink) 0%, #0f3a42 55%, #14605a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(61, 224, 206, 0.28), transparent 65%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  position: relative;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  max-width: 18ch;
  line-height: 1.1;
}

.cta-inner p {
  margin: 0;
  color: rgba(243, 241, 235, 0.86);
  max-width: 36rem;
}

/* --- Content pages --- */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 1.65rem;
  margin: 2.75rem 0 0.85rem;
  color: var(--ink);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--text);
}

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

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

.callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8fffb, #f3f1eb);
  border-left: 4px solid var(--sea);
}

.callout strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 0 1rem 3.25rem;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--sea-text);
  font-size: 1.1rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: rgba(243, 241, 235, 0.78);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.site-footer h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(243, 241, 235, 0.72);
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: rgba(243, 241, 235, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sea-bright);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
  max-width: 52rem;
  font-size: 0.82rem;
  color: rgba(243, 241, 235, 0.72);
}

.footer-legal p {
  margin: 0 0 0.75rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-trademark {
  line-height: 1.55;
  color: rgba(243, 241, 235, 0.78);
}

.footer-trademark strong {
  color: rgba(243, 241, 235, 0.92);
  font-weight: 700;
}

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* --- Utility --- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-sea { color: var(--sea-text); }

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.inline-links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-3);
}

.inline-links a:hover {
  color: var(--sea-text);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(243, 241, 235, 0.78);
}

.breadcrumb a {
  color: rgba(243, 241, 235, 0.86);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--sea-bright);
}

.breadcrumb-sep {
  color: rgba(243, 241, 235, 0.55);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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