@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap");
@import url("./tokens.css");

/* ============================================================ base */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--navy);
  padding: 0.75rem 1.1rem;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ============================================================ type */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7.4vw, 5.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* The utility face. Eyebrows label a section the way a spec sheet labels a
   value — so they get the mono, not the display face. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.6vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--panel-lo);
  margin: 0 0 1.15rem;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 2px;
  background: var(--amber);
}

.lede {
  font-size: 1.16rem;
  line-height: 1.6;
  max-width: 42ch;
  color: var(--muted);
}

.on-dark .lede,
.on-dark p {
  color: var(--muted-on-dark);
}

.on-dark .eyebrow {
  color: var(--amber);
}

/* ============================================================ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 1.05rem 1.5rem;
  cursor: pointer;
  background: var(--amber);
  color: var(--navy);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(226, 153, 31, 0.32);
}

.btn svg {
  flex: none;
}

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

.btn--line:hover {
  background: var(--mist);
  border-color: var(--panel);
  box-shadow: none;
}

.on-dark .btn--line {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.on-dark .btn--line:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

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

.brand-lockup strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .btn {
  color: var(--navy);
  padding: 0.8rem 1.1rem;
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================ hero
   Composition mirrors the mark itself: sun behind, headline in the sky,
   panel array in front. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, var(--white) 0%, #eaf2f9 62%, #dcebf6 100%);
}

.hero-sun {
  position: absolute;
  z-index: -2;
  right: clamp(-14rem, -6vw, -4rem);
  top: clamp(-6rem, -4vw, -2rem);
  width: min(78vw, 780px);
  color: var(--amber);
  opacity: 0.9;
}

.hero-sun .rays polygon {
  fill: currentColor;
  opacity: 0.5;
}

.hero-sun .dome {
  fill: currentColor;
  opacity: 0.16;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 46rem;
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero h1 .accent {
  color: var(--panel-lo);
}

/* The commercial hook, set as a hard stamp rather than a sentence. */
.punchline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 1.3rem;
  padding: 0.55rem 0.95rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.punchline span {
  color: var(--amber);
}

.hero .lede {
  max-width: 40rem;
}

/* --- layered scene ------------------------------------------------- */

.hero-scene {
  position: relative;
  z-index: 1;
  height: clamp(150px, 26vw, 400px);
}

/* Bleed past the box top and bottom so the capped parallax travel never drags
   an edge into view; .hero clips the overflow. Kept tight — under `slice` any
   extra height is paid for in horizontal cropping. */
.hero-scene > svg {
  position: absolute;
  left: -2%;
  bottom: -32px;
  width: 104%;
  height: calc(100% + 64px);
}

.scene-sea {
  fill: #cbe0f0;
}

.scene-far {
  fill: #b7d3e8;
}

.scene-ground {
  fill: #eef5fa;
}

.scene-wall {
  fill: var(--white);
}

.scene-wall-shade {
  fill: #e6eef5;
}

.scene-stroke {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.scene-trunk {
  fill: none;
  stroke: #9ec4de;
  stroke-width: 5;
  stroke-linecap: round;
}

.array .cell {
  fill: var(--panel);
}

.array .cell:nth-child(6n + 1),
.array .cell:nth-child(6n + 4) {
  fill: var(--panel-hi);
}

.array .grout {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linejoin: round;
  opacity: 0.75;
}

/* The one orchestrated moment: the arrays energise cell by cell on load. */
.hero-scene .array .cell {
  opacity: 0;
  animation: cell-charge 0.62s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 34ms + 0.35s);
}

@keyframes cell-charge {
  0% {
    opacity: 0;
    fill: var(--amber);
  }
  55% {
    opacity: 1;
    fill: var(--amber);
  }
  100% {
    opacity: 1;
  }
}

/* ============================================================ trust strip */

.trust {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.6rem 1.5rem 1.6rem 0;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item:not(:first-child) {
  padding-left: 1.5rem;
}

.trust-item svg {
  flex: none;
  color: var(--panel-lo);
}

.trust-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.trust-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 0.15rem;
}

/* ============================================================ sections
   .section owns spacing. Modifiers own colour only — never padding — so the
   two can't cancel each other out. */

.section {
  position: relative;
  padding: var(--space) 0;
}

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

.section--ocean {
  background: var(--ocean);
  color: var(--white);
}

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

.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* The lattice: a receding photovoltaic grid, the page's structural motif. */
.lattice {
  overflow: hidden;
}

.lattice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 0 1px,
      transparent 1px 72px
    ),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 72px);
  transform: perspective(680px) rotateX(58deg) scale(2.2);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 72%);
  mask-image: linear-gradient(to top, #000, transparent 72%);
  pointer-events: none;
}

.lattice > .wrap {
  position: relative;
  z-index: 1;
}

/* ============================================================ CEPM band */

.cepm {
  position: relative;
  overflow: hidden;
  background: var(--amber);
  color: var(--navy);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cepm-rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: var(--navy);
  opacity: 0.09;
  will-change: transform;
}

.cepm .wrap {
  position: relative;
  z-index: 1;
}

.cepm p {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  line-height: 0.94;
  margin: 0;
  max-width: 16ch;
}

.cepm em {
  font-style: normal;
  color: var(--white);
  -webkit-text-stroke: 2px var(--navy);
  paint-order: stroke fill;
}

.cepm .sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 1.6rem;
  max-width: none;
  line-height: 1.5;
  opacity: 0.75;
}

/* ============================================================ services */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  background: var(--white);
  padding: 2.1rem 1.75rem 2rem;
  transition: background 0.22s var(--ease);
}

.card:hover {
  background: var(--mist);
}

/* Each card carries a cell of the panel — the motif at component scale. */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--amber);
  transition: width 0.35s var(--ease);
}

.card:hover::after {
  width: 100%;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--panel-lo);
  margin-bottom: 1.35rem;
  background: var(--mist);
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ============================================================ steps
   A real sequence — asesoría runs before instalación — so the numbers carry
   information and earn their place. */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.step h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--muted-on-dark);
  font-size: 0.96rem;
  margin: 0;
}

/* ============================================================ benefits */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.benefits {
  display: grid;
  gap: 1.6rem;
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.benefit svg {
  color: var(--panel-lo);
  margin-top: 0.15rem;
}

.benefit h3 {
  margin-bottom: 0.3rem;
}

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

.figure {
  position: relative;
}

.figure svg {
  width: 100%;
  height: auto;
}

/* ============================================================ evaluation */

.eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted-on-dark);
}

.form input {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form input:focus {
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.form .btn {
  margin-top: 0.35rem;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
  margin: 0;
  line-height: 1.6;
}

.form-error {
  display: none;
  font-size: 0.92rem;
  color: #ffb4ab;
  margin: 0;
}

.form-error.is-on {
  display: block;
}

.eval-points {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.eval-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--muted-on-dark);
  font-size: 0.99rem;
}

.eval-points svg {
  color: var(--amber);
  margin-top: 0.28rem;
}

/* ============================================================ faq */

.faq {
  max-width: 52rem;
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--panel-lo);
  border-bottom: 2px solid var(--panel-lo);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.faq details p {
  color: var(--muted);
  max-width: 46rem;
  padding-bottom: 1.4rem;
  margin: 0;
}

/* ============================================================ closing cta */

.closer {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.closer .btn-row {
  justify-content: center;
}

.promise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
}

.promise li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  color: var(--white);
}

/* ============================================================ footer */

.site-footer {
  background: var(--navy);
  color: var(--white);
  /* Bottom padding clears the fixed WhatsApp button. */
  padding: clamp(3rem, 6vw, 4.5rem) 0 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid p {
  color: var(--muted-on-dark);
  font-size: 0.96rem;
}

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.9rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer a:hover {
  border-bottom-color: var(--amber);
  color: var(--amber);
}

.footer-brand img {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.96rem;
  color: var(--muted-on-dark);
}

.colophon {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ============================================================ whatsapp fab */

.fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.15rem;
  border-radius: 100px;
  box-shadow: 0 12px 30px rgba(11, 26, 42, 0.28);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.2s var(--ease);
}

.fab.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fab:hover {
  background: var(--amber);
  color: var(--navy);
}

/* ============================================================ motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

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

/* JS publishes --py; CSS keeps ownership of the transform so layers with their
   own base transform (the centred hero scenes) compose instead of collide. */
[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* ============================================================ responsive */

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: 0 22px 50px rgba(11, 26, 42, 0.14);
  }

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

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

  .nav-links li:last-child {
    border-bottom: 0;
    padding: 0.6rem 0.25rem 0.25rem;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
  }

  .nav-links .btn {
    width: 100%;
  }

  .split,
  .eval-grid {
    grid-template-columns: 1fr;
  }

  .figure {
    order: -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  /* The mark plus the wordmark already identify the brand at this width; the
     full tagline only forces the header to two lines. */
  .brand-tag {
    display: none;
  }

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

  .hero .lede {
    font-size: 1.05rem;
  }

  .cards,
  .steps,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.15rem 0;
  }

  .trust-item:not(:first-child) {
    padding-left: 0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .btn-row .btn {
    width: 100%;
  }

  .colophon {
    justify-content: flex-start;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-scene .array .cell {
    opacity: 1;
    animation: none;
  }
}
