* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  /* Painted into the rubber-band gutter when a phone is over-scrolled past the
     end of the page. Matching the footer stops a white band flashing under it.
     Only visible outside the page, since body covers the document itself. */
  background: #0a0a0a;
}

/* min-height, not height: the body box has to grow to the full document so its
   white background reaches every section. At height: 100% it stopped one
   viewport down and html's black showed through anything transparent. */
body {
  min-height: 100%;
}

/* Images are wrapped in <picture> for the AVIF/WebP pair. display: contents
   keeps the wrapper out of layout, so every rule that targets the img still
   applies as if it were a direct child. */
picture {
  display: contents;
}

body {
  position: relative;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #111111;
}

:root {
  --brand: #62a851;
  --brand-hover: #559443;
  --ink: #111111;
  --ink-muted: #4a4a4a;
  --rule: #e6e6e6;
  /* Sampled from the dominant green in image/Logo.avif. */
  --logo-green: #62a744;
  /* Amaron's own green, sampled from image/amaron.avif, so its baked-in
     backing plate melts into the strip and the logos can run in full colour. */
  --brands-bg: #9ac93b;
  /* Warm red for the hand-drawn emphasis stroke — the green accent reads as
     reassurance elsewhere, which is the wrong note under "Dead". */
  --mark: #e04a3a;
}

/* Two floating glass pills over the hero: nav bar on the left, CTA on the right. */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 18px max(16px, calc((100% - 1440px) / 2));
}

.header-bar,
.header-cta {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-bar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 8px 32px;
}

/* Hamburger: hidden until the links collapse at 900px. */
.nav-toggle {
  display: none;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.15s ease, width 0.22s ease;
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: 6.1px;
  width: 74%;
}

.nav-toggle-bars span:nth-child(3) {
  top: 12.25px;
  width: 48%;
}

/* Morphs to a cross while the panel is open. */
.site-header.is-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6.1px) rotate(45deg);
}

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

.site-header.is-open .nav-toggle-bars span:nth-child(3) {
  width: 100%;
  transform: translateY(-6.15px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars span {
    transition: none;
  }
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* Detached CTA pill: label plus a round accent action button. */
.header-cta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 30px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta-icon {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--logo-green);
}

/* The mascot's body green is close to the logo green, so a soft shadow gives
   it an edge to sit on rather than melting into the disc. */
.header-cta-icon img {
  display: block;
  width: 34px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.header-cta:hover .header-cta-icon,
.header-cta:focus-visible .header-cta-icon {
  background: #55963b;
}

/* First block: the hero fills whatever the marquee strip leaves of the viewport. */
.hero-block {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
}

.hero {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #111111;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps the headline legible over bright frames. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0) 65%
  );
  pointer-events: none;
}

/* Same inset formula as .site-header, so the copy lines up with the nav bar. */
.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 max(16px, calc((100% - 1440px) / 2)) 64px;
}

.hero-copy {
  max-width: 100%;
}

/* Social proof: overlapping avatars beside a user count, above the headline. */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-proof-avatars {
  display: flex;
  align-items: center;
  list-style: none;
}

.hero-proof-avatars li:not(:first-child) {
  margin-left: -14px;
}

.hero-proof-avatars img {
  display: block;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
}

.hero-proof-text {
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.hero-proof-text strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-headline {
  max-width: 16ch;
  color: #ffffff;
  font-size: clamp(3rem, 6.8vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-description {
  max-width: 52ch;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  /* Matches .problem-text so both sections share one body scale. */
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Static scroll cue pinned to the right edge, aligned with the header inset. */
/* Lifted clear of the floating contact button in the same corner. */
.hero-scroll {
  position: absolute;
  right: max(16px, calc((100% - 1440px) / 2));
  bottom: clamp(104px, 13vh, 132px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.hero-scroll-label {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Faint track holding a bright segment that runs down it. */
.hero-scroll-rule {
  position: relative;
  overflow: hidden;
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-scroll-rule::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
  animation: hero-scroll-trace 2.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes hero-scroll-trace {
  0% {
    transform: translateY(-28px);
  }
  65%,
  100% {
    transform: translateY(72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-rule::after {
    animation: none;
    transform: translateY(44px);
  }
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  color: #ffffff;
}

/* Brand marquee band, pinned to the foot of the first block. */
.brands {
  flex: none;
  padding: 16px 0;
  background: var(--brands-bg);
}

.brand-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.brand-track {
  --marquee-gap: 40px;
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  width: max-content;
  list-style: none;
  /* The two halves are identical, so shifting by one half plus half a gap loops seamlessly. */
  animation: brand-scroll 45s linear infinite;
}

.brand-track > li {
  flex: none;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - var(--marquee-gap) / 2));
  }
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

/* Fixed-width slot keeps the marquee rhythm even; the logos sit straight
   on the band with no plate behind them. */
.brand-slot {
  display: grid;
  place-items: center;
  width: 170px;
  height: 48px;
}

/* Explicit px cap: a percentage max-height resolves against an auto-sized
   grid track and gets ignored, letting tall logos overflow the slot. */
.brand-slot img {
  display: block;
  max-width: 100%;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }
}

/* Second block. The extra height is the scroll runway, in three phases: a
   still hold for reading, the image zoom, then the symptom lines. The section
   inside stays pinned for the whole runway. */
.problem-scroll {
  position: relative;
  height: 420vh;
  height: 420svh;
}

/* Three columns as one centred group: heading, portrait image, copy. */
.problem {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 44px);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: clamp(32px, 6vh, 64px) clamp(20px, 4vw, 64px);
  background: #ffffff;
}

/* Portrait frame. Height drives the size so the 9:16 box can never grow
   taller than the block; the width follows from the ratio. */
.problem-media {
  position: relative;
  flex: 0 0 auto;
  height: min(620px, 72vh);
  aspect-ratio: 9 / 16;
}

/* Absolutely placed so scroll.js can grow it past its frame without
   disturbing the three-column layout. */
.problem-media img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.problem-copy {
  flex: 0 1 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-heading {
  flex: 0 1 440px;
  /* Room for the mark's stroke to sit clear of anything below. */
  margin-bottom: 10px;
  font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Hand-drawn stroke under an emphasised word. The SVG stretches to the word's
   width while non-scaling-stroke keeps the line an even weight; sizing it in
   em ties that weight to the heading's font size. */
.mark {
  position: relative;
  white-space: nowrap;
}

.mark-line {
  position: absolute;
  left: -3%;
  bottom: -0.24em;
  width: 106%;
  height: 0.34em;
  overflow: visible;
  color: var(--mark);
  pointer-events: none;
}

/* Filled outline rather than an even stroke, so the sweep tapers at both
   ends the way a marker would. */
.mark-sweep {
  fill: currentColor;
  stroke: none;
}

/* The pen doubling back underneath — thin and even. */
.mark-return {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.04em;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.problem-text {
  max-width: 48ch;
  color: var(--ink-muted);
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.problem-text + .problem-text {
  margin-top: 20px;
}

/* Darkens the photo so the white lines stay readable over it. Both this and
   the list are faded in by scroll.js as the zoom completes. */
.zoom-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(8, 8, 8, 0.58);
  opacity: 0;
  pointer-events: none;
}

/* Stacked into the bottom-left corner of the full-screen image. */
.zoom-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(6px, 1.1vh, 18px);
  padding: 0 clamp(24px, 5vw, 80px) clamp(40px, 7vh, 76px);
  list-style: none;
  opacity: 0;
  pointer-events: none;
}

.zoom-lines li {
  /* Starting state: present but barely there, lifted to white in turn. */
  opacity: 0.22;
  color: #ffffff;
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Third block: 3 x 2 grid filling the viewport. The height has to be definite
   rather than a min-height, or the 1fr rows size to the images instead of
   splitting the viewport. */
.solution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 44px);
  height: 100vh;
  height: 100svh;
  padding: clamp(32px, 6vh, 64px) clamp(20px, 4vw, 64px);
  background: #111111;
}

/* Left rail: a centred hairline running down from the top, then the title
   set vertically beneath it, reading bottom-to-top. */
.solution-rail {
  flex: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.4vh, 32px);
}

.solution-rail-line {
  flex: 1;
  width: 1px;
  min-height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.4)
  );
}

.solution-title {
  flex: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.solution-grid {
  flex: 1;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  max-width: 1200px;
  /* Without these the grid's automatic minimum size keeps it at the images'
     intrinsic size and the tracks never shrink to the viewport. */
  min-height: 0;
  min-width: 0;
}

/* Column layout so a title and description can sit under the media later
   without the image pushing the tile out of its grid row. */
.tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.tile-media {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #1c1c1c;
}

.tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* The figure clips, so the image can scale inside its own frame. */
.tile:hover .tile-media img,
.tile:focus-within .tile-media img {
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .tile-media img {
    transition: none;
  }

  .tile:hover .tile-media img,
  .tile:focus-within .tile-media img {
    transform: none;
  }
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tile-step {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.tile-title {
  color: #ffffff;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.tile-text {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  line-height: 1.45;
  text-wrap: pretty;
}

/* Fourth block: the product shot, centred over a sliding word track. */
.battery {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  padding: clamp(24px, 5vh, 56px) clamp(20px, 4vw, 64px);
  background: #ffffff;
}

.battery-ticker {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* One long row; scroll.js slides it left as the section passes through. */
.battery-ticker-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 72px);
  white-space: nowrap;
  will-change: transform;
}

.battery-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: rgba(17, 17, 17, 0.08);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* Sized in em so the bolt scales with the word it marks. */
.battery-ticker-track .bolt {
  flex: none;
  width: 0.58em;
  height: 0.58em;
  fill: currentColor;
}

.battery-media {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 0;
}

/* Fifth block: testimonial wall left, copy right. */
.urgency {
  display: grid;
  /* Wall gets the smaller share so the quote cards can hold two columns. */
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3vw, 56px);
  height: 100vh;
  height: 100svh;
  padding: clamp(24px, 5vh, 56px) clamp(20px, 4vw, 64px);
  background: #0a0a0a;
}

/* Two tracks side by side, clipped to the block and faded at both ends. */
.wall {
  --wall-gap: clamp(12px, 1.4vw, 20px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wall-gap);
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
}

/* Each column lists its four shots twice, so shifting by one set loops
   seamlessly — the same trick as the brand marquee. */
.wall-col {
  display: flex;
  flex-direction: column;
  gap: var(--wall-gap);
  animation: wall-down 44s linear infinite;
}

.wall-col-up {
  animation-name: wall-up;
}

.wall-col img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}

@keyframes wall-down {
  from {
    transform: translateY(calc(-50% - var(--wall-gap) / 2));
  }
  to {
    transform: translateY(0);
  }
}

@keyframes wall-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-50% - var(--wall-gap) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wall-col {
    animation: none;
  }
}

/* Right column: heading over five quotes. */
.says {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-right: clamp(0px, 2vw, 32px);
}

.says-title {
  max-width: 16ch;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Aggregate score under the heading. */
.says-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: clamp(14px, 2.2vh, 28px);
}

.says-score {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.says-stars {
  display: flex;
  gap: 2px;
  color: var(--mark);
}

.says-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.says-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

/* Official 2015 wordmark, used unmodified. */
.says-google {
  height: 15px;
  width: auto;
}

.say-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Equal rows, so every card ends up the same height. */
  grid-auto-rows: 1fr;
  gap: clamp(10px, 1.4vw, 16px);
  list-style: none;
}

/* An odd final card spans the row rather than leaving a hole; with an even
   count this simply does not match. */
.say:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.say {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.say-stars {
  display: flex;
  gap: 2px;
  color: var(--mark);
}

.say-stars svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Clamped so one long review cannot set the height for every card. The
   "Full review" link carries the rest. */
.say-quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.45;
}

/* Emphasised phrases inside a quote, as in the reference. */
.say-quote strong {
  color: #ffffff;
  font-weight: 600;
}

.say-by {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
}

.say-avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.say-name {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Optional per-quote link out to the original review. */
.say-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6875rem;
  text-decoration: none;
  white-space: nowrap;
}

.say-link svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: var(--mark);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.say-link:hover,
.say-link:focus-visible {
  color: rgba(255, 255, 255, 0.75);
}

/* Floating contact menu, pinned to the bottom-right on every screen. */
.fab {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 60;
}

.fab-items {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  list-style: none;
}

.fab-item {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 16px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.fab.is-open .fab-item {
  pointer-events: auto;
}

.fab-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fab-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2f4ef;
}

.fab-icon img {
  display: block;
  width: 22px;
  height: 22px;
}

.fab-icon-call {
  background: rgba(98, 167, 68, 0.14);
}

.fab-icon-call svg {
  width: 17px;
  height: 17px;
  fill: var(--logo-green);
}

.fab-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 62px);
  height: clamp(56px, 6vw, 62px);
  border: 0;
  border-radius: 50%;
  background: var(--logo-green);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.55);
}

.fab-toggle:hover,
.fab-toggle:focus-visible {
  background: #55963b;
}

.fab-toggle-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.fab-toggle-icon svg {
  grid-area: 1 / 1;
  width: 23px;
  height: 23px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab-glyph-open {
  fill: currentColor;
}

.fab-glyph-close {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0;
  transform: rotate(-90deg);
}

.fab.is-open .fab-glyph-open {
  opacity: 0;
  transform: rotate(90deg);
}

.fab.is-open .fab-glyph-close {
  opacity: 1;
  transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  .fab-item,
  .fab-toggle-icon svg {
    transition: none;
  }
}

/* Sixth block: full-height branch map left, order card right. */
/* ---------- Sixth block: FAQ ---------- */

/* White, between two dark-ish blocks, so the answers read as a pause in the
   pitch rather than more of it. */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(32px, 6vh, 72px) clamp(20px, 4vw, 64px);
  background: #ffffff;
}

.faq-intro {
  align-self: center;
}

.faq-title {
  max-width: 12ch;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.faq-lead {
  max-width: 34ch;
  margin-top: clamp(12px, 1.6vh, 20px);
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.5;
}

.faq-cta {
  display: inline-block;
  margin-top: clamp(18px, 2.4vh, 28px);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease;
}

.faq-cta:hover {
  background: var(--brand-hover);
}

.faq-list {
  list-style: none;
  min-width: 0;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--rule);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1.6vh, 18px) 0;
  cursor: pointer;
  font-size: clamp(1.02rem, 1.35vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

/* Safari draws its own disclosure triangle without this. */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

/* A plus that becomes a minus — one span, two pseudo-elements. */
.faq-mark {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-mark::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item details[open] .faq-mark::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-item details p {
  max-width: 62ch;
  padding-bottom: clamp(12px, 1.8vh, 20px);
  color: var(--ink-muted);
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: 100vh;
  height: 100svh;
  background: var(--logo-green);
}

.contact-map {
  height: 100%;
  padding: clamp(16px, 2.4vw, 36px);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: clamp(18px, 2vw, 26px);
  background: #eceee9;
}

.contact-panel {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(20px, 4vh, 48px) clamp(16px, 3vw, 48px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.order {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: clamp(26px, 3.4vw, 44px);
  /* Extra room up top for the mascot straddling the card edge. */
  padding-top: clamp(56px, 5.4vw, 74px);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.55);
}

/* Sits over the card's top edge: the green mascot would disappear against the
   green section, so it needs the white card behind its lower half. */
.order-mascot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -48%);
  width: clamp(74px, 7.4vw, 96px);
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.order-title {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.order-note {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.5;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(20px, 3vh, 30px);
}

.order-input {
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.order-input::placeholder {
  color: #9a9a9a;
}

.order-input:focus-visible {
  border-color: var(--brand);
  outline: 2px solid rgba(98, 168, 81, 0.35);
  outline-offset: 1px;
}

.order-btn {
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
}

/* Greyed while either field is still empty, as in the reference. Scoped to the
   form with :has() rather than a sibling selector, since the button no longer
   follows the input directly. order.js is what actually blocks submission. */
.order-form:has(.order-input:placeholder-shown) .order-btn {
  background: #a5a5a5;
}

.order-btn:hover,
.order-btn:focus-visible {
  background: var(--brand-hover);
}

.order-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(18px, 2.6vh, 26px);
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.order-or::before,
.order-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.order-alt {
  margin-top: clamp(14px, 2vh, 20px);
  text-align: center;
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  font-weight: 600;
}

.order-alt a {
  color: var(--brand);
  text-decoration: none;
}

.order-alt a:hover,
.order-alt a:focus-visible {
  text-decoration: underline;
}

/* Step two: filled fields with the label sitting above the value. */
.order-form-2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: clamp(18px, 2.6vh, 26px);
}

.field {
  padding: 9px 16px 10px;
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.field label {
  display: block;
  margin-bottom: 1px;
  color: #8d8d8d;
  font-size: 0.75rem;
}

.field input {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
}

.field input:focus {
  outline: none;
}

.field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(98, 168, 81, 0.18);
}

/* The registration carried over from step one — shown, not editable. */
.field-locked {
  background: #f5f5f4;
}

.field-locked input {
  color: var(--ink-muted);
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(14px, 2vh, 22px);
}

.order-back {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #f0f0ef;
  color: var(--ink);
  cursor: pointer;
}

.order-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order-back:hover,
.order-back:focus-visible {
  background: #e4e4e2;
}

.order-next {
  flex: 1;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--brands-bg);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
}

.order-next:hover,
.order-next:focus-visible {
  background: #8bba31;
}

/* Step three: address field over a map preview. */
.order-form-3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: clamp(14px, 2.2vh, 22px);
}

/* Step four: branch picker. Real radios, visually replaced by the tick. */
.order-form-4 {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vh, 24px);
  margin-top: clamp(16px, 2.4vh, 24px);
}

.choice-list {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
}

.choice + .choice {
  border-top: 1px solid var(--rule);
}

.choice-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid #dcdcda;
  border-radius: 50%;
  background: #f4f4f3;
}

.choice-mark svg {
  width: 13px;
  height: 13px;
  opacity: 0;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-label {
  font-size: 1rem;
  font-weight: 600;
}

.choice input:checked ~ .choice-mark {
  border-color: var(--brands-bg);
  background: var(--brands-bg);
}

.choice input:checked ~ .choice-mark svg {
  opacity: 1;
}

.choice input:checked ~ .choice-label {
  color: #5f9021;
}

.choice input:focus-visible ~ .choice-mark {
  outline: 2px solid rgba(98, 168, 81, 0.5);
  outline-offset: 2px;
}

.choice:has(input:checked) {
  background: #f6faf0;
}

.order-locate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  border: 1px dashed #c9cec3;
  border-radius: 12px;
  background: #f6f8f3;
  color: #3f6b2c;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.order-locate svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.order-locate:hover,
.order-locate:focus-visible {
  border-color: var(--brand);
  background: #eef5e8;
}

.order-locate.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.order-status {
  margin-top: -4px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.order-status:empty {
  display: none;
}

.order-status.is-ok {
  color: #3f6b2c;
  font-weight: 600;
}

.order-status.is-warn {
  color: #b4432f;
}

.order-next:disabled {
  background: #d0d0cd;
  color: #7a7a76;
  cursor: not-allowed;
}

.order-map {
  overflow: hidden;
  height: clamp(136px, 21vh, 196px);
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #eceee9;
}

.order-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Six equal cards plus a heading is a tight fit on a short desktop window. */
@media (max-height: 780px) {
  .says-title {
    margin-bottom: 8px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  }

  .says-rating {
    margin-bottom: 12px;
  }

  .says-score {
    font-size: 1.25rem;
  }

  /* Step two is the tallest card; keep it and the mascot inside the block. */
  .order {
    padding-top: clamp(44px, 4.4vw, 58px);
  }

  .order-mascot {
    width: clamp(64px, 6vw, 84px);
    transform: translate(-50%, -50%);
  }

  .order-form-2 {
    gap: 8px;
    margin-top: 16px;
  }

  .field {
    padding: 7px 14px 8px;
  }

  .order-actions {
    margin-top: 14px;
  }

  .order-back {
    width: 48px;
    height: 48px;
  }

  .order-next {
    height: 48px;
  }

  .say {
    gap: 8px;
    padding: 12px 14px;
  }
}

.battery-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
}

@media (max-width: 900px) {
  /* One row: logo, hamburger, mascot button. */
  .site-header {
    gap: 8px;
    padding: 12px;
  }

  .header-bar {
    min-height: 60px;
    gap: 12px;
    padding: 6px 8px 6px 18px;
  }

  .site-logo img {
    height: 34px;
  }

  .nav-toggle {
    display: grid;
  }

  /* The links become a panel hanging under the bar. */
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 5;
    display: none;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.5);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(98, 167, 68, 0.12);
  }

  /* Label stays for screen readers; only the mascot disc shows. */
  .header-cta {
    flex: none;
    min-height: 60px;
    gap: 0;
    padding: 6px;
  }

  .header-cta-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-cta-icon {
    width: 48px;
    height: 48px;
  }

  .header-cta-icon img {
    width: 32px;
  }
}

@media (max-width: 900px) {
  .problem {
    flex-direction: column;
  }

  /* Stacked content runs taller than the viewport, so drop the pin and the
     zoom runway along with it. */
  .problem-scroll {
    height: auto;
  }

  .problem {
    position: static;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
    padding: 48px clamp(16px, 5vw, 32px);
  }

  .problem-heading {
    flex: none;
    max-width: 16ch;
  }

  /* Full column width, matching the heading and copy beside it. */
  .problem-media {
    flex: none;
    width: 100%;
    height: auto;
  }

  .problem-copy {
    flex: none;
    max-width: 46ch;
  }

  /* No pin here, so the lines become ordinary content instead of an overlay. */
  .zoom-scrim {
    display: none;
  }

  /* Stretch, or the column's align-items: center would indent the list past
     the heading and copy. */
  .zoom-lines {
    position: static;
    align-self: stretch;
    gap: 10px;
    padding: 0;
    opacity: 1;
  }

  .zoom-lines li {
    opacity: 1;
    color: var(--ink);
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  /* Rows grow with content instead of splitting a fixed viewport, and the
     rail title lies flat above the grid. */
  .solution {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    height: auto;
    min-height: 0;
  }

  .solution-rail {
    align-self: flex-start;
    flex-direction: row;
  }

  .solution-rail-line {
    display: none;
  }

  .solution-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(1.9rem, 6vw, 2.5rem);
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(0, 1fr);
  }

  .tile-media {
    aspect-ratio: 4 / 3;
    flex: none;
  }

  .battery {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  /* Single column: the wall takes a fixed slice and the copy sits under it. */
  .urgency {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .wall {
    height: 55svh;
  }

  .says {
    padding-right: 0;
  }

  .say-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Heading above the questions; eight rows plus an open answer will not hold
     to one viewport, so let the block grow. */
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    min-height: 0;
    padding: 48px clamp(16px, 5vw, 32px);
  }

  .faq-title,
  .faq-lead {
    max-width: none;
  }

  /* Map on top, form beneath; the block grows past one viewport. */
  .contact {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .contact-map {
    height: 34svh;
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 0 16px 40px;
  }

  .hero-proof {
    gap: 12px;
    margin-bottom: 22px;
  }

  .hero-proof-avatars img {
    width: 40px;
    height: 40px;
  }

  .hero-proof-avatars li:not(:first-child) {
    margin-left: -12px;
  }

  .hero-proof-text {
    font-size: 14px;
  }

  .brands {
    padding: 12px 0;
  }

  .brand-track {
    --marquee-gap: 24px;
  }

  .brand-slot {
    width: 130px;
    height: 42px;
  }

  .brand-slot img {
    max-height: 28px;
  }

  /* Too tight next to the wrapped hero copy at this width. */
  .hero-scroll {
    display: none;
  }
}

/* Footer: labelled contact rows on the right, oversized wordmark beneath. */
.footer {
  overflow: hidden;
  padding: clamp(40px, 6vh, 72px) clamp(20px, 4vw, 64px) 0;
  background: #0a0a0a;
  color: #ffffff;
}

/* Full width: no centred cap, so the columns reach the padding on any screen. */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 96px);
  width: 100%;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  display: block;
  align-self: flex-start;
  margin-bottom: 18px;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: auto;
  height: clamp(38px, 3.4vw, 48px);
}

.footer-blurb {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-left-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-top,
.footer-copy {
  font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-top {
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.footer-top:hover,
.footer-top:focus-visible {
  color: var(--brands-bg);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--brands-bg);
}

/* Each row is a hairline-topped band, as in the reference. */
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-row dt {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-row dd {
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Sits under the phone number, a step quieter — the number is what people
   tap, the address is what Google reads. */
.footer-address {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.5;
  text-transform: none;
}

.footer-row dd a {
  color: inherit;
  text-decoration: none;
}

.footer-row dd a:hover,
.footer-row dd a:focus-visible {
  color: var(--brands-bg);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.footer-social img {
  display: block;
  width: 19px;
  height: 19px;
}

/* Ghost wordmark, bled past the footer padding and clipped by its overflow. */
.footer-wordmark {
  margin: clamp(24px, 4vh, 48px) calc(-1 * clamp(20px, 4vw, 64px)) -0.16em;
  color: rgba(255, 255, 255, 0.055);
  /* Tuned so the wordmark spans the viewport exactly; it scales with vw, so
     the fit holds at every width. */
  font-size: 13.47vw;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .footer-left {
    gap: 32px;
  }

  .footer-wordmark {
    margin-bottom: -0.12em;
  }

  /* Right-aligned, this row lands in the bottom-right corner at full scroll,
     which is exactly where the fixed contact button sits — the button covered
     the Facebook icon and took the taps. Everything else in the mobile footer
     is left-aligned anyway. */
  .footer-social {
    justify-content: flex-start;
  }
}

/* Standalone document pages (privacy notice). */
.doc {
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 88px) clamp(20px, 5vw, 32px) clamp(56px, 10vh, 104px);
  color: var(--ink);
}

.doc-back {
  display: inline-block;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.doc-back:hover,
.doc-back:focus-visible {
  color: var(--brand);
}

.doc-title {
  margin-top: 28px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.doc-meta {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.doc-lead {
  margin-top: 26px;
  font-size: 1.125rem;
  line-height: 1.6;
}

.doc h2 {
  margin-top: 38px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc p,
.doc ul {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.doc ul {
  padding-left: 1.2em;
}

.doc li + li {
  margin-top: 6px;
}

.doc strong {
  color: var(--ink);
  font-weight: 600;
}

.doc code {
  padding: 1px 5px;
  border-radius: 5px;
  background: #f1f1ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

.doc a {
  color: var(--brand);
}

.doc-note {
  margin-top: 40px;
  padding: 16px 18px;
  border-left: 3px solid var(--rule);
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.doc .doc-back:last-child {
  margin-top: 44px;
}
