/* The landing (#127): the designer's page (ops/design/gomo-landing) with its class names.
   Loaded instead of app.css, after tokens.css: the three GOMO OOH colors come from there
   (--brand-lime, --primary, --muted-foreground); the variables below are the landing's own
   tones, louder than the app's on purpose (ADR 0038). The designer's Poppins, served by the
   app (latin subset, only the weights the page uses; OFL license next to the files). */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400.9212f6f9860f.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-500.a09f2fccfee3.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-600.72993dddf88a.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-700.25b0e113ca7c.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-800.af4d371a1027.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #111111;
  --white: #ffffff;
  --surface-alt: #f4f4f4;
  --dark: #474747;
  /* How far the benefits card climbs over the city's base (the billboard's base sits behind it). */
  --benefits-overlap: 96px;
  /* Grey noise drawn by the browser (no download): in overlay it keeps the grey's tone and
     vanishes on black. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --red: #f01e23;
  --primary-hover: color-mix(in srgb, var(--primary) 90%, black);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1040px;
  --gutter: 24px;
  --radius-pill: 9999px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 30%, transparent);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn--green {
  background: var(--primary);
  color: var(--white);
}

.btn--green:hover {
  background: var(--primary-hover);
}

.btn--lime {
  background: var(--brand-lime);
  color: var(--ink);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}

.header.is-scrolled {
  box-shadow: 0 2px 16px rgb(0 0 0 / 0.08);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Sizes measured on the designer's mockup (landing-completo.jpeg). */
.header__logo img {
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: auto;
}

.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: #3a3a3a;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav__mobile-only {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.link-login {
  font-size: 14.5px;
  color: var(--muted-foreground);
}

.header__actions .btn {
  padding: 10px 22px;
  font-size: 14.5px;
}

.link-login:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 80px 0 96px;
  /* The designer's banner: gradient, map, the app's panel list and grain in one image
     (WebP of ops' banner_principal.png). */
  background:
    var(--primary) url("../img/landing/banner_principal.a2772e5e6017.webp") left center / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 8px;
  background: var(--ink);
  color: var(--brand-lime);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow svg {
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.hero__title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__title .thin {
  font-weight: 400;
}

.pill-dark {
  display: inline-block;
  padding: 0 0.4em 0.04em;
  background: var(--ink);
  color: var(--brand-lime);
  border-radius: var(--radius-pill);
  line-height: 1.15;
}

.hero__sub {
  margin-top: 14px;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Opening: the panel blind over the hero ----------
   Only with JS (landing.js paints the canvas). The track is the stage plus 110svh of scroll; the
   stage sticks under the header for that stretch, with the hero filling it, while the canvas,
   above the header too, covers the whole screen. Without JS the hero is the plain block above. */
.opening__canvas,
.opening__video,
.opening__hint {
  display: none;
}

.js .opening {
  height: calc(210svh - var(--header-h));
}

.js .opening__stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
}

.js .opening .hero {
  z-index: 1;
  height: 100%;
  min-height: 0;
}

.js .opening__canvas {
  /* The video's own green, so the bars around the contained video blend with it. */
  --opening-fill: #00cc01;

  display: block;
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hidden, yet still decoding: display:none would stop some browsers from playing it. */
.js .opening__video {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.js .opening__hint {
  display: block;
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 61;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.35);
  pointer-events: none;
}

.js .opening.is-done .opening__canvas,
.js .opening.is-done .opening__hint {
  display: none;
}

/* ---------- Dark section ---------- */
/* The designer's grainy grey (landing-completo.jpeg): three black shapes under the noise. A small
   circle behind the steps, a "/" oval right of Practicality, and a big circle setting behind the
   city on the left. */
.dark {
  --circle: circle 30vw at 34% 24%;
  --sun: circle 50vw at 20% 80%;

  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-top: 34px;
  background-color: var(--dark);
  background-image:
    radial-gradient(var(--circle), #000000 10%, rgb(0 0 0 / 0.6) 50%, rgb(0 0 0 / 0) 100%),
    radial-gradient(var(--sun), #000000 18%, rgb(0 0 0 / 0.6) 50%, rgb(0 0 0 / 0) 100%);
  background-repeat: no-repeat;
  overflow: hidden;
}

.dark::after {
  content: "";
  position: absolute;
  left: 83%;
  top: 36%;
  z-index: -2;
  width: 76vw;
  height: 52vw;
  translate: -50% -50%;
  rotate: -50deg;
  background: radial-gradient(closest-side, #000000 20%, rgb(0 0 0 / 0.4) 70%, rgb(0 0 0 / 0));
  pointer-events: none;
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.dark > * {
  position: relative;
}

/* The city on the grain: its base is the section's bottom edge, where the page turns black.
   Phones crop the sides around the billboard instead of shrinking the buildings.
   Parallax: landing.js sets --rise from 0, when the benefits card enters the screen, to 1, when
   the "Tchau, PDF" lead is almost off it; each layer starts its own distance below its place
   and rises into it over that same scroll, so the one that starts lower rises faster. Without
   the script, or with reduced motion, --rise stays 1: everything at rest. */
.city {
  --rise: 1;
  /* Where each layer starts, below its place, in % of its height. */
  --city-start: 30%;
  --billboard-start: 10%;

  position: relative;
  margin-top: 40px;
}

.city img {
  display: block;
  width: 100%;
  height: clamp(180px, 24vw, 380px);
  object-fit: cover;
  object-position: 36% bottom;
}

/* Below the skyline's solid base (row 415) its last 12.97% (62 of its 478 px) is transparent,
   but for a few stray pixels: pulled down by that, its base meets the section's bottom. */
.city .city__skyline {
  translate: 0 calc(12.97% + (1 - var(--rise)) * var(--city-start));
}

/* Same canvas and crop as the city, laid over it. Its pole (35.5% of the canvas) moves to the
   "P" of the benefits title (~160 px left of the centre); it stands 1.4 times bigger, grown
   from its base (70% of the canvas), and at rest the base is 4 px behind the card's top. */
.city .city__billboard {
  position: absolute;
  inset: 0;
  transform-origin: 35.5% 70%;
  translate: calc(14.5% - 160px)
    calc(30% - var(--benefits-overlap) + 4px + (1 - var(--rise)) * var(--billboard-start));
  scale: 1.4;
}

.section-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 56px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgb(255 255 255 / 0.55);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  text-align: center;
}

.section-title strong {
  font-weight: 800;
}

/* Steps: sizes measured on the designer's mockup (landing-completo.jpeg) at 1920 px. Each step
   is as wide as its text, so the set stays together (~770 px). */
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3.3vw, 48px);
}

.step__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}

.step__num {
  font-size: clamp(48px, 4.9vw, 70px);
  line-height: 0.8;
  font-weight: 400;
  color: var(--brand-lime);
}

.step__icon {
  width: clamp(60px, 5.8vw, 84px);
  height: clamp(60px, 5.8vw, 84px);
  object-fit: contain;
}

.step__title {
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}

.step__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--brand-lime);
}

.step__arrow {
  height: clamp(120px, 11vw, 160px);
  aspect-ratio: 32 / 112;
  flex: none;
  margin-top: 40px;
  color: var(--brand-lime);
}

/* Practicality */
/* Between the dark section's blocks: the section title's grey line, as wide as the header's
   content (in .container, from the logo to "Fale com a gente"). */
.rule {
  margin: 88px 0 0;
  border: 0;
  border-top: 2px solid rgb(255 255 255 / 0.55);
}

.feature {
  max-width: 680px;
  margin-top: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 0;
}

.feature__text {
  position: relative;
  z-index: 2;
}

.pill-lime,
.pill-green {
  display: inline-block;
  padding: 6px 22px 8px;
  border-radius: var(--radius-pill);
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.1;
}

.pill-lime {
  background: var(--brand-lime);
  color: var(--ink);
}

.pill-green {
  background: var(--primary);
  color: var(--white);
}

.feature__lead {
  margin-top: 18px;
  padding-left: 14px;
  font-size: clamp(20px, 2.3vw, 24px);
  line-height: 1.2;
  font-weight: 400;
}

.feature__media {
  position: relative;
  margin-left: -36px;
  padding-bottom: 8px;
}

.app-mock {
  width: 100%;
  max-width: 300px;
  margin-left: 0;
  aspect-ratio: 290 / 202;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--brand-lime);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-mock__bar {
  display: flex;
  gap: 4px;
  padding: 5px 8px;
  background: #f2f2f2;
}

.app-mock__bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0d0d0;
}

.app-mock__body {
  flex: 1;
  display: grid;
  grid-template-columns: 24% 1fr;
  min-height: 0;
}

.app-mock__side {
  padding: 6px 5px;
  border-right: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.app-mock__card {
  padding: 4px;
  border: 1px solid #ededed;
  border-radius: 4px;
}

.app-mock__line {
  height: 3px;
  border-radius: 2px;
  background: #dcdcdc;
  margin-bottom: 3px;
}

.app-mock__line.is-dark {
  background: #8a8a8a;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

.app-mock__tag {
  display: inline-block;
  font-size: 4px;
  padding: 1px 3px;
  border-radius: 4px;
  background: var(--brand-lime);
  color: var(--ink);
}

.app-mock__total {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 4px;
  color: #555555;
}

.app-mock__btn {
  font-size: 4px;
  text-align: center;
  padding: 3px;
  border-radius: 3px;
  background: #3a3a3a;
  color: var(--white);
}

/* An <img loading="lazy"> instead of the designer's background: below the fold, it only
   downloads when the visitor gets near. */
.app-mock__map {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.float-card {
  position: absolute;
  left: 210px;
  bottom: -6px;
  width: 205px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgb(70 70 70 / 0.96);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.45);
  color: var(--brand-lime);
  font-size: 13.5px;
  line-height: 1.25;
}

.float-card strong {
  font-weight: 800;
}

/* Bye, PDF */
.bye {
  margin-top: 84px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 0 24px;
  max-width: 600px;
}

.bye__pins {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 20px;
}

.pin {
  height: auto;
}

.pin--lime {
  fill: var(--brand-lime);
  width: 76px;
}

.pin--red {
  fill: var(--red);
  width: 92px;
}

.bye__dots {
  display: flex;
  gap: 5px;
  margin-bottom: 52px;
}

.bye__dots i {
  width: 9px;
  height: 5px;
  border-radius: 3px;
  background: var(--white);
  animation: travel 1.6s ease-in-out infinite;
}

.bye__dots i:nth-child(2) {
  animation-delay: 0.12s;
}

.bye__dots i:nth-child(3) {
  animation-delay: 0.24s;
}

.bye__dots i:nth-child(4) {
  animation-delay: 0.36s;
}

.bye__dots i:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes travel {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }
}

.bye__text {
  margin-left: -60px;
  align-self: start;
}

.bye__lead {
  margin-top: 16px;
  padding-left: 36px;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.17;
  color: var(--brand-lime);
}

.bye__lead strong {
  font-weight: 800;
}

/* ---------- Closing: the black end of the page, from the benefits to the FAQ ---------- */
/* flow-root: the benefits card's negative margin lifts the card, not the black. */
.closing {
  position: relative;
  display: flow-root;
  overflow-x: clip;
  padding-bottom: 88px;
  background: #000000;
  color: var(--white);
}

.closing > .container {
  position: relative;
}

/* Main benefits: the card's top third covers the city's base. */
.benefits {
  position: relative;
  max-width: 600px;
  margin: calc(-1 * var(--benefits-overlap)) auto 0;
  padding: 28px 24px 48px;
  border-radius: 18px;
  background: var(--brand-lime);
  color: var(--ink);
  text-align: center;
}

.benefits__title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
}

.benefits__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
}

.benefit p {
  font-size: 12.5px;
  line-height: 1.25;
}

.benefit strong {
  font-weight: 700;
}

/* Half out of the card's bottom edge, as in the designer's page. */
.benefits__cta,
.closing__btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 50%;
}

/* On black, the ink outline would vanish. */
.closing a:focus-visible,
.closing summary:focus-visible {
  outline-color: var(--brand-lime);
}

/* Call to action */
.closing__cta {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing__lead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 800;
  color: var(--brand-lime);
}

.closing__logo {
  width: 220px;
  height: auto;
  margin: 14px 0 22px;
}

.closing__screen {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 560px;
}

/* The light behind the screen: the same grainy grey, fading into the black. */
.closing__screen::before {
  content: "";
  position: absolute;
  inset: -190px -50px -190px;
  z-index: -1;
  background: var(--grain), var(--dark);
  background-blend-mode: overlay;
  mask-image: radial-gradient(closest-side, rgb(0 0 0 / 1), rgb(0 0 0 / 0));
  pointer-events: none;
}

/* Two classes, so the phone rules for the practicality mock do not shrink it. */
.app-mock.app-mock--wide {
  max-width: none;
  aspect-ratio: 16 / 6;
  border-color: var(--white);
  box-shadow: 0 18px 50px rgb(255 255 255 / 0.08);
}

.app-mock--wide .app-mock__body {
  grid-template-columns: 18% 1fr;
}

/* ---------- FAQ ---------- */
/* 5% wider than the closing screen on each side; the gutter sits outside that. */
.faq {
  max-width: calc(560px * 1.1 + 2 * var(--gutter));
  margin-top: 80px;
}

.faq__title {
  margin-bottom: 22px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  text-align: center;
}

.faq__item {
  margin-bottom: 10px;
  border-radius: 8px;
  background: #a6a6a6;
  color: var(--ink);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

/* The designer's caret: a small dark triangle, turned up while open. */
.faq__item summary::after {
  content: "";
  flex: none;
  border: 5px solid transparent;
  border-top: 6px solid #3a3a3a;
  border-bottom: 0;
  transition: rotate 0.2s ease;
}

.faq__item[open] summary::after {
  rotate: 180deg;
}

.faq__item p {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.faq__item a {
  text-decoration: underline;
}

/* The drawer with the 6th question on: shut until the button opens it, sliding down (landing.js).
   Without JS the button is hidden and every question shows. */
.js .faq__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.js .faq__more.is-open {
  grid-template-rows: 1fr;
}

.faq__more-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__toggle {
  display: none;
}

/* The designer's caret, bigger, under the list: points down while shut, up while open. */
.js .faq__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 4px auto 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.faq__toggle::after {
  content: "";
  border: 9px solid transparent;
  border-top: 11px solid #3a3a3a;
  border-bottom: 0;
  transition: rotate 0.2s ease;
}

.faq__toggle[aria-expanded="true"]::after {
  rotate: 180deg;
}

.faq__toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--white);
  border-top: 1px solid #e6e6e6;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

/* ---------- Entrance animation: only with JS (layouts/landing.html adds .js), so without it
   everything shows ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

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

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

  .bye__dots i {
    animation: none;
    opacity: 1;
  }

  .js .faq__more {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
/* The mockup's header no longer fits one line: smaller logo and links. */
@media (max-width: 960px) {
  .header__inner {
    gap: 20px;
  }

  .header__logo img {
    width: 150px;
  }

  .nav {
    gap: 24px;
  }

  .nav a,
  .link-login {
    font-size: 13px;
  }

  .header__actions .btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .header__logo img {
    width: 120px;
  }

  .nav {
    gap: 16px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature__media {
    margin-left: 0;
    max-width: 420px;
  }

  .float-card {
    left: 180px;
  }

  .app-mock {
    max-width: 320px;
  }

  .bye__text {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --header-h: 60px;
  }

  .menu-toggle {
    display: flex;
  }

  .link-login {
    display: none;
  }

  .header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .header__logo img {
    width: 140px;
  }

  .header__actions .btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--white);
    box-shadow: 0 12px 24px rgb(0 0 0 / 0.1);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
  }

  .nav a::after {
    display: none;
  }

  .nav__mobile-only {
    display: block;
  }

  .hero {
    padding: 56px 0 64px;
    min-height: 0;
  }

  .hero__title br {
    display: none;
  }

  .hero__title .pill-dark {
    margin-block: 4px;
  }

  .steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-left: 8px;
  }

  .step__arrow {
    display: none;
  }

  .rule,
  .feature {
    margin-top: 64px;
  }

  .float-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -28px 0 0 auto;
    width: min(240px, 80%);
  }

  .bye {
    grid-template-columns: 1fr;
    margin-top: 64px;
    gap: 8px;
  }

  .bye__pins {
    padding-bottom: 0;
  }

  .pin--lime {
    width: 60px;
  }

  .pin--red {
    width: 72px;
  }

  .bye__dots {
    margin-bottom: 40px;
  }

  .bye__lead {
    padding-left: 4px;
  }

  /* The section is tall and narrow: bigger shapes, so they still read as the designer's. */
  .dark {
    --circle: circle 75vw at 40% 13%;
    --sun: circle 95vw at 12% 84%;
  }

  .dark::after {
    left: 90%;
    top: 42%;
    width: 150vw;
    height: 95vw;
  }

  :root {
    --benefits-overlap: 64px;
  }

  .benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .benefits__cta,
  .closing__btn {
    font-size: 14px;
    white-space: normal;
    width: max-content;
    max-width: calc(100% - 32px);
  }

  .app-mock--wide {
    aspect-ratio: 16 / 9;
  }

  .app-mock--wide .app-mock__body {
    grid-template-columns: 28% 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
