/* Base — palette and typography */
:root {
  color-scheme: light;
  --paper: #f3f2e9;
  --ink: #173d32;
  --green: #006b60;
  --muted: #54645a;
  --line: #c9d0bf;
  --lime: #d8ee89;
  --pale: #e5e9d9;
  --night: #0c241e;
  --font: -apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  font-feature-settings: "palt";
  word-break: auto-phrase;
  line-height: 1.35;
}

h1,h2 {
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(34px,3.8vw,56px);
  font-weight: 750;
}

h3 {
  font-size: 19px;
  letter-spacing: -.025em;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

button {
  font: inherit;
}

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

ul,ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid #a34713;
  outline-offset: 5px;
}

.day a:focus-visible {
  outline-color: var(--lime);
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

.wrap {
  width: min(1312px,calc(100% - 112px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 120px;
}

.eyebrow,.mono,.small-label {
  font-family: Arial,sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.6;
}

.eyebrow {
  margin-bottom: 26px;
  color: var(--green);
}

.green {
  color: var(--green);
}

.note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.skip {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  transform: translateY(-160%);
}

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


/* Header and navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.brand img {
  flex: none;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  padding-block: 10px;
}

.nav a:hover {
  text-decoration: underline;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 0;
}

.header-cta span {
  font-size: 20px;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  min-height: 60px;
  padding: 16px 24px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  transition: background .2s,color .2s;
}

.button>span {
  font-size: 22px;
  line-height: 1;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
}


/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  padding-top: 66px;
  gap: 0 16px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  padding-bottom: 48px;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .07em;
  margin-bottom: 33px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-category {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .03em;
  margin-bottom: 19px;
}

h1 {
  font-size: clamp(53px,5.3vw,78px);
  font-weight: 800;
  line-height: 1.24;
  margin-left: -.065em;
  letter-spacing: -.085em;
}

h1>span {
  display: block;
  white-space: nowrap;
}

.hero-last {
  color: var(--green);
}

.period {
  display: inline-block;
  margin-left: -.07em;
}

.hero-lead {
  margin-top: 27px;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: -.015em;
}

.hero .button {
  margin-top: 30px;
}

.hero-platform {
  font-size: 12px;
  letter-spacing: .035em;
  margin-top: 15px;
}

.hero-platform span {
  color: var(--muted);
}

.hero-condition {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 25px;
}

.hero-art {
  position: relative;
  min-width: 0;
  height: 644px;
}

.atlas {
  position: absolute;
  width: 104%;
  height: 91%;
  right: -2%;
  top: 0;
  overflow: hidden;
  clip-path: polygon(0 0,95% 0,100% 5%,100% 100%,0 100%);
  transform: rotate(3deg);
}

.atlas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone {
  width: 280px;
  position: relative;
  padding: 7px;
  border: 2px solid #48574c;
  background: #152b23;
  border-radius: 41px;
  box-shadow: 0 24px 44px -20px #20382d55;
  flex: none;
}

.phone>img {
  width: 100%;
  border-radius: 32px;
  aspect-ratio: 390/844;
}

.hero-phone {
  position: absolute;
  width: 268px;
  top: 41px;
  left: 25%;
  transform: rotate(-7deg);
  box-shadow: 18px 28px 30px -12px #243e3244;
}

.hero-stamp {
  position: absolute;
  right: -14px;
  top: 25px;
  z-index: 3;
  width: 144px;
  height: 144px;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(9deg);
  border: 1px solid var(--ink);
  outline: 5px solid var(--lime);
  gap: 8px;
}

.hero-stamp span:first-child {
  font-size: 10px;
  letter-spacing: .05em;
}

.hero-stamp b {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.07em;
  text-align: center;
}

.hero-stamp span:last-child {
  font-family: Arial,sans-serif;
  font-size: 8px;
  letter-spacing: .1em;
}

.art-label {
  position: absolute;
  bottom: 69px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px Arial,sans-serif;
  letter-spacing: .1em;
  transform: rotate(3deg);
}

.tiny-square {
  width: 9px;
  height: 9px;
  background: var(--green);
}

.hero-art figcaption {
  position: absolute;
  bottom: 11px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 24px;
  font-size: 12px;
}

.hero-bottom>span:last-child {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-bottom>span:last-child>span {
  font-size: 24px;
}


/* Introduction and chapter index */
.intro {
  padding-block: 110px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px 70px;
}

.intro-copy {
  padding-top: 64px;
  color: var(--muted);
}

.intro-copy p+p {
  margin-top: 17px;
}

.journey-index {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-index li+li {
  border-left: 1px solid var(--line);
}

.journey-index a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 29px 24px;
  text-decoration: none;
  transition: background .2s;
}

.journey-index a:hover {
  background: var(--pale);
}

.index-number {
  font: 400 49px/1 Arial,sans-serif;
  letter-spacing: -.08em;
  color: var(--green);
}

.journey-index a>span:nth-child(2) {
  font-weight: 700;
  font-size: 20px;
}

.journey-index small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  margin-top: 5px;
}

.index-arrow {
  margin-left: auto;
  font-size: 26px;
}


/* 01 — planning */
.prepare {
  background: #e7ebdf;
  border-block: 1px solid var(--line);
}

.prepare-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 92px;
}

.prepare-visual {
  height: 690px;
  position: relative;
}

.vertical-label {
  position: absolute;
  left: 0;
  top: 0;
  writing-mode: vertical-rl;
  font: 10px Arial,sans-serif;
  letter-spacing: .16em;
  color: var(--muted);
}

.prepare-phone {
  position: absolute;
  left: 29%;
  top: 5px;
  transform: rotate(4deg);
  width: 274px;
}

.paper-slip {
  position: absolute;
  left: 2%;
  top: 365px;
  width: 284px;
  background: #fcfaf0;
  padding: 24px 23px 35px;
  z-index: 2;
  transform: rotate(-8deg);
  box-shadow: 0 15px 28px #18392913;
  border-top: 5px solid var(--green);
  display: grid;
  gap: 18px;
}

.paper-slip:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 9px;
  background: linear-gradient(135deg,#fcfaf0 25%,transparent 25%) -9px 0/18px 18px,linear-gradient(225deg,#fcfaf0 25%,transparent 25%) -9px 0/18px 18px;
}

.paper-slip b {
  font-size: 28px;
  letter-spacing: -.07em;
}

.paper-slip>span {
  font-size: 11px;
}

.slip-rule {
  height: 1px;
  background: var(--line);
}

.visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 12px;
  color: var(--muted);
}

.step-label {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  margin-bottom: 28px;
}

.step-label>span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--green);
  border-radius: 50%;
  font: 13px Arial,sans-serif;
}

.feature-copy h2 {
  font-size: clamp(35px,3.5vw,51px);
}

.feature-lead {
  margin-top: 27px;
  font-size: 17px;
}

.ruled-list {
  margin-top: 30px;
}

.ruled-list li {
  border-top: 1px solid #bdc8b5;
  padding-block: 21px;
  display: flex;
  gap: 17px;
}

.ruled-list li>span {
  font: 11px Arial,sans-serif;
  padding-top: 4px;
  color: var(--green);
}

.ruled-list h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.ruled-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

.feature-note {
  border-left: 2px solid var(--green);
  padding-left: 17px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.feature-note b {
  color: var(--ink);
}

.feature-note>span {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}


/* 02 — visit order */
.order-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 54px;
}

.order-heading>p {
  color: var(--muted);
  padding-bottom: 5px;
}

.route-demo {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--line);
}

.route-map {
  background: var(--pale);
  padding: 25px 27px 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.map-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.map-topline .mono {
  font-size: 10px;
}

.demo-map {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  margin-block: 16px;
}

.map-stop circle {
  fill: var(--green);
  stroke: var(--pale);
  stroke-width: 5;
}

.map-stop .stop-number {
  fill: white;
  font: 700 16px Arial,sans-serif;
  text-anchor: middle;
}

.map-stop rect {
  fill: var(--paper);
}

.map-stop .stop-booth {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-anchor: middle;
}

.map-caption {
  font-size: 11px;
  color: var(--muted);
  max-width: 400px;
}

.route-controls {
  padding: 38px 32px 28px;
  background: #f9f8f0;
  min-width: 0;
}

.route-controls .eyebrow {
  font-size: 10px;
  margin-bottom: 14px;
}

.route-controls h3 {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: -.05em;
}

.demo-instruction {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  display: none;
}

.demo-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.order-number {
  font: 17px Arial,sans-serif;
  color: var(--green);
  width: 19px;
}

.demo-list b {
  font-size: 14px;
}

.demo-list small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-list button {
  display: none;
  flex: none;
  margin-left: auto;
  border: 1px solid #9bac92;
  background: transparent;
  color: var(--ink);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 650;
  padding: 9px 8px;
  min-height: 44px;
  min-width: 60px;
}

.demo-ready .demo-list button {
  display: block;
}

.demo-ready .demo-instruction {
  display: block;
}

.demo-list button:hover:enabled {
  background: var(--lime);
}

.demo-list button:disabled {
  border-color: transparent;
  color: var(--muted);
}

.demo-status {
  font-size: 12px;
  font-weight: 650;
  margin-top: 19px;
}

.route-controls>.note {
  margin-top: 12px;
  font-size: 10px;
}

.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  margin-top: 26px;
}

.order-foot b {
  font-size: 18px;
}

.order-foot p {
  font-size: 14px;
  color: var(--muted);
}


/* 03 — event day */
.day {
  background: var(--night);
  color: var(--paper);
  position: relative;
}

.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 65px;
  align-items: center;
}

.day .step-label {
  color: #b7d8c6;
}

.day .step-label>span {
  border-color: #8acec0;
}

.day h2 {
  font-size: clamp(46px,5vw,74px);
  line-height: 1.3;
}

.day-accent {
  color: var(--lime);
}

.day .feature-lead {
  color: #d4e1d7;
}

.day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 29px;
}

.day-actions>span {
  font-size: 12px;
  border: 1px solid #506857;
  padding: 5px 12px;
  border-radius: 4px;
}

.day-actions>span:first-child {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--night);
}

.day-actions+p {
  font-size: 14px;
  color: #b9cabc;
  margin-top: 18px;
}

.lock-note {
  border-top: 1px solid #405549;
  margin-top: 33px;
  padding-top: 23px;
}

.lock-note .small-label {
  font-size: 10px;
  color: #b9cabc;
}

.lock-note h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
}

.lock-note p {
  color: #b9cabc;
  font-size: 14px;
  max-width: 450px;
}

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

.day-ring {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid #44644b;
  border-radius: 50%;
}

.day-ring:after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid #304b36;
  border-radius: 50%;
}

.lock-phone {
  width: 278px;
  transform: rotate(6deg);
  border-color: #59725f;
  background: #102a20;
  box-shadow: 16px 24px 50px #0005;
}

.day-side {
  writing-mode: vertical-rl;
  position: absolute;
  right: 3px;
  top: 70px;
  color: #a5bca9;
  font-size: 10px;
}

.day-visual figcaption {
  color: #b9cabc;
  font-size: 11px;
  margin-top: 24px;
}

.day-result {
  grid-column: 1/-1;
  display: flex;
  gap: 23px;
  align-items: center;
  border-top: 1px solid #405549;
  padding-top: 30px;
}

.result-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #8cac83;
  border-radius: 50%;
  color: var(--lime);
  font-size: 21px;
  flex: none;
}

.day-result h3 {
  font-size: 20px;
}

.day-result p {
  margin-top: 9px;
  color: #b9cabc;
  font-size: 14px;
}

.day-result>.mono {
  margin-left: auto;
  color: #b9cabc;
  font-size: 10px;
}


/* Catalog and discovery */
.discover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.discover h2 {
  font-size: clamp(44px,4vw,58px);
}

.discover-copy>p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
}

.text-features {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.text-features li {
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.text-features li::before {
  content: '↗';
  color: var(--green);
  margin-right: 14px;
}

.discovery-visual {
  position: relative;
  height: 650px;
  background: var(--pale);
  background-image: linear-gradient(90deg,transparent calc(50% - 1px),#bfc8b5 50%,transparent calc(50% + 1px));
  border: 1px solid var(--line);
}

.circles-phone {
  position: absolute;
  top: 34px;
  right: 11%;
  width: 253px;
  transform: rotate(6deg);
}

.cut-stack {
  position: absolute;
  z-index: 2;
  left: -32px;
  bottom: 86px;
  background: var(--green);
  color: var(--paper);
  padding: 23px;
  width: 222px;
  transform: rotate(-8deg);
  box-shadow: 0 15px 20px #16392d18;
}

.cut-stack>span {
  font: 9px Arial,sans-serif;
  letter-spacing: .12em;
}

.cut-stack b {
  display: block;
  font-size: 24px;
  line-height: 1.5;
  margin-top: 21px;
  letter-spacing: -.04em;
}

.color-chips {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.color-chips i {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #f1c184;
  border: 1px solid #fff5;
}

.color-chips i:nth-child(2) {
  background: #ec9a94;
}

.color-chips i:nth-child(3) {
  background: #bbabd1;
}

.color-chips i:nth-child(4) {
  background: #9ebdc9;
}

.color-chips i:nth-child(5) {
  background: #b3d6b3;
}

.color-chips i:nth-child(6) {
  background: #e0ddab;
}

.discovery-visual .visual-caption {
  bottom: 17px;
  left: 23px;
}


/* Offline and privacy */
.reliability {
  background: var(--pale);
  border-block: 1px solid var(--line);
}

.reliability-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 65px;
  align-items: end;
}

.reliability-heading .eyebrow {
  grid-column: 1/-1;
}

.reliability-heading>p:last-child {
  color: var(--muted);
  padding-bottom: 6px;
}

.trust-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 38px;
}

.trust-grid article {
  border-top: 1px solid #b6c3ad;
  padding-top: 25px;
}

.trust-symbol {
  font: 39px/1 Arial,sans-serif;
  display: block;
  margin-bottom: 28px;
  color: var(--green);
}

.trust-grid h3 {
  margin-bottom: 15px;
}

.trust-grid p {
  font-size: 14px;
  color: var(--muted);
}


/* Requirements and FAQ */
.requirements {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.requirement-primary {
  padding-bottom: 29px;
  border-bottom: 1px solid var(--line);
}

.requirement-primary .small-label {
  display: inline-block;
  background: var(--lime);
  font-size: 11px;
  padding: 3px 11px;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.requirement-primary h3 {
  font-size: 26px;
  line-height: 1.55;
}

.requirement-primary p {
  margin-top: 17px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-top: 17px;
  font-size: 14px;
  font-weight: 650;
  color: var(--green);
}

.price-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  padding-block: 29px;
  border-bottom: 1px solid var(--line);
}

.price-row h3 {
  font-size: 16px;
}

.price-row b {
  font-size: 19px;
}

.price-row p+p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 13px;
}

.os-list {
  margin: 0;
}

.os-list>div {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 0;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.os-list dt {
  font-weight: 600;
}

.os-list dd {
  margin: 0;
}

.os-note {
  margin-top: 17px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.faq h2 {
  font-size: 36px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  list-style: none;
  padding: 23px 32px 23px 0;
  line-height: 1.8;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 21px;
  font: 25px Arial,sans-serif;
  font-weight: 400;
  color: var(--green);
}

.faq details[open] summary:after {
  content: '−';
}

.faq details>p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  padding: 0 25px 24px 0;
}

.faq details>p a {
  color: var(--green);
}


/* Closing CTA and footer */
.closing {
  background: var(--lime);
  padding-block: 76px 94px;
  text-align: center;
  position: relative;
  border-block: 1px solid #b4c86e;
}

.closing-inner {
  position: relative;
}

.closing-route {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(440px,100%);
  margin: 0 auto 42px;
}

.closing-route>span {
  border: 1px solid var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font: 11px Arial,sans-serif;
  flex: none;
}

.closing-route>span:last-child {
  background: var(--green);
  color: var(--lime);
}

.closing-route i {
  height: 1px;
  background: var(--green);
  width: 100%;
}

.closing .eyebrow {
  font-size: 10px;
  margin-bottom: 22px;
}

.closing h2 {
  font-size: clamp(36px,4.5vw,66px);
  line-height: 1.45;
}

.closing h2+p {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.closing .button {
  margin-top: 29px;
  min-width: 320px;
}

.closing-platform {
  display: block;
  font-size: 11px;
  margin-top: 18px;
}

.footer {
  padding-block: 52px 22px;
}

.footer-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-top>div>p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}

.footer-nav {
  display: grid;
  grid-template-columns: auto auto;
  gap: 11px 40px;
  font-size: 12px;
}

.footer-nav a {
  text-decoration: none;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-nav a:last-child {
  grid-column: 1/-1;
  gap: 30px;
}

.legal {
  margin-top: 27px;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 1120px;
}

.legal p+p {
  margin-top: 7px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
}

.footer-bottom small {
  font-size: 11px;
}

.footer-bottom a {
  text-decoration: none;
  padding: 10px 0;
}


/* Wide desktop */
@media(min-width:1600px) {
  .hero {
    padding-top: 83px;
  }

  .hero-copy {
    padding-top: 45px;
  }

  .hero-art {
    height: 690px;
  }

  .hero-phone {
    width: 293px;
    top: 42px;
    left: 28%;
  }

  .hero-stamp {
    right: 10px;
    top: 32px;
  }

  .hero-condition {
    margin-top: 31px;
  }

  .hero h1 {
    font-size: 83px;
  }

  .atlas {
    height: 90%;
  }

}


/* Compact desktop */
@media(max-width:1199px) {
  .wrap {
    width: calc(100% - 72px);
  }

  .header-inner {
    gap: 30px;
  }

  .nav {
    gap: 19px;
  }

  .hero {
    gap: 0;
  }

  .hero h1 {
    font-size: 5.6vw;
  }

  .hero-art {
    height: 603px;
  }

  .hero-phone {
    width: 247px;
    left: 18%;
    top: 53px;
  }

  .hero-stamp {
    width: 119px;
    height: 119px;
    right: 0;
    top: 20px;
  }

  .hero-stamp b {
    font-size: 20px;
  }

  .hero-stamp span:first-child {
    font-size: 9px;
  }

  .hero .button {
    font-size: 13px;
    padding-inline: 19px;
    gap: 22px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-copy {
    padding-top: 13px;
  }

  .hero .eyebrow {
    margin-bottom: 28px;
  }

  .hero-category {
    font-size: 12px;
  }

  .hero-art figcaption {
    font-size: 10px;
  }

  .prepare-grid {
    gap: 45px;
    grid-template-columns: 1fr 1fr;
  }

  .prepare-phone {
    left: 22%;
    width: 252px;
  }

  .prepare-visual {
    height: 632px;
  }

  .paper-slip {
    width: 253px;
    left: 0;
    top: 356px;
  }

  .feature-lead {
    font-size: 16px;
  }

  .order-heading>p {
    font-size: 14px;
  }

  .route-demo {
    grid-template-columns: 1.15fr 1fr;
  }

  .route-controls {
    padding: 30px 24px;
  }

  .route-map {
    padding: 22px 20px;
  }

  .day-grid {
    gap: 52px 35px;
  }

  .day-ring {
    width: 390px;
    height: 390px;
  }

  .discover {
    gap: 56px;
  }

  .circles-phone {
    right: 8%;
    width: 238px;
  }

  .requirements,.faq {
    gap: 50px;
    grid-template-columns: .85fr 1.3fr;
  }

  .price-row {
    grid-template-columns: 115px 1fr;
  }

  .os-list>div {
    grid-template-columns: 135px 1fr;
  }

  .journey-index a {
    gap: 14px;
    padding-inline: 18px;
  }

  .journey-index a>span:nth-child(2) {
    font-size: 18px;
  }

  .index-number {
    font-size: 41px;
  }

  .intro {
    gap: 46px;
  }

  .section-pad {
    padding-block: 96px;
  }

}


/* Tablet */
@media(max-width:899px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .header-inner {
    height: 72px;
    justify-content: space-between;
    gap: 18px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 33px;
    height: 33px;
  }

  .nav {
    gap: 14px;
    font-size: 11px;
  }

  .header-cta {
    font-size: 11px;
    gap: 11px;
  }

  .hero {
    padding-top: 44px;
    grid-template-columns: 1.05fr 1fr;
  }

  .hero-copy {
    padding-top: 7px;
  }

  .hero-category {
    font-size: 11px;
    letter-spacing: 0;
  }

  .hero h1 {
    font-size: 5.7vw;
  }

  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 25px;
  }

  .hero-lead {
    font-size: 14px;
    margin-top: 23px;
  }

  .hero .button {
    font-size: 11px;
    padding: 14px;
    gap: 16px;
    min-height: 54px;
    margin-top: 24px;
  }

  .hero-platform,.hero-condition {
    font-size: 10px;
  }

  .hero-art {
    height: 510px;
  }

  .hero-phone {
    width: 205px;
    top: 43px;
    left: 14%;
  }

  .hero-stamp {
    width: 102px;
    height: 102px;
    right: -5px;
    top: 12px;
    gap: 5px;
  }

  .hero-stamp b {
    font-size: 18px;
  }

  .hero-stamp span:last-child {
    font-size: 6px;
  }

  .hero-stamp span:first-child {
    font-size: 8px;
  }

  .hero-art figcaption {
    font-size: 10px;
    bottom: 0;
  }

  .art-label {
    font-size: 8px;
    bottom: 50px;
    left: 6px;
  }

  .hero-bottom {
    margin-top: 14px;
    font-size: 10px;
  }

  .hero-bottom .mono {
    font-size: 8px;
  }

  .intro {
    padding-block: 78px;
    gap: 33px;
  }

  .intro h2 {
    font-size: 35px;
  }

  .intro-copy {
    font-size: 14px;
    padding-top: 49px;
  }

  .journey-index a {
    gap: 10px;
    padding: 25px 12px;
  }

  .index-number {
    font-size: 34px;
  }

  .journey-index a>span:nth-child(2) {
    font-size: 16px;
  }

  .journey-index small {
    font-size: 10px;
  }

  .index-arrow {
    font-size: 19px;
  }

  .section-pad {
    padding-block: 82px;
  }

  .prepare-grid {
    gap: 34px;
  }

  .prepare-phone {
    width: 215px;
    left: 24%;
    top: 38px;
  }

  .prepare-visual {
    height: 575px;
  }

  .paper-slip {
    width: 224px;
    top: 340px;
    padding: 19px;
    gap: 15px;
  }

  .paper-slip b {
    font-size: 24px;
  }

  .paper-slip>span {
    font-size: 9px;
  }

  .feature-copy h2 {
    font-size: 32px;
  }

  .feature-lead {
    font-size: 14px;
  }

  .ruled-list h3 {
    font-size: 15px;
  }

  .ruled-list p {
    font-size: 13px;
  }

  .ruled-list li {
    gap: 10px;
    padding-block: 18px;
  }

  .feature-note {
    font-size: 12px;
  }

  .order-heading {
    gap: 28px;
  }

  .order-heading h2 {
    font-size: 35px;
  }

  .order-heading>p {
    font-size: 12px;
  }

  .route-demo {
    grid-template-columns: 1fr 1fr;
  }

  .route-controls {
    padding: 25px 18px;
  }

  .route-controls h3 {
    font-size: 27px;
  }

  .route-map {
    padding: 18px 13px;
  }

  .map-topline {
    flex-wrap: wrap;
    gap: 4px;
  }

  .map-topline .mono {
    font-size: 8px;
  }

  .map-caption {
    font-size: 10px;
  }

  .demo-list li {
    gap: 7px;
  }

  .demo-list b {
    font-size: 12px;
  }

  .demo-list button {
    min-width: 53px;
    padding: 8px 5px;
    font-size: 10px;
  }

  .demo-list small {
    font-size: 10px;
  }

  .order-foot {
    gap: 25px;
  }

  .order-foot b {
    font-size: 16px;
  }

  .order-foot p {
    font-size: 12px;
  }

  .day h2 {
    font-size: 49px;
  }

  .day-grid {
    gap: 48px 28px;
  }

  .lock-phone {
    width: 231px;
  }

  .day-visual {
    min-height: 553px;
  }

  .day-ring {
    width: 315px;
    height: 315px;
  }

  .day-side {
    right: -6px;
    font-size: 8px;
  }

  .day-actions+p,.lock-note p {
    font-size: 13px;
  }

  .lock-note h3 {
    font-size: 17px;
  }

  .day-actions>span {
    font-size: 11px;
  }

  .day-result>.mono {
    display: none;
  }

  .discover {
    gap: 45px;
  }

  .discover h2 {
    font-size: 44px;
  }

  .discover-copy>p:not(.eyebrow) {
    font-size: 14px;
  }

  .text-features {
    font-size: 12px;
  }

  .discovery-visual {
    height: 557px;
  }

  .circles-phone {
    width: 216px;
    right: 9%;
    top: 27px;
  }

  .cut-stack {
    width: 175px;
    padding: 20px;
    bottom: 60px;
    left: -21px;
  }

  .cut-stack b {
    font-size: 20px;
  }

  .color-chips {
    gap: 4px;
  }

  .color-chips i {
    width: 19px;
    height: 19px;
  }

  .reliability-heading {
    gap: 0 40px;
  }

  .reliability-heading>p:last-child {
    font-size: 13px;
  }

  .trust-grid {
    gap: 26px;
  }

  .trust-grid h3 {
    font-size: 16px;
  }

  .trust-grid p {
    font-size: 13px;
  }

  .requirements,.faq {
    gap: 34px;
    grid-template-columns: .8fr 1.3fr;
  }

  .requirements h2 {
    font-size: 35px;
  }

  .requirement-primary h3 {
    font-size: 22px;
  }

  .requirement-primary p {
    font-size: 13px;
  }

  .price-row {
    display: block;
  }

  .price-row h3 {
    margin-bottom: 15px;
  }

  .price-row b {
    font-size: 18px;
  }

  .os-list>div {
    grid-template-columns: 115px 1fr;
    font-size: 12px;
  }

  .faq h2 {
    font-size: 28px;
  }

  .faq summary {
    font-size: 14px;
  }

  .footer .brand {
    font-size: 18px;
  }

  .footer-nav {
    gap: 9px 25px;
    font-size: 11px;
  }

}


/* Mobile */
@media(max-width:639px) {
  html {
    scroll-padding-top: 86px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .section-pad {
    padding-block: 70px;
  }

  .header-inner {
    height: 66px;
    gap: 12px;
  }

  .brand {
    font-size: 18px;
    gap: 9px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
  }

  .header-cta span {
    font-size: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 34px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 24px;
  }

  .hero-category {
    font-size: 12px;
    margin-bottom: 13px;
  }

  .hero h1 {
    font-size: clamp(46px,12.7vw,72px);
    line-height: 1.27;
    letter-spacing: -.085em;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.9;
    margin-top: 20px;
  }

  .hero .button {
    font-size: 13px;
    padding: 16px 20px;
    gap: 24px;
    min-height: 57px;
    margin-top: 24px;
  }

  .hero-platform {
    font-size: 11px;
    margin-top: 12px;
  }

  .hero-condition {
    font-size: 11px;
    margin-top: 18px;
  }

  .hero-art {
    width: 100%;
    height: 528px;
    margin-top: 34px;
  }

  .atlas {
    width: 100%;
    height: 92%;
    right: 0;
    transform: rotate(2deg);
  }

  .hero-phone {
    width: 222px;
    left: 19%;
    top: 29px;
    border-radius: 34px;
  }

  .hero-phone>img {
    border-radius: 26px;
  }

  .hero-stamp {
    right: 0;
    top: 14px;
    width: 106px;
    height: 106px;
  }

  .hero-stamp b {
    font-size: 19px;
  }

  .hero-stamp span:first-child {
    font-size: 8px;
  }

  .hero-stamp span:last-child {
    font-size: 7px;
  }

  .art-label {
    font-size: 7px;
    bottom: 50px;
    left: 8px;
  }

  .hero-art figcaption {
    font-size: 10px;
    bottom: 0;
  }

  .hero-bottom {
    margin-top: 18px;
    padding-block: 19px;
    gap: 20px;
  }

  .hero-bottom .mono {
    font-size: 7px;
    max-width: 100px;
  }

  .hero-bottom>span:last-child {
    font-size: 10px;
    gap: 12px;
  }

  .hero-bottom>span:last-child>span {
    font-size: 17px;
  }

  .intro {
    padding-block: 64px 60px;
    display: block;
  }

  .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }

  .intro h2 {
    font-size: 37px;
  }

  .intro-copy {
    padding-top: 24px;
    font-size: 14px;
  }

  .intro-copy br {
    display: none;
  }

  .intro-copy p+p {
    margin-top: 13px;
  }

  .journey-index {
    margin-top: 32px;
    grid-template-columns: 1fr;
  }

  .journey-index li+li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .journey-index a {
    padding: 17px 0;
    gap: 23px;
  }

  .index-number {
    font-size: 31px;
    min-width: 36px;
  }

  .journey-index a>span:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 19px;
    font-size: 17px;
  }

  .journey-index small {
    font-size: 11px;
    margin-top: 0;
    font-weight: 500;
  }

  .index-arrow {
    font-size: 24px;
  }

  .prepare-grid {
    display: flex;
    flex-direction: column;
    gap: 33px;
  }

  .feature-copy {
    order: -1;
  }

  .step-label {
    font-size: 11px;
    gap: 13px;
    margin-bottom: 22px;
  }

  .step-label>span {
    width: 33px;
    height: 33px;
    font-size: 11px;
  }

  .feature-copy h2 {
    font-size: 38px;
  }

  .feature-lead {
    font-size: 16px;
    margin-top: 22px;
  }

  .ruled-list {
    margin-top: 25px;
  }

  .ruled-list li {
    padding-block: 19px;
    gap: 14px;
  }

  .ruled-list h3 {
    font-size: 16px;
  }

  .ruled-list p {
    font-size: 14px;
  }

  .feature-note {
    font-size: 13px;
  }

  .prepare-visual {
    width: 100%;
    height: 610px;
    margin-top: 15px;
  }

  .prepare-phone {
    width: 228px;
    left: auto;
    right: 5%;
    top: 0;
  }

  .paper-slip {
    left: 0;
    top: 326px;
    width: 235px;
    padding: 22px;
    gap: 17px;
  }

  .paper-slip b {
    font-size: 26px;
  }

  .paper-slip>span {
    font-size: 10px;
  }

  .vertical-label {
    font-size: 8px;
  }

  .visual-caption {
    font-size: 11px;
  }

  .order-heading {
    display: block;
    margin-bottom: 29px;
  }

  .order-heading h2 {
    font-size: 36px;
  }

  .order-heading>p {
    font-size: 14px;
    margin-top: 23px;
  }

  .route-demo {
    display: flex;
    flex-direction: column;
  }

  .route-map {
    padding: 18px 16px;
  }

  .map-topline {
    flex-wrap: nowrap;
  }

  .map-topline .mono {
    font-size: 8px;
  }

  .map-topline>span:last-child {
    font-size: 10px;
  }

  .demo-map {
    margin-block: 11px;
  }

  .map-caption {
    font-size: 10px;
  }

  .route-controls {
    padding: 26px 21px;
  }

  .route-controls h3 {
    font-size: 29px;
  }

  .route-controls h3 br {
    display: block;
  }

  .demo-instruction {
    font-size: 12px;
    margin-top: 12px;
  }

  .demo-list {
    margin-top: 19px;
  }

  .demo-list li {
    gap: 14px;
    min-height: 78px;
  }

  .demo-list b {
    font-size: 14px;
  }

  .demo-list small {
    font-size: 11px;
  }

  .demo-list button {
    min-width: 67px;
    font-size: 11px;
  }

  .demo-status {
    font-size: 13px;
  }

  .route-controls>.note {
    font-size: 10px;
  }

  .order-foot {
    display: block;
    margin-top: 23px;
  }

  .order-foot b {
    font-size: 17px;
  }

  .order-foot p {
    font-size: 14px;
    margin-top: 9px;
  }

  .order-foot br {
    display: none;
  }

  .day-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: stretch;
  }

  .day h2 {
    font-size: 58px;
  }

  .day .feature-lead {
    font-size: 15px;
  }

  .day-actions {
    margin-top: 25px;
  }

  .day-actions>span {
    font-size: 12px;
    padding: 5px 11px;
  }

  .day-actions+p {
    font-size: 14px;
  }

  .lock-note h3 {
    font-size: 19px;
  }

  .lock-note p {
    font-size: 14px;
  }

  .day-visual {
    min-height: 605px;
  }

  .lock-phone {
    width: 248px;
  }

  .day-ring {
    width: min(330px,100%);
    height: auto;
    aspect-ratio: 1;
  }

  .day-side {
    right: 0;
    top: 55px;
    font-size: 8px;
  }

  .day-visual figcaption {
    font-size: 10px;
    margin-top: 24px;
  }

  .day-result {
    gap: 15px;
    align-items: start;
    padding-top: 25px;
  }

  .result-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .day-result h3 {
    font-size: 17px;
    line-height: 1.7;
  }

  .day-result p {
    font-size: 13px;
  }

  .day-result br {
    display: none;
  }

  .discover {
    display: flex;
    flex-direction: column;
    gap: 39px;
    align-items: stretch;
  }

  .discover h2 {
    font-size: 44px;
  }

  .discover-copy>p:not(.eyebrow) {
    font-size: 16px;
    margin-top: 22px;
  }

  .text-features {
    font-size: 13px;
    margin-top: 24px;
  }

  .text-features li {
    padding-block: 13px;
  }

  .discovery-visual {
    height: 583px;
    margin-left: 9px;
  }

  .circles-phone {
    width: 226px;
    right: 7%;
    top: 24px;
  }

  .cut-stack {
    left: -10px;
    bottom: 65px;
    width: 193px;
    padding: 22px;
  }

  .cut-stack b {
    font-size: 22px;
  }

  .color-chips i {
    width: 20px;
    height: 20px;
  }

  .reliability-heading {
    display: block;
  }

  .reliability-heading h2 {
    font-size: 41px;
  }

  .reliability-heading>p:last-child {
    font-size: 15px;
    margin-top: 24px;
  }

  .reliability-heading br {
    display: none;
  }

  .reliability-heading h2 br {
    display: block;
  }

  .trust-grid {
    margin-top: 31px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .trust-grid article {
    padding-top: 23px;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 14px;
  }

  .trust-symbol {
    font-size: 30px;
    grid-row: 1/3;
    margin-bottom: 0;
  }

  .trust-grid h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .trust-grid p {
    font-size: 14px;
  }

  .requirements,.faq {
    display: block;
  }

  .requirements h2 {
    font-size: 38px;
  }

  .requirements-body {
    margin-top: 32px;
  }

  .requirement-primary h3 {
    font-size: 24px;
  }

  .requirement-primary p {
    font-size: 14px;
  }

  .requirement-primary p br {
    display: none;
  }

  .text-link {
    font-size: 14px;
  }

  .price-row {
    padding-block: 25px;
  }

  .price-row h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .price-row b {
    font-size: 21px;
  }

  .price-row p+p {
    font-size: 13px;
  }

  .os-list>div {
    font-size: 13px;
    grid-template-columns: 125px 1fr;
  }

  .os-note {
    font-size: 12px;
  }

  .faq h2 {
    font-size: 33px;
  }

  .faq-list {
    margin-top: 31px;
  }

  .faq summary {
    font-size: 15px;
    padding-block: 21px;
  }

  .faq details>p {
    font-size: 14px;
  }

  .closing {
    padding-block: 58px 66px;
  }

  .closing-route {
    width: 230px;
    margin-bottom: 33px;
  }

  .closing-route>span {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .closing .eyebrow {
    font-size: 8px;
  }

  .closing h2 {
    font-size: clamp(31px,8.5vw,49px);
    letter-spacing: -.065em;
    line-height: 1.5;
  }

  .closing h2+p {
    font-size: 11px;
    margin-top: 22px;
  }

  .closing .button {
    min-width: 0;
    width: 100%;
    font-size: 13px;
    gap: 18px;
    padding-inline: 21px;
  }

  .closing-platform {
    font-size: 10px;
  }

  .footer {
    padding-block: 38px 20px;
  }

  .footer-top {
    display: block;
    padding-bottom: 27px;
  }

  .footer .brand {
    font-size: 20px;
  }

  .footer-nav {
    margin-top: 29px;
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
    gap: 9px 15px;
  }

  .legal {
    font-size: 12px;
    margin-top: 23px;
    line-height: 2;
  }

  .footer-bottom {
    font-size: 10px;
    margin-top: 20px;
  }

  .footer-bottom small {
    font-size: 10px;
  }

}


/* Motion preferences */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }

}


/* Print */
@media print {
  .header,.button,.header-cta,.demo-list button,.skip {
    display: none!important;
  }

  .section-pad {
    padding-block: 35px;
  }

  .wrap {
    width: 95%;
  }

  .hero-art {
    max-height: 560px;
  }

  .day {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  details>p {
    display: block!important;
  }

  a {
    color: inherit;
  }

  .phone {
    box-shadow: none;
  }

}


/* Round 2 — opening actions and the continuous route */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 36px;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.hero-secondary:hover {
  border-color: var(--green);
}

.atlas picture {
  display: block;
  width: 100%;
  height: 100%;
}

.discover {
  border-top: 1px solid var(--line);
}

.text-features li::before {
  content: '—';
}

.route-shell {
  position: relative;
  --rail-x: max(20px, calc((100vw - 1312px) / 2 - 30px));
  --section-space: 120px;
}

.route-shell::before {
  content: '';
  position: absolute;
  top: var(--section-space);
  bottom: 300px;
  left: var(--rail-x);
  border-left: 1px solid #769270;
  opacity: .35;
  pointer-events: none;
  z-index: 2;
}

.route-ready::before {
  display: none;
}

.route-chapter {
  position: relative;
}

.route-chapter .step-label {
  min-height: 37px;
}

.route-chapter .step-label > span {
  position: absolute;
  left: calc(var(--rail-x) - 18.5px);
  top: var(--section-space);
  background: var(--paper);
  z-index: 3;
}

.prepare .step-label > span {
  background: #e7ebdf;
}

.day .step-label > span {
  background: var(--night);
}

.story-route {
  position: absolute;
  top: 0;
  left: var(--rail-x);
  width: 1px;
  height: 100%;
  display: none;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-ready .story-route {
  display: block;
}

.story-track {
  stroke: #789473;
  stroke-width: 1;
  opacity: .4;
}

.story-progress {
  stroke: url(#story-ink);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.closing-route > span {
  position: relative;
  z-index: 3;
  background: var(--lime);
}

.route-ready .closing-route i {
  visibility: hidden;
}

@keyframes follow-the-route {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }

}

@supports (animation-timeline: scroll()) and (animation-range: 0px 1px) {
  .route-css .story-progress {
    animation: follow-the-route 1s linear both;
    animation-timeline: scroll(root block);
    animation-range: var(--route-start) var(--route-end);
  }

}


/* Round 2 — semantic, hand-drawn line icons */
.trust-symbol {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Round 2 — draggable visit order and moving numbered pins */
.map-label rect {
  fill: var(--paper);
}

.map-label text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-anchor: middle;
}

.route-pin circle {
  fill: var(--green);
  stroke: var(--pale);
  stroke-width: 5;
}

.route-pin text {
  fill: white;
  font: 700 16px Arial, sans-serif;
  text-anchor: middle;
}

.route-pin[data-rank="0"] circle {
  fill: var(--lime);
  stroke: var(--green);
  stroke-width: 2;
}

.route-pin[data-rank="0"] text {
  fill: var(--ink);
}

.demo-list {
  position: relative;
  isolation: isolate;
}

.demo-list li[data-circle] {
  min-height: 88px;
  gap: 9px;
}

.demo-list .drag-handle {
  width: 32px;
  min-width: 32px;
  height: 48px;
  padding: 4px;
  margin: 0;
  border: 0;
  cursor: grab;
  touch-action: none;
}

.drag-handle svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: var(--green);
  stroke-width: 1.5;
  fill: var(--paper);
  stroke-linecap: round;
}

.demo-list li.is-dragging {
  opacity: .25;
}

.demo-list.is-sorting {
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing;
}

.demo-list .drag-ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 88px;
  z-index: 5;
  background: #fffef5;
  border: 1px solid var(--green);
  box-shadow: 0 12px 24px #173d3226;
  pointer-events: none;
  padding-inline: 5px;
}

.demo-list .drag-ghost button {
  visibility: hidden;
}

.demo-list .order-number {
  width: 14px;
  font-size: 14px;
  flex: none;
}

.demo-list [data-first] {
  min-width: 56px;
  padding-inline: 5px;
}

.demo-instruction {
  line-height: 1.8;
}


/* Round 2 — route gutter and hero composition at each breakpoint */
@media (max-width: 1199px) {
  .route-shell {
    --rail-x: 26px;
    --section-space: 96px;
  }

  .route-shell .wrap {
    width: calc(100% - 88px);
    margin-left: 64px;
    margin-right: 24px;
  }

  .route-controls {
    padding-inline: 22px;
  }

}

@media (min-width: 640px) and (max-width: 899px) {
  .route-demo {
    grid-template-columns: 1fr;
  }

  .route-map {
    padding: 24px;
  }

  .demo-map {
    max-height: 340px;
  }

  .route-controls {
    padding: 28px;
  }

  .route-controls h3 br {
    display: none;
  }

  .demo-list {
    max-width: 100%;
  }

  .demo-list b {
    font-size: 15px;
  }

  .demo-list small {
    font-size: 12px;
  }

  .demo-list [data-first] {
    font-size: 12px;
    min-width: 72px;
  }

  .route-shell .prepare-phone {
    left: 17%;
    width: 205px;
  }

  .route-shell .paper-slip {
    width: 210px;
  }

  .route-shell .day-ring {
    width: 280px;
    height: 280px;
  }

}

@media (max-width: 899px) {
  .route-shell {
    --section-space: 82px;
  }

  .hero-secondary {
    font-size: 11px;
  }

}

@media (max-width: 639px) {
  .hero-actions {
    gap: 12px;
  }

  .hero .button {
    font-size: 13px;
    gap: 16px;
    padding-inline: 17px;
  }

  .hero-secondary {
    font-size: 12px;
  }

  .hero-art {
    height: 558px;
  }

  .atlas {
    height: auto;
    aspect-ratio: 350 / 520;
    clip-path: none;
    transform: none;
  }

  .atlas img {
    object-fit: contain;
    aspect-ratio: 350 / 520;
  }

  .hero-phone {
    width: 58%;
    max-width: 214px;
    left: 50%;
    top: 86px;
    transform: translateX(-50%) rotate(-5deg);
    padding: 5px;
    border-radius: 30px;
  }

  .hero-phone > img {
    border-radius: 23px;
  }

  .hero-stamp {
    right: 9px;
    top: 12px;
    width: 99px;
    height: 99px;
    outline-width: 3px;
  }

  .art-label {
    bottom: 40px;
    left: 10px;
    transform: none;
  }

  .route-shell {
    --rail-x: 16px;
    --section-space: 70px;
  }

  .route-shell .wrap {
    width: calc(100% - 64px);
    margin-left: 44px;
    margin-right: 20px;
  }

  .route-chapter .step-label {
    min-height: 26px;
  }

  .route-chapter .step-label > span {
    width: 26px;
    height: 26px;
    left: calc(var(--rail-x) - 13px);
    font-size: 10px;
  }

  .route-shell h2 {
    font-size: 34px;
  }

  .route-shell .day h2 {
    font-size: 51px;
  }

  .route-shell .closing h2 {
    font-size: clamp(28px, 8vw, 44px);
  }

  .route-shell .feature-lead {
    font-size: 15px;
  }

  .route-shell .prepare-phone {
    right: 2%;
    width: 216px;
  }

  .route-shell .paper-slip {
    width: 218px;
  }

  .route-shell .day-ring {
    width: min(295px, 100%);
  }

  .route-shell .lock-phone {
    width: 224px;
  }

  .route-shell .day-side {
    right: -7px;
  }

  .route-controls {
    padding-inline: 15px;
  }

  .demo-list li[data-circle] {
    gap: 7px;
  }

  .demo-list b {
    font-size: 12px;
  }

  .demo-list small {
    font-size: 10px;
  }

  .demo-list .drag-handle {
    width: 28px;
    min-width: 28px;
  }

  .demo-list [data-first] {
    min-width: 53px;
    font-size: 10px;
  }

  .demo-instruction {
    font-size: 11px;
  }

  .demo-status {
    font-size: 12px;
  }

  .trust-symbol {
    width: 34px;
    height: 34px;
  }

  .closing .button {
    font-size: 12px;
    padding-inline: 15px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .story-progress {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

}

@media print {
  .story-route, .route-shell::before {
    display: none !important;
  }

}

/* Keep the small paper note on one line inside the mobile route gutter. */
@media (max-width: 639px) {
  .route-shell .paper-slip b {
    font-size: 22px;
    white-space: nowrap;
  }
}

/* Reserve room for the spoken order; keep the map visible while touching its list. */
.demo-status {
  min-height: 5.55em;
}

@media (max-width: 639px) {
  .route-map {
    position: sticky;
    top: 66px;
    z-index: 4;
    padding-block: 12px;
    box-shadow: 0 4px 12px #173d3210;
  }

  .demo-list button {
    scroll-margin-top: 340px;
    scroll-margin-bottom: 40px;
  }

  .demo-map {
    max-height: 166px;
    margin-block: 6px;
  }

  .map-label text {
    font-size: 23px;
  }

  .route-pin text {
    font-size: 24px;
  }
}
