/* Payloopi marketing — Apple materials, springs, objects in rooms */
:root {
  --paper: #f5f5f7;
  --white: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --rule: rgba(29, 29, 31, 0.12);
  --accent: #ff4d00;
  --shadow: 0 28px 80px -24px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 48px);
  --max: 1120px;
  --nav-h: 88px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.display {
  font-family: Syne, -apple-system, BlinkMacSystemFont, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-weight: 700;
}
.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }

/* Floating glass nav */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(1180px, calc(100% - 24px));
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    0 10px 40px -22px rgba(0,0,0,0.22);
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 18px 50px -18px rgba(0,0,0,0.32);
}
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; line-height: 0; justify-self: start; }
.brand img { display: block; height: 28px; width: auto; }
@media (min-width: 480px) { .brand img { height: 30px; } }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(245,245,247,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, transform 100ms ease-out;
}
.nav-links a:active { transform: scale(0.97); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(0,0,0,0.35);
}
.nav-cta { display: inline-flex; align-items: center; gap: 12px; justify-self: end; }
.link-quiet { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.link-quiet:active { transform: scale(0.97); display: inline-block; }

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 16px/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 100ms ease-out, background-color 180ms ease, color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(29,29,31,0.06); }
.btn-paper { background: var(--white); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e64600; }

.hero { min-height: 100svh; display: grid; align-content: start; padding: 108px 0 0; }
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; padding-inline: var(--pad); }
.hero h1 { margin: 0; font-size: clamp(2.7rem, 6.6vw, 4.8rem); font-weight: 800; }
.hero-line {
  margin: 14px 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.hero-line em { font-style: normal; color: var(--accent); }
.hero p.lede { margin: 14px auto 0; max-width: 38ch; color: var(--muted); font-size: 17px; }
.hero-actions { margin-top: 22px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.note { margin: 10px auto 0; color: var(--muted); font-size: 13px; }

.stage {
  position: relative;
  margin-top: 18px;
  height: min(62vh, 560px);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  padding-bottom: 72px;
}
.stage.is-dragging { cursor: grabbing; }
.stage-track { position: absolute; inset: 0 0 72px 0; display: flex; align-items: center; justify-content: center; }
.paper {
  position: absolute;
  width: min(340px, 78vw);
  aspect-ratio: 1 / 1.28;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  will-change: transform;
  transform-origin: 50% 60%;
}
.paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.paper-receipt { display: grid; grid-template-rows: auto 1fr auto; padding: 22px 22px 18px; font-size: 13px; }
.paper-receipt .who { font-weight: 700; font-size: 15px; }
.paper-receipt .meta { color: var(--muted); margin-top: 4px; font-size: 12px; }
.paper-receipt .amt {
  font-family: Syne, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: auto;
}
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 650; width: fit-content; }
.chip-open { background: rgba(255, 77, 0, 0.12); color: var(--accent); }
.orbit { position: absolute; left: 50%; top: 54%; width: min(720px, 92vw); height: 220px; transform: translate(-50%, -50%); pointer-events: none; }
.orbit svg { width: 100%; height: 100%; }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; pointer-events: none; }
.stage-caption strong { display: block; font-size: 15px; font-weight: 650; }
.stage-caption span { color: var(--muted); font-size: 13px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; pointer-events: auto; }
.dots button {
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 99px;
  background: transparent; cursor: pointer; position: relative;
}
.dots button::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-radius: 99px;
  background: rgba(29,29,31,0.22);
  transform: translate(-50%, -50%);
  transition: width 160ms var(--ease), background-color 160ms ease;
}
.dots button[aria-current="true"]::after { width: 18px; background: var(--accent); }

.sequence {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 80px;
  overflow: hidden;
}
.sequence h2 { margin: 0 auto 56px; max-width: 14ch; text-align: center; font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; }
.moves {
  position: relative;
}
.moves-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  will-change: transform;
}
.move {
  flex: 0 0 auto;
  width: min(280px, 78vw);
}
.moves-path {
  display: none;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 118px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.moves-path i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: left center;
}
.move {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.move-num {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.move-paper {
  width: min(220px, 70vw);
  aspect-ratio: 1 / 1.28;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.7);
  overflow: hidden;
  transform: rotate(var(--tilt, -2deg));
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.move:hover .move-paper { transform: rotate(0deg) translateY(-6px); }
.move:nth-child(2) { --tilt: 1.4deg; }
.move:nth-child(3) { --tilt: 2.6deg; }
.move-paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.move-paper .mini {
  display: grid;
  height: 100%;
  padding: 18px 16px 14px;
  text-align: left;
  align-content: space-between;
}
.move-paper .mini b { display: block; font-size: 14px; }
.move-paper .mini span { color: var(--muted); font-size: 12px; }
.move-paper .mini strong {
  font-family: Syne, sans-serif;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.move h3 { margin: 8px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.move p { margin: 6px 0 0; color: rgba(255,255,255,0.62); max-width: 28ch; }


.rail {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.rail.is-dragging { cursor: grabbing; }
.rail-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}
.rail-dots button {
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 99px;
  background: transparent; cursor: pointer; position: relative;
}
.rail-dots button::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,0.28);
  transform: translate(-50%, -50%);
  transition: width 160ms var(--ease), background-color 160ms ease;
}
.rail-dots button[aria-current="true"]::after { width: 18px; background: var(--accent); }
.papers .rail-dots button::after { background: rgba(29,29,31,0.22); }
.papers .rail-dots button[aria-current="true"]::after { background: var(--accent); }

.papers { padding: 96px 0 48px; }
.papers h2 { margin: 0 auto 12px; max-width: 16ch; text-align: center; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.papers .lede { margin: 0 auto 40px; max-width: 38ch; text-align: center; color: var(--muted); }
.paper-row { overflow: hidden; }
.paper-track {
  display: flex;
  align-items: start;
  gap: 16px;
  will-change: transform;
}
.sheet {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sheet img { width: 100%; height: auto; display: block; }
.sheet figcaption { padding: 12px 14px 14px; font-size: 13px; font-weight: 650; letter-spacing: -0.02em; }
.sheet figcaption span { display: block; margin-top: 2px; font-weight: 500; color: var(--muted); font-size: 12px; }

.loopi { padding: 100px 0; }
.ask { max-width: 560px; margin: 0 auto; text-align: center; }
.ask h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.ask p { margin: 12px auto 0; color: var(--muted); max-width: 36ch; }
.ask-bar {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,0.25);
  text-align: left;
}
.ask-bar .prompt { flex: 1; color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-bar .btn { flex: 0 0 auto; }

.chat { margin: 28px auto 0; max-width: 420px; text-align: left; }
.bubble { max-width: 92%; padding: 12px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bubble + .bubble { margin-top: 8px; }
.bubble b { display: block; font-size: 11px; font-weight: 650; margin-bottom: 4px; opacity: 0.6; }
.bubble-you { background: var(--white); margin-left: 0; border-bottom-left-radius: 6px; }
.bubble-loopi { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }

.wa { background: var(--ink); color: #fff; padding: 88px 0; }
.wa .wrap { display: grid; gap: 40px; align-items: center; }
.wa h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
.wa p { margin: 12px 0 0; color: rgba(255,255,255,0.62); max-width: 38ch; }
.wa .hero-actions { justify-content: flex-start; margin-top: 22px; }
.phone {
  width: min(280px, 100%);
  margin-inline: auto;
  background: #111;
  border-radius: 36px;
  padding: 12px 10px 16px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-bar { width: 88px; height: 8px; border-radius: 99px; background: #2a2a2a; margin: 6px auto 14px; }
.phone-screen { background: #1c1c1e; border-radius: 24px; padding: 16px 12px 18px; min-height: 280px; }
.phone .chat { margin: 0; max-width: none; }
.phone .bubble-you { background: #fff; color: var(--ink); }
.phone .bubble-you b { color: var(--muted); opacity: 1; }
.phone .bubble-loopi { background: var(--accent); color: #fff; }

.places { padding: 96px 0 120px; }
.places h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.places p.lede { margin: 12px 0 0; color: var(--muted); max-width: 42ch; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.chips a, .chips span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 30px -22px rgba(0,0,0,0.35);
  transition: transform 100ms ease-out, background-color 160ms ease;
}
.chips a:hover { background: #fff; }
.chips a:active { transform: scale(0.97); }
.places .more {
  display: inline-flex;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

.page-hero { padding: 120px 0 28px; }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 14ch; }
.page-hero p { margin: 14px 0 0; color: var(--muted); max-width: 42ch; font-size: 18px; }
.page-hero.dark {
  background: var(--ink);
  color: #fff;
  padding: 128px 0 72px;
  margin-top: 0;
  border-radius: 0;
}
.page-hero.dark p { color: rgba(255,255,255,0.62); }
.page-hero.dark .wrap { display: grid; gap: 36px; align-items: center; }

.scene { padding: 88px 0; }
.scene .wrap { display: grid; gap: 32px; align-items: center; }
.scene h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.scene p { margin: 12px 0 0; color: var(--muted); max-width: 46ch; }
.scene-visual { display: flex; justify-content: center; }
.scene.ink { background: var(--ink); color: #fff; }
.scene.ink p { color: rgba(255,255,255,0.62); }
.scene.ink .bubble-you { background: #fff; color: var(--ink); }

.soon { padding: 80px 0 100px; }
.soon h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.soon p { margin: 12px 0 0; color: var(--muted); max-width: 46ch; }
.soon-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.soon-row span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.countries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 8px 0 28px;
}
.country {
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px 24px;
  min-height: 168px;
  box-shadow: 0 16px 50px -32px rgba(0,0,0,0.28);
}
.country .rate {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
}
.country h3 { margin: 14px 0 0; font-size: 18px; letter-spacing: -0.03em; }
.country p { margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: none; }
.country-rest {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--rule);
}
.country-rest .rate { color: var(--muted); font-size: 1.4rem; letter-spacing: -0.03em; }
.country-rest h3 { color: var(--muted); font-weight: 600; }
.quiet { padding-top: 8px; color: var(--muted); max-width: 48ch; }

.price-page { padding: 24px 0 40px; text-align: center; }
.price-page .page-hero { padding-bottom: 8px; }
.price-page .page-hero h1,
.price-page .page-hero p { margin-inline: auto; }
.price-box {
  margin: 36px auto 0;
  background: var(--white);
  border-radius: 32px;
  padding: 40px 32px 32px;
  max-width: 440px;
  text-align: left;
  box-shadow: var(--shadow);
}
.price-box .now { font-size: 13px; font-weight: 650; color: var(--accent); }
.price-box .big {
  margin: 8px 0 0;
  font-family: Syne, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-box .then { margin-top: 10px; color: var(--muted); }
.price-box ul { margin: 22px 0 0; padding: 0; list-style: none; }
.price-box li { padding: 10px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.price-box li::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 10px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
  vertical-align: middle;
}

.faq { padding: 24px 0 96px; max-width: 720px; margin-inline: auto; text-align: left; }
.faq h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.faq details {
  border-top: 1px solid var(--rule);
  padding: 4px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 650;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 220ms var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 54ch;
}
.faq summary:active { transform: scale(0.99); }

/* Footer as last strip, not a second hero */
footer {
  background: #111113;
  color: rgba(255,255,255,0.62);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.foot-room {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding: 64px 0 28px;
}
.foot-top {
  display: grid;
  gap: 36px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand { display: grid; gap: 18px; justify-items: start; }
.foot-lockup { display: block; width: min(380px, 100%); height: auto; }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 36px;
}
.foot-col h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.foot-nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 160ms ease, transform 100ms ease-out;
}
.foot-nav a:hover { color: #fff; }
.foot-nav a:active { transform: scale(0.97); }
.foot-nav a.accent { color: var(--accent); font-weight: 650; }
.foot-legal {
  margin-top: 36px;
  padding-top: 18px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-legal a { color: rgba(255,255,255,0.5); text-decoration: none; }
.foot-legal a:hover { color: #fff; }

body.sheet-lock { overflow: hidden; }
.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: rgba(245,245,247,0.8);
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font: 600 15px/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.nav-toggle:active { transform: scale(0.97); }
.sheet-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.34);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
}
.sheet-scrim.is-open { pointer-events: auto; }
.sheet-nav {
  display: none;
  position: fixed;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 51;
  background: rgba(245,245,247,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 28px;
  padding: 10px 10px 18px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.35);
  transform: translate3d(0,110%,0);
  will-change: transform;
  touch-action: none;
}
.sheet-handle { width: 36px; height: 5px; border-radius: 99px; background: rgba(29,29,31,0.18); margin: 6px auto 12px; }
.sheet-nav a {
  display: block;
  padding: 16px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.sheet-nav a:active { transform: scale(0.98); }
.sheet-nav a[aria-current="page"] { font-weight: 650; background: rgba(255,255,255,0.7); }
.sheet-nav .btn { width: 100%; margin-top: 8px; }

@media (max-width: 759px) {
  .nav { grid-template-columns: 1fr auto; padding: 8px 10px 8px 16px; min-height: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .sheet-scrim, .sheet-nav { display: block; }
  .link-quiet { display: none; }
}
@media (min-width: 760px) {
  .paper-row { overflow: visible; }
  .paper-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 280px));
    justify-content: center;
    transform: none !important;
  }
  .sheet { flex: none; }
  .sheet:nth-child(1) { transform: rotate(-3.5deg) translateY(12px); }
  .sheet:nth-child(2) { transform: rotate(0.4deg); }
  .sheet:nth-child(3) { transform: rotate(3.2deg) translateY(18px); }
  .papers .rail-dots { display: none; }
  .wa .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .page-hero.dark .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .scene .wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
  .scene.flip .wrap { direction: rtl; }
  .scene.flip .wrap > * { direction: ltr; }
  .countries { grid-template-columns: 1fr 1fr; gap: 14px; }
  .foot-top { grid-template-columns: 1.4fr auto; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: start; }
}
@media (min-width: 960px) {
  .moves { overflow: visible; }
  .moves-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transform: none !important;
  }
  .move { flex: none; }
  .moves-path { display: block; }
  .sequence .rail-dots { display: none; }
  .countries { grid-template-columns: repeat(4, 1fr); }
  .country-rest { grid-column: span 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .ask-bar, .nav-links, .sheet-nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dots button, .nav-links a, .foot-card, .move-paper { transition: none; }
  .foot-card { transform: none; }
  .move-paper { transform: none; }
}
@media (prefers-contrast: more) {
  .nav { background: #fff; box-shadow: inset 0 0 0 1px #000; }
}

.op-hero {
  background: var(--ink);
  color: #fff;
  padding: 128px 0 72px;
}
.op-hero .wrap { display: grid; gap: 40px; align-items: end; }
.op-hero h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 12ch; color: #fff; }
.op-hero p { margin: 16px 0 0; color: rgba(255,255,255,0.62); max-width: 38ch; font-size: 18px; }
.op-hero .kicker { color: var(--accent); }
.rate-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.rate-row span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.rate-row b {
  font-family: Syne, sans-serif;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.rate-row i {
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.countries-wrap { padding: 72px 0 40px; }
.handoff {
  padding: 0 0 108px;
}
.handoff-box {
  background: #fff;
  border-radius: 32px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
}
.handoff h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
.handoff .lede { margin: 12px 0 0; color: var(--muted); max-width: 46ch; }
.ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}
.ledger article {
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--paper);
}
.ledger .amt {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ledger h3 { margin: 10px 0 0; font-size: 16px; }
.ledger p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.ledger article.net { background: var(--ink); color: #fff; }
.ledger article.net p { color: rgba(255,255,255,0.62); }
.ledger article.net .amt { color: var(--accent); }

.simple-page { padding: 128px 0 96px; }
.simple-page h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 14ch; }
.simple-page p { margin: 16px 0 0; color: var(--muted); max-width: 48ch; }
.simple-page .stack { margin-top: 28px; display: grid; gap: 14px; max-width: 52ch; }
.simple-page a.mail { color: var(--accent); font-weight: 650; text-decoration: none; }

.foot-card {
  display: grid;
  gap: 28px;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 40px 28px 32px;
  box-shadow:
    0 40px 90px -28px rgba(0,0,0,0.6),
    0 1px 0 rgba(255,255,255,0.8) inset;
  transform: rotate(-1.15deg);
  transform-origin: 50% 90%;
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.foot-card:hover { transform: rotate(0deg); }
.foot-card:active { transform: rotate(0deg) scale(0.995); }
.foot-mark { display: block; line-height: 0; width: fit-content; }
.foot-mark img {
  display: block;
  height: clamp(52px, 9vw, 84px);
  width: auto;
  max-width: 100%;
}
.foot-card-row {
  display: grid;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.foot-card-row p {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 16ch;
}
.foot-card-row em { font-style: normal; color: var(--accent); }
.foot-actions { display: grid; gap: 10px; justify-items: end; }
.foot-actions .news { width: min(320px, 100%); }
.news {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 4px 4px 4px 16px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.news input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: 500 15px/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  outline: none;
}
.news input::placeholder { color: var(--muted); }
.news .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.news.is-done { justify-content: center; font-weight: 650; color: var(--ink); }
.foot-top { border-bottom: 0; padding-bottom: 0; }
.foot-grid { margin-top: 56px; }

.story { padding: 0 0 96px; }
.story-hero { background: var(--ink); color: #fff; padding: 128px 0 72px; }
.story-hero h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 12ch; color: #fff; }
.story-hero p { margin: 16px 0 0; color: rgba(255,255,255,0.62); max-width: 38ch; font-size: 18px; }
.story-hero .kicker { color: var(--accent); }
.story-band { padding: 88px 0; }
.story-band .wrap { display: grid; gap: 28px; }
.story-band h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 14ch; }
.story-band p { margin: 12px 0 0; color: var(--muted); max-width: 46ch; }
.story-band.ink { background: var(--ink); color: #fff; }
.story-band.ink p { color: rgba(255,255,255,0.62); }
.facts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.facts article {
  background: #fff;
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 16px 50px -32px rgba(0,0,0,0.28);
}
.facts h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.facts p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.mail-card {
  margin-top: 36px;
  background: #fff;
  border-radius: 32px;
  padding: 32px 28px;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.mail-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: Syne, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 700;
}
.mail-card a:hover { color: var(--accent); }
.mail-card span { display: block; color: var(--muted); font-size: 14px; }

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}
.guide-card {
  display: grid;
  gap: 10px;
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 50px -32px rgba(0,0,0,0.28);
  transition: transform 100ms ease-out, background-color 160ms ease;
}
.guide-card:active { transform: scale(0.99); }
.guide-card .kicker { margin: 0; }
.guide-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.guide-card p { margin: 0; color: var(--muted); font-size: 15px; }
.guide-card span { color: var(--accent); font-weight: 650; font-size: 14px; }

.article { padding: 128px 0 96px; }
.article .wrap { max-width: 720px; }
.article .kicker { margin-bottom: 12px; }
.article h1 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 18ch; }
.article .lede { margin: 16px 0 0; color: var(--muted); font-size: 18px; max-width: 46ch; }
.article .body { margin-top: 36px; display: grid; gap: 16px; }
.article .body p { margin: 0; color: var(--ink); max-width: 62ch; }
.article .body h2 { margin: 18px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.article .back { display: inline-flex; margin-top: 36px; color: var(--accent); font-weight: 650; text-decoration: none; }

.legal { padding: 128px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal .kicker { margin-bottom: 12px; }
.legal h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal .updated { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.legal .body { margin-top: 36px; display: grid; gap: 22px; }
.legal h2 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.legal p, .legal li { color: var(--ink); max-width: 62ch; }
.legal p { margin: 8px 0 0; }
.legal ul { margin: 8px 0 0; padding-left: 18px; }
.legal li { margin: 6px 0; }

@media (min-width: 760px) {
  .op-hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .rate-row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .ledger { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .foot-card { padding: 52px 48px 40px; }
  .foot-card-row { grid-template-columns: 1fr auto; align-items: end; }
  .story-band .wrap { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

.field, .area {
  display: grid;
  gap: 8px;
}
.field label, .area label {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.field input, .area textarea, .field select {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--rule);
  font: 500 16px/1.4 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  padding: 0 16px;
  height: 52px;
  outline: none;
}
.field input:focus, .area textarea:focus, .field select:focus {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.area textarea { height: 140px; padding: 14px 16px; resize: vertical; border-radius: 20px; }
.form {
  display: grid;
  gap: 14px;
  background: #fff;
  border-radius: 32px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.form .btn { width: 100%; }
.form.is-done { min-height: 280px; place-items: center; text-align: center; }
.form.is-done p { margin: 8px 0 0; color: var(--muted); }
.contact-grid { display: grid; gap: 28px; }
.trades {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.trade {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 28px 24px;
  min-height: 220px;
  box-shadow: var(--shadow);
  display: grid;
  align-content: end;
}
.trade .who {
  font-family: Syne, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.trade h3 { margin: 10px 0 0; font-size: 26px; letter-spacing: -0.04em; }
.trade p { margin: 8px 0 0; color: var(--muted); }
@media (min-width: 760px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .form { padding: 32px; }
  .trades { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .move-paper { transform: none; }
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-error {
  margin: 10px 0 0;
  color: #8a2b1a;
  font-size: 14px;
}
