/* Tee18 website. Light first, the app's own paper, lime and fairway (src/index.css light theme). */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --paper: #f4f4ef;
  --card: #ffffff;
  --raised: #ecece5;
  --line: rgb(24 30 22 / 0.11);
  --line-strong: rgb(24 30 22 / 0.2);
  --ink: #141814;
  --ink-2: #454c47;
  --ink-3: #5c645e;
  --lime: #c6f24e;
  --lime-strong: #b9e83a;
  --lime-deep: #3a6800;
  --lime-soft: rgb(166 214 30 / 0.18);
  --lime-line: rgb(104 156 8 / 0.45);
  --on-lime: #10150a;
  --fairway: #217c3e;
  --fairway-soft: rgb(33 124 62 / 0.1);
  --sky: #8fb6f7;
  --sky-deep: #2f5fae;
  --sand: #e2b04e;
  --practice: #1f8f7f;
  /* The logo: the gold 18 on the forest green shield (sampled from public/icon-512.png). */
  --shield: #1e4515;
  --pine: #072109;
  --pine-2: #0e2e12;
  --gold: #e2c57e;
  --gold-deep: #b4942e;
  --bronze: #9d7c36;
  --ivory: #f3eacf;
  --night: #0b0d0c;
  --night-2: #131615;
  --night-3: #1a1e1c;
  --night-ink: #f1f4f2;
  --night-ink-2: #a8b0ab;
  --shadow: 0 8px 30px rgb(20 24 20 / 0.08);
  --shadow-lg: 0 30px 70px -20px rgb(20 30 20 / 0.28);
  --radius: 24px;
  --display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.005em; }
h1.display { font-size: clamp(48px, 8vw, 92px); line-height: 0.92; }
h2.display { font-size: clamp(38px, 5.4vw, 64px); line-height: 0.95; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fairway);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 0.06em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; }
.btn-lime { background: var(--lime); color: var(--on-lime); box-shadow: 0 10px 24px -10px rgb(140 200 0 / 0.7); }
.btn-lime:hover { background: var(--lime-strong); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--line-strong); background: var(--card); color: var(--ink); }
.btn-ghost-night { border-color: rgb(255 255 255 / 0.22); color: var(--night-ink); background: transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgb(244 244 239 / 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: 0; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 2px 8px rgb(0 0 0 / 0.18); }
.brand img.shield { width: auto; height: 42px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 3px 5px rgb(7 33 9 / 0.3)); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 10px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--raised); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--lime-soft); }
.head-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }
.mobile-nav { display: none; }

/* Sections */
section { position: relative; }
.sec { padding: 112px 0; }
.sec-tight { padding: 72px 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Phones */
.phone {
  position: relative; width: 300px; aspect-ratio: 390 / 844; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2a2f2c, #0e100f 40%, #1c201e); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
  flex: none;
}
.phone::after { /* side buttons */
  content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 70px; border-radius: 0 3px 3px 0; background: #1a1d1b;
}
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); position: relative; display: flex; flex-direction: column; }
.phone .screen::before { /* the phone's status bar: the screenshots start at the app's own top bar */
  content: "9:41"; flex: none; height: 11.5%; max-height: 40px; min-height: 26px; display: flex; align-items: center; padding: 0 0 0 11%;
  font: 700 clamp(9px, 4.6cqw, 15px)/1 var(--sans); color: var(--ink); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cg fill='%23141814'%3E%3Crect x='0' y='8' width='3' height='5' rx='1'/%3E%3Crect x='5' y='6' width='3' height='7' rx='1'/%3E%3Crect x='10' y='3.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' y='1' width='3' height='12' rx='1'/%3E%3Crect x='34' y='2' width='22' height='11' rx='3' fill='none' stroke='%23141814' stroke-width='1.4'/%3E%3Crect x='36' y='4' width='16' height='7' rx='1.5'/%3E%3Crect x='57' y='5.5' width='2' height='4' rx='1'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 9% center / 22% auto;
  container-type: inline-size;
}
.phone .screen.dark::before { background-color: #0b0d0c; color: #fff; filter: none; }
.phone .screen img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.phone .screen { container-type: inline-size; }
.phone .island { position: absolute; top: 2.2%; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 2; }
.phone.sm { width: 240px; border-radius: 38px; padding: 9px; }
.phone.sm .screen { border-radius: 30px; }
.phone.sm .island { width: 74px; height: 21px; }

.chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip b { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.chip small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; line-height: 1.25; }
.chip .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.chip .dot svg { width: 18px; height: 18px; color: var(--on-lime); }
.chip.live .dot { background: #e34b4b; }
.chip.live .dot svg { color: #fff; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 40%; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgb(198 242 78 / 0.55), rgb(198 242 78 / 0) 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 680px; }
.hero h1 { margin: 6px 0 24px; }
.hero .lead { margin-bottom: 32px; }
.free-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.free-row span { display: inline-flex; align-items: center; gap: 8px; }
.free-row svg { width: 18px; height: 18px; color: var(--fairway); }
.hero-stage { position: relative; height: 700px; }
.hero-stage .phone { position: absolute; }
.hero-stage .p-main { left: 50%; top: 10px; transform: translateX(-50%); width: 316px; z-index: 3; }
.hero-stage .p-left { left: 0; top: 90px; transform: rotate(-8deg); z-index: 2; }
.hero-stage .p-right { right: 0; top: 90px; transform: rotate(8deg); z-index: 1; }
.hero-stage .c1 { left: -70px; top: 300px; }
.hero-stage .c2 { right: -6px; top: 330px; }
.hero-stage .c3 { left: 30px; bottom: 50px; }

/* Ticker of what's inside */
.strip { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; }
.strip-track { display: flex; gap: 40px; padding: 18px 0; width: max-content; animation: slide 60s linear infinite; }
.strip-track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--ink-2); }
.strip-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: 30px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Mission */
.mission {
  background: var(--lime-soft); border: 1px solid var(--lime-line); border-radius: 32px; padding: 64px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center;
}
.mission h2 { margin-bottom: 20px; }
.pillars { display: grid; gap: 14px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 20px; padding: 18px 20px; border: 1px solid var(--line); }
.pillar .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; flex: none; }
.pillar .ic svg { width: 22px; height: 22px; color: var(--on-lime); }
.pillar h3 { font-size: 18px; margin-bottom: 2px; }
.pillar p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* How it works: tour-like steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 20px; box-shadow: var(--shadow); }
.step .shot { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--raised); position: relative; margin-bottom: 16px; }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, top); }
.step .shot .ring { position: absolute; border: 3px solid var(--lime); border-radius: 18px; box-shadow: 0 0 0 4px rgb(198 242 78 / 0.35), 0 0 0 999px rgb(11 13 12 / 0.28); }
.step .num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--lime-deep); letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { font-size: 19px; margin: 4px 0 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.dots { display: none; justify-content: center; gap: 6px; margin-top: 18px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.dots i.on { background: var(--lime-deep); width: 20px; border-radius: 4px; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--lime-soft); color: var(--lime-deep); display: grid; place-items: center; }
.card .ic svg { width: 24px; height: 24px; }
.card .pic { margin: -26px -26px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--raised); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic.dark { background: var(--night); }
.card .pic.dark img { object-position: top; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--lime-soft); color: var(--lime-deep); border: 1px solid var(--lime-line); }
.tag.casual { background: rgb(143 182 247 / 0.16); color: var(--sky-deep); border-color: rgb(47 95 174 / 0.3); }
.tag.soon { background: var(--raised); color: var(--ink-2); border-color: var(--line-strong); }
.tag.practice { background: rgb(31 143 127 / 0.1); color: var(--practice); border-color: rgb(31 143 127 / 0.3); }

.feature-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list li svg { width: 22px; height: 22px; flex: none; color: var(--fairway); margin-top: 2px; }
.feature-list b { display: block; }
.feature-list span { color: var(--ink-2); font-size: 15.5px; }

.duo { display: flex; justify-content: center; gap: 28px; position: relative; }
.duo .phone:nth-child(2) { margin-top: 60px; }
.stage { position: relative; display: flex; justify-content: center; }
.stage .chip.a { left: 0; top: 80px; }
.stage .chip.b { right: 0; bottom: 110px; }

/* Night section: Compete */
.night { background: radial-gradient(120% 90% at 85% 0%, var(--shield), var(--pine) 60%); color: var(--ivory); overflow: hidden; }
.night h2, .night h3 { color: var(--ivory); }
.night .eyebrow { color: var(--gold); }
.night .lead, .night p { color: rgb(243 234 207 / 0.76); }
.night .card { background: rgb(255 255 255 / 0.04); border-color: rgb(226 197 126 / 0.22); box-shadow: none; }
.night .card h3 { color: var(--night-ink); }
.night .card .ic { background: rgb(226 197 126 / 0.14); color: var(--gold); }
.night .chip { background: var(--pine-2); border-color: rgb(226 197 126 / 0.3); color: var(--ivory); }
.night .chip small { color: rgb(243 234 207 / 0.7); }
.night .chip b { color: var(--gold); }
.night .feature-list svg { color: var(--gold); }
.night .feature-list span { color: rgb(243 234 207 / 0.72); }
.night::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px;
  background: radial-gradient(closest-side, rgb(226 197 126 / 0.14), transparent); pointer-events: none;
}
.prestige { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.prestige span { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid rgb(226 197 126 / 0.25); color: rgb(243 234 207 / 0.75); }
.prestige span.on { background: var(--gold); color: var(--pine); border-color: var(--gold); }

/* Game modes */
.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.modes span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; }
.photo-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(8 20 10 / 0.82)); }
.photo-tile div { position: relative; z-index: 1; padding: 22px; }
.photo-tile h3 { font-family: var(--display); font-size: 34px; font-weight: 800; text-transform: uppercase; }
.photo-tile p { margin: 4px 0 0; color: rgb(255 255 255 / 0.86); font-size: 15px; }

/* Drill strip */
.drills { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.drill { background: var(--card); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.drill img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.drill span { display: block; padding: 10px 12px 12px; font-weight: 700; font-size: 14px; }
.drill small { display: block; color: var(--ink-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Shop */
.shop-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 32px; overflow: hidden; background: #0f3d23; color: #fff; }
.shop-band .copy { padding: 64px; }
.shop-band .copy p { color: rgb(255 255 255 / 0.82); }
.shop-band .eyebrow { color: var(--sand); }
.shop-band .pic { position: relative; min-height: 420px; }
.shop-band .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
.code { display: inline-flex; align-items: center; gap: 10px; border: 1.5px dashed rgb(226 176 78 / 0.8); border-radius: 14px; padding: 10px 16px; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: 0.08em; color: var(--sand); margin: 8px 0 26px; }
.code small { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); font-weight: 700; }

/* Closing band */
.closing { background: radial-gradient(100% 140% at 0% 0%, var(--shield), var(--pine)); border-radius: 36px; padding: 72px 64px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; color: var(--ivory); position: relative; overflow: hidden; border: 1px solid rgb(226 197 126 / 0.35); }
.closing > img { width: 150px; height: auto; filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.55)); }
.closing::before { content: ""; position: absolute; inset: 0; background: url("img/photos/course-golden-1200.webp") center 70% / cover; opacity: 0.22; mix-blend-mode: luminosity; pointer-events: none; }
.closing > * { position: relative; }
.closing h2 { font-size: clamp(40px, 5vw, 64px); }
.closing h2 { color: var(--ivory); }
.closing h2 em { font-style: normal; color: var(--gold); }
.closing p { margin: 10px 0 0; font-size: 18px; color: rgb(243 234 207 / 0.78); }

/* Footer */
.site-foot { padding: 72px 0 48px; border-top: 1px solid var(--line); margin-top: 112px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-grid a { display: block; text-decoration: none; color: var(--ink-2); padding: 5px 0; font-size: 15px; }
.foot-grid a:hover { color: var(--ink); }
.foot-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--ink-3); }

/* Page heads (inner pages) */
.page-head { padding: 72px 0 32px; }
.page-head h1 { margin: 6px 0 20px; }

/* Partners */
.offer { display: flex; flex-direction: column; }
.offer .pic { aspect-ratio: 16 / 11; }
.offer ul { margin: 16px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.offer ul li { margin-bottom: 6px; }
.pkg { display: flex; flex-direction: column; gap: 10px; }
.pkg .price { font-family: var(--display); font-size: 34px; font-weight: 800; text-transform: uppercase; }
.pkg.featured { border: 2px solid var(--lime-deep); position: relative; }
.pkg.featured::before { content: none; position: absolute; top: -13px; left: 24px; background: var(--lime); color: var(--on-lime); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.timeline .card { position: relative; padding-top: 64px; }
.timeline .card::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; left: 26px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; }

.form-shell { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; }
legend { font-family: var(--display); font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; padding: 0; }
.legend-note { color: var(--ink-3); font-size: 14.5px; margin: 0 0 18px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--ink-3); font-weight: 500; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="date"], textarea, select {
  font: 500 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong);
  border-radius: 14px; padding: 13px 14px; min-height: 50px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft); background: var(--card); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .box { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 1.5px solid var(--line-strong); border-radius: 18px; padding: 16px; background: var(--paper); transition: border-color 0.15s, background 0.15s; }
.choice .box b { font-size: 16px; }
.choice .box span { font-size: 13.5px; color: var(--ink-2); }
.choice .box::before { content: ""; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-strong); background: var(--card); margin-bottom: 6px; }
.choice input[type="radio"] + .box::before { border-radius: 50%; }
.choice input:checked + .box { border-color: var(--lime-deep); background: var(--lime-soft); }
.choice input:checked + .box::before { background: var(--lime-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--lime-deep); }
.choice input:focus-visible + .box { outline: 3px solid var(--lime-deep); outline-offset: 2px; }
.drop { border: 2px dashed var(--line-strong); border-radius: 18px; padding: 22px; text-align: center; background: var(--paper); color: var(--ink-2); font-size: 14.5px; position: relative; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { color: var(--ink); }
.drop .files { margin-top: 8px; font-weight: 600; color: var(--lime-deep); }
.chips-input { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips-input button { border: 1px solid var(--line-strong); background: var(--card); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--sans); cursor: pointer; min-height: 40px; }
.chips-input button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime-deep); color: var(--on-lime); }
.part[hidden] { display: none; }
.part { border-top: 1px solid var(--line); padding-top: 30px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 22px; height: 22px; accent-color: var(--lime-deep); margin-top: 1px; flex: none; }
.colors { display: flex; gap: 12px; }
.colors input[type="color"] { width: 60px; height: 50px; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 4px; background: var(--card); cursor: pointer; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--ink-3); max-width: 30em; }
.sent { text-align: center; padding: 40px 10px; }
.sent .big { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 20px; }
.sent .big svg { width: 38px; height: 38px; color: var(--on-lime); }

/* The live sponsor preview */
.preview-card { position: sticky; top: 96px; }
.preview-map {
  border-radius: 28px; overflow: hidden; position: relative; height: 470px; box-shadow: var(--shadow-lg);
  background: url("img/app/map.webp") center 30% / cover;
}
.preview-map::after { content: ""; position: absolute; inset: 0; background: rgb(244 244 239 / 0.25); }
.capsule {
  position: absolute; left: 50%; top: 150px; transform: translateX(-50%); z-index: 2; width: 300px;
  border-radius: 999px; padding: 8px 10px 8px 8px; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg, var(--c1, #0f3d23), color-mix(in srgb, var(--c1, #0f3d23) 70%, #000));
  border: 2px solid var(--c2, #e2b04e); color: #fff; box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.6);
}
.capsule::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: color-mix(in srgb, var(--c1, #0f3d23) 80%, #000); border-right: 2px solid var(--c2, #e2b04e); border-bottom: 2px solid var(--c2, #e2b04e); }
.capsule .logo { width: 46px; height: 46px; border-radius: 50%; background: #fff center / cover; flex: none; border: 2px solid var(--c2, #e2b04e); }
.capsule .t { min-width: 0; flex: 1; }
.capsule .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.capsule .t small { display: block; font-size: 11.5px; color: rgb(255 255 255 / 0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.capsule .go { background: var(--c2, #e2b04e); color: #111; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 8px 12px; flex: none; }
.preview-course { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; background: var(--card); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.preview-course b { display: block; font-size: 17px; }
.preview-course small { color: var(--ink-3); font-size: 13px; }
.preview-course .bar { display: flex; gap: 8px; margin-top: 12px; }
.preview-course .bar span { flex: 1; height: 38px; border-radius: 999px; background: var(--raised); }
.preview-course .bar span:first-child { background: var(--lime); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--lime-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

/* Feature index (Features page) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { text-decoration: none; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.toc a:hover { border-color: var(--lime-deep); }
.feat-block { padding: 96px 0; border-top: 1px solid var(--line); }
.mini-shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 24px; scroll-snap-type: x mandatory; }
.mini-shots .phone { scroll-snap-align: start; }

/* Watch */
.watch-frame { background: var(--night); border-radius: 22px; overflow: hidden; }

/* Reveal motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.d2 { animation-delay: -2s; }
.floaty.d3 { animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty, .strip-track { animation: none; }
  .btn:hover { transform: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .head-cta { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: none; position: fixed; inset: 72px 0 0; background: var(--paper); z-index: 49; padding: 24px; flex-direction: column; gap: 4px; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 24px; font-family: var(--sans); font-size: 17px; text-transform: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split.reverse > :first-child { order: 0; }
  .mission { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .steps { grid-template-columns: repeat(5, 240px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .step { scroll-snap-align: center; }
  .dots { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-band { grid-template-columns: minmax(0, 1fr); }
  .shop-band .pic { min-height: 300px; }
  .closing { grid-template-columns: minmax(0, 1fr); text-align: left; padding: 48px 36px; }
  .form-shell { grid-template-columns: minmax(0, 1fr); }
  .preview-card { position: static; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 20px; }
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .sec-tight { padding: 48px 0; }
  .lead { font-size: 17.5px; }
  .hero { padding-top: 32px; }
  .hero-stage { height: auto; display: flex; flex-direction: column; align-items: center; }
  .hero-stage .phone { position: relative; }
  .hero-stage .p-left, .hero-stage .p-right { display: none; }
  .hero-stage .p-main { left: auto; top: auto; transform: none; width: 270px; }
  .hero-stage .chip { position: relative; inset: auto; margin-top: 10px; }
  .chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
  .chip-row .chip { position: relative; inset: auto; margin: 0; }
  .phone { width: 260px; }
  .phone.sm { width: 200px; }
  .duo { gap: 14px; }
  .duo .phone { width: 46%; border-radius: 30px; padding: 7px; }
  .duo .phone .screen { border-radius: 24px; }
  .duo .phone .island { width: 54px; height: 16px; }
  .duo .phone:nth-child(2) { margin-top: 36px; }
  .stage .chip { position: relative; inset: auto; }
  .stage { flex-direction: column; align-items: center; gap: 12px; }
  .grid-3, .grid-2, .grid-4, .timeline, .choices, .fields { grid-template-columns: minmax(0, 1fr); }
  .mission { padding: 28px 22px; border-radius: 24px; }
  .drills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-band .copy { padding: 36px 24px; }
  .closing { padding: 40px 24px; border-radius: 28px; }
  .closing > img { width: 96px; height: auto; border-radius: 0; }
  .form-card { padding: 24px 18px; border-radius: 22px; }
  .preview-map { height: 420px; }
  .capsule { width: 280px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .site-foot { margin-top: 72px; }
}
@media (min-width: 641px) { .chip-row { display: contents; } }

/* The shield: the logo's own look for brand moments */
.btn-gold { background: linear-gradient(180deg, #ecd398, var(--gold) 55%, #cdae62); color: var(--pine); box-shadow: 0 10px 24px -10px rgb(180 148 46 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.5); }
.btn-gold:hover { filter: brightness(1.04); }
.btn-ivory-line { border-color: rgb(226 197 126 / 0.55); color: var(--ivory); background: transparent; }
.badge-shield { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 22px; }
.badge-shield img { width: auto; height: 30px; }
.hero-logo { position: absolute; z-index: 6; width: 128px; height: auto; left: 2%; top: -18px; filter: drop-shadow(0 22px 26px rgb(7 33 9 / 0.4)); transform: rotate(7deg); }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: 0; }

/* Brand page */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.swatch { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.swatch .chipc { height: 110px; display: flex; align-items: flex-end; padding: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.swatch .meta { padding: 12px 14px 14px; font-size: 13.5px; }
.swatch .meta b { display: block; font-size: 15px; }
.swatch .meta code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--ink-3); font-size: 13px; }
.swatch .meta span { display: block; color: var(--ink-3); margin-top: 4px; font-size: 12.5px; line-height: 1.35; }
.scale { display: flex; border-radius: 10px; overflow: hidden; height: 34px; }
.scale i { flex: 1; }
.scales { display: grid; gap: 10px; }
.scales .row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; font-size: 14px; font-weight: 700; }
.ratio { display: flex; height: 72px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.ratio div { display: flex; align-items: flex-end; padding: 8px 10px; font-size: 12px; font-weight: 700; min-width: 0; overflow: hidden; white-space: nowrap; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pair { border-radius: 18px; padding: 20px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); }
.pair b { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.pair small { font-size: 12.5px; font-weight: 700; opacity: 0.85; }
.type-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.type-row small { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.board { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); margin: 0; }
.board img { width: 100%; }
.board figcaption { padding: 14px 18px; font-size: 14px; color: var(--ink-3); }
.logo-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.logo-use { border-radius: 22px; padding: 34px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; border: 1px solid var(--line); text-align: center; }
.logo-use > img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.5); }
.logo-use .wordmark { font-size: 40px; display: flex; align-items: center; gap: 12px; }
.logo-use .wordmark img { width: 44px; height: 44px; border-radius: 12px; }
.logo-use small { font-size: 13px; font-weight: 600; opacity: 0.75; }
.donts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dont { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.dont .x { height: 90px; display: grid; place-items: center; position: relative; margin-bottom: 10px; }
.dont .x::after { content: ""; position: absolute; inset: 10px 30%; background: linear-gradient(45deg, transparent 47%, #d64545 47%, #d64545 53%, transparent 53%); }
@media (max-width: 640px) {
  .type-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .logo-uses, .donts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .logo-uses > :first-child { grid-column: 1 / -1; }
  .hero-logo { display: none; }
  .scales .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* The golden-hour band under the hero (Higgsfield, website/design/course-golden.png) */
.golden { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; border-radius: 36px; }
.golden > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.golden::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 33 9 / 0) 30%, rgb(7 33 9 / 0.85)), linear-gradient(90deg, rgb(7 33 9 / 0.55), transparent 65%); }
.golden .inner { position: relative; z-index: 1; padding: 56px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: end; max-width: 980px; }
.golden .inner > img { width: 150px; height: auto; filter: drop-shadow(0 24px 28px rgb(0 0 0 / 0.5)); }
.golden h2 { color: #fff; margin-bottom: 14px; }
.golden .eyebrow { color: var(--gold); }
.golden p { color: rgb(255 255 255 / 0.86); font-size: 19px; max-width: 34em; margin: 0; }
@media (max-width: 640px) {
  .golden { min-height: 520px; border-radius: 26px; }
  .golden .inner { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 18px; }
  .golden .inner > img { width: 96px; }
  .golden p { font-size: 16.5px; }
}
.timeline.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .timeline.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .timeline.four { grid-template-columns: minmax(0, 1fr); } }

/* Fixes after the first look */
.photo-tile { text-decoration: none; }
.photo-tile .tag { background: var(--lime); color: var(--on-lime); border-color: transparent; }
.photo-tile .tag.casual { background: var(--sky); color: #0d2347; }
.foot-grid a.brand { display: inline-flex; font-size: 28px; color: var(--ink); padding: 0; }
@media (min-width: 1081px) {
  .closing { grid-template-columns: auto minmax(0, 1fr); }
  .closing .btn-row { grid-column: 2; }
}
.phone .screen.raw::before { display: none; }
.part { border-top: 0; padding-top: 6px; }

/* Fable's review (2026-10-26) */
.split h2.display, .page-head h2.display { margin-bottom: 18px; }
.split h1.display { margin-bottom: 20px; }
.drills .more { display: none; }
@media (max-width: 640px) {
  .drills.all .drill:nth-child(n+10) { display: none; }
  .drills.all .more { display: flex; grid-column: 1 / -1; justify-content: center; padding: 14px; border-radius: 18px; background: var(--card); border: 1px dashed var(--line-strong); font-weight: 700; color: var(--ink-2); }
}
.offer .tag, .pkg .tag { align-self: flex-start; }

/* Explore Tee18: one card per page, a short brief and Enter (owner, 2026-10-27) */
.explore { padding-top: 96px; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.door:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 4px; }
.door-art { position: relative; height: 290px; overflow: hidden; }
.door-art .phone.sm { position: absolute; left: 56%; bottom: -190px; width: 214px; transform: translateX(-50%) rotate(-4deg); transition: transform 0.35s ease; box-shadow: 0 30px 60px -24px rgb(10 20 10 / 0.5); }
.door:hover .door-art .phone.sm { transform: translateX(-50%) translateY(-14px) rotate(-2deg); }
.door-num { position: absolute; top: 14px; left: 20px; font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; opacity: 0.35; }
.door-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.door-body .eyebrow { margin-bottom: 0; }
.door-body h3.display { font-size: 32px; line-height: 1; }
.door-body p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.door-tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.door-tags li { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--raised); color: var(--ink-2); }
.door-enter {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15.5px; transition: background-color 0.2s, color 0.2s;
}
.door-enter svg { width: 18px; height: 18px; transition: transform 0.2s; }
.door:hover .door-enter { background: var(--lime); color: var(--on-lime); }
.door:hover .door-enter svg { transform: translateX(3px); }
.door-tags { margin-bottom: 14px; }

.door-features .door-art { background: radial-gradient(120% 90% at 20% 0%, #f2fbd2, #d9f58a 55%, var(--lime)); }
.door-features .door-num, .door-features .eyebrow { color: var(--lime-deep); }
.door-compete .door-art { background: radial-gradient(120% 100% at 80% 0%, var(--shield), var(--pine) 70%); }
.door-compete .door-num { color: var(--gold); opacity: 0.6; }
.door-compete .eyebrow { color: var(--gold-deep); }
.door-practice .door-art { background: radial-gradient(120% 90% at 20% 0%, #e6faf6, #a8e9df 50%, #5ed3c2); }
.door-practice .door-num, .door-practice .eyebrow { color: var(--practice); }
.door-community .door-art { background: radial-gradient(120% 90% at 80% 0%, #eef4ff, #c3d8fb 50%, var(--sky)); }
.door-community .door-num, .door-community .eyebrow { color: var(--sky-deep); }
.door-partners .door-art { background: radial-gradient(120% 90% at 20% 0%, #fbf3dd, #f0dcab 50%, var(--gold)); }
.door-partners .door-num, .door-partners .eyebrow { color: var(--bronze); }
.door-about .door-art { background: url("img/photos/course-golden-1200.webp") center 60% / cover; }
.door-about .door-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 33 9 / 0.05), rgb(7 33 9 / 0.55)); }
.door-about .door-num { color: #fff; opacity: 0.7; z-index: 1; }
.door-about .eyebrow { color: var(--fairway); }
.door-shield { position: absolute; left: 50%; top: 50%; width: 150px; height: auto; z-index: 1; transform: translate(-50%, -46%) rotate(-3deg); filter: drop-shadow(0 22px 26px rgb(0 0 0 / 0.45)); transition: transform 0.35s ease; }
.door:hover .door-shield { transform: translate(-50%, -52%) rotate(0deg); }

.door-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.door-more a {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color 0.2s, transform 0.2s;
}
.door-more a:hover { border-color: var(--lime-deep); transform: translateY(-2px); }
.door-more a > span { width: 46px; height: 46px; border-radius: 14px; background: var(--lime-soft); color: var(--lime-deep); display: grid; place-items: center; flex: none; }
.door-more a > span svg { width: 22px; height: 22px; }
.door-more a > div { flex: 1; min-width: 0; }
.door-more b { display: block; font-size: 17px; }
.door-more small { color: var(--ink-3); font-size: 14px; }
.door-more a > svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }

@media (max-width: 1080px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .explore { padding-top: 64px; }
  .doors, .door-more { grid-template-columns: minmax(0, 1fr); }
  .door-art { height: 230px; }
  .door-art .phone.sm { width: 180px; bottom: -170px; }
  .door-num { font-size: 52px; }
  .door-body h3.display { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .door, .door-art .phone.sm, .door-shield, .door-enter svg { transition: none; }
  .door:hover, .door-more a:hover { transform: none; }
}

/* About: the story and its pull quote */
.story-split { align-items: start; }
.story p { font-size: 19px; line-height: 1.65; color: var(--ink-2); margin: 0 0 18px; }
.story p:last-child { color: var(--ink); font-weight: 600; }
.pull { background: radial-gradient(120% 90% at 85% 0%, var(--shield), var(--pine) 60%); color: var(--ivory); border-radius: 32px; padding: 48px; position: sticky; top: 110px; }
.pull img { width: 64px; height: auto; margin-bottom: 22px; }
.pull blockquote { margin: 0 0 18px; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1; text-transform: uppercase; color: var(--gold); }
.pull p { margin: 0; color: rgb(243 234 207 / 0.76); font-size: 16px; }
.about-row { margin-top: 72px; }
.about-row h3.display { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.about-row p { font-size: 17px; color: var(--ink-2); }
.about-more { margin-top: 80px; }
@media (max-width: 900px) { .pull { position: static; padding: 32px 26px; border-radius: 26px; } .about-row { margin-top: 56px; } }

/* Home hero: the two download buttons (2026-10-27, owner: "two big buttons right there that say download now"). */
.dl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.dl { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.dl:hover { transform: translateY(-2px); }
.dl:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; }
.dl svg { width: 26px; height: 26px; flex: none; }
.dl span { display: flex; flex-direction: column; min-width: 0; }
.dl b { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.dl small { margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.2; opacity: .8; }
.dl-ios { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgb(0 0 0 / .55); }
.dl-web { background: var(--lime); color: var(--on-lime); box-shadow: 0 12px 26px -12px rgb(140 200 0 / .75); }
.explore-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.explore-link svg { width: 16px; height: 16px; }
.explore-link:hover { color: var(--ink); }
@media (max-width: 420px) { .dl-row { grid-template-columns: minmax(0, 1fr); } }

/* Partners form (1583): the field only bots fill in stays off screen; the server's answer when something is missing. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #b42318; font-weight: 600; }
/* The short Partners form (2026-10-27): one column, no banner preview beside it. */
.form-shell.single { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.choices.contact-by .box { flex-direction: row; align-items: center; gap: 10px; padding: 14px 16px; }
.choices.contact-by .box::before { margin-bottom: 0; }
/* TestFlight first (owner, 2026-10-27: people tapped Download for iPhone without TestFlight and got an error). A box no one
   can miss, right under the buttons, until Tee18 is in the App Store. */
.tf-steps { margin-top: 16px; max-width: 520px; border: 2px solid var(--sand); background: #fdf3dc; border-radius: 20px; padding: 16px 18px; color: var(--ink); }
.tf-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; font-size: 17px; }
.tf-title svg { width: 20px; height: 20px; color: #9a6a00; }
.tf-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tf-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.tf-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.tf-get { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 9px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.tf-get svg { width: 15px; height: 15px; }
.tf-get:hover { filter: brightness(1.15); }
.form-shell .choices.contact-by { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tf-steps .tf-get { display: flex; width: max-content; }

/* Mo City Golf, the Tee18 partner (owner, 2026-10-27: "people see his name when they're reading the site every once in
   a while", noticeable, never louder than the app). The full band on About and Partners; a slim strip elsewhere; a line in
   the footer of every page. */
.partner-band { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 32px; overflow: hidden; background: var(--pine); color: var(--ivory); border: 1px solid rgb(226 197 126 / 0.3); }
.partner-band .pb-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.partner-band .pb-body { padding: 48px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.partner-band .eyebrow { color: var(--gold); }
.partner-band .pb-logo { width: 150px; height: auto; background: var(--ivory); border-radius: 16px; padding: 10px 14px; }
.partner-band h2 { color: var(--ivory); font-size: clamp(30px, 3.4vw, 44px); }
.partner-band p { margin: 0; color: rgb(243 234 207 / 0.8); font-size: 17px; line-height: 1.55; }
.partner-band .btn-row { margin-top: 8px; }
.partner-strip { display: flex; align-items: center; gap: 20px; padding: 14px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--ink-2); font-size: 16px; transition: border-color 0.15s; }
.partner-strip:hover { border-color: var(--lime-line); }
.partner-strip img { width: 92px; height: auto; flex: none; }
.partner-strip b { color: var(--ink); }
.partner-strip .ps-go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--lime-deep); white-space: nowrap; }
.partner-strip .ps-go svg { width: 16px; height: 16px; }
.foot-partner { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 16px; padding: 0 !important; }
.foot-partner span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.foot-partner img { width: 84px; height: auto; }
@media (max-width: 860px) {
  .partner-band { grid-template-columns: 1fr; }
  .partner-band .pb-photo img { min-height: 220px; max-height: 280px; }
  .partner-band .pb-body { padding: 28px 22px 32px; }
  .partner-strip { flex-wrap: wrap; gap: 10px 16px; padding: 14px 16px; }
  .partner-strip .ps-go { margin-left: 0; }
}
.foot-partner b { font-size: 15px; color: var(--ink-2); font-weight: 600; }

/* Compete's four steps with the app's own screen for each (owner, 2026-10-27). The number sits on the picture's corner. */
.timeline .card.has-shot { padding-top: 18px; display: flex; flex-direction: column; }
.timeline .card.has-shot h3 { margin-top: 10px; }
.timeline .card.has-shot::before { position: static; order: 1; margin-top: 16px; }
.timeline .card.has-shot > * { order: 2; }
.timeline .card.has-shot > .tl-shot { order: 0; }
.tl-shot { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #f3f2ec; margin-bottom: 4px; }
.tl-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .tl-shot { aspect-ratio: 1 / 1; } }
/* The Courses form's "Both is best" line between the two photo spots and the contact fields. */
.form-note { margin: -4px 0 0; font-size: 15px; font-weight: 600; color: var(--lime-deep); }
