:root {
  color-scheme: light;
  --canvas: #faf7f2;
  --ink: #1f1b16;
  --muted: #62594f;
  --accent: #1d3f8a;
  --line: #e2dacd;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }

.shell {
  max-width: 85rem;
  width: calc(100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 1rem auto auto 1rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 0.5rem;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }
.site-header, .site-footer { border-block-start: 1px solid var(--line); }
.site-header { border-block-start: 0; border-block-end: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img { border-radius: 25%; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.25rem);
}

nav a, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 0.25em;
}

nav a:hover, .text-link:hover { text-decoration: underline; }
.text-link { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(2.75rem, 6vw, 5.25rem) clamp(3.25rem, 6vw, 5.75rem);
}

.app-status, .stage-label, .status-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
  margin-bottom: 1.25rem;
}

.app-status::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3 { text-wrap: balance; }

h1 {
  font-size: clamp(3.35rem, 6.1vw, 6.625rem);
  font-weight: 750;
  line-height: 0.99;
  letter-spacing: -0.075em;
}

h1 span { color: var(--accent); }

.intro {
  margin-top: 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.19rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.25rem;
  margin-top: 1.6rem;
}

.demo-button, .demo-status {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.demo-status {
  color: var(--muted);
  background: #f1ece3;
  border-color: var(--line);
}

.demo-button {
  color: white;
  background: var(--accent);
  text-decoration: none;
}

.demo-button:hover { background: #152f6a; }

.hero-art, .stage-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(1.25rem, 3vw, 2rem);
}

.hero-art {
  aspect-ratio: 6 / 5;
  background: radial-gradient(ellipse at 72% 14%, #5073bd, transparent 70%), #1d3f8a;
}

.hero-art::before, .hero-art::after {
  position: absolute;
  z-index: -1;
  content: '';
  width: 128%;
  height: 66%;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  transform: rotate(-33deg);
}

.hero-art::after { width: 145%; height: 84%; }

.phone {
  overflow: hidden;
  padding: clamp(3px, 0.48vw, 7px);
  border: 1px solid #4c5563;
  border-radius: clamp(1rem, 2.5vw, 2rem);
  background: #20252f;
  box-shadow: 0 1.375rem 2.75rem rgb(12 22 45 / 30%), 0 0.25rem 0.7rem rgb(12 22 45 / 20%);
}

.phone img {
  width: 100%;
  border-radius: clamp(0.75rem, 1.95vw, 1.55rem);
  background: var(--canvas);
}

.hero-art .phone { position: absolute; width: 32%; }
.hero-map { top: 11%; right: 15%; transform: rotate(10deg); }
.hero-today { top: 6%; left: 20%; transform: rotate(-9deg); }

figcaption {
  margin-top: 0.65rem;
  padding-inline: 0.125rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.trip-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  grid-template-areas: 'copy visual';
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(2.75rem, 5.5vw, 5rem);
  border-top: 1px solid var(--line);
}

.during-stage {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  grid-template-areas: 'visual copy';
}

.stage-copy { grid-area: copy; }
.trip-stage figure { grid-area: visual; }
.stage-label { margin-bottom: 0.75rem; }

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

h3 {
  font-size: clamp(1.08rem, 1.75vw, 1.34rem);
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -0.026em;
}

.stage-copy > p:not(.stage-label), .stage-detail p, .planned-note p, .after-features p {
  color: var(--muted);
  line-height: 1.6;
}

.stage-copy > p:not(.stage-label), .stage-detail p { max-width: 50ch; }
.stage-copy > p:not(.stage-label) { margin-top: 1rem; }

.stage-detail { margin-top: 1.5rem; }
.stage-detail p, .planned-note p, .after-features p { margin-top: 0.375rem; }

.planned-note {
  max-width: 33rem;
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  background: #fffdf9;
}

.planned-note h3, .after-features h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.625rem;
}

.status-label {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  background: #e6ecf8;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.itinerary-art {
  aspect-ratio: 1.25;
  background: #ede6da;
}

.itinerary-art::before {
  position: absolute;
  z-index: -1;
  content: '';
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid #d5c9b7;
  border-radius: 50%;
  box-shadow: 0 0 0 1.75rem #ede6da, 0 0 0 calc(1.75rem + 1px) #d5c9b7;
}

.stage-phone { width: 31%; }

.today-art {
  aspect-ratio: 1.15;
  background: radial-gradient(ellipse at center, #5678bc, transparent 68%), var(--accent);
}

.today-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background-image: linear-gradient(rgb(255 255 255 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 10%) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
  background-position: center;
  mask-image: radial-gradient(ellipse, black, transparent 80%);
}

.today-art .stage-phone { width: 35%; }

.after-stage {
  margin-bottom: clamp(2.75rem, 5.5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 1.25rem;
  background: #e6ecf8;
}

.after-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1.5rem, 3vw, 3rem);
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.after-features li {
  padding-top: 1rem;
  border-top: 1px solid #bdcae3;
}

.after-features .status-label { background: #f6f8fc; }
.after-features p { max-width: 28ch; }

.site-footer .brand { font-size: 1.125rem; }

@media (max-width: 54rem) {
  .hero { gap: 1.75rem; }
  h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
  .hero-art { aspect-ratio: 1.05; }
  .hero-figure { align-self: center; }
}

@media (max-width: 43rem) {
  .header-inner, .footer-inner { min-height: 4rem; }
  .header-inner .brand img { width: 34px; }
  .hero, .trip-stage, .during-stage, .after-features { grid-template-columns: 1fr; }
  .trip-stage { grid-template-areas: 'copy' 'visual'; }
  .hero { gap: 1.75rem; }
  h1 { font-size: clamp(2.6rem, 13.5vw, 5rem); }
  .hero-art { aspect-ratio: 1.2; }
  .hero-map { top: 12%; }
}

@media (max-width: 24rem) {
  .hero-actions { column-gap: 0.75rem; }
  nav a, .text-link, .demo-button, .demo-status { font-size: 0.84rem; }
  .demo-button, .demo-status { padding-inline: 0.75rem; }
}
