:root {
  --ink: #172626;
  --ink-soft: #52635f;
  --mist: #fff8ec;
  --paper: #fffdf6;
  --sun: #f6c563;
  --sun-strong: #ec9b45;
  --sky: #9ddbe4;
  --sky-deep: #5fb9c7;
  --rose: #ef8587;
  --sand: #f4d2a8;
  --moss: #223d39;
  --line: rgba(23, 38, 38, 0.13);
  --shadow: 0 28px 80px rgba(55, 81, 79, 0.18);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 235, 176, 0.85), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(120, 204, 215, 0.45), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, #f9ead4 42%, #cfeff0 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 38, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 38, 38, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  z-index: 20;
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 22px 24px;
  position: relative;
  z-index: 4;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  gap: 0.65rem;
  letter-spacing: -0.03em;
}

.brand img {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  object-fit: contain;
  padding: 4px;
}

nav {
  align-items: center;
  background: rgba(255, 253, 246, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 6px;
  backdrop-filter: blur(18px);
}

nav a {
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 9px 14px;
}

nav a:hover,
nav a:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.hero {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100vh - 92px);
  padding: 72px 24px 92px;
  position: relative;
}

.hero-copy {
  align-self: center;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--sun-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Iowan Old Style", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.075em;
}

h1 {
  font-size: clamp(4rem, 8.2vw, 7.6rem);
  line-height: 0.86;
  margin-bottom: 28px;
  max-width: 820px;
}

h2 {
  font-size: clamp(2.55rem, 5vw, 5.35rem);
  line-height: 0.9;
  margin-bottom: 20px;
}

h3 {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.55;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 36px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(23, 38, 38, 0.22);
  color: var(--paper);
}

.button-ghost {
  background: rgba(255, 253, 246, 0.68);
  border: 1px solid rgba(23, 38, 38, 0.1);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 128px));
  margin: 0;
}

.hero-stats div {
  background: rgba(255, 253, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(55, 81, 79, 0.1);
  padding: 14px 16px;
}

.hero-stats dt {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-stats dd {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 2px 0 0;
}

.hero-stage {
  align-self: center;
  justify-self: center;
  position: relative;
  width: min(100%, 430px);
  z-index: 2;
}

.phone {
  aspect-ratio: 0.63;
  background: linear-gradient(160deg, #1b2d2d, #274d49);
  border: 10px solid #132827;
  border-radius: 46px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 12px;
  transform: rotate(3deg);
}

.phone::after {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  top: 18px;
  transform: translateX(-50%);
  width: 80px;
}

.phone-glass {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 234, 181, 0.75), transparent 25%),
    linear-gradient(180deg, #aee2e7 0%, #fff0d2 46%, #e9a58e 100%);
  border-radius: 34px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.distance-pill {
  background: rgba(255, 253, 246, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #26423e;
  font-size: 0.78rem;
  font-weight: 800;
  left: 22px;
  padding: 8px 12px;
  position: absolute;
  top: 24px;
  z-index: 3;
}

.craft {
  filter: drop-shadow(0 20px 18px rgba(24, 55, 52, 0.24));
  left: 38%;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: 210px;
  z-index: 4;
}

.route {
  left: -18%;
  position: absolute;
  width: 138%;
}

.route-top {
  background: linear-gradient(180deg, #ecbe82, #e9a16d);
  border-radius: 0 0 42% 54%;
  height: 27%;
  top: 0;
  transform: skewY(-7deg);
}

.route-bottom {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(180deg, #f4c4a0, #df746f);
  border-radius: 48% 38% 0 0;
  bottom: -4%;
  height: 35%;
  transform: skewY(8deg);
}

.route-bottom::before,
.route-top::before {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  content: "";
  height: 7px;
  left: 18%;
  position: absolute;
  right: 24%;
}

.route-top::before {
  bottom: 12px;
}

.route-bottom::before {
  top: 16px;
}

.wind-lines {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 2;
}

.wind-lines i {
  animation: wind 2.6s linear infinite;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  height: 2px;
  position: absolute;
  right: -40%;
  width: 36%;
}

.wind-lines i:nth-child(1) {
  animation-delay: -0.4s;
  top: 30%;
}

.wind-lines i:nth-child(2) {
  animation-delay: -1.4s;
  top: 43%;
  width: 26%;
}

.wind-lines i:nth-child(3) {
  animation-delay: -2.1s;
  top: 52%;
  width: 44%;
}

.wind-lines i:nth-child(4) {
  animation-delay: -0.9s;
  top: 62%;
  width: 30%;
}

.wind-lines i:nth-child(5) {
  animation-delay: -1.8s;
  top: 72%;
  width: 24%;
}

.pickup {
  animation: pulse 1.8s ease-in-out infinite;
  background: #fff4a8;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 232, 117, 0.8);
  height: 18px;
  position: absolute;
  width: 18px;
  z-index: 3;
}

.pickup-one {
  right: 23%;
  top: 36%;
}

.pickup-two {
  animation-delay: -0.8s;
  right: 13%;
  top: 54%;
}

.hud-bar {
  background: rgba(28, 57, 53, 0.24);
  border-radius: 999px;
  bottom: 24px;
  height: 10px;
  left: 26px;
  overflow: hidden;
  position: absolute;
  right: 26px;
  z-index: 5;
}

.hud-bar span {
  background: linear-gradient(90deg, #fff7ab, #6fd0d6);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 68%;
}

.sky-orbit {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.orbit {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  position: absolute;
}

.orbit-one {
  height: 540px;
  right: -210px;
  top: 60px;
  width: 540px;
}

.orbit-two {
  bottom: 90px;
  height: 280px;
  left: -120px;
  width: 280px;
}

.orbit-three {
  background: rgba(255, 255, 255, 0.28);
  height: 18px;
  left: 42%;
  top: 22%;
  width: 18px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 92px 24px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.96fr) minmax(260px, 0.54fr);
  margin-bottom: 34px;
}

.section-heading p,
.feel-card p,
.visual-section p,
.updates-section p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.loop-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.loop-grid article,
.feel-card,
.signal-board,
.signup-card {
  background: rgba(255, 253, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 54px rgba(55, 81, 79, 0.12);
  backdrop-filter: blur(18px);
}

.loop-grid article {
  border-radius: var(--radius-md);
  min-height: 246px;
  padding: 22px;
}

.loop-grid span {
  color: var(--rose);
  display: inline-block;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.loop-grid p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.feel-section {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
}

.feel-card {
  border-radius: var(--radius-lg);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  padding: clamp(28px, 5vw, 54px);
}

.signal-board {
  background:
    radial-gradient(circle at 15% 16%, rgba(255, 244, 168, 0.58), transparent 36%),
    linear-gradient(160deg, rgba(33, 62, 58, 0.96), rgba(21, 39, 38, 0.96));
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: var(--paper);
  display: grid;
  gap: 12px;
  padding: 24px;
}

.signal-board div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
}

.signal-board strong {
  display: block;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.48rem;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.signal-board span {
  color: rgba(255, 253, 246, 0.7);
  line-height: 1.5;
}

.visual-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 7vw, 88px);
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 0.85fr);
}

.app-icon-wrap {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.65), rgba(255, 232, 190, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 44px;
  box-shadow: var(--shadow);
  padding: 24px;
  transform: rotate(-4deg);
}

.app-icon-wrap img {
  border-radius: 32px;
}

.updates-section {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  padding-bottom: 110px;
}

.signup-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.signup-card label {
  display: block;
  font-weight: 800;
  margin-bottom: 12px;
}

.email-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.email-row input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  min-width: 0;
  padding: 15px 18px;
}

.email-row input:focus {
  border-color: var(--sky-deep);
  outline: 3px solid rgba(95, 185, 199, 0.2);
}

.email-row button {
  background: var(--sun);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 0 20px;
}

.signup-card p {
  font-size: 0.86rem;
  margin: 14px 0 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(23, 38, 38, 0.1);
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 28px 24px 38px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wind {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-410%);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 940px) {
  .hero,
  .section-heading,
  .feel-section,
  .feel-card,
  .visual-section,
  .updates-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-stage {
    width: min(100%, 370px);
  }

  .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  nav {
    overflow-x: auto;
    max-width: 58vw;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5.4rem);
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero-actions,
  .hero-stats,
  .email-row {
    grid-template-columns: 1fr;
  }

  .button,
  .email-row button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
  }

  .loop-grid {
    grid-template-columns: 1fr;
  }

  .loop-grid article {
    min-height: auto;
  }

  .section {
    padding: 68px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
