/* LocaLens — an evening abroad: sea-green night, lamplight cream, one coral wave */

:root {
  /* neutral ramp, tinted toward the sea-green night */
  --bg-0: #071d1d;
  --bg-1: #0a2525;
  --bg-2: #0e2e2e;
  --bg-3: #133838;
  --line: rgba(241, 236, 226, 0.08);
  --line-2: rgba(241, 236, 226, 0.14);

  --text-1: #f1ece2;
  --text-2: rgba(241, 236, 226, 0.72);
  --text-3: rgba(241, 236, 226, 0.54);

  --sage: #a9cfc6;
  --coral: #ed8066;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --enter: 480ms;

  --pad: 40px;
  --max: 1200px;
  --section: 128px;
  --nav-h: 64px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  background: var(--bg-1);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(237, 128, 102, 0.3); color: var(--text-1); }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--text-1);
  color: var(--bg-1);
  font-weight: 600;
  transition: top var(--fast) var(--ease);
}
.skip:focus { top: 12px; }

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

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

/* ---------- signature: the sound wave, drawn live behind the page ---------- */

#waves {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- type ---------- */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-1);
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

h2 {
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 12px 0 20px;
}

.soft { color: var(--sage); }

.h-small {
  font-size: 40px;
  margin: 0 0 8px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--sage);
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34rem;
  text-wrap: pretty;
}

.body {
  font-size: 17px;
  color: var(--text-2);
  max-width: 32rem;
  text-wrap: pretty;
}

.muted { color: var(--text-3); font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.text-link svg { color: var(--coral); transition: transform var(--fast) var(--ease); }
.text-link:hover { border-color: var(--coral); }
.text-link:hover svg { transform: translateX(2px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-lg { height: 52px; padding: 0 24px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }

.btn-primary {
  background: var(--text-1);
  color: var(--bg-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-primary:hover { background: #fffaf0; }

.btn-ghost {
  background: rgba(241, 236, 226, 0.04);
  border-color: var(--line-2);
  color: var(--text-1);
}
.btn-ghost:hover { background: rgba(241, 236, 226, 0.08); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.btn-store { height: 56px; padding: 0 22px 0 18px; gap: 12px; min-width: 188px; justify-content: flex-start; }

.store-lines { display: flex; flex-direction: column; align-items: flex-start; font-size: 17px; line-height: 1.1; letter-spacing: -0.01em; }
.store-lines small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: 0.72; }

.cta-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--fast) var(--ease);
}
.watch-link svg { color: var(--coral); }
.watch-link:hover { color: var(--text-1); }

.follow { display: flex; align-items: center; gap: 8px; margin-top: 32px; font-size: 14px; color: var(--text-3); }
.follow span { margin-right: 8px; }

.social {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.social:hover { color: var(--text-1); background: rgba(241, 236, 226, 0.06); border-color: rgba(241, 236, 226, 0.24); }

.footer-social { display: inline-flex; gap: 8px; margin-left: 8px; }
.footer-links { align-items: center; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease);
}

.nav.is-scrolled, .nav.is-open {
  background: rgba(10, 37, 37, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--fast) var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text-1); }

.nav-menu {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-menu path { transform-origin: 12px 12px; transition: transform 220ms var(--ease), opacity var(--fast); }
.nav.is-open .nav-menu .m1 { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav-menu .m2 { opacity: 0; }
.nav.is-open .nav-menu .m3 { transform: translateY(-5px) rotate(-45deg); }

.nav-drawer { display: none; flex-direction: column; padding: 8px var(--pad) 24px; }
.nav-drawer a:not(.btn) { padding: 12px 0; font-size: 16px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.nav-drawer .btn { margin-top: 20px; }
.nav.is-open .nav-drawer { display: flex; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: clip;
}

/* the dusk scene: lamplight on the right, fading into the page on the left and bottom */
.hero-scene {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  opacity: 0.7;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(180deg, #000 60%, transparent 100%);
  mask-composite: intersect;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
  padding-block: 56px 80px;
}

.hero-copy .lede { margin-top: 24px; }

.rot { display: grid; }
.rot-item {
  grid-area: 1 / 1;
  align-self: end;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease), filter 560ms var(--ease);
}
.rot-item.is-on { opacity: 1; transform: none; filter: none; }

.modes { display: flex; justify-content: center; gap: 8px; margin-top: 24px; width: min(100%, 440px); margin-inline: auto; }

.mode {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  transition: color var(--fast) var(--ease);
}
.mode:hover, .mode.is-on { color: var(--text-1); }
.mode i { display: block; width: 100%; height: 2px; border-radius: 1px; background: var(--line-2); overflow: hidden; }
.mode b { display: block; width: 100%; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.mode.is-done b { transform: scaleX(1); }
.mode.is-on b { animation: fill var(--dur, 8s) linear forwards; }
.modes.is-paused .mode.is-on b { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-visual { display: flex; flex-direction: column; align-items: center; }

.hero-hint { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* ---------- devices ---------- */

.device {
  width: 300px;
  padding: 8px;
  border-radius: 44px;
  background: #0c1414;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 80px -24px rgba(0, 0, 0, 0.6),
    0 16px 32px -16px rgba(0, 0, 0, 0.5);
}

.device > img { width: 100%; border-radius: 36px; background: #faf7f1; }

.device-hero { width: 320px; }

.device-sm { width: 200px; padding: 6px; border-radius: 32px; }
.device-sm > img { border-radius: 26px; }

/* a working LocaLens camera screen, built in HTML so the text stays sharp and real */
.app {
  overflow: hidden;
  border-radius: 36px;
  background: #faf7f1;
  color: #1f1b16;
  font-family: var(--font-body);
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 600;
}

.app-battery {
  width: 20px;
  height: 10px;
  border-radius: 3px;
  border: 1.5px solid #1f1b16;
  box-shadow: inset 10px 0 0 #1f1b16;
}

.app-langs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 12px;
  color: #2d4a46;
}

.app-pill {
  flex: 1;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #d8e8e4;
  font-size: 13px;
  font-weight: 500;
  color: #1d3b38;
}

.compare {
  position: relative;
  aspect-ratio: 592 / 1024;
  container-type: inline-size;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: #111;
}

.shot { position: absolute; inset: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.shot-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.chalk {
  position: absolute;
  left: 7.8%;
  right: 7.6%;
  top: 15.6%;
  bottom: 18%;
  padding: 12cqw 7cqw 0;
  font-family: "Caveat", "Segoe Print", cursive;
  font-weight: 500;
  font-size: 5.9cqw;
  line-height: 1.2;
  color: rgba(248, 246, 238, 0.92);
  text-shadow: 0 0 0.5cqw rgba(255, 255, 255, 0.25);
  transform: rotate(-0.6deg);
}

.chalk p { display: flex; justify-content: space-between; gap: 3cqw; margin-bottom: 6.4cqw; }

.chalk .chalk-title {
  justify-content: center;
  font-size: 9cqw;
  margin-bottom: 12cqw;
  text-decoration: underline;
  text-decoration-thickness: 0.4cqw;
  text-underline-offset: 2.4cqw;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--coral);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #1f1b16;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform var(--fast) var(--ease);
}
.compare.is-dragging .compare-handle, .compare-handle:focus-visible { transform: translate(-50%, -50%) scale(1.08); }

.app-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 4px 16px;
  background: #f3efe6;
}

.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #56625f;
}

.app-nav svg { width: 44px; height: 28px; padding: 4px 13px; border-radius: 14px; }
.app-nav .is-on { color: #1d3b38; }
.app-nav .is-on svg { background: #d8e8e4; }

/* ---------- languages ---------- */

.langs {
  position: relative;
  padding-block: 96px 32px;
  border-top: 1px solid var(--line);
}

.langs-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}

.langs-head .muted { max-width: 18rem; }

.langs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-3);
}

.langs-list li { transition: color var(--fast) var(--ease); }
.langs-list li:hover { color: var(--text-1); }

/* ---------- features ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
  align-items: center;
  padding-block: var(--section);
}

.feature-alt > .feature-visual { order: -1; }
.feature-visual { display: flex; flex-direction: column; align-items: center; }

.points { margin-top: 32px; max-width: 32rem; }

.points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-2);
}

.points li:last-child { border-bottom: 1px solid var(--line); }
.points b { color: var(--text-1); font-weight: 600; }
.points svg { flex: none; margin-top: 2px; color: var(--text-3); }

/* ---------- hero: a live conversation on the real LocaLens screen ---------- */

.talk-stage { position: relative; display: flex; justify-content: center; padding-block: 16px; }

/* the phone holds three screens; the carousel shows one at a time */
.screens { position: relative; aspect-ratio: 304 / 548; }

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease), visibility 0s linear 420ms;
}
.screen.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms var(--ease), transform 420ms var(--ease); }

.photo-well { flex: 1; min-height: 0; display: flex; justify-content: center; background: #1b1b1b; }
.photo-well .compare { height: 100%; width: auto; max-width: 100%; }

/* text mode */
.tx-card { margin: 0 8px; padding: 14px; border-radius: 20px; }
.tx-in { background: #e9e5db; margin-bottom: 8px; min-height: 132px; display: flex; flex-direction: column; }
.tx-out { background: #cdebe8; min-height: 150px; display: flex; flex-direction: column; gap: 6px; }
.tx-text { font-size: 15px; line-height: 1.35; color: #1f1b16; }
.tx-in .tx-text { flex: 1; }
.tx-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #2b6d66;
  animation: caret 900ms steps(1) infinite;
}
.tx-tools { display: flex; justify-content: space-between; color: #3e4845; }
.tx-tools span { display: inline-flex; gap: 14px; }
.tx-label { font-size: 12px; color: #3e4845; }
.tx-save { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 12px; color: #2d4a46; }
.tx-out .tx-save { opacity: 0; transition: opacity 300ms var(--ease); }
.tx-out.is-done .tx-save { opacity: 1; }

.talk-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0 8px;
  padding: 12px 14px;
  border-radius: 22px;
}
.talk-them { background: #e9e5db; margin-bottom: 8px; }
.talk-you { background: #cdebe8; }

.talk-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #3e4845; }
.talk-chip { padding: 2px 10px; border-radius: 12px; border: 1px solid rgba(31, 27, 22, 0.28); font-size: 11px; }

.talk-lines {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  transition: opacity 400ms var(--ease);
}
.talk-lines.is-fading { opacity: 0; }


.talk-line { animation: line-in 280ms var(--ease); }
.talk-line.heard { font-size: 15px; font-weight: 600; line-height: 1.3; color: #1f1b16; }
.talk-line.said { padding-left: 8px; font-size: 12.5px; line-height: 1.35; color: #6b6e69; }
.talk-line.said.is-typing { font-style: italic; color: #2b6d66; }

.talk-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #ba1a1a;
  animation: caret 900ms steps(1) infinite;
}

.talk-controls { height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }

.talk-stop {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ba1a1a;
  box-shadow: 0 0 0 6px rgba(186, 26, 26, 0.14);
}
.talk-stop i { width: 16px; height: 16px; border-radius: 2px; background: #fff; }
.talk-stage.is-hearing .talk-stop { animation: ring 1.4s var(--ease) infinite; }

@keyframes ring {
  0% { box-shadow: 0 0 0 6px rgba(186, 26, 26, 0.14), 0 0 0 6px rgba(186, 26, 26, 0.3); }
  100% { box-shadow: 0 0 0 6px rgba(186, 26, 26, 0.14), 0 0 0 22px rgba(186, 26, 26, 0); }
}

.talk-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #ba1a1a; }
.talk-status .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #ba1a1a; }
.talk-tap { color: #3e4845; font-weight: 400; }

@keyframes line-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes caret { 50% { opacity: 0; } }

/* who is speaking: a pill beside the half that is talking, with a live sound meter */
.voice {
  position: absolute;
  top: 0;
  right: calc(100% - 20px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: rgba(14, 46, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms var(--ease), opacity 300ms var(--ease);
}
.voice.is-on { opacity: 1; }
.voice .eq { height: 16px; gap: 3px; }
.voice .eq i { width: 3px; height: 6px; opacity: 0.55; transition: height 200ms var(--ease), opacity 200ms var(--ease); }
.voice.is-speaking .eq i { opacity: 1; }
.voice[data-who="you"] .eq i { background: var(--sage); }
.voice-lang { min-width: 52px; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 3px; border-radius: 1px; background: var(--coral); transition: height 200ms var(--ease); }
.is-speaking .eq i { animation: eq 620ms var(--ease) infinite alternate; }
.is-speaking .eq i:nth-child(2) { animation-delay: -200ms; }
.is-speaking .eq i:nth-child(3) { animation-delay: -450ms; }
.is-speaking .eq i:nth-child(4) { animation-delay: -100ms; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.voice.is-speaking .eq i:nth-child(5) { animation-delay: -330ms; }
.voice.is-speaking .eq i:nth-child(6) { animation-delay: -520ms; }
.voice.is-speaking .eq i:nth-child(7) { animation-delay: -150ms; }
@media (max-width: 560px) {
  /* no room beside the phone: the pill sits in the corner of the half that is talking */
  .voice { right: 14px; padding: 5px 12px 5px 10px; font-size: 12px; gap: 8px; box-shadow: none; }
  .voice-lang { min-width: 0; }
  .talk-panel.has-voice .talk-chip { opacity: 0; }
  .talk-chip { transition: opacity 200ms var(--ease); }
}

/* ---------- live translation section ---------- */

.live { position: relative; padding-block: var(--section) calc(var(--section) - 16px); border-top: 1px solid var(--line); }

.live-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 96px;
  align-items: end;
  margin-bottom: 56px;
}
.live-head .points { margin-top: 0; }

/* ---------- promise badges: free, no account, offline ---------- */

.promise { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.promise li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(241, 236, 226, 0.05);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}
.promise svg { color: var(--sage); }

/* ---------- hero: offline screen ---------- */

.sb { display: inline-flex; align-items: center; gap: 5px; }
.sb svg { transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.sb-plane { display: none; }
.talk-stage.is-airplane .sb-net { display: none; }
.talk-stage.is-airplane .sb-plane { display: block; animation: line-in 300ms var(--ease); }

.screen[data-screen="offline"] { padding: 4px 0 0; }

.off-toast {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #1f1b16;
  color: #faf7f1;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -16px);
  transition: opacity 300ms var(--ease), transform 400ms var(--ease);
}
.off-toast svg { transform: rotate(45deg); }
.screen.show-toast .off-toast { opacity: 1; transform: translate(-50%, 0); }

.off-scene { display: flex; align-items: center; gap: 8px; margin: 48px 16px 8px; font-size: 12.5px; color: #3e4845; }
.off-dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa19e; }
.screen.is-heard .off-dot { background: #ba1a1a; animation: pulse 1.2s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.off-panel { flex: 1; min-height: 0; overflow: hidden; }
.off-ja { background: #e9e5db; margin-bottom: 8px; }
.off-en { background: #cdebe8; }
.off-src { display: block; margin-top: 8px; padding-left: 8px; font-size: 14px; line-height: 1.45; color: #6b6e69; }
.off-dst { display: block; margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.3; color: #1f1b16; }
.off-src.is-typing, .off-dst.is-typing { position: relative; }
.off-src.is-typing { font-style: italic; color: #2b6d66; }
.off-src.is-typing::after, .off-dst.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #ba1a1a;
  animation: caret 900ms steps(1) infinite;
}

.off-status { display: grid; justify-items: center; }
.off-status > * { grid-area: 1 / 1; transition: opacity 400ms var(--ease); }
.off-proof { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1d3b38; white-space: nowrap; opacity: 0; }
.screen.is-done .off-proof { opacity: 1; }
.screen.is-done .off-status .talk-status { opacity: 0; }
.screen[data-screen="offline"].is-heard .talk-stop { animation: ring 1.4s var(--ease) infinite; }

/* ---------- live translation: what you hear, a moment later ---------- */

.flow {
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55);
}

.flow-row { display: grid; gap: 12px; }
.flow-who { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.flow-text { font-family: var(--font-display); font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; color: var(--text-1); }
.flow-you .flow-text { color: var(--sage); }

.flow-wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.flow-wave i { flex: 1; height: 4px; border-radius: 2px; background: var(--coral); opacity: 0.35; }
.flow-you .flow-wave i { background: var(--sage); }

.flow-phone { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.flow-line { flex: 1; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.flow-line::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--coral), transparent); transform: translateX(-100%); }
.flow-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.flow-chip img { width: 20px; height: 20px; border-radius: 6px; }

.flow-time { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.flow-clock { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* one loop, about 7 s: they speak, it travels through the phone, you hear it */
.is-in .flow .flow-them .flow-wave i { animation: talk-a 7s var(--ease) infinite; }
.is-in .flow .flow-you .flow-wave i { animation: talk-b 7s var(--ease) infinite; }
.is-in .flow .flow-them .flow-text { animation: text-a 7s var(--ease) infinite; }
.is-in .flow .flow-you .flow-text { animation: text-b 7s var(--ease) infinite; }
.is-in .flow .flow-line::after { animation: travel 7s linear infinite; }
.is-in .flow .flow-line:last-child::after { animation-delay: 0.35s; }
.flow-wave i:nth-child(3n) { --h: 30px; } .flow-wave i:nth-child(3n+1) { --h: 18px; } .flow-wave i:nth-child(3n+2) { --h: 38px; }
.flow-wave i:nth-child(4n) { --h: 24px; } .flow-wave i:nth-child(5n) { --h: 12px; }
.flow-wave i:nth-child(odd) { animation-delay: -0.1s; }

@keyframes talk-a {
  0%, 2% { height: 4px; opacity: 0.35; }
  6%, 12%, 18%, 24%, 30% { height: var(--h); opacity: 1; }
  9%, 15%, 21%, 27% { height: calc(var(--h) * 0.4); opacity: 1; }
  36%, 100% { height: 4px; opacity: 0.35; }
}
@keyframes talk-b {
  0%, 50% { height: 4px; opacity: 0.35; }
  54%, 60%, 66%, 72%, 78% { height: var(--h); opacity: 1; }
  57%, 63%, 69%, 75% { height: calc(var(--h) * 0.4); opacity: 1; }
  84%, 100% { height: 4px; opacity: 0.35; }
}
@keyframes text-a { 0%, 3% { opacity: 0; transform: translateY(4px); } 8%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes text-b { 0%, 50% { opacity: 0; transform: translateY(4px); } 56%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes travel { 0%, 36% { transform: translateX(-100%); } 48%, 100% { transform: translateX(260%); } }

/* ---------- story: the dinner film ---------- */

.story { position: relative; padding-block: var(--section); border-top: 1px solid var(--line); }

.story-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.story-head h2 { margin: 0; }
.story-head .body { font-size: 18px; }

.story-film {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1410 url(media/story-poster.webp) center / cover;
  box-shadow: 0 0 0 1px var(--line-2), 0 48px 96px -32px rgba(0, 0, 0, 0.6);
}
.story-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 29, 29, 0.78));
  pointer-events: none;
}
.story-loop { display: block; width: 100%; height: 100%; object-fit: cover; }

.story-play {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-1);
  cursor: pointer;
  text-align: left;
}
.story-play-text { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.3; }
.story-play-text span { font-size: 13px; font-weight: 400; color: var(--text-2); }

.yt-play {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text-1);
  color: var(--bg-1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--fast) var(--ease);
}
.yt-play svg { margin-left: 3px; }
.story-play:hover .yt-play { transform: scale(1.06); }

.story-tagline {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.story-player { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.story-film.is-playing::after, .story-film.is-playing .story-play, .story-film.is-playing .story-tagline { display: none; }

@media (max-width: 900px) {
  .story-head { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .story-film { aspect-ratio: 4 / 5; }
  .story-loop { object-position: 62% 50%; }
  .story-play { left: 20px; bottom: 76px; }
  .story-tagline { left: 20px; right: auto; bottom: 24px; font-size: 24px; }
  /* the vertical Short fills the frame on phones */
  .story-film.is-playing { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
}

/* ---------- out in the world: real signs that switch language ---------- */

.world { position: relative; padding-block: var(--section); border-top: 1px solid var(--line); }
.world-head { margin-bottom: 48px; }

.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.sign-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2) var(--img) center / cover no-repeat;
  container-type: inline-size;
  box-shadow: 0 0 0 1px var(--line);
}

.sign-text {
  position: absolute;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.sign.is-orig [data-layer="tr"],
.sign:not(.is-orig) [data-layer="orig"] { opacity: 0; transform: translateY(0.8cqw); }

/* printed notice taped inside a bakery door */
.notice-ru {
  left: 21%;
  right: 21%;
  top: 19.3%;
  bottom: 20.7%;
  padding: 0 5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3cqw;
  text-align: center;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 3.9cqw;
  line-height: 1.3;
  color: #252525;
  mix-blend-mode: multiply;
}
.notice-ru .b { font-weight: 700; font-size: 4.4cqw; }

/* brush lettering on three wooden plaques */
.board-ja {
  left: 10.3%;
  right: 10.3%;
  top: 34.2%;
  height: 29.9%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  font-family: "Yuji Syuku", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 6.4cqw;
  color: #1c1610;
  mix-blend-mode: multiply;
}
.board-ja p { display: flex; justify-content: space-between; align-items: center; padding: 0 5cqw; white-space: nowrap; }
.board-en { font-family: var(--font-display); font-weight: 600; font-size: 5.6cqw; letter-spacing: -0.01em; }

/* yellow notice on a station pillar */
.notice-de {
  left: 25.8%;
  right: 25.7%;
  top: 25.4%;
  bottom: 27.2%;
  padding: 9cqw 4.4cqw 0;
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 3.5cqw;
  line-height: 1.3;
  color: #1d1b12;
  mix-blend-mode: multiply;
}
.notice-de .b { font-weight: 700; font-size: 4.2cqw; }

.sign figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
}

.sign-toggle {
  display: inline-flex;
  flex: none;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
}

.sign-toggle span {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-3);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.sign.is-orig .sign-toggle [data-o],
.sign:not(.is-orig) .sign-toggle [data-t] { background: var(--bg-3); color: var(--text-1); }

/* ---------- privacy ---------- */

.privacy {
  position: relative;
  padding-block: var(--section);
  background: var(--bg-0);
  border-block: 1px solid var(--line);
}

.privacy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  text-align: center;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat dt {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat:last-child dt { color: var(--coral); }
.stat dd { margin: 12px auto 0; font-size: 14px; color: var(--text-2); max-width: 16ch; }

/* ---------- why ---------- */

.why { position: relative; padding-block: var(--section); }

.why-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
}

.why-list li { padding-top: 24px; border-top: 1px solid var(--line-2); }
.why-list h3 { font-size: 18px; font-weight: 500; line-height: 1.35; margin-bottom: 12px; }
.why-list p { font-size: 15px; color: var(--text-2); text-wrap: pretty; }

/* ---------- get ---------- */

.get { position: relative; padding-block: var(--section); border-top: 1px solid var(--line); overflow: clip; }

.get-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.get-copy h2 { margin-top: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }

.get-visual { position: relative; height: 480px; display: grid; place-items: center; }
.get-visual .device { position: absolute; }
.trio-l { transform: translateX(-60%) rotate(-6deg) scale(0.9); }
.trio-r { transform: translateX(60%) rotate(6deg) scale(0.9); }
.trio-c { z-index: 2; }

/* ---------- footer ---------- */

.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); background: var(--bg-0); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color var(--fast) var(--ease); }
.footer-links a:hover { color: var(--text-1); }

.footer-fine {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- one entrance: fade and rise ---------- */

.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--enter) var(--ease), transform var(--enter) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-visual.reveal { transition-delay: 60ms; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  :root { --section: 112px; }
  .feature, .privacy-inner { gap: 64px; }
  .langs-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (min-width: 901px) {
  /* keep the whole phone and the mode tabs inside the first screen */
  .device-hero { width: clamp(240px, calc((100svh - 64px - 190px) / 2.1), 320px); }
}

@media (max-width: 900px) {
  :root { --section: 96px; --pad: 32px; }

  .hero { min-height: 0; }
  .live-head { grid-template-columns: 1fr; gap: 32px; }
  .hero-scene { width: 100%; height: 70%; opacity: 0.4; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-block: 48px 72px; }

  .feature, .privacy-inner, .get-inner { grid-template-columns: 1fr; gap: 56px; }
  .feature-alt > .feature-visual { order: 0; }

  .signs { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .signs::-webkit-scrollbar { display: none; }
  .sign { scroll-snap-align: start; }

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

  .get-visual { height: 440px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu { display: inline-flex; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; --section: 80px; }

  h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .lede { font-size: 17px; }
  .body { font-size: 16px; }

  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .promise { gap: 6px; }
  .promise li { padding: 6px 10px 6px 8px; gap: 6px; font-size: 13px; }
  .promise svg { width: 16px; height: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px 24px; }
  .footer-social { margin-left: 0; }

  .device-hero { width: 288px; }
  .talk-stage .device-hero { width: min(288px, calc(100vw - 64px)); }
  .device { width: 272px; }

  .langs { padding-block: 72px; }
  .langs-list { font-size: 19px; gap: 4px 20px; }

  .signs { grid-template-columns: repeat(3, 82%); }

  .stat { padding: 24px 20px; }
  .stat dt { font-size: 48px; }

  .get-visual { height: 340px; }
  .device-sm { width: 140px; padding: 5px; border-radius: 24px; }
  .device-sm > img { border-radius: 19px; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-in .flow * { animation: none !important; }
  .flow-text { opacity: 1; }
  .flow-wave i { height: var(--h) !important; opacity: 0.8; }
  .rot-item, .screen { transition: none; filter: none; }
  .mode.is-on b { animation: none; transform: scaleX(1); }
  .talk-stage.is-hearing .talk-stop, .is-speaking .eq i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sign-text { transition: none; }
}

/* ---------- legal pages: privacy policy, terms ---------- */

.legal-page { background: var(--bg-1); }
.legal-back { margin-left: auto; font-size: 14px; color: var(--text-2); transition: color var(--fast) var(--ease); }
.legal-back:hover { color: var(--text-1); }
.legal-page .nav-cta { margin-left: 8px; }

.legal { max-width: calc(760px + var(--pad) * 2); padding-block: 64px 112px; }

.legal-head { padding-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.legal-head h1 { font-size: clamp(36px, 5vw, 56px); max-width: none; }
.legal-updated { margin-top: 12px; font-size: 14px; color: var(--text-3); }

.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-tabs a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.legal-tabs a:hover { color: var(--text-1); background: rgba(241, 236, 226, 0.05); }
.legal-tabs a.is-on { color: var(--bg-1); background: var(--text-1); border-color: var(--text-1); }

.legal-body { font-size: 16.5px; line-height: 1.75; color: var(--text-2); }
.legal-body > * + * { margin-top: 16px; }
.legal-body h2 {
  margin: 48px 0 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-1);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-body strong { color: var(--text-1); font-weight: 600; }
.legal-body a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(169, 207, 198, 0.4); }
.legal-body a:hover { text-decoration-color: currentColor; }
.legal-body ul { list-style: disc; padding-left: 22px; }
.legal-body li + li { margin-top: 10px; }
.legal-body li::marker { color: var(--coral); }

.legal-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.legal-body th { text-align: left; font-weight: 600; color: var(--text-1); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.legal-body td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body td:first-child { color: var(--text-1); }

@media (max-width: 640px) {
  .legal { padding-block: 40px 80px; }
  .legal-back { display: none; }
  .legal-page .nav-cta { margin-left: auto; }
  .legal-body { font-size: 16px; }
  .legal-body table, .legal-body tbody, .legal-body tr, .legal-body td, .legal-body th { display: block; }
  .legal-body tr:first-child { display: none; }
  .legal-body tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-body td { padding: 0; border: 0; }
  .legal-body td + td { margin-top: 4px; font-size: 13.5px; }
}

/* ---------- comparison claim + footnote ---------- */
.proof { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; max-width: 30rem; font-size: 14px; line-height: 1.45; color: var(--text-1); }
.proof svg { flex: none; margin-top: 1px; color: var(--coral); }
.fn { margin-left: 2px; font-size: 0.72em; vertical-align: super; color: var(--sage); }
.footer-note { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.5; color: var(--text-3); max-width: 60rem; }

/* ---------- hero: accuracy slide, them vs us ---------- */
.screen[data-screen="accuracy"] { padding: 6px 8px 12px; gap: 8px; }
.acc-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: #56625f; }
.acc-tag img { width: 16px; height: 16px; border-radius: 5px; }
.acc-x { font-style: normal; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #f3d6d0; color: #ba1a1a; font-size: 9px; }
.acc-src { padding: 12px 14px; border-radius: 20px; background: #e9e5db; }
.acc-src p { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; color: #1f1b16; }
.acc-card { padding: 12px 14px; border-radius: 20px; min-height: 104px; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.acc-card p { margin-top: 6px; font-size: 15px; line-height: 1.35; min-height: 2.7em; }
.acc-them { background: #faf0ee; border: 1px dashed rgba(186, 26, 26, 0.35); }
.acc-them p { color: #6b4a45; }
.acc-them mark { background: none; color: inherit; text-decoration: underline wavy #ba1a1a; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.acc-us { background: #cdebe8; box-shadow: 0 0 0 2px #2b6d66 inset; }
.acc-us p { font-weight: 600; color: #1f1b16; }
.screen.is-us .acc-them { opacity: 0.55; transform: scale(0.98); }
.acc-stamp {
  align-self: center;
  margin-top: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 18px; gap: 12px;
  background: #1d3b38; color: #faf7f1;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: rotate(-6deg) scale(1.4);
  transition: opacity 260ms var(--ease), transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.acc-stamp b { font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1; color: var(--coral); }
.acc-stamp span { font-size: 15px; font-weight: 600; line-height: 1.2; }
.acc-stamp small { font-size: 11px; font-weight: 400; opacity: 0.75; }
.screen.is-done .acc-stamp { opacity: 1; transform: rotate(-6deg) scale(1); }
.typing-caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #ba1a1a; animation: caret 900ms steps(1) infinite; }

/* ---------- phones: compact carousel tabs and stamp ---------- */
.l-short { display: none; }
@media (max-width: 560px) {
  .modes { gap: 6px; }
  .mode { font-size: 12px; gap: 6px; }
  .l-long { display: none; }
  .l-short { display: inline; }
  .acc-stamp { gap: 8px; padding: 10px 14px; max-width: calc(100% - 8px); }
  .acc-stamp b { font-size: 34px; }
  .acc-stamp span { font-size: 13px; }
  .acc-stamp small { font-size: 10px; }
  .acc-card { min-height: 0; }
}
