/* BRANQUIA Marine Systems
 *
 * Colours are the exact values used in the 2026 catalog PDF.
 * Two rules keep text readable (WCAG AA):
 *   - teal is used for small text only on white (4.7:1 there, 4.46:1 on the pale panel)
 *   - aqua is used only on navy (9.2:1 there, 1.5:1 on white)
 */

:root {
  --navy: #092e46;
  --teal: #007f91;
  --aqua: #70e3e2;
  --mist: #b8d5db;
  --slate: #557080;
  --panel: #f5f9fa;
  --line: #d8e6ea;
  --navy-line: rgba(184, 213, 219, 0.28);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 12px;
}

@font-face {
  font-family: "Lato";
  src: url("/fonts/lato-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/fonts/lato-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/fonts/lato-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/fonts/lato-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: #fff;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

[id] {
  scroll-margin-top: 6rem;
}

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

.hero :focus-visible,
.section--navy :focus-visible,
.tank :focus-visible,
.system :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999rem;
  top: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.skip:focus {
  left: 0.5rem;
}

.link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.link:hover {
  text-decoration-color: currentColor;
}

/* Catalog-style section label: "05 / Turnkey installations". On white only. */
.label {
  margin: 0 0 0.6rem;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--slate);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

/* Slash-separated lists, as on the catalog cover. */
.slashes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin-block: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slashes li:not(:last-child)::after {
  content: "/";
  margin-inline: 0.8em;
  color: var(--slate);
  font-weight: 400;
}

/* ---------- Buttons ----------
 * btn--light: for white and pale backgrounds. btn--navy: for navy backgrounds.
 * btn--solid is the stronger action (buy, subscribe, call); btn--outline is a request. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn--lg {
  padding: 0.85rem 1.4rem;
  font-size: 1.05rem;
}

.btn--solid.btn--light {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn--solid.btn--light:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.btn--outline.btn--light {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline.btn--light:hover {
  background: var(--navy);
  color: #fff;
}

.btn--solid.btn--navy {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--navy);
}

.btn--solid.btn--navy:hover {
  background: #fff;
  border-color: #fff;
}

.btn--outline.btn--navy {
  border-color: var(--aqua);
  color: var(--aqua);
}

.btn--outline.btn--navy:hover {
  background: var(--aqua);
  color: var(--navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.75rem;
}

.brand {
  flex: none;
  margin-right: auto;
}

.brand img {
  width: auto;
  height: 3.25rem;
}

.site-nav ul {
  display: flex;
  gap: 0 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  border-bottom-color: var(--mist);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
}

.nav-toggle {
  display: none;
  padding: 0.5rem 0.8rem;
  border: 2px solid var(--navy);
  border-radius: 8px;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.call {
  white-space: nowrap;
}

.call__verb {
  margin-right: 0.35em;
}

@media (max-width: 69.99rem) {
  .js .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .call {
    order: 3;
  }

  .site-nav {
    order: 4;
    flex-basis: 100%;
  }

  .js .site-nav {
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a[aria-current="page"] {
    color: var(--teal);
  }
}

@media (max-width: 35.99rem) {
  .brand img {
    height: 2.75rem;
  }

  /* Keep the number for screen readers; show only "Call" to fit a phone header. */
  .call__num {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .call__verb {
    margin-right: 0;
  }
}

/* Narrow phones: keep logo, Menu and Call on one row. */
@media (max-width: 24.99rem) {
  .site-header__in {
    gap: 0.5rem;
  }

  .brand img {
    height: 2.1rem;
  }

  .nav-toggle,
  .call {
    padding: 0.45rem 0.7rem;
  }
}

/* ---------- Home: hero ----------
 * The planted tank below the waterline. The background is the still frame;
 * js/hero.js paints the moving scene over it on the canvas. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(38rem, 94vh, 56rem);
  padding-top: 5.5rem;
  color: #fff;
  background: linear-gradient(to bottom, #092e46 0 27%, #70e3e2 27% 27.6%, #0b6f82 27.6%, #07384f 62%, #041722 100%);
}

.hero__water {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

/* A soft shadow behind the words so they stay readable over fish and light. */
.hero__shade {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(52rem, 66%);
  background: linear-gradient(90deg, rgba(4, 23, 34, 0.72), rgba(4, 23, 34, 0.45) 55%, rgba(4, 23, 34, 0));
}

/* The picture darkens at the foot and runs into the capabilities strip. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 26%;
  background: linear-gradient(rgba(4, 23, 34, 0), rgba(4, 23, 34, 0.75) 70%, #041722);
  pointer-events: none;
}

.hero__in {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.95;
  text-shadow: 0 1px 14px rgba(2, 9, 12, 0.45);
}

.hero__lede {
  max-width: 30rem;
  margin: 0 0 1.5rem;
  color: #e3f0f2;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  text-shadow: 0 1px 10px rgba(2, 9, 12, 0.55);
}

.hero .btn--outline {
  background: rgba(9, 46, 70, 0.58);
}

.hero .btn--outline:hover {
  background: var(--aqua);
}

@media (max-width: 44rem) {
  .hero {
    align-items: flex-end;
  }

  .hero__shade {
    inset: auto 0 0 0;
    width: auto;
    height: 75%;
    background: linear-gradient(0deg, rgba(4, 23, 34, 0.82), rgba(4, 23, 34, 0.5) 60%, rgba(4, 23, 34, 0));
  }

  .hero__in {
    padding-block: 1.5rem;
  }

  .hero .btn {
    flex: 1 1 auto;
  }
}

/* Home page header: it lies over the top of the hero, in white, on a dark fade.
 * It scrolls away with the picture instead of sticking to the top of the window. */
.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  padding-bottom: 2rem;
  border-bottom: 0;
  color: #fff;
  background: linear-gradient(to bottom, rgba(4, 23, 34, 0.82), rgba(4, 23, 34, 0.4) 62%, rgba(4, 23, 34, 0));
}

.home .site-header :focus-visible {
  outline-color: #fff;
}

.home .site-nav a:hover,
.home .site-nav a[aria-current="page"] {
  border-bottom-color: var(--aqua);
  color: #fff;
}

.home .nav-toggle {
  border-color: #fff;
  color: #fff;
}

.home .call {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--navy);
}

.home .call:hover {
  background: #fff;
  border-color: #fff;
}

.home .site-nav.is-open {
  margin-top: 0.5rem;
  padding: 0.25rem 1rem;
  border-radius: 8px;
  background: rgba(4, 23, 34, 0.94);
}

.home .site-nav.is-open a {
  border-bottom-color: var(--navy-line);
}

/* The strip under the hero stays dark, then fades down into the white page. */
.capabilities {
  padding-top: 1.1rem;
  background: #041722;
  color: var(--mist);
}

.capabilities .slashes li::after {
  color: var(--teal);
}

.capabilities::after {
  content: "";
  display: block;
  height: 5.5rem;
  margin-top: 1.1rem;
  background: linear-gradient(#041722, #0c3a52 30%, #fff);
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--panel {
  background: var(--panel);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section__points {
  margin-top: 1rem;
  color: var(--slate);
}

.section__more {
  margin: 1.75rem 0 0;
}

/* ---------- Care plans ---------- */

.plans {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 56rem) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.plan__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--navy);
  color: #fff;
}

.plan__name {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.plan__price {
  margin: 0;
  color: var(--aqua);
  font-weight: 700;
  white-space: nowrap;
}

.plan__price b {
  font-size: 1.5rem;
  font-weight: 900;
}

.plan__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
}

.plan__body p {
  margin: 0;
}

.plan__visits {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--teal);
  font-weight: 700;
}

.plan__body .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* One droplet per visit a month. */
.drops {
  display: inline-flex;
  gap: 0.3rem;
}

.drops i {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 0 50% 50% 50%;
  background: var(--teal);
  transform: rotate(45deg);
}

.rider {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--panel);
}

.rider h2 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.rider ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--slate);
}

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

.rider__ask {
  margin: 1.25rem 0 0;
}

/* ---------- Home: catalog index ---------- */

.index {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
  list-style: none;
}

.index li {
  border-bottom: 1px solid var(--line);
}

.index a {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: baseline;
  gap: 0.1rem 0.75rem;
  padding: 1.1rem 0.25rem;
  text-decoration: none;
}

.index a:hover {
  background: #fff;
}

.index__no {
  grid-row: span 2;
  color: var(--slate);
  font-size: 1.1rem;
  font-weight: 900;
}

.index__title {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.index__label {
  grid-column: 2;
  color: var(--slate);
  font-size: 0.95rem;
}

@media (min-width: 48rem) {
  .index a {
    grid-template-columns: 3.5rem 1fr auto;
  }

  .index__no {
    grid-row: auto;
  }

  .index__label {
    grid-column: 3;
    text-align: right;
  }
}

/* ---------- Home: sourcing ---------- */

.sourcing__in {
  display: grid;
  align-items: center;
  gap: 2rem 3.5rem;
}

@media (min-width: 52rem) {
  .sourcing__in {
    grid-template-columns: minmax(0, 24rem) 1fr;
  }
}

.sourcing__photo {
  max-width: 24rem;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--aqua);
  border-radius: var(--radius);
  background: #000;
}

/* The swimming discus. The photo has a black ground, so "screen" drops the black
 * and leaves the fish floating in the dark water behind it. */
.swim {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  background: radial-gradient(120% 95% at 60% 45%, #0b3a55 0%, #06202f 48%, #02090c 100%);
}

.swim__rays i {
  position: absolute;
  top: -15%;
  left: 12%;
  width: 22%;
  height: 135%;
  background: linear-gradient(to bottom, rgba(112, 227, 226, 0.2), rgba(112, 227, 226, 0) 78%);
  filter: blur(9px);
  transform: skewX(-16deg);
  animation: swim-ray 9s ease-in-out infinite alternate;
}

.swim__rays i:nth-child(2) {
  left: 46%;
  width: 13%;
  animation-duration: 12s;
  animation-delay: -4s;
}

.swim__rays i:nth-child(3) {
  left: 72%;
  width: 24%;
  animation-duration: 14s;
  animation-delay: -7s;
}

.swim__drift {
  position: absolute;
  inset: 5%;
  mix-blend-mode: screen;
  animation: swim-drift 21s ease-in-out infinite alternate;
}

.swim__bob {
  display: block;
  width: 100%;
  height: 100%;
  animation: swim-bob 7s ease-in-out infinite alternate;
}

.swim__bob img {
  width: 100%;
  height: 100%;
  transform-origin: 78% 55%;
  animation: swim-tail 1.9s ease-in-out infinite alternate;
}

.swim__snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes swim-ray {
  from { opacity: 0.25; transform: skewX(-16deg) translateX(-18%); }
  to { opacity: 1; transform: skewX(-12deg) translateX(18%); }
}

@keyframes swim-drift {
  from { transform: translateX(4%); }
  to { transform: translateX(-5%); }
}

@keyframes swim-bob {
  from { transform: translateY(-3%) rotate(-2.2deg); }
  to { transform: translateY(3%) rotate(2.4deg); }
}

@keyframes swim-tail {
  from { transform: skewY(-1.3deg) scaleX(0.985); }
  to { transform: skewY(1.3deg) scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .swim__rays i,
  .swim__drift,
  .swim__bob,
  .swim__bob img {
    animation: none;
  }
}

/* The procurement steps happen in order, so they are numbered. */
.steps {
  --num: var(--teal);
  --rule: var(--line);
  display: grid;
  gap: 0.75rem 2rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.section--navy .steps {
  --num: var(--aqua);
  --rule: var(--navy-line);
}

@media (min-width: 36rem) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

.steps li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  min-width: 1ch;
  color: var(--num);
  font-weight: 900;
}

/* ---------- Emergency call-out ---------- */

.alarm {
  display: grid;
  align-items: center;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

@media (min-width: 52rem) {
  .alarm {
    grid-template-columns: 1fr auto;
  }
}

.alarm h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.alarm p {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  color: var(--slate);
}

.alarm__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

/* ---------- Inner pages ---------- */

.page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

.page--narrow > * {
  max-width: 50rem;
}

.page__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page__head .btn {
  margin-top: 0.75rem;
}

.page__points {
  margin-top: 1.25rem;
  color: var(--slate);
}

.group {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.group__head {
  margin-bottom: 1.5rem;
}

.support .steps {
  margin-bottom: 0;
}

.fineprint {
  max-width: 60rem;
  margin-top: 1rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.fineprint p {
  margin: 0 0 0.35rem;
}

/* ---------- Price lists ---------- */

.rows {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
  list-style: none;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "what price"
    "action action";
  align-items: baseline;
  gap: 0.6rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.row__what {
  grid-area: what;
  min-width: 0;
}

.row__name {
  margin-right: 0.4em;
  font-weight: 700;
}

.row__latin {
  color: var(--slate);
  font-size: 0.95em;
}

.row__detail {
  display: block;
  color: var(--slate);
  font-size: 0.95rem;
}

.row__price {
  grid-area: price;
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.row__action {
  grid-area: action;
}

.row .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
}

@media (min-width: 44rem) {
  .row {
    grid-template-columns: 1fr auto 10.5rem;
    grid-template-areas: "what price action";
    align-items: center;
    gap: 1rem 1.5rem;
  }

  .row__action {
    justify-self: end;
  }
}

/* A rate card has no action column. */
.rows--rates .row {
  grid-template-columns: 1fr auto;
  grid-template-areas: "what price";
}

/* Navy price list, as in the catalog's livestock sections. */
.tank {
  display: grid;
  gap: 1.5rem 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.tank__photo {
  max-width: 16rem;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--aqua);
  border-radius: 10px;
  background: #000;
}

@media (min-width: 60rem) {
  .tank--photo {
    grid-template-columns: minmax(0, 20rem) 1fr;
    align-items: start;
  }

  .tank__photo {
    max-width: none;
  }
}

.tank__intro {
  margin-bottom: 1.1rem;
}

.tank__intro p {
  margin: 0;
  color: var(--mist);
}

.tank__intro .tank__title {
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rows--navy {
  border-top-color: var(--mist);
}

.rows--navy .row {
  border-bottom-color: var(--navy-line);
}

.rows--navy .row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rows--navy .row__latin {
  color: var(--mist);
}

.rows--navy .row__price {
  color: var(--aqua);
}

/* Installation cards. */
.systems {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .systems {
    grid-template-columns: 1fr 1fr;
  }
}

.system {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.system__name {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.system__price {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
}

/* Aqua is unreadable on teal, so the teal card uses white. */
.system--teal {
  background: var(--teal);
}

.system--teal .btn {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.system--teal .btn:hover {
  background: #fff;
  color: var(--navy);
}

.system--teal .btn--solid {
  background: #fff;
  color: var(--navy);
}

/* Contact strip at the foot of catalog pages. */
.ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--navy);
}

.ask p {
  margin: 0;
}

.ask p a {
  font-weight: 700;
}

/* ---------- Quote form ---------- */

.quote__cols {
  display: grid;
  gap: 2.5rem 4rem;
}

@media (min-width: 56rem) {
  .quote__cols {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
}

.form {
  display: grid;
  gap: 1.1rem;
}

/* Without JavaScript the email-app form cannot work; phone and email are shown beside it. */
.no-js .form[data-mailto] {
  display: none;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
}

.optional {
  color: var(--slate);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--slate);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.field-pair {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 36rem) {
  .field-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.form .btn {
  justify-self: start;
}

.form__hint {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.quote__direct {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
}

.quote__direct h2 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.quote__direct p {
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
}

.quote__big {
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
}

.quote__direct .quote__alarm {
  margin-top: 1.25rem;
}

/* ---------- Markdown content ---------- */

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.3rem;
}

.prose a {
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

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

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
  background: var(--navy);
  color: var(--mist);
}

.site-footer__in {
  display: grid;
  gap: 2rem 3rem;
}

@media (min-width: 52rem) {
  .site-footer__in {
    grid-template-columns: 1.2fr 1fr;
  }
}

.site-footer__tag {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin: 0;
}

.site-footer__contact a {
  color: var(--aqua);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__contact a:hover,
.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}

.site-footer__nav a {
  display: inline-block;
  padding: 0.25rem 0;
  color: #fff;
  text-decoration: none;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-line);
  font-size: 0.9rem;
}
