/* Bay of Biscay Sailing — hotel guide */

:root {
  --bg: #f5f8fa;
  --bg-soft: #eef3f6;
  --surface: #ffffff;
  --ink: #1a2d3a;
  --ink-soft: #4a6270;
  --muted: #6b8391;
  --line: #d5e0e7;
  --accent: #1f6b7a;
  --accent-deep: #164e59;
  --accent-soft: #d8eef1;
  --sand: #f3ebe2;
  --gold: #9a7b4f;
  --radius: 1.1rem;
  --radius-sm: 0.65rem;
  --shadow: 0 12px 40px rgb(26 45 58 / 8%);
  --container: min(1120px, calc(100% - 2.5rem));
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  z-index: 1000;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--accent-deep);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

.brand__text {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand__tag {
  font-size: 0.65rem;
  color: var(--accent-deep);
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 500;
  line-height: 1.25;
}

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

.nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -0.3rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  position: relative;
  z-index: 70;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle__bars {
  position: relative;
  width: 1.15rem;
  height: 0.85rem;
  display: block;
}

.nav-toggle__bars span {
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 99px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.25s var(--ease),
    top 0.3s var(--ease);
}

.nav-toggle__bars span:nth-child(1) {
  top: 0;
}
.nav-toggle__bars span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle__bars span:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgb(31 107 122 / 35%);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: calc(var(--header-h) + 1.25rem) 1.5rem 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.45s var(--ease),
    visibility 0.45s;
}

.nav-mobile.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  width: min(28rem, 100%);
  margin-inline: auto;
}

.nav-mobile a {
  display: block;
  padding: 1rem 0.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border-bottom: 1px solid var(--line);
  transform: translateY(-0.6rem);
  opacity: 0;
  transition:
    color 0.25s var(--ease),
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease);
}

.nav-mobile.is-open a {
  transform: none;
  opacity: 1;
}

.nav-mobile.is-open a:nth-child(1) {
  transition-delay: 0.08s;
}
.nav-mobile.is-open a:nth-child(2) {
  transition-delay: 0.12s;
}
.nav-mobile.is-open a:nth-child(3) {
  transition-delay: 0.16s;
}
.nav-mobile.is-open a:nth-child(4) {
  transition-delay: 0.2s;
}
.nav-mobile.is-open a:nth-child(5) {
  transition-delay: 0.24s;
}
.nav-mobile.is-open a:nth-child(6) {
  transition-delay: 0.28s;
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  color: var(--accent-deep);
}

body.nav-open {
  overflow: hidden;
}

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

  .nav-toggle {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .nav-mobile,
  .nav-mobile a,
  .nav-toggle__bars span {
    transition: none;
  }
}

/* Hero — mobile / tablet / desktop */
.hero {
  position: relative;
  overflow: clip;
  text-align: center;
  padding: 0.55rem 0.75rem 0.5rem;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Hero photo legibility wash (intentional; not page atmosphere) */
.hero__veil {
  position: absolute;
  inset: 0;
  /* deslop-ignore-next-line 06 */
  background: linear-gradient(
      180deg,
      rgb(245 248 250 / 72%) 0%,
      rgb(232 241 244 / 78%) 45%,
      rgb(220 234 238 / 86%) 100%
    ),
    linear-gradient(180deg, rgb(31 107 122 / 18%), rgb(22 78 89 / 28%)); /* deslop-ignore 06 */
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin-inline: auto;
  color: var(--ink);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(31 107 122 / 18%);
  color: var(--accent-deep);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 100%;
}

.hero__badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.hero__title {
  margin: 0 auto 0.25rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.hero__lead {
  margin: 0 auto;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.3;
  overflow: hidden;
}

.hero__trust {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(213 224 231 / 90%);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
}

.hero__trust svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--accent);
  flex-shrink: 0;
}

/* Tablet / intermediate */
@media (min-width: 640px) and (max-width: 859px) {
  .hero {
    display: grid;
    place-items: center;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .hero__badge {
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .hero__title {
    margin-bottom: 0.65rem;
    max-width: 20ch;
    font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.05rem);
    line-height: 1.15;
  }

  .hero__lead {
    margin-bottom: 1.15rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero__trust {
    display: flex;
    gap: 0.45rem 0.7rem;
  }

  .hero__trust li {
    padding: 0.35rem 0.65rem;
    font-size: 0.74rem;
  }
}

/* Desktop */
@media (min-width: 860px) {
  .hero {
    display: grid;
    place-items: center;
    padding: 2.125rem 1.5rem 2.25rem;
  }

  .hero__badge {
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero__title {
    margin-bottom: 0.875rem;
    max-width: 18ch;
    font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.65rem);
    line-height: 1.12;
  }

  .hero__lead {
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    line-height: 1.6;
    display: block;
    overflow: visible;
  }

  .hero__trust {
    display: flex;
    gap: 0.55rem 1rem;
  }

  .hero__trust li {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

.hotel__logo {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  flex-shrink: 0;
}

/* Mobile: keep first hotel card above the fold */
@media (max-width: 639px) {
  #selection.section {
    padding-block: 0.85rem 2.5rem;
  }

  #selection .section__head {
    margin-bottom: 0.75rem;
  }

  #selection .section__title {
    margin-bottom: 0;
    font-size: 1.25rem;
  }

  #selection .section__text {
    display: none;
  }

  .hotel {
    gap: 0.65rem;
    padding: 0.85rem 0.85rem 0.85rem;
  }

  .hotel__logo {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
  }

  .hotel__desc {
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
  }

  .hotel__btn p {
    min-height: 2.5rem;
    width: 100%;
  }
}

/* Tablet selection spacing */
@media (min-width: 640px) and (max-width: 859px) {
  #selection.section {
    padding-block: 1.5rem 3rem;
  }

  #selection .section__head {
    margin-bottom: 1.25rem;
  }

  #selection .section__title {
    font-size: 1.55rem;
  }

  #selection .section__text {
    display: block;
    font-size: 0.92rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible,
.cookie__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

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

.btn--accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

/* Sections */
.section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section--soft {
  background: var(--bg-soft);
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 2.8rem);
}

.section__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__text {
  margin: 0;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* Ranking */
.ranking {
  display: grid;
  gap: 1rem;
}

.hotel {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  padding-inline-end: clamp(2.8rem, 4vw, 3.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.hotel:hover {
  border-color: rgb(31 107 122 / 35%);
  transform: translateY(-2px);
}

.hotel__rank {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--bg-soft);
  color: var(--ink);
  line-height: 1;
}

.hotel--top .hotel__rank {
  background: var(--accent);
  color: #fff;
}

.hotel__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding-inline-end: 0.25rem;
}



.hotel__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 780px) {
  .hotel__logo {
    width: 88px;
    height: 88px;
  }
}

.hotel__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  min-width: 0;
}

.hotel__score {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(0.95rem, 0.7rem + 0.8vw, 1.85rem);
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hotel__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hotel__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  max-width: 58ch;
}

.hotel__cta {
  display: flex;
  align-items: stretch;
}

.hotel__btn {
  position: relative;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.hotel__btn p {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.hotel__btn:hover {
  opacity: 0.8;
}

.hotel__btn a,
.hotel__btn a:link,
.hotel__btn a:visited,
.hotel__btn a:hover,
.hotel__btn a:active,
.hotel__btn a:focus,
.hotel__btn a:focus-visible {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -5;
  transform: translate(-50%);
}

.hotel__btn p {
  position: relative;
  z-index: 2;
  margin: 0;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 780px) {
  .hotel {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 1.5rem;
  }

  .hotel__top {
    grid-column: 1;
  }

  .hotel__desc {
    grid-column: 1;
  }

  .hotel__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-items: center;
  }

  .hotel__btn p {
    width: auto;
    min-width: 10.5rem;
  }
}

/* Method */
.method {
  display: grid;
  gap: 1rem;
}

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

.method__item {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.method__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.method__item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.method__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Footer — content-rich, reference-style */
.site-footer {
  padding: 3.125rem 0 5.5rem;
  background: #152632;
  color: rgb(220 232 238 / 82%);
}

.site-footer__container {
  display: grid;
  gap: 1.75rem;
}

.site-footer__notice {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgb(31 107 122 / 22%);
  border: 1px solid rgb(31 107 122 / 35%);
  color: rgb(232 244 247 / 92%);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer__transparency-title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__item + .site-footer__item {
  margin-top: 1.25rem;
}

.site-footer__item h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgb(255 255 255 / 92%);
}

.site-footer__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgb(220 232 238 / 78%);
}

.site-footer__help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
}

.site-footer__help-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 6%);
  color: rgb(210 230 235 / 92%);
  font-size: 0.8rem;
  font-weight: 500;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.site-footer__help-links a:hover,
.site-footer__help-links a:focus-visible {
  background: rgb(31 107 122 / 35%);
  border-color: rgb(31 107 122 / 55%);
  color: #fff;
}

.site-footer__divider {
  height: 1px;
  background: rgb(255 255 255 / 12%);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 55%);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgb(255 255 255 / 78%);
  font-size: 0.88rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

/* Cookie */
.cookie {
  position: fixed;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 80;
  max-width: 420px;
  margin-inline-start: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgb(21 38 50 / 18%);
  padding: 1.15rem 1.2rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease);
}

.cookie.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.cookie p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie__btn {
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
}

.cookie__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Legal / content pages */
.page-hero {
  padding-block: 3.5rem 1.5rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.page-section {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 6vw, 5.5rem);
}

.page-section__head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-section__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
}

.feature-grid,
.help-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.help-card {
  padding: 1.35rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card h2,
.help-card h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card p,
.help-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.help-card__link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.help-card__link:hover,
.help-card__link:focus-visible {
  color: var(--accent);
}

.nav a.is-active {
  color: var(--ink);
}

.prose {
  padding-bottom: 4rem;
  max-width: 68ch;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

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

.prose ul {
  padding-inline-start: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.prose a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.prose a:hover,
.prose a:focus-visible {
  color: var(--accent);
}

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

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