:root {
  --paper: #f7f0e8;
  --surface: #fff9f2;
  --ink: #29231e;
  --muted: #776d64;
  --line: #e3d8cc;
  --amber: #d99a32;
  --amber-soft: #ebc172;
  --clay: #9b6b50;
  --map-tan: #d9c5b3;
  --map-grey: #b8ada0;
  --blue: #2a6287;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(41, 35, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}

body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow: hidden;
  text-rendering: optimizeLegibility;
}

.site-scroll {
  height: 100vh;
  height: 100dvh;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: auto;
  scroll-padding-top: 92px;
  -webkit-overflow-scrolling: touch;
}

main {
  overflow: visible;
}

body::selection {
  color: var(--ink);
  background: var(--amber-soft);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 249, 242, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 52px rgba(41, 35, 30, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand span {
  display: inline-flex;
  align-items: flex-start;
}

.site-header .brand span {
  font-size: 1.18rem;
}

.brand span::after {
  content: "\2122";
  margin-left: 1px;
  font-size: 0.42em;
  line-height: 1;
  transform: translate(-2px, 0.68em);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(217, 154, 50, 0.16);
  outline: none;
}

.nav-cta {
  color: var(--surface);
  background: var(--ink);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--paper);
}

.hero-bg,
.route-grid {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/branson-garden.jpg");
  background-position: center;
  background-size: cover;
  filter: sepia(0.18) saturate(0.84) contrast(1.02);
  opacity: 0.22;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 240, 232, 0.98) 0%, rgba(247, 240, 232, 0.88) 52%, rgba(235, 193, 114, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 249, 242, 0.16), rgba(247, 240, 232, 0.94));
}

.route-grid {
  z-index: 1;
  opacity: 0.68;
  background-image:
    linear-gradient(rgba(41, 35, 30, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 35, 30, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
}

.route {
  position: absolute;
  height: 2px;
  background: rgba(41, 35, 30, 0.2);
  transform-origin: left center;
}

.route-one {
  width: 38vw;
  top: 34%;
  right: 4%;
  transform: rotate(-13deg);
}

.route-two {
  width: 30vw;
  top: 62%;
  right: 16%;
  transform: rotate(17deg);
}

.route-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 10px rgba(217, 154, 50, 0.18);
}

.route-dot-one {
  top: 31%;
  right: 28%;
}

.route-dot-two {
  top: 60%;
  right: 12%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 92svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 480px);
  align-items: center;
  gap: 48px;
  margin: 0 auto;
  padding: 108px 0 42px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.45rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.36rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-primary {
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 18px 44px rgba(217, 154, 50, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--amber-soft);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 249, 242, 0.68);
  border: 1px solid rgba(41, 35, 30, 0.18);
}

.button-dark {
  color: var(--surface);
  background: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 500px;
  background: var(--map-tan);
  border: 1px solid rgba(255, 249, 242, 0.72);
  border-radius: 8px;
  opacity: 0.54;
  transform: translate(28px, -2px) rotate(5deg);
}

.phone-shell {
  width: min(100%, 300px);
  padding: 10px;
  background: #17120f;
  border: 1px solid rgba(255, 249, 242, 0.86);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.hero-phone {
  position: relative;
  z-index: 1;
  transform: rotate(-4deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-shell img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
  border-radius: 30px;
}

.app-note {
  position: absolute;
  z-index: 2;
  width: 214px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 249, 242, 0.94);
  border: 1px solid rgba(255, 249, 242, 0.86);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(41, 35, 30, 0.16);
  backdrop-filter: blur(14px);
}

.app-note span {
  display: block;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-note strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}

.note-light {
  top: 20%;
  left: 0;
}

.note-local {
  right: -2px;
  bottom: 18%;
}

.tag-ticker {
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.tag-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px 0;
  animation: marquee 96s linear infinite;
}

.tag-track span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.story-section,
.local-section,
.boards-section,
.waitlist-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 98px 0;
}

.story-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 52px;
  align-items: start;
}

.floating-pin {
  --pin-rotate: -6deg;
  --pin-delay: 0ms;
  position: absolute;
  z-index: 3;
  width: clamp(86px, 9vw, 126px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(26px) scale(0.92) rotate(var(--pin-rotate));
  transform-origin: center bottom;
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--pin-delay);
}

.floating-pin.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--pin-rotate));
}

.floating-pin-shell,
.floating-pin-media {
  position: absolute;
}

.floating-pin-shell {
  inset: 0;
  background: var(--amber);
  border: 2px solid rgba(255, 249, 242, 0.78);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 22px 48px rgba(41, 35, 30, 0.2);
  transform: rotate(-45deg);
}

.floating-pin-media {
  inset: 12%;
  overflow: hidden;
  background: var(--paper);
  border: 4px solid rgba(255, 249, 242, 0.96);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(41, 35, 30, 0.1);
}

.floating-pin video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-story {
  top: 34px;
  right: -12px;
  --pin-rotate: 7deg;
}

.pin-local {
  bottom: 94px;
  left: -20px;
  width: clamp(96px, 10vw, 138px);
  --pin-rotate: -8deg;
  --pin-delay: 90ms;
}

.story-copy p,
.section-copy p,
.waitlist-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.story-list {
  display: grid;
  gap: 12px;
}

.story-list div,
.board-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(41, 35, 30, 0.06);
}

.story-list strong,
.story-list span,
.board-card strong,
.board-card span,
.board-card p {
  display: block;
}

.story-list strong,
.board-card strong {
  font-size: 1.1rem;
}

.story-list span,
.board-card p {
  color: var(--muted);
}

.local-section,
.boards-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 52px;
  align-items: center;
}

.boards-section {
  align-items: start;
}

.pin-boards {
  top: 18px;
  right: 2.5%;
  --pin-rotate: 5deg;
  --pin-delay: 150ms;
}

.section-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.simple-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.simple-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
}

.board-preview {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.board-phone {
  grid-row: span 2;
  justify-self: center;
  width: min(100%, 238px);
  padding: 8px;
  border-radius: 34px;
  box-shadow: 0 22px 56px rgba(41, 35, 30, 0.14);
  transform: rotate(2deg);
}

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

.board-preview .board-card {
  grid-column: 2;
}

.board-card span {
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.board-card p {
  margin: 8px 0 0;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 104px;
  border-top: 1px solid var(--line);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.waitlist-form label {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.waitlist-form input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.waitlist-form input:focus {
  border-color: var(--amber);
  outline: 4px solid rgba(217, 154, 50, 0.16);
}

.form-note {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer .brand,
.site-footer p,
.site-footer nav {
  flex: 1;
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  outline: none;
}

.page-main {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 136px 0 72px;
}

.page-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  font-size: 4.1rem;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-layout,
.support-grid {
  display: grid;
  gap: 18px;
  padding-top: 34px;
}

.legal-section,
.support-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(41, 35, 30, 0.05);
}

.legal-section h2,
.support-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.legal-section p,
.support-card p {
  color: var(--muted);
}

.legal-section ul,
.support-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: inline-flex;
  width: fit-content;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(217, 154, 50, 0.5);
  text-underline-offset: 4px;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-14px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .story-section,
  .local-section,
  .boards-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 108px;
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-stage {
    min-height: 520px;
  }

  .board-preview {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }

  .pin-story {
    top: 26px;
    right: 18px;
  }

  .pin-local {
    top: 62px;
    right: 22px;
    bottom: auto;
    left: auto;
  }

  .pin-boards {
    top: 40px;
    right: 18px;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 54px;
    padding: 8px;
  }

  .site-header .brand span {
    font-size: 1.08rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero-inner,
  .story-section,
  .local-section,
  .boards-section,
  .waitlist-section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 96px 0 44px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-stage {
    display: none;
  }

  .route-grid {
    mask-image: none;
  }

  .hero-actions,
  .form-row {
    display: grid;
  }

  .board-preview {
    grid-template-columns: 1fr;
  }

  .board-phone {
    grid-row: auto;
    width: min(100%, 260px);
    margin-bottom: 8px;
  }

  .board-preview .board-card {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .story-section,
  .local-section,
  .boards-section,
  .waitlist-section {
    padding: 72px 0;
  }

  .floating-pin {
    width: 74px;
  }

  .pin-story {
    top: 36px;
    right: 0;
  }

  .pin-local,
  .pin-boards {
    display: none;
  }

  .waitlist-form {
    padding: 22px;
  }

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

  .site-footer .brand,
  .site-footer p,
  .site-footer nav {
    flex: none;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-footer p {
    text-align: left;
  }

  .page-main {
    width: min(100% - 28px, 980px);
    padding-top: 110px;
  }

  .page-hero h1 {
    font-size: 3rem;
  }
}

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