/* Trip360 public site — trip360.site
   One stylesheet for the home page, the invite landing, the legal pages and 404.
   Dark only, like the app: near-black, off-white ink, one lime accent. */

@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/ClashDisplay-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/ClashDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050506;
  --surface: #0e0e10;
  --surface-2: #141416;
  --surface-3: #1c1c1e;
  --line: #232327;
  --line-strong: #2f2f34;
  --text: #f7f7f2;
  --muted: #a3a3a9;
  --faint: #7d7d84;
  --accent: #b2f227;
  --accent-soft: rgba(178, 242, 39, 0.12);
  --accent-line: rgba(178, 242, 39, 0.35);
  --accent-ink: #0b1002;
  --display: "Clash Display", "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
.lime { color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 6, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.brand b { font-weight: 600; color: var(--accent); }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-lime { background: var(--accent); color: var(--accent-ink); }
.btn-lime:hover { background: #d6fa86; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: #3c3c42; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

.site-header .btn { margin-left: 8px; }
.site-header .push { margin-left: auto; }

/* App Store badge, drawn to Apple's badge proportions */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid #5d5d63;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.appstore:hover { border-color: #9a9aa0; }
.appstore:active { transform: scale(0.985); }
.appstore svg { width: 26px; height: 30px; flex: none; fill: currentColor; }
.appstore span { display: flex; flex-direction: column; line-height: 1.05; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.appstore strong { font-family: -apple-system, "SF Pro Display", var(--body); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* the 250 m hex grid, fading out from the phone */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 L55 16.5 L55 48 L28 63.5 L1 48 L1 16.5 Z M28 63.5 L28 96' fill='none' stroke='%23b2f227' stroke-opacity='0.09' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 0%, transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(178, 242, 39, 0.16) 0%, rgba(178, 242, 39, 0.04) 40%, transparent 68%);
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 22, 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(52px, 8.6vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.hero .lede {
  margin-top: 24px;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 34px;
}
.cta-note {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.cta-note strong { color: var(--text); font-weight: 600; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}
.hero-visual .phone { width: min(300px, 74vw); position: relative; z-index: 2; }
.hero-visual .phone.back {
  position: absolute;
  z-index: 1;
  width: min(250px, 60vw);
  top: 56px;
  left: calc(50% + 40px);
  transform: rotate(7deg);
  opacity: 0.55;
  filter: saturate(0.9);
}
.hero-visual .phone.front { transform: translateX(-56px) rotate(-3deg); }

.route {
  position: absolute;
  z-index: 0;
  inset: -10% -30% -10% -40%;
  width: 170%;
  height: 120%;
  pointer-events: none;
}
.route path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: draw 2.8s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  filter: drop-shadow(0 0 10px rgba(178, 242, 39, 0.55));
  opacity: 0.85;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Phone mock ---------- */

.phone {
  position: relative;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2b2b30 0%, #121214 45%, #1d1d21 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px #000,
    0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.phone img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  border-radius: 38px;
  background: #000;
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.04); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section h2 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -0.02em; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 56ch; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(28px, 4vw, 56px) 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { max-width: 500px; }
.feature-copy .num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-copy .num i {
  font-style: normal;
  color: var(--accent);
}
.feature-copy h3 {
  margin-top: 14px;
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -0.02em;
}
.feature-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}
.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #d9d9d4;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%23b2f227' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 40px;
  background: radial-gradient(circle at 50% 40%, rgba(178, 242, 39, 0.14), transparent 62%);
  z-index: 0;
}
.feature-visual .phone { width: min(290px, 72vw); z-index: 1; }

.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(20, 20, 22, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}
.chip strong { display: block; color: var(--text); font-size: 15px; font-weight: 600; }
.chip .ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.chip .ico svg { width: 18px; height: 18px; }
.chip.tl { top: 14%; left: 2%; }
.chip.br { bottom: 14%; right: 2%; }

/* ---------- Invite strip ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
}
.steps strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* ---------- Free week ---------- */

.free {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(32px, 6vw, 72px);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(178, 242, 39, 0.18), transparent 55%),
    linear-gradient(180deg, #111113, #0a0a0b);
  border: 1px solid var(--accent-line);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.free h2 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -0.025em; }
.free .sub { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.free .cta-row { margin-top: 30px; }

.pro-list {
  margin: 0;
  padding: 22px;
  list-style: none;
  display: grid;
  gap: 2px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
}
.pro-list .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px 12px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}
.pro-list .badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pro-list li:not(.head) {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 6px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: #dcdcd6;
}
.pro-list li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); flex: none; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-note { width: 100%; font-size: 13px; color: var(--faint); }
.site-footer .brand { color: var(--text); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Invite landing ---------- */

.invite-main {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  padding: clamp(32px, 6vw, 72px) 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.invite-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(178, 242, 39, 0.16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 L55 16.5 L55 48 L28 63.5 L1 48 L1 16.5 Z M28 63.5 L28 96' fill='none' stroke='%23b2f227' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, 56px 97px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.invite-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.invite-card .app-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}
.invite-card h1 { margin-top: 28px; font-size: clamp(40px, 9vw, 60px); letter-spacing: -0.02em; }
.invite-card .lede { margin: 16px auto 0; color: var(--muted); font-size: 17px; max-width: 38ch; }
.invite-card .lede strong { color: var(--text); font-weight: 600; }

.code-box {
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px dashed var(--accent-line);
}
.code-box .label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.code {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 8vw, 40px);
  letter-spacing: 0.12em;
  color: var(--accent);
  word-break: break-all;
}
.copy-btn[data-copied="true"] { border-color: var(--accent-line); color: var(--accent); }

.invite-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 28px;
}
.invite-actions .open-link {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}
.invite-actions .open-link strong { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.invite-actions .open-link:hover strong { text-decoration-color: var(--accent); }

.perk-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.perk-list li {
  padding: 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.perk-list strong { display: block; color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.how {
  margin-top: 22px;
  color: var(--faint);
  font-size: 13px;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) 24px;
}
.legal h1 { font-size: clamp(40px, 7vw, 64px); letter-spacing: -0.02em; }
.legal .updated { margin-top: 14px; color: var(--faint); font-size: 14px; }
.legal .intro { margin-top: 24px; color: #d9d9d4; font-size: 17px; }
.legal h2 {
  margin-top: 48px;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.legal h3 {
  margin-top: 28px;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.legal p, .legal li { color: #cfcfca; font-size: 16px; line-height: 1.75; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .toc {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: 15px; break-inside: avoid; }
.legal .toc a { color: var(--muted); text-decoration: none; }
.legal .toc a:hover { color: var(--text); }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: #cfcfca; }
.legal th { color: var(--text); font-weight: 600; font-size: 14px; }
.legal .table-wrap { overflow-x: auto; }

/* ---------- 404 ---------- */

.lost { min-height: calc(100vh - 64px - 140px); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.lost h1 { font-size: clamp(64px, 14vw, 140px); color: var(--accent); }
.lost p { margin: 12px auto 28px; color: var(--muted); max-width: 36ch; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: left; }
  .hero-visual { min-height: 0; padding-top: 12px; }
  .hero-visual .phone.front { transform: translateX(-36px) rotate(-3deg); }
  .hero-visual .phone.back { top: 40px; left: calc(50% + 10px); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: 620px; }
  .free { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 16px; }
  .steps li::before { margin: 0; grid-row: 1 / 3; }
  .perk-list { grid-template-columns: 1fr; }
  .legal .toc ol { columns: 1; }
  .chip.tl { left: 0; top: 10%; }
  .chip.br { right: 0; bottom: 10%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 50px; }
  .hero-visual .phone.front { width: 230px; transform: translateX(-28px) rotate(-3deg); }
  .hero-visual .phone.back { width: 190px; top: 30px; left: calc(50% + 4px); }
  .feature-visual .phone { width: 240px; }
  .phone { padding: 8px; border-radius: 40px; }
  .phone img { border-radius: 32px; }
  .chip { padding: 8px 10px; font-size: 12px; }
  .chip strong { font-size: 13px; }
  .chip .ico { width: 28px; height: 28px; }
  .appstore { height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route path { animation: none; stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
