:root {
  --deep: #07160f;
  --deep-soft: #12261c;
  --deep-mid: #183528;
  --fairway: #268a20;
  --fairway-deep: #1e6f1a;
  --fairway-soft: rgba(38, 138, 32, 0.12);
  --gold: #b7a078;
  --gold-bright: #c9b089;
  --gold-soft: rgba(183, 160, 120, 0.16);
  --brand-light: #e7f0e4;
  --ink-light: #f4f7f2;
  --cream: #f7f4ec;
  --cream-muted: #efebe0;
  --cream-warm: #fbf8f1;
  --white: #ffffff;
  --ink: #0e1a13;
  --ink-muted: rgba(14, 26, 19, 0.58);
  --ink-faint: rgba(14, 26, 19, 0.34);
  --border: rgba(7, 22, 15, 0.07);
  --border-strong: rgba(7, 22, 15, 0.12);
  --radius: 4px;
  --font: "Open Sans", system-ui, sans-serif;
  --page-inline: clamp(1.5rem, 8vw, 7.5rem);
  --header-h: 4.25rem;
  /* iPhone 18 Pro logical screen: 402 × 874 — scaled per breakpoint */
  --phone-screen-w: min(18.5rem, 78vw);
  --phone-aspect: 402 / 874;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 6px 18px rgba(7, 22, 15, 0.06);
  --shadow-lifted: 0 18px 48px rgba(7, 22, 15, 0.18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 1.25rem;
  line-height: 1;
  user-select: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink-light);
  color: var(--deep);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-h);
  padding: 0 var(--page-inline);
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px rgba(7, 22, 15, 0.04);
}

.brand-lockup {
  display: block;
  width: clamp(6.25rem, 11vw, 8rem);
  flex-shrink: 0;
}

.brand-lockup img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 1.75rem);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a {
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--fairway-deep);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(244, 247, 242, 0.35);
  color: var(--ink-light);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* Showcase: full-bleed photo behind copy + phone — fills viewport below header */
.showcase {
  position: relative;
  isolation: isolate;
  background: var(--deep);
  overflow: clip;
  margin-top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  height: calc(100svh - var(--header-h));
}

.showcase-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease-out) infinite alternate;
}

.showcase-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 22, 15, 0.55) 0%, rgba(7, 22, 15, 0.36) 38%, rgba(7, 22, 15, 0.58) 100%),
    linear-gradient(90deg, rgba(7, 22, 15, 0.62) 0%, rgba(7, 22, 15, 0.24) 52%, rgba(7, 22, 15, 0.14) 100%);
}

.showcase-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Hero — copy only; media lives on .showcase */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  color: var(--ink-light);
  min-height: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  padding: clamp(6.5rem, 12vw, 8rem) var(--page-inline) clamp(2.5rem, 5vw, 3.5rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  animation: rise 0.9s var(--ease-out) both;
}

.hero h1 {
  margin: 0 0 0.95rem;
  max-width: 16em;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-sub {
  margin: 0;
  max-width: 34rem;
  color: rgba(244, 247, 242, 0.82);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.store-badges {
  flex-wrap: wrap;
  gap: 0.55rem;
}

.store-badge {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
}

.store-badge img {
  display: block;
  width: auto;
  height: clamp(2.35rem, 4.8vw, 2.75rem);
  max-width: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--page-inline);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--fairway);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Phones sit on the right, vertically centered with hero copy */
.phone-stage {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.85rem 0.35rem;
  align-items: center;
  justify-items: center;
  margin: 0 var(--page-inline) 2rem;
}

.phone-viewport {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: min(100%, var(--phone-screen-w));
  max-width: var(--phone-screen-w);
}

.phone-nav {
  grid-row: 1;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.phone-nav:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--ink-light);
}

.phone-nav:focus-visible {
  outline: 2px solid var(--fairway);
  outline-offset: 3px;
}

.phone-nav .material-symbols-outlined {
  font-size: 1.45rem;
}

.phone-nav-prev {
  grid-column: 1;
}

.phone-nav-next {
  grid-column: 3;
}

.phone-dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.phone-dot {
  width: 0.45rem;
  height: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 26, 19, 0.22);
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    width 0.2s var(--ease-out);
}

.phone-dot.is-active {
  width: 1.15rem;
  background: var(--fairway);
}

.phone-dot:focus-visible {
  outline: 2px solid var(--fairway);
  outline-offset: 3px;
}

.phone {
  width: 100%;
  max-width: var(--phone-screen-w);
  transform-origin: center bottom;
  animation: float-a 6.5s ease-in-out infinite;
}

.phone-bezel {
  position: relative;
  padding: 0.62rem;
  border-radius: 2.35rem;
  background: linear-gradient(165deg, #24362c 0%, #050d09 42%, #101c16 100%);
  box-shadow:
    var(--shadow-lifted),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-notch {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  z-index: 3;
  width: 5.75rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #050d09;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--phone-aspect);
  height: auto;
  min-height: 0;
  border-radius: 1.85rem;
  background: var(--cream);
  color: var(--ink);
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8%);
  font-size: 12px;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.5s var(--ease-out),
    visibility 0.45s;
}

.phone-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 1;
}

.phone-home-screen {
  background: var(--cream);
}

.phone-book-screen {
  background:
    linear-gradient(180deg, rgba(38, 138, 32, 0.06) 0%, transparent 28%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  display: flex;
  flex-direction: column;
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem 0.15rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-light);
}

.app-status.dark {
  color: var(--ink);
}

.app-status-icons {
  display: inline-flex;
  gap: 0.15rem;
}

.app-status-icons .material-symbols-outlined {
  font-size: 11px;
}

.app-home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.15rem 0.75rem 0.4rem;
  background: var(--cream);
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.app-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  object-fit: cover;
  background: var(--deep);
  flex-shrink: 0;
}

.app-identity-copy {
  min-width: 0;
  flex: 1;
}

.app-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.app-club {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  margin-top: 1px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.app-club .material-symbols-outlined {
  font-size: 11px;
  flex-shrink: 0;
}

.app-actions {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2px;
}

.app-icon-btn {
  width: 1.65rem;
  height: 1.65rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--deep);
  display: grid;
  place-items: center;
  padding: 0;
}

.app-icon-btn .material-symbols-outlined {
  font-size: 14px;
}

.app-banner {
  position: relative;
  height: 8.5rem;
  margin: 0;
  overflow: hidden;
  background: var(--deep);
}

.app-banner-video,
.app-banner > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 22, 15, 0.25) 0%,
    rgba(7, 22, 15, 0.55) 50%,
    rgba(7, 22, 15, 0.92) 100%
  );
}

.app-banner-logo-wrap {
  position: absolute;
  inset: 0.35rem 0.75rem auto;
  bottom: 3.35rem;
  display: grid;
  place-items: center;
  z-index: 1;
}

.app-banner-logo {
  width: 5.5rem;
  filter: brightness(0) invert(1);
}

.app-orbs {
  position: absolute;
  inset: auto 0 0.5rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
}

.app-orb {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(7, 22, 15, 0.28);
  border: 1.5px solid rgba(244, 247, 242, 0.55);
  color: var(--ink-light);
}

.app-orb .material-symbols-outlined {
  font-size: 14px;
}

.app-orb-dot {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--fairway);
  border: 1.5px solid var(--ink-light);
}

.app-orb-date {
  width: 3.35rem;
  height: 3.35rem;
  border: 2px solid var(--gold-bright);
  gap: 0;
  line-height: 1;
  text-align: center;
}

.app-orb-date small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.app-orb-date strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-light);
}

.app-orb-date small:last-child {
  color: rgba(244, 247, 242, 0.75);
}

.app-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.9rem;
  padding: 0.65rem 0.9rem 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border-strong);
  overflow: hidden;
}

.app-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
  padding: 0 0 0.4rem;
  color: var(--ink-faint);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  position: relative;
}

.app-tabs button i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: transparent;
}

.app-tabs button.is-active {
  color: var(--deep);
}

.app-tabs button.is-active i {
  background: var(--fairway);
}

.app-cards {
  padding: 0.65rem 0.9rem 0;
  display: grid;
  gap: 0;
  padding-bottom: 4.25rem;
}

.res-card {
  margin-bottom: 0.65rem;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.res-main {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.6rem;
}

.res-copy {
  flex: 1;
  min-width: 0;
  padding: 1px 0;
}

.res-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.kind-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 1.25rem;
  padding: 0 0.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kind-chip .material-symbols-outlined {
  font-size: 11px;
}

.kind-tee {
  background: var(--white);
  border-color: rgba(183, 160, 120, 0.42);
  color: #6f5b36;
}

.kind-dining {
  background: rgba(7, 22, 15, 0.08);
  border-color: rgba(7, 22, 15, 0.16);
  color: var(--deep);
}

.res-meta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 500;
  min-width: 0;
}

.res-meta .material-symbols-outlined {
  font-size: 11px;
}

.res-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.res-sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--fairway);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.res-chevron {
  align-self: flex-end;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--fairway-soft);
  border: 1px solid rgba(38, 138, 32, 0.22);
  color: var(--fairway);
}

.res-chevron .material-symbols-outlined {
  font-size: 10px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  padding: 0.65rem 0;
  color: var(--fairway);
  font-size: 12px;
  font-weight: 600;
}

.app-link .material-symbols-outlined {
  font-size: 14px;
}

.app-tabbar {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 0.1rem;
  height: 3.35rem;
  padding: 0.35rem 0.15rem 0.4rem;
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
}

.app-tabbar > span {
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
}

.app-tabbar > span .material-symbols-outlined {
  font-size: 16px;
}

.app-tabbar > .is-active {
  color: var(--fairway);
}

.app-tabbar > .has-dot::after {
  content: "";
  position: absolute;
  top: 0.05rem;
  right: calc(50% - 0.65rem);
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--fairway);
  border: 1.5px solid var(--cream-warm);
}

.app-fab {
  width: 2.85rem !important;
  height: 2.85rem;
  margin: -0.85rem auto 0.1rem;
  border-radius: 999px !important;
  background: var(--fairway);
  color: var(--ink-light) !important;
  display: grid !important;
  place-items: center;
  border: 2.5px solid var(--cream-warm);
  box-shadow: 0 8px 18px rgba(38, 138, 32, 0.35);
}

.app-fab .material-symbols-outlined {
  font-size: 1.35rem !important;
}

/* Booking screen — mirrors tee-time/index (scaled for mockup ~12px type) */
.book-chrome {
  padding: 0.15rem 0.9rem 0.4rem;
  background: var(--cream);
}

.book-header {
  display: grid;
  grid-template-columns: 1.75rem 1fr 1.75rem;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
}

.book-header strong {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.book-back,
.book-exit {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--deep);
  display: grid;
  place-items: center;
  padding: 0;
}

.book-back .material-symbols-outlined,
.book-exit .material-symbols-outlined {
  font-size: 1rem;
}

.app-book-body {
  flex: 1;
  padding: 0.25rem 0.9rem 4.25rem;
  overflow: hidden;
}

.phone-slide .app-label {
  margin: 0.65rem 0 0;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.app-label {
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.app-label:first-child,
.phone-slide .app-label:first-child {
  margin-top: 0;
}

.book-caption {
  margin: 0.1rem 0 0.4rem;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
}

.selected-club {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  padding: 0.45rem 0.65rem;
  background: var(--white);
  border: 1.5px solid var(--fairway);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.selected-club img {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--cream-muted);
  flex-shrink: 0;
}

.selected-club strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.selected-club span {
  display: block;
  margin-top: 1px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.3;
}

.app-dates {
  display: flex;
  gap: 0.3rem;
  margin: 0.35rem 0 0.65rem;
  overflow: hidden;
}

.app-dates span {
  width: 2.45rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
}

.app-dates small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.app-dates strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.app-dates .is-weekend small {
  color: #9a6b4f;
}

.app-dates .is-active {
  background: var(--fairway);
  border-color: var(--fairway);
}

.app-dates .is-active small,
.app-dates .is-active strong {
  color: var(--ink-light);
}

.golfer-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0.3rem 0 0.65rem;
}

.golfer-chips button {
  height: 1.75rem;
  min-width: 1.75rem;
  padding: 0 0.65rem;
  margin: 0 0.35rem 0.35rem 0;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.golfer-chips button.is-active {
  background: var(--fairway);
  border-color: var(--fairway);
  color: var(--ink-light);
}

.fee-card {
  padding: 0.65rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.fee-card .app-label {
  margin: 0;
}

.fee-card p {
  margin: 0.3rem 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.4;
}

.fee-card p + p {
  margin-top: 0.1rem;
}

.fee-note {
  display: block;
  margin-top: 0.3rem;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.book-sticky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem 0.85rem;
  background: var(--cream-warm);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -10px 28px rgba(7, 22, 15, 0.08);
}

.app-cta {
  width: 100%;
  min-height: 2.35rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--fairway);
  color: var(--ink-light);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.book-header-spacer {
  width: 1.75rem;
  height: 1.75rem;
}

/* Confirmation slide — scaled for mockup ~12px type */
.phone-confirm-screen {
  background: #f7f4ec;
  display: flex;
  flex-direction: column;
}

.confirm-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 6px 14px 16px;
  scrollbar-width: none;
}

.confirm-body::-webkit-scrollbar {
  display: none;
}

/* ConfirmationTicket — proportionally scaled for phone mockup */
.confirm-ticket {
  overflow: hidden;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid rgba(7, 22, 15, 0.12);
  box-shadow: 0 10px 24px rgba(7, 22, 15, 0.1);
}

.confirm-ticket-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 110px;
  overflow: hidden;
  background: #07160f;
}

.confirm-ticket-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.confirm-ticket-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 15, 0.15), rgba(7, 22, 15, 0.72));
}

.confirm-ticket-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.confirm-ticket-mark {
  width: 20px;
  height: 20px;
  margin-bottom: 5px;
  border-radius: 3px;
  background: #ffffff;
  object-fit: contain;
}

.confirm-ticket-club {
  margin: 0;
  max-width: 100%;
  color: #f4f7f2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.25;
  text-transform: uppercase;
}

.confirm-ticket-body {
  padding: 14px 14px 10px;
}

.confirm-ticket-title {
  margin: 0 0 4px;
  color: #1e6f1a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.confirm-ticket-meta {
  margin: 0;
  color: #0e1a13;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.confirm-ticket-address {
  margin: 4px 0 6px;
  color: rgba(14, 26, 19, 0.58);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.confirm-stats {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.confirm-stats li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.confirm-stat-count {
  width: 32px;
  flex-shrink: 0;
  color: #0e1a13;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.confirm-stats .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 14px;
  color: #268a20;
}

.confirm-stat-label {
  flex: 1;
  min-width: 0;
  color: #0e1a13;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.confirm-perforation {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

.confirm-notch {
  width: 12px;
  height: 24px;
  background: #f7f4ec;
  border: 1px solid rgba(7, 22, 15, 0.12);
}

.confirm-notch-left {
  margin-left: -1px;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.confirm-notch-right {
  margin-right: -1px;
  border-right: 0;
  border-radius: 12px 0 0 12px;
}

.confirm-dash-track {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3px;
}

.confirm-dash-track i {
  width: 5px;
  height: 1.5px;
  border-radius: 1px;
  background: rgba(14, 26, 19, 0.34);
}

.confirm-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px 14px;
}

.confirm-barcode {
  display: flex;
  width: 100%;
  height: 36px;
  gap: 1px;
  padding: 0 6px;
}

.confirm-barcode span {
  min-width: 1px;
  border-radius: 1px;
  background: #07160f;
  opacity: 0.72;
}

.confirm-barcode span:nth-child(4n + 1) {
  opacity: 1;
}

.confirm-stub-code {
  margin: 6px 0 0;
  color: #0e1a13;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.2;
}

/* ActionTile + Quick actions — scaled for mockup */
.confirm-section-label {
  margin: 14px 0 6px;
  color: rgba(14, 26, 19, 0.58);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1.3;
  text-transform: uppercase;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
}

.action-tile {
  flex: 1 1 30%;
  max-width: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 10px 4px;
  border: 1px solid rgba(7, 22, 15, 0.12);
  border-radius: 4px;
  background: #ffffff;
  color: #0e1a13;
  font-family: inherit;
  cursor: default;
}

.action-tile-full {
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  margin-top: 6px;
  padding: 10px;
}

.action-tile-danger {
  border-color: rgba(163, 59, 59, 0.28);
  background: rgba(163, 59, 59, 0.06);
}

.action-tile-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(38, 138, 32, 0.06);
  color: #1e6f1a;
}

.action-tile-danger .action-tile-icon {
  background: rgba(163, 59, 59, 0.12);
  color: #a33b3b;
}

.action-tile-icon .material-symbols-outlined {
  font-size: 15px;
  line-height: 1;
}

.action-tile-label {
  min-height: 24px;
  color: #0e1a13;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.action-tile-full .action-tile-label {
  min-height: 0;
  font-size: 12px;
}

.action-tile-danger .action-tile-label {
  color: #a33b3b;
}

.confirm-players {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.confirm-players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.6rem 0.35rem;
}

.confirm-players-head .app-label {
  margin: 0;
}

.confirm-players-head > span:last-child {
  color: var(--fairway);
  font-size: 10px;
  font-weight: 700;
}

.confirm-player {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  border-top: 1px solid var(--border);
}

.confirm-player img {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  object-fit: cover;
  background: var(--cream-muted);
}

.confirm-player strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.confirm-player span {
  display: block;
  margin-top: 0.05rem;
  color: var(--ink-muted);
  font-size: 10px;
}

/* Modules — dark grid, heading top-aligned with cards */
.section-modules {
  background:
    radial-gradient(ellipse at 90% 8%, rgba(38, 138, 32, 0.07), transparent 42%),
    radial-gradient(ellipse at 5% 92%, rgba(183, 160, 120, 0.08), transparent 40%),
    #fff;
  color: var(--ink);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section-modules h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  max-width: 14ch;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.modules-lede {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.modules-band {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.modules-heading {
  max-width: 28rem;
  align-self: start;
}

.module-list {
  --module-line: rgba(7, 22, 15, 0.1);
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--module-line);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.module-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 0;
  padding: 1.4rem 1.25rem 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--module-line);
  border-radius: 0;
  background: #fff;
  transition: background 0.25s ease;
}

.module-list li:last-child {
  border-bottom: 0;
}

.module-list li:hover {
  background: rgba(38, 138, 32, 0.07);
  transform: none;
}

.module-icon {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  color: var(--fairway-deep);
  padding: 0;
}

.module-icon .material-symbols-outlined {
  font-size: 1.35rem;
}

.module-list h3 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.module-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 36rem;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.module-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--fairway-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 720px) {
  .module-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-list li {
    border-right: 1px solid var(--module-line);
    border-bottom: 1px solid var(--module-line);
  }

  .module-list li:nth-child(2n) {
    border-right: 0;
  }

  .module-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .module-list .module-wide {
    grid-column: span 1;
  }
}

@media (min-width: 980px) {
  .module-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-list .module-wide {
    grid-column: span 2;
  }

  .module-list li {
    border-right: 1px solid var(--module-line);
    border-bottom: 1px solid var(--module-line);
    padding: 1.55rem 1.4rem 1.65rem;
  }

  /* Reset 2-col border helpers */
  .module-list li:nth-child(2n) {
    border-right: 1px solid var(--module-line);
  }

  .module-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--module-line);
  }

  /* End of each visual row */
  .module-list .module-wide,
  .module-list li:nth-child(5),
  .module-list li:nth-child(8) {
    border-right: 0;
  }

  /* Bottom row */
  .module-list li:nth-child(n + 6) {
    border-bottom: 0;
  }
}

/* Footer */
.site-footer {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  padding: 2.5rem var(--page-inline) 3rem;
  background: var(--deep);
  color: rgba(244, 247, 242, 0.72);
}

.site-footer .brand-lockup {
  width: 8.5rem;
  filter: brightness(0) invert(1);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer nav a:hover {
  color: var(--gold-bright);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
}

/* Legal / Privacy */
.legal-page {
  margin-top: var(--header-h);
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-inline) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(38, 138, 32, 0.06), transparent 42%),
    #fff;
  color: var(--ink);
}

.legal-doc {
  max-width: 48rem;
}

.legal-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--fairway-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-doc h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-updated {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.legal-draft {
  margin: 0 0 1.75rem;
  color: var(--fairway-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-toc {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border-strong);
  background: var(--cream-warm);
}

.legal-toc p {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

@media (min-width: 720px) {
  .legal-toc ol {
    columns: 2;
    column-gap: 2rem;
  }
}

.legal-toc li {
  margin: 0 0 0.4rem;
  break-inside: avoid;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.legal-toc a {
  color: var(--fairway-deep);
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc h2 {
  margin: 2.25rem 0 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-doc h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.legal-doc p,
.legal-doc li {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-doc ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.legal-doc a {
  color: var(--fairway-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc a:hover {
  color: var(--fairway);
}

.legal-note {
  padding: 0.65rem 0.85rem;
  border-left: 3px solid var(--gold);
  background: rgba(183, 160, 120, 0.1);
  color: var(--ink) !important;
  font-size: 0.85rem !important;
  font-style: italic;
}

.legal-table-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
}

.legal-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.8rem;
  line-height: 1.45;
}

.legal-table th,
.legal-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--ink-muted);
}

.legal-table th {
  background: var(--cream-warm);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-address {
  display: block;
  margin: 0 0 1.25rem;
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-address strong {
  color: var(--ink);
}

/* Support */
.support-page {
  margin-top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(38, 138, 32, 0.08), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(183, 160, 120, 0.1), transparent 40%),
    var(--cream-warm);
  color: var(--ink);
}

.support-panel {
  width: 100%;
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-inline) clamp(3rem, 6vw, 5rem);
  justify-self: start;
}

.support-visual {
  display: none;
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.support-visual-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.support-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 22, 15, 0.28) 0%, rgba(7, 22, 15, 0.22) 45%, rgba(7, 22, 15, 0.32) 100%),
    linear-gradient(180deg, rgba(7, 22, 15, 0.2) 0%, rgba(7, 22, 15, 0.35) 100%);
  pointer-events: none;
}

.support-visual-logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(9rem, 28%, 14rem);
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1);
  pointer-events: none;
}

@media (min-width: 900px) {
  .support-page {
    grid-template-columns: 1fr 1fr;
  }

  .support-panel {
    align-self: center;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
  }

  .support-visual {
    display: block;
    min-height: calc(100svh - var(--header-h));
  }
}

.support-page h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.support-lede {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.support-lede a {
  color: var(--fairway-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.support-success {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(38, 138, 32, 0.28);
  background: rgba(38, 138, 32, 0.08);
  color: var(--fairway-deep);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.support-form {
  display: grid;
  gap: 1.1rem;
}

.support-field {
  display: grid;
  gap: 0.4rem;
}

.support-field label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.support-field input,
.support-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.support-field input:focus,
.support-field textarea:focus {
  border-color: var(--fairway);
  box-shadow: 0 0 0 3px rgba(38, 138, 32, 0.14);
}

.support-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.support-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.site-header[data-reveal] {
  transition-delay: 0.05s;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(8px);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

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

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

  .showcase-media img {
    transform: none;
    animation: none !important;
  }
}

/* —— Tablet: side-by-side, headings may wrap —— */
@media (min-width: 720px) {
  :root {
    --phone-screen-w: 16.5rem;
  }

  .site-nav {
    font-size: 0.875rem;
  }

  .store-badges {
    flex-wrap: nowrap;
  }

  .showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: clamp(0.75rem, 2vw, 1.5rem);
    padding-block: 0;
  }

  /* Keep media out of the grid so absolute inset covers the full section */
  .showcase-media {
    grid-column: unset;
    grid-row: unset;
  }

  .hero {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    z-index: 2;
  }

  .hero-content {
    width: 100%;
    max-width: min(100%, 32rem);
    justify-content: center;
    padding: 0 0.75rem 0 var(--page-inline);
  }

  .hero h1 {
    max-width: 15em;
  }

  .hero-sub {
    max-width: 30rem;
  }

  .phone-stage {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    position: relative;
    z-index: 5;
    width: auto;
    max-width: calc(var(--phone-screen-w) + 4.5rem);
    margin: 0;
    margin-right: var(--page-inline);
    padding-top: 0;
    padding-bottom: 0;
    transform: none;
  }

  .phone-viewport,
  .phone {
    width: var(--phone-screen-w);
    max-width: var(--phone-screen-w);
  }

  .modules-band {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modules-heading {
    max-width: 28rem;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: stretch;
  }

  .site-footer nav {
    justify-content: center;
  }

  .site-footer p {
    justify-self: end;
  }
}

/* —— Desktop —— */
@media (min-width: 980px) {
  :root {
    --phone-screen-w: 18.75rem;
  }

  .showcase {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.35fr);
    column-gap: clamp(1.25rem, 2.5vw, 2.25rem);
  }

  .hero-content {
    max-width: min(100%, 38rem);
  }

  .hero h1 {
    max-width: 16em;
  }

  .hero-sub {
    max-width: 32rem;
  }

  .phone-stage {
    justify-self: start;
    margin-right: 0;
    max-width: calc(var(--phone-screen-w) + 5.5rem);
  }

  .modules-band {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .modules-heading {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    padding-top: 0.15rem;
  }
}

/* —— Wide desktop: full composition —— */
@media (min-width: 1200px) {
  :root {
    --phone-screen-w: 20.5rem;
  }

  .showcase {
    grid-template-columns: minmax(40rem, 56rem) auto minmax(0, 1fr);
    column-gap: clamp(1.5rem, 2.8vw, 2.5rem);
  }

  .hero-content {
    max-width: min(100%, 42rem);
  }

  .hero h1 {
    max-width: 16em;
  }

  .hero-sub {
    max-width: 34rem;
  }

  .modules-band {
    gap: 2.5rem;
  }

  .module-list li {
    padding: 1.75rem 1.55rem 1.85rem;
  }
}

/* —— Small phones —— */
@media (max-width: 719px) {
  :root {
    --phone-screen-w: min(17.75rem, 82vw);
  }

  .hero {
    min-height: min(48vh, 26rem);
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 5.5rem var(--page-inline) 3.5rem;
  }

  .hero h1 {
    max-width: 14em;
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }

  .hero-sub {
    max-width: 28rem;
    font-size: 0.95rem;
  }

  .store-badge img {
    height: 2.35rem;
  }

  .showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: calc(100svh - var(--header-h));
    padding-block: 1.5rem 2rem;
  }

  .hero-content {
    padding: 0 var(--page-inline) 1.5rem;
  }

  .hero-line {
    white-space: normal;
  }

  .phone-stage {
    order: 2;
    width: 100%;
    max-width: none;
    margin: 0.5rem auto 1rem;
    padding-inline: 0.25rem;
    justify-items: center;
  }

  .phone-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .section-modules h2 {
    max-width: none;
  }

  .modules-heading {
    max-width: none;
  }

  .module-list li {
    padding: 1.15rem 1rem 1.25rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .site-footer nav {
    justify-content: center;
  }
}

/* Very narrow */
@media (max-width: 380px) {
  .store-badges {
    gap: 0.4rem;
  }

  .store-badge img {
    height: 2.1rem;
  }

  .phone-stage {
    grid-template-columns: 1.75rem minmax(0, 1fr) 1.75rem;
    gap: 0.35rem 0.15rem;
  }

  .phone-nav {
    width: 1.75rem;
    height: 1.75rem;
  }

}
