/* Versioned path prevents stale CDN CSS from being paired with newer page markup. */
:root {
  --paper: #f7f9fc;
  --paper-warm: #f5efe3;
  --ink: #111827;
  --muted: #596273;
  --blue: #2151f5;
  --blue-dark: #1235b8;
  --blue-pale: #dce5ff;
  --amber: #ffb347;
  --amber-dark: #d98d16;
  --red: #dc3c30;
  --green: #72b51d;
  --line: rgba(17, 24, 39, 0.2);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --legal-notice-height: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: var(--legal-notice-height);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(33, 81, 245, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(33, 81, 245, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  color: white;
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.aceves-app-bar {
  color: #f8f5ec;
  background: #111318;
  border-bottom: 1px solid #34363c;
  font-family: var(--mono);
}

.aceves-app-bar__inner {
  width: min(1440px, calc(100% - 3rem));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.aceves-app-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #b8bac2;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 150ms ease;
}

.aceves-app-bar__label:hover {
  color: #ffffff;
  text-decoration: none;
}

.aceves-app-bar__label:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.aceves-app-bar__mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #111318;
  background: #f8f5ec;
  font-size: 0.7rem;
  letter-spacing: 0;
}

.aceves-app-bar__nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.aceves-app-link {
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  border: 1px solid transparent;
  color: #d4d5da;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.aceves-app-link:hover {
  color: #ffffff;
  border-color: #4a4d55;
  background: #22242a;
  text-decoration: none;
}

.aceves-app-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.aceves-app-link.is-current {
  color: #111318;
  background: #f8f5ec;
}

.aceves-app-link__dot {
  width: 8px;
  height: 8px;
  background: #d8ff36;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(216, 255, 54, 0.22);
}

.aceves-app-link--visa .aceves-app-link__dot {
  background: #4f7cff;
  box-shadow: 0 0 0 2px rgba(79, 124, 255, 0.25);
}

.aceves-app-link__arrow {
  margin-left: 0.08rem;
  color: #8e919a;
  font-size: 0.8rem;
  line-height: 1;
}

.site-header,
footer {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 86px;
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand img { border-radius: 10px; }

.site-header nav,
footer div {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main { overflow: hidden; }

.hero {
  position: relative;
  width: min(1440px, calc(100% - 3rem));
  min-height: calc(100svh - 138px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.route-line {
  position: absolute;
  top: 15%;
  right: 4%;
  width: 43%;
  aspect-ratio: 1.45;
  border: 2px dashed rgba(33, 81, 245, 0.28);
  border-width: 2px 0 0 2px;
  border-radius: 70% 0 0;
  transform: rotate(-7deg);
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
}

.route-line::before { top: -8px; left: -8px; }
.route-line::after { right: -7px; bottom: -8px; }

.kicker,
.section-code,
.feature-index,
.fineprint,
.policy-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker { color: var(--blue-dark); }

.hero h1 {
  max-width: 10ch;
  margin: 1rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(4rem, 8.8vw, 8.8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  font-weight: 400;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.04em;
  left: -0.04em;
  height: 0.22em;
  background: var(--amber);
  transform: rotate(-1.4deg);
}

.intro {
  max-width: 39rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.82rem 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.button-primary { color: white; background: var(--blue); }
.button-dark { color: white; background: var(--ink); }
.button-outline { background: transparent; }
.button-light { color: var(--ink); background: var(--paper); }

.quiet-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.privacy-strip {
  max-width: 38rem;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.privacy-strip div { padding: 0.85rem 0.8rem 0.85rem 0; }
.privacy-strip div + div { padding-left: 0.8rem; border-left: 1px solid var(--line); }
.privacy-strip dt { color: var(--muted); font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; }
.privacy-strip dd { margin: 0.2rem 0 0; font-weight: 700; }

.hero-visual {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(42vw, 580px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  animation: pulse-route 8s ease-in-out infinite;
}

.phone {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 2rem;
  background: var(--ink);
  box-shadow: 14px 16px 0 var(--ink);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-hero {
  position: relative;
  width: min(73%, 340px);
  transform: rotate(2.2deg);
  animation: arrive 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.trip-reminder {
  position: absolute;
  z-index: 3;
  top: 4rem;
  left: -2rem;
  width: 210px;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper-warm);
  box-shadow: 7px 7px 0 var(--amber);
  font-family: var(--mono);
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.trip-reminder > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.trip-reminder strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
}

.trip-reminder b {
  color: var(--blue-dark);
  white-space: nowrap;
}

.flight-card {
  position: absolute;
  right: -1.5rem;
  bottom: 5rem;
  z-index: 3;
  min-width: 250px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  border: 1px solid var(--ink);
  background: var(--amber);
  box-shadow: 7px 7px 0 var(--ink);
  font-family: var(--mono);
  font-size: 1.05rem;
  text-align: center;
  transform: rotate(-2deg);
}

.flight-card small {
  grid-column: 1 / -1;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.border-note,
.privacy-callout {
  padding: clamp(4rem, 9vw, 8.5rem) max(1.5rem, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  color: white;
  background: var(--ink);
}

.border-note h2,
.privacy-callout h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.border-note div > p,
.privacy-callout div > p {
  max-width: 45rem;
  margin: 2rem 0 0;
  color: #dce1eb;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
}

.feature-ledger {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.feature-ledger article {
  min-height: 330px;
  padding: 2rem;
  border-right: 1px solid var(--ink);
}

.feature-ledger article:last-child { border-right: 0; }
.feature-ledger article:nth-child(2) { background: var(--blue-pale); }
.feature-ledger article:nth-child(3) { background: var(--amber); }

.feature-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.feature-ledger h2 {
  margin: 3.5rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.feature-ledger p { color: var(--muted); }

.screens {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--paper-warm);
}

.screens-copy {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 0.32fr 0.85fr 0.65fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

.screens-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.screens-copy > p:last-child { margin: 0; color: var(--muted); }

.screen-rail {
  width: min(1540px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.screen-rail figure { margin: 0; }
.screen-rail figure:nth-child(even) { padding-top: 5rem; }
.screen-rail .phone { border-radius: 1.6rem; box-shadow: 9px 11px 0 var(--ink); }
.screen-rail figcaption { margin-top: 1.35rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }

.beta {
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  background: var(--amber);
}

.beta-marker {
  align-self: start;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 5px double var(--ink);
  border-radius: 50%;
  text-align: center;
  transform: rotate(-5deg);
}

.beta-marker strong {
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 11rem);
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.beta-marker span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }

.beta-copy h2 {
  max-width: 11ch;
  margin: 0.75rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.beta-copy > p:not(.section-code):not(.fineprint) {
  max-width: 48rem;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.join-steps {
  margin: 3rem 0 2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.join-steps li {
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  border-bottom: 1px solid var(--ink);
}

.join-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
}

.join-steps h3 { margin: 0; font-size: 1.2rem; }
.join-steps p { max-width: 44rem; }
.fineprint { max-width: 50rem; }

.privacy-callout { background: var(--blue); }
.privacy-callout .button { margin-top: 1.5rem; }

.disclaimer {
  position: static;
  padding: 1rem max(1.5rem, calc((100vw - 1440px) / 2));
  overflow-y: auto;
  border-top: 1px solid var(--ink);
  background: var(--paper-warm);
  font-size: 0.78rem;
  line-height: 1.45;
}

.disclaimer--pinned {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  max-height: 45svh;
  box-shadow: 0 -12px 30px rgba(17, 24, 39, 0.12);
  transform: translateY(0);
  transition: transform 420ms cubic-bezier(0.4, 0, 1, 1),
    box-shadow 300ms ease;
}

.disclaimer--leaving {
  box-shadow: none;
  transform: translateY(calc(100% + 1px));
}

.disclaimer__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.disclaimer p {
  margin: 0;
}

.disclaimer strong { font-weight: 750; }

footer { min-height: 100px; }
footer p { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }

.release-hero {
  position: relative;
  width: min(1440px, calc(100% - 3rem));
  min-height: 560px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 10rem);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.release-hero::before {
  content: "ALA  /  CDG  /  NRT  /  MEX  /  Visa Logger";
  position: absolute;
  right: -4rem;
  bottom: 2rem;
  color: rgba(33, 81, 245, 0.08);
  font-family: var(--mono);
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.8;
  white-space: nowrap;
  transform: rotate(-4deg);
}

.release-hero__copy,
.release-passport { position: relative; z-index: 1; }

.release-hero h1 {
  max-width: 8ch;
  margin: 0.75rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.release-hero__copy > p:last-child {
  max-width: 41rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.45;
}

.release-passport {
  width: min(100%, 380px);
  aspect-ratio: 1.25;
  justify-self: center;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  color: white;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    var(--blue);
  background-size: 24px 24px;
  box-shadow: 12px 14px 0 var(--ink);
  transform: rotate(3deg);
}

.release-passport span,
.release-passport small {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-passport strong {
  font-family: var(--display);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.release-passport small { align-self: flex-end; }

.release-ledger {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.release-entry {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 3rem) clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--ink);
}

.release-entry:last-child { border-bottom: 1px solid var(--ink); }

.release-entry::before {
  content: "";
  position: absolute;
  top: clamp(3rem, 6vw, 5.5rem);
  left: 1.35rem;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--ink);
}

.release-entry:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(3rem, 6vw, 5.5rem);
  bottom: calc(clamp(2.5rem, 6vw, 5rem) * -1);
  left: calc(1.35rem + 7px);
  border-left: 2px dashed rgba(33, 81, 245, 0.42);
}

.release-entry--latest {
  border: 1px solid var(--ink);
  background: var(--blue-pale);
  box-shadow: 8px 9px 0 var(--ink);
}

.release-entry--latest::before { border-color: var(--blue-pale); background: var(--amber-dark); }
.release-entry--first::before { background: var(--ink); }

.release-entry__header h2 {
  margin: 0.5rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.release-entry__header h2 span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.release-entry__header time,
.release-sequence {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.release-entry__header time { color: var(--muted); }
.release-sequence { margin: 0; color: var(--blue-dark); }

.release-notes section {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
}

.release-notes section + section {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.release-notes h3 { margin: 0; line-height: 1; }

.release-label {
  display: inline-flex;
  min-width: 6.6rem;
  min-height: 28px;
  padding: 0.35rem 0.55rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.release-label--new { color: white; background: var(--blue); }
.release-label--improved { background: var(--amber); }
.release-label--fixed { color: white; background: var(--ink); }

.release-notes ul { margin: 0; padding-left: 1.25rem; }
.release-notes li + li { margin-top: 0.9rem; }

.release-anchor {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.release-anchor:hover,
.release-anchor:focus-visible { color: var(--blue-dark); outline: 1px solid currentColor; }
.release-entry:target { outline: 3px solid var(--blue); outline-offset: 5px; }

.release-end {
  padding: clamp(4rem, 9vw, 8.5rem) max(1.5rem, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  background: var(--amber);
}

.release-end h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.release-end div > p {
  max-width: 42rem;
  margin: 1.5rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
}

.policy-layout {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.85fr);
  gap: clamp(3rem, 8vw, 9rem);
  overflow: visible;
}

.policy-layout aside { position: sticky; top: 2rem; align-self: start; }

.policy-layout h1 {
  margin: 0.6rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.policy-date { color: var(--muted); }

.policy-copy section {
  padding: 0 0 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

.policy-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.policy-copy p,
.policy-copy li { max-width: 48rem; }
.policy-copy li + li { margin-top: 0.55rem; }

.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--amber);
}

.error-page main { width: min(760px, calc(100% - 3rem)); margin: auto; }
.error-page h1 { margin: 0.75rem 0 2rem; font-family: var(--display); font-size: clamp(4rem, 11vw, 9rem); letter-spacing: -0.07em; line-height: 0.85; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(30px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(2.2deg); }
}

@keyframes pulse-route {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 0.82fr; gap: 2rem; }
  .feature-ledger { grid-template-columns: repeat(2, 1fr); }
  .feature-ledger article:nth-child(2) { border-right: 0; }
  .feature-ledger article:nth-child(-n + 2) { border-bottom: 1px solid var(--ink); }
  .screen-rail { grid-template-columns: repeat(2, 1fr); max-width: 850px; }
  .screen-rail figure:nth-child(even) { padding-top: 3rem; }
  .screens-copy { grid-template-columns: 0.35fr 1fr; }
  .screens-copy > p:last-child { grid-column: 2; }
  .disclaimer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disclaimer p:last-child { grid-column: 1 / -1; }
  .release-entry { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .aceves-app-bar__inner {
    width: calc(100% - 1rem);
    min-height: 48px;
    gap: 0.5rem;
  }

  .aceves-app-bar__label > span:last-child {
    display: none;
  }

  .aceves-app-bar__nav {
    margin-left: auto;
  }

  .aceves-app-link {
    min-height: 32px;
    padding: 0.4rem 0.55rem;
    font-size: 0.62rem;
  }

  .aceves-app-link__arrow {
    display: none;
  }

  .site-header,
  footer,
  .hero,
  .feature-ledger,
  .screens-copy,
  .policy-layout { width: min(100% - 2rem, 640px); }

  .site-header { min-height: 74px; }
  .site-header nav a:not(.legal-link):not(.nav-release):not([aria-current="page"]) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 20vw, 6.2rem); }
  .hero-visual { min-height: 600px; }
  .hero-visual::before { width: min(85vw, 520px); }
  .phone-hero { width: min(67vw, 320px); }
  .trip-reminder { left: 0; }
  .flight-card { right: 0; }
  .privacy-strip { font-size: 0.85rem; }
  .border-note,
  .privacy-callout,
  .beta { grid-template-columns: 1fr; }
  .feature-ledger { grid-template-columns: 1fr; }
  .feature-ledger article { min-height: 270px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-ledger article:last-child { border-bottom: 0; }
  .screens-copy { grid-template-columns: 1fr; }
  .screens-copy > p:last-child { grid-column: auto; }
  .screen-rail { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .screen-rail figure:nth-child(even) { padding-top: 2rem; }
  .beta-marker { width: min(68vw, 340px); }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-layout aside { position: static; }
  .release-hero {
    width: min(100% - 2rem, 640px);
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 4rem 0 5rem;
  }
  .release-hero h1 { font-size: clamp(4rem, 22vw, 7rem); }
  .release-passport { width: min(78vw, 340px); justify-self: start; }
  .release-ledger { width: min(100% - 2rem, 640px); }
  .release-entry {
    padding-right: 0.75rem;
    padding-left: 3.5rem;
    gap: 2rem;
  }
  .release-entry::before { left: 1rem; }
  .release-entry:not(:last-child)::after { left: calc(1rem + 7px); }
  .release-notes section { grid-template-columns: 1fr; gap: 0.8rem; }
  .release-label { min-width: 0; }
  .release-end { grid-template-columns: 1fr; }
  .disclaimer--pinned {
    max-height: 48svh;
  }
  .disclaimer {
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    font-size: 0.75rem;
  }
  .disclaimer__inner { grid-template-columns: 1fr; gap: 0.65rem; }
  .disclaimer p:last-child { grid-column: auto; }
  footer { padding: 1.5rem 0; align-items: flex-start; gap: 1.5rem; }
  footer div { flex-direction: column; gap: 0.75rem; text-align: right; }
}

@media (max-width: 470px) {
  .brand span { font-size: 1.15rem; }
  .privacy-strip { grid-template-columns: 1fr; }
  .privacy-strip div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .screen-rail { grid-template-columns: 1fr; width: min(78%, 360px); }
  .screen-rail figure:nth-child(even) { padding-top: 0; }
}

.feedback-page {
  background:
    linear-gradient(90deg, rgba(33, 81, 245, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(33, 81, 245, 0.045) 1px, transparent 1px),
    var(--paper-warm);
  background-size: 28px 28px;
}

.feedback-layout {
  width: min(1440px, calc(100% - 3rem));
  min-height: calc(100svh - 238px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 0.92fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 9rem);
  overflow: visible;
}

.feedback-intro {
  position: sticky;
  top: 2rem;
}

.feedback-intro h1 {
  max-width: 9ch;
  margin: 0.7rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.feedback-intro h1 em {
  position: relative;
  z-index: 0;
  font-weight: 400;
}

.feedback-intro h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.04em;
  left: -0.04em;
  height: 0.22em;
  background: var(--amber);
  transform: rotate(-1.4deg);
}

.feedback-intro > p:not(.kicker) {
  max-width: 36rem;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.feedback-route {
  max-width: 25rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feedback-route i {
  position: relative;
  height: 1px;
  border-top: 2px dashed var(--blue);
}

.feedback-route i::after {
  content: "";
  position: absolute;
  top: -6px;
  right: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper-warm);
}

.feedback-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 14px 0 var(--ink);
}

.feedback-card__header {
  min-height: 58px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  background: var(--amber);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feedback-card__header strong {
  padding: 0.25rem 0.55rem;
  color: white;
  background: var(--ink);
}

#feedback-form { padding: clamp(1.4rem, 4vw, 2.5rem); }

.feedback-kind {
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0;
}

.feedback-kind legend,
.feedback-field > span {
  margin-bottom: 0.65rem;
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-kind label { position: relative; }
.feedback-kind input { position: absolute; opacity: 0; }

.feedback-kind label span {
  min-height: 56px;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--ink);
  border-right: 0;
  cursor: pointer;
  font-weight: 700;
}

.feedback-kind label:last-child span { border-right: 1px solid var(--ink); }
.feedback-kind label b { color: var(--muted); font-family: var(--mono); font-size: 0.62rem; }
.feedback-kind input:checked + span { color: white; background: var(--blue); }
.feedback-kind input:checked + span b { color: var(--blue-pale); }
.feedback-kind input:focus-visible + span { outline: 3px solid var(--amber-dark); outline-offset: 3px; }

.feedback-field { display: block; }
.feedback-field + .feedback-field { margin-top: 1.25rem; }
.feedback-field > span b { color: var(--red); }
.feedback-field > span small { color: var(--muted); font-size: 0.6rem; }

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: white;
  font: inherit;
  line-height: 1.5;
}

.feedback-field textarea { min-height: 180px; resize: vertical; }
.feedback-field input:focus,
.feedback-field textarea:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.feedback-field > small { margin-top: 0.45rem; display: block; color: var(--muted); font-size: 0.78rem; }

.feedback-field-row {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.feedback-field-row .feedback-field { margin: 0; }

.feedback-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.feedback-turnstile { min-height: 65px; margin-top: 1.5rem; }

.feedback-submit-row {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
}

.feedback-submit-row button { cursor: pointer; }
.feedback-submit-row button:disabled { cursor: wait; opacity: 0.62; box-shadow: none; transform: none; }
.feedback-status { margin: 0; color: var(--muted); font-size: 0.85rem; }
.feedback-status[data-kind="error"] { color: var(--red); font-weight: 700; }

.feedback-privacy-note {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.feedback-success {
  min-height: 560px;
  padding: clamp(2rem, 7vw, 5rem);
  place-content: center;
}

.feedback-success:not([hidden]) { display: grid; }
.feedback-success > span { color: var(--green); font-family: var(--display); font-size: 5rem; line-height: 1; }
.feedback-success h2 { margin: 0.5rem 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.06em; }
.feedback-success .button { width: fit-content; margin-top: 1.5rem; }


@media (max-width: 1050px) {
  .feedback-layout { grid-template-columns: minmax(0, 0.65fr) minmax(440px, 1fr); gap: 3rem; }
}

@media (max-width: 760px) {
  .feedback-layout { width: min(100% - 2rem, 640px); grid-template-columns: 1fr; padding-top: 3.5rem; }
  .feedback-intro { position: static; }
  .feedback-intro h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
}

@media (max-width: 470px) {
  .feedback-kind { grid-template-columns: 1fr; }
  .feedback-kind label span { border-right: 1px solid var(--ink); border-bottom: 0; }
  .feedback-kind label:last-child span { border-bottom: 1px solid var(--ink); }
  .feedback-field-row,
  .feedback-submit-row { grid-template-columns: 1fr; }
  .feedback-submit-row .button { width: 100%; }
  .feedback-card { box-shadow: 7px 8px 0 var(--ink); }
}

