:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d6;
  --ink: #1c1917;
  --ink-muted: rgb(28 25 23 / 0.55);
  --wine: #6e1a28;
  --max: 40rem;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--stage, #f4efe4);
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--stage, var(--paper));
  background-image: radial-gradient(rgb(28 25 23 / 0.045) 0.55px, transparent 0.65px);
  background-size: 3px 3px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body[data-page="home"] {
  transition:
    background-color 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.45s ease;
}

body.motion-on[data-page="home"] {
  transition: color 0.45s ease;
}

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

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

.kicker,
.section-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgb(28 25 23 / 0.35);
}

.rule {
  width: 2.5rem;
  height: 1.5px;
  margin: 1rem 0 0;
  background: var(--wine);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--stage, #f4efe4) 88%, transparent);
  border-bottom: 1px solid rgb(28 25 23 / 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    background 0.55s ease,
    border-color 0.45s ease,
    color 0.45s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav {
  display: none;
  gap: 1rem;
  font-size: 0.8125rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

@media (min-width: 720px) {
  .nav {
    display: flex;
  }
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.25rem;
  min-width: 8.25rem;
  padding: 0 0.65rem 0 0.8rem;
  border: 1px solid rgb(28 25 23 / 0.16);
  background: var(--paper-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}

.lang-dropdown__btn:hover,
.lang-dropdown.is-open .lang-dropdown__btn {
  border-color: rgb(28 25 23 / 0.28);
  background: var(--paper);
}

.lang-dropdown__chevron {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--ink-muted);
  transition: transform 0.15s;
}

.lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 50;
  min-width: 11.5rem;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  border: 1px solid rgb(28 25 23 / 0.1);
  background: var(--paper);
  box-shadow: 0 10px 28px rgb(28 25 23 / 0.12);
}

.lang-dropdown__menu[hidden] {
  display: none;
}

.lang-dropdown__option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.lang-dropdown__option:hover {
  background: rgb(28 25 23 / 0.04);
}

.lang-dropdown__option.is-active {
  background: rgb(110 26 40 / 0.09);
  color: var(--wine);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  padding: 3rem 0 3.5rem;
  box-shadow: inset 3px 0 0 var(--wine);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  body[data-page="home"] {
    --max: 68rem;
  }

  .hero {
    padding: 4.25rem 0 4.75rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: stretch;
  }
}

.hero h1,
.privacy-page h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 3.65rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgb(28 25 23 / 0.62);
}

.hero-cta {
  margin-top: 1.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  height: 2.85rem;
  padding: 0 1.15rem;
  background: var(--wine);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.22s ease,
    background 0.4s ease,
    color 0.4s ease;
}

.cta:hover {
  color: var(--paper);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.cta-note {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  color: rgb(28 25 23 / 0.45);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(28 25 23 / 0.22);
  padding: 0.28rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(28 25 23 / 0.78);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 920px;
  transform-origin: 80% 60%;
}

@media (max-width: 899px) {
  .hero-copy {
    padding-right: 4.5rem;
  }

  .hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(18rem, 52vw);
    pointer-events: none;
  }
}

.hero-stamp {
  width: min(16.5rem, 78vw);
  height: auto;
}

.stay-card {
  margin-top: -0.5rem;
  width: min(15.5rem, 72vw);
}

.stay-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.stay-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.125rem;
}

.tally {
  height: 2px;
  margin: 0.75rem 0 0.55rem;
  background: rgb(28 25 23 / 0.1);
}

.tally span {
  display: block;
  width: 52%;
  height: 100%;
  background: var(--wine);
}

.motion-on .tally span {
  width: 0;
}

.motion-on .is-in .tally span {
  width: 52%;
  transition: width 1.2s 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.stay-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.stay-leave {
  margin-top: 0.2rem !important;
  font-weight: 600;
  color: var(--wine);
}

/* Sections */
section {
  padding: 2.5rem 0;
  border-top: 1px solid rgb(28 25 23 / 0.1);
  scroll-margin-top: 4.25rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

section .rule {
  margin-bottom: 1.5rem;
}

.rows {
  border-top: 1px solid rgb(28 25 23 / 0.1);
}

.row {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgb(28 25 23 / 0.08);
}

.row-index {
  padding-top: 0.2rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--wine);
}

.row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.row p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.prose {
  max-width: 40rem;
  color: var(--ink-muted);
}

.prose p {
  margin: 0 0 1rem;
}

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

.lang-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid rgb(28 25 23 / 0.1);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.footer-brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.footer-links a {
  text-decoration: none;
}

/* Privacy */
.privacy-main {
  padding: 2rem 0 3rem;
  box-shadow: inset 3px 0 0 var(--wine);
}

.privacy-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.updated {
  margin: 1.1rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.privacy-placeholder {
  border: 1px dashed rgb(28 25 23 / 0.18);
  background: rgb(255 255 255 / 0.18);
  padding: 1.25rem 1.35rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.privacy-placeholder strong {
  color: var(--ink);
}

.legal-lang-note {
  margin: -0.35rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.legal-doc {
  color: rgb(28 25 23 / 0.82);
  font-size: 0.9375rem;
  line-height: 1.62;
}

.legal-doc h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.125rem;
}

.legal-doc h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1rem;
}

.legal-doc p {
  margin: 0 0 0.85rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-doc li + li {
  margin-top: 0.2rem;
}

.legal-doc hr {
  border: 0;
  border-top: 1px solid rgb(28 25 23 / 0.12);
  margin: 1.6rem 0;
}

.legal-doc code {
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.summary {
  margin-top: 2rem;
}

.summary h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

/* Arrival card — cookie consent */
.landing-card {
  position: fixed;
  z-index: 80;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  width: min(22.75rem, calc(100vw - 1.5rem));
  background: var(--paper);
  isolation: isolate;
  border: 1px solid rgb(28 25 23 / 0.18);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.55) inset,
    0 18px 44px rgb(28 25 23 / 0.18);
  transform: rotate(-1.6deg) translate3d(0, 1.25rem, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease;
}

.landing-card.is-visible {
  transform: rotate(-1.6deg) translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.landing-card.is-stamped {
  transform: rotate(-3deg) translate3d(0, 0, 0) scale(0.98);
}

.landing-card.is-stamped .landing-card__mark {
  animation: ink-press 0.55s cubic-bezier(0.15, 0.85, 0.25, 1) forwards;
}

.landing-card.is-leaving {
  transform: rotate(-1.6deg) translate3d(0, 2.5rem, 0);
  opacity: 0;
  pointer-events: none;
}

.landing-card__rail {
  background: var(--wine);
  position: relative;
}

.landing-card__rail::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  background: radial-gradient(circle at 5px 8px, var(--paper) 3.5px, transparent 3.7px);
  background-size: 10px 16px;
  background-position: 0 6px;
}

.landing-card__body {
  position: relative;
  padding: 1rem 1.05rem 0.85rem 1rem;
}

.landing-card__kicker {
  margin: 0 7.5rem 0.45rem 0;
  font-family: var(--mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(28 25 23 / 0.38);
}

.landing-card__mark {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  width: 5.5rem;
  height: auto;
  opacity: 0.22;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.landing-card h2 {
  margin: 0 6.5rem 0.45rem 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.landing-card p {
  margin: 0 0 0.95rem;
  max-width: 18rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(28 25 23 / 0.62);
}

.landing-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
}

.landing-card__ink,
.landing-card__skip {
  font-family: inherit;
  cursor: pointer;
}

.landing-card__ink {
  height: 2.1rem;
  padding: 0 0.85rem;
  border: 0;
  background: var(--wine);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.landing-card__ink:hover {
  filter: brightness(1.08);
}

.landing-card__skip {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-card__skip:hover {
  color: var(--ink);
}

.landing-card__mrz {
  margin: 0.9rem -1.05rem -0.85rem -1rem;
  padding: 0.4rem 0.75rem 0.45rem;
  overflow: hidden;
  border-top: 1px dashed rgb(28 25 23 / 0.16);
  background: rgb(28 25 23 / 0.04);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgb(28 25 23 / 0.42);
}

@keyframes ink-press {
  0% {
    transform: scale(1.55) rotate(-22deg);
    opacity: 0;
    filter: blur(1.5px);
  }
  55% {
    transform: scale(0.94) rotate(-7deg);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: scale(1) rotate(-8deg);
    opacity: 0.92;
  }
}

@media (max-width: 640px) {
  .landing-card {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    transform: none;
  }

  .landing-card.is-visible,
  .landing-card.is-leaving,
  .landing-card.is-stamped {
    transform: none;
  }

  .landing-card.is-leaving {
    opacity: 0;
  }

  .landing-card h2 {
    margin-right: 5.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-card,
  .landing-card.is-visible,
  .landing-card.is-leaving,
  .landing-card.is-stamped,
  .landing-card.is-stamped .landing-card__mark {
    animation: none;
    transition: opacity 0.2s ease;
    transform: none;
  }
}

/* Proof */
.proof {
  padding: 0;
  border-top: 1px solid rgb(28 25 23 / 0.1);
}

.proof-grid {
  display: grid;
}

.proof-grid article {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgb(28 25 23 / 0.08);
}

.proof-grid article:last-child {
  border-bottom: 0;
}

.proof-grid span {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--wine);
}

.proof-grid h2 {
  font-size: 1.25rem;
}

.proof-grid p {
  margin: 0.5rem 0 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.25rem;
    padding: 2.25rem 0 2.5rem;
  }

  .proof-grid article {
    padding: 0;
    border-bottom: 0;
  }
}

/* Device */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 0.85rem;
  justify-items: center;
  margin-top: 2rem;
}

@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 1.5rem;
  }
}

.device {
  margin: 0;
  width: 15.5rem;
}

.gallery .device {
  width: min(15.5rem, 100%);
}

.device--hero {
  width: min(22rem, 72vw);
}

@media (min-width: 900px) {
  .device--hero {
    position: absolute;
    top: 50%;
    right: calc((100vw - min(100vw - 2rem, 68rem)) / -2 - 5.5rem);
    /* width: min(28.5rem, 46vw); */
    transform: translate(-17%, -47%) rotate(-30deg) scale(0.8);
  }
}

@media (min-width: 1250px) {
  .device--hero {
    transform: translate(-27%, -37%) rotate(-50deg) scale(1.2);
  }
}

@media (max-width: 899px) {
  .device--hero {
    position: absolute;
    top: 58%;
    right: -42%;
    display: none;
  }
}

.device figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(28 25 23 / 0.4);
}

.device-bezel {
  position: relative;
  padding: 0.55rem;
  border-radius: 2.15rem;
  background: #1c1917;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.18) inset,
    0 28px 50px rgb(28 25 23 / 0.18);
}

.device-island {
  position: absolute;
  z-index: 3;
  top: 0.85rem;
  left: 50%;
  width: 5.1rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #0c0a09;
  transform: translateX(-50%);
}

.device-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.4;
  border-radius: 1.7rem;
  background: var(--paper);
}

.device-shot {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device-bezel:has(.device-shot) .device-island {
  opacity: 0;
}

.device-screen:has(> .device-shot) .phone,
.device-screen.has-shot .phone {
  visibility: hidden;
}

.phone {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.1rem 0.85rem 0.55rem;
  box-shadow: inset 3px 0 0 var(--wine);
  background-image: radial-gradient(rgb(28 25 23 / 0.045) 0.55px, transparent 0.65px);
  background-size: 3px 3px;
}

.phone-top {
  margin-bottom: 1rem;
}

.phone-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(28 25 23 / 0.38);
}

.phone-top strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.phone-book {
  flex: 1;
  min-height: 0;
}

.phone-trip {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px solid rgb(28 25 23 / 0.1);
}

.phone-trip b {
  display: block;
  font-size: 0.875rem;
}

.phone-trip small,
.phone-trip time {
  color: rgb(28 25 23 / 0.45);
  font-size: 0.6875rem;
}

.phone-trip em {
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}

.phone-flag {
  font-size: 0.95rem;
  line-height: 1.2;
}

.phone-stamps {
  position: relative;
  height: 3.4rem;
  margin: -0.15rem 0 0.15rem;
}

.ink {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 1.5px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  opacity: 0.72;
  mix-blend-mode: multiply;
}

.ink-a {
  left: 1.1rem;
  transform: rotate(-12deg);
}

.ink-b {
  left: 3.4rem;
  top: 0.35rem;
  transform: rotate(8deg);
  opacity: 0.45;
}

.phone-mrz {
  margin: 0.4rem 0 0.7rem;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgb(28 25 23 / 0.35);
  white-space: nowrap;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
  margin-top: auto;
  padding: 0.35rem 0.15rem;
  border: 1px solid rgb(28 25 23 / 0.1);
  border-radius: 0.9rem;
  background: rgb(244 239 228 / 0.92);
}

.phone-tabs span {
  padding: 0.35rem 0.1rem;
  text-align: center;
  font-size: 0.4375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgb(28 25 23 / 0.38);
}

.phone-tabs .is-on {
  border-radius: 0.55rem;
  background: rgb(110 26 40 / 0.09);
  color: var(--wine);
  font-weight: 650;
}

.phone--visa .phone-tally {
  margin: 0.15rem 0 0.85rem;
}

.phone-used {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.phone-whatif {
  margin-top: 1.15rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgb(28 25 23 / 0.12);
  font-size: 0.75rem;
}

.phone--map {
  justify-content: space-between;
}

.phone-map-fallback {
  flex: 1;
  min-height: 8rem;
  margin: 0.35rem 0 1rem;
  background:
    radial-gradient(circle at 30% 45%, rgb(28 25 23 / 0.08) 1.2px, transparent 1.4px),
    linear-gradient(180deg, rgb(28 25 23 / 0.04), rgb(28 25 23 / 0.08));
}

.ticket {
  margin-top: 0.4rem;
  padding: 1rem 0.85rem 0.85rem;
  border: 1px solid rgb(28 25 23 / 0.16);
  background: rgb(255 255 255 / 0.28);
}

.ticket-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(28 25 23 / 0.4);
}

.ticket b {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.ticket p {
  margin: 0.15rem 0 0.9rem;
  font-size: 0.875rem;
}

.barcode {
  height: 2.4rem;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 5px,
    var(--ink) 5px 6px,
    transparent 6px 9px,
    var(--ink) 9px 13px,
    transparent 13px 15px
  );
  opacity: 0.82;
}

.ticket small {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: rgb(28 25 23 / 0.5);
}

.offline-panel {
  box-shadow: inset 3px 0 0 var(--wine);
  padding-left: 1.15rem;
}

.legal-band {
  padding: 1.5rem 0 2rem;
}

.legal-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.legal-line + .legal-line {
  margin-top: 0.7rem;
}


.stage-wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 55% at calc(92% - (var(--scroll, 0) * 58%)) calc(8% + (var(--scroll, 0) * 70%)),
    rgb(110 26 40 / 0.22),
    transparent 58%
  );
  opacity: var(--wash, 0);
  mix-blend-mode: multiply;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body[data-page="home"] main {
  overflow-x: clip;
}

.motion-on .hero-copy > * {
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-on .hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.motion-on .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.motion-on .hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.motion-on .hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.motion-on .hero-copy > *:nth-child(5) { animation-delay: 0.38s; }
.motion-on .hero-copy > *:nth-child(6) { animation-delay: 0.48s; }

.motion-on .chip {
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-on .chip:nth-child(1) { animation-delay: 0.58s; }
.motion-on .chip:nth-child(2) { animation-delay: 0.66s; }
.motion-on .chip:nth-child(3) { animation-delay: 0.74s; }
.motion-on .chip:nth-child(4) { animation-delay: 0.82s; }

.motion-on .hero h1 {
  clip-path: inset(0 0 100% 0);
  animation: line-open 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.motion-on .rule {
  transform-origin: left;
  animation: rule-draw 0.7s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-on .device--hero .ink {
  opacity: 0;
  animation: ink-press 0.7s cubic-bezier(0.15, 0.85, 0.25, 1) forwards;
}

.motion-on .device--hero .ink-a { animation-delay: 1.18s; }
.motion-on .device--hero .ink-b { animation-delay: 1.36s; }

.motion-on .phone-mrz span {
  display: inline-block;
  min-width: 160%;
  animation: mrz-crawl 18s linear infinite;
}

.motion-on [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.motion-on .proof-grid article:nth-child(2) { transition-delay: 0.1s; }
.motion-on .proof-grid article:nth-child(3) { transition-delay: 0.2s; }
.motion-on .gallery .device:nth-child(2) { transition-delay: 0.08s; }
.motion-on .gallery .device:nth-child(3) { transition-delay: 0.16s; }
.motion-on .gallery .device:nth-child(4) { transition-delay: 0.24s; }
.motion-on .rows .row:nth-child(2) { transition-delay: 0.06s; }
.motion-on .rows .row:nth-child(3) { transition-delay: 0.12s; }
.motion-on .rows .row:nth-child(4) { transition-delay: 0.18s; }

body.stage-dark {
  color: #f4efe4;
  background-image: radial-gradient(rgb(244 239 228 / 0.07) 0.55px, transparent 0.65px);
}

body.stage-dark .site-header {
  border-bottom-color: rgb(244 239 228 / 0.12);
  color: #f4efe4;
}

body.stage-dark .brand,
body.stage-dark .nav a {
  color: rgb(244 239 228 / 0.72);
}

body.stage-dark .nav a:hover,
body.stage-dark .brand:hover {
  color: #f4efe4;
}

body.stage-dark .lang-dropdown__btn {
  background: rgb(244 239 228 / 0.08);
  color: #f4efe4;
  border-color: rgb(244 239 228 / 0.28);
}

body.stage-dark .lang-dropdown__btn:hover,
body.stage-dark .lang-dropdown.is-open .lang-dropdown__btn {
  background: rgb(244 239 228 / 0.14);
}

body.stage-dark .lang-dropdown__chevron {
  color: rgb(244 239 228 / 0.55);
}

body.stage-dark .lang-dropdown__menu {
  background: #3a1520;
  border-color: rgb(244 239 228 / 0.14);
}

body.stage-dark .proof-grid span {
  color: #e8c9b2;
}

body.stage-dark .footer-brand,
body.stage-dark .footer-links,
body.stage-dark .footer-links a {
  color: rgb(244 239 228 / 0.7);
}

body.motion-on .site-header {
  transition: border-color 0.45s ease, color 0.45s ease;
}

body.stage-dark .lang-dropdown__option {
  color: #f4efe4;
}

body.stage-dark .lang-dropdown__option:hover,
body.stage-dark .lang-dropdown__option.is-active {
  background: rgb(244 239 228 / 0.1);
}

body.stage-dark .cta {
  background: #f4efe4;
  color: #6e1a28;
}

body.stage-dark .cta:hover {
  color: #6e1a28;
  filter: none;
}

body.stage-dark .cta-note,
body.stage-dark .lede,
body.stage-dark .kicker,
body.stage-dark .section-kicker,
body.stage-dark .chip,
body.stage-dark figcaption,
body.stage-dark .legal-line,
body.stage-dark .legal-line a,
body.stage-dark .lang-note,
body.stage-dark .prose,
body.stage-dark .row p,
body.stage-dark .proof-grid p {
  color: rgb(244 239 228 / 0.68);
}

body.stage-dark a:hover {
  color: #f4efe4;
}

body.stage-dark .row-index {
  color: #e8c9b2;
}

body.stage-dark .chip {
  border-color: rgb(244 239 228 / 0.28);
}

body.stage-dark section,
body.stage-dark .proof,
body.stage-dark .site-footer {
  border-top-color: rgb(244 239 228 / 0.12);
  border-bottom-color: rgb(244 239 228 / 0.12);
}

body.stage-dark .row,
body.stage-dark .proof-grid article {
  border-color: rgb(244 239 228 / 0.12);
}

body.stage-dark .stage-wash {
  mix-blend-mode: screen;
  background: radial-gradient(
    ellipse 70% 50% at calc(10% + (var(--scroll, 0) * 50%)) calc(86% - (var(--scroll, 0) * 40%)),
    rgb(244 239 228 / 0.12),
    transparent 55%
  );
}

body.stage-dark .landing-card {
  color: #1c1917;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes line-open {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes rule-draw {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes mrz-crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-42%); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-card,
  .landing-card.is-visible,
  .landing-card.is-leaving,
  .landing-card.is-stamped,
  .landing-card.is-stamped .landing-card__mark,
  .motion-on .hero-copy > *,
  .motion-on .chip,
  .motion-on .hero h1,
  .motion-on .rule,
  .motion-on .device--hero .ink,
  .motion-on .phone-mrz,
  .motion-on .phone-mrz span,
  .motion-on [data-reveal] {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
    clip-path: none;
  }

  .motion-on .tally span,
  .motion-on .is-in .tally span {
    width: 52%;
    transition: none;
  }
}
