/* Guards Polo Academy · sales page. Light mode only. Mobile-first (390 column first, enhanced up).
   Palette sampled from the academy's own crest: Guards claret, Guards blue, brass. */
:root {
  --ivory: #faf7f0;
  --parchment: #f3eee3;
  --paper: #ffffff;
  --ink: #1d1d1b;
  --ink-2: #4d4a43;
  --line: #e3dbca;
  --line-2: #d4c9b2;
  --claret: #870337;
  --claret-deep: #6b022b;
  --navy: #0d2c52;
  --blue: #02437e;
  --brass: #b29f6d;
  --brass-deep: #7d6b3c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 29, 27, .05), 0 8px 24px -12px rgba(29, 29, 27, .14);
  --shadow-lift: 0 2px 4px rgba(29, 29, 27, .06), 0 18px 40px -16px rgba(29, 29, 27, .22);
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--claret); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.75rem, 7vw + .9rem, 5rem); line-height: 1.0; }
h2 { font-size: clamp(2.25rem, 3.2vw + 1.2rem, 3.4rem); line-height: 1.05; }
h3 { font-size: 1.7rem; line-height: 1.15; }
h4 { font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
b, strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr, .ctx { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* The Household Division stripe: blue · red · blue, as on the academy's own colours. */
.guards-stripe { height: 6px; background: linear-gradient(to bottom, var(--navy) 0 33.3%, var(--claret) 33.3% 66.6%, var(--navy) 66.6% 100%); }

.eyebrow {
  font: 600 .8125rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--claret); margin: 0 0 14px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--brass); flex: none; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }

/* ---------------- buttons ---------------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; text-align: center;
  min-height: var(--h); padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .lbl { display: inline; }
.nw { white-space: nowrap; }
.btn-lg { --h: 54px; padding: 12px 28px; font-size: 1.0625rem; }
.btn-sm { --h: 44px; padding: 8px 18px; font-size: .9375rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--claret); color: #fff; box-shadow: 0 6px 16px -8px rgba(135, 3, 55, .55); }
.btn-primary:hover { background: var(--claret-deep); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(135, 3, 55, .6); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-light { background: var(--ivory); color: var(--claret); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.cta-row.center { justify-content: center; }
.hero .cta-row .btn { flex: 1 1 100%; }

/* ---------------- price pairs: both halves share ONE style, by construction ---------------- */
.pp {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .45em; row-gap: .05em;
  font-family: var(--sans); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); letter-spacing: 0;
}
.pp .ex, .pp .inc { font: inherit; color: inherit; white-space: nowrap; }
.pp .sep { color: var(--brass-deep); font-weight: 400; }
.pp.stack { flex-direction: column; align-items: flex-start; }
.pp.stack .sep { display: none; }
.price { margin: 0; line-height: 1.2; }
.price-xl { font-size: clamp(1.75rem, 1.6vw + 1.3rem, 2.25rem); }
.price-lg { font-size: clamp(1.4rem, 1vw + 1.15rem, 1.7rem); }
.price-md { font-size: 1.1875rem; }
.price-tier { font-size: 1.125rem; }

/* ---------------- header ---------------- */
.site-header { background: rgba(250, 247, 240, .92); border-bottom: 1px solid transparent; position: relative; z-index: 40; }
.hdr { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font: 600 1.125rem/1.05 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.brand-txt small { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: none; }
.hdr-cta { white-space: nowrap; padding: 8px 16px; }
.hdr { gap: 10px; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px;
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(178, 159, 109, .17), transparent 62%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.hero-field { display: none; position: absolute; color: var(--brass); pointer-events: none; }
.hero-field .field { width: 100%; height: 100%; }
.hero-field line, .hero-field rect { stroke-width: 1; }
.hero-grid { position: relative; display: grid; gap: 36px; }
.hero-copy .lede { margin-top: 18px; }
.hero h1 { color: var(--ink); max-width: 13ch; }
.hero-price { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 1.0625rem; }
.hero-price-k { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero-card {
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 22px;
  box-shadow: var(--shadow-lift); backdrop-filter: blur(4px);
}
.lockup { width: min(220px, 62%); margin: 0 auto; }
.rule-at { display: flex; justify-content: center; margin: 20px 0 16px; }
.rule-at span { width: 64px; height: 1px; background: var(--brass); }

/* ---------------- ticks ---------------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink); }
.ticks .tick { width: 22px; height: 22px; padding: 3px; margin-top: 2px; border-radius: 50%; background: rgba(135, 3, 55, .08); color: var(--claret); }

/* ---------------- sections ---------------- */
.section { padding: 64px 0; }
.band { background: var(--parchment); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 32px; }
.sec-head .lede { margin-top: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card-k { font: 600 .75rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--claret); margin: 0 0 6px; }
.h-sm { font-size: 1.45rem; margin: 0 0 14px; }
.fine { font-size: .9375rem; color: var(--ink-2); margin: 14px 0 0; }
.note { font-size: .9375rem; color: var(--ink-2); margin: 24px 0 0; max-width: 70ch; }

/* taster */
.split { display: grid; gap: 28px; align-items: center; }
.split-copy p:not(.eyebrow):not(.lede) { color: var(--ink-2); max-width: 46ch; }
.split-copy .lede { margin-top: 14px; }
.offer-card { padding: 28px 24px; border-top: 3px solid var(--claret); }
.offer-card h3 { margin-bottom: 12px; }
.offer-card .price { margin-bottom: 20px; }
.offer-card .ticks { margin-bottom: 24px; }

/* membership */
.member-grid { display: grid; gap: 20px; }
.member-card { display: grid; overflow: hidden; border-top: 3px solid var(--claret); }
.member-price { padding: 28px 24px; background: linear-gradient(180deg, #fff, #fdfbf6); border-bottom: 1px solid var(--line); }
.member-price .per { color: var(--ink-2); margin: 8px 0 0; font-size: 1rem; }
.joining { margin: 22px 0 24px; padding: 16px 0 0; border-top: 1px dashed var(--line-2); }
.joining-k { font-size: .9375rem; color: var(--ink-2); margin: 0 0 4px; }
.member-incl { padding: 28px 24px; }
.member-incl .ticks { margin-bottom: 28px; }
.member-incl p { color: var(--ink-2); margin: 0; }
.member-incl .ticks:has(+ .extra-line) { margin-bottom: 16px; }
.member-incl .extra-line { margin: 0 0 28px; padding: 12px 14px; border-radius: 10px; background: var(--ivory); border: 1px solid var(--line); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.extra-line .pp { display: inline; font-weight: 600; }
.member-incl .book-rules { color: var(--ink); }
.shared-card { padding: 28px 24px; }
.shared-card h3 { margin-bottom: 12px; }
.shared-card > p { color: var(--ink-2); }
.share-map { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 22px 0; padding: 22px 16px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 500 .9375rem/1.2 var(--sans); color: var(--navy); }
.chip-owner { background: var(--navy); border-color: var(--navy); color: #fff; }
.share-line { width: 1px; height: 18px; background: var(--brass); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 0; border-top: 1px solid var(--brass); padding-top: 14px; position: relative; }
.share-pool { margin-top: 16px; text-align: center; font: 500 .9375rem/1.4 var(--sans); color: var(--claret); max-width: 26ch; }
.keys { font: 600 1.6rem/1.2 var(--serif); color: var(--navy); margin: 0 0 16px; }

/* levels */
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: lvl; }
.level { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); position: relative; }
.level-head { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.level-n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--brass); color: var(--navy); font: 600 1.75rem/1 var(--serif); background: var(--ivory); }
.level-k { font: 600 .75rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--claret); margin: 4px 0 2px; }
.level h3 { font-size: 1.85rem; }
.level-goal { color: var(--ink-2); margin: 6px 0 0; }
.level-unlock { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), var(--shadow); }
.level-unlock .level-n { background: var(--navy); color: #fff; border-color: var(--navy); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 12px; border-radius: 10px; font: 600 .8125rem/1.2 var(--sans); letter-spacing: .04em; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-gold { background: #f6f0df; color: #5f4f22; border: 1px solid var(--brass); }
.badge-claret { background: rgba(135, 3, 55, .07); color: var(--claret); border: 1px solid rgba(135, 3, 55, .3); margin: 2px 0 12px; }
.tracks { display: grid; gap: 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.track h4 { margin-bottom: 8px; }
.track ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.track li { position: relative; padding-left: 18px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.track li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--claret); }

/* extras */
.extras { display: grid; gap: 18px; }
.extra { padding: 24px 20px; display: grid; gap: 20px; }
.extra h3 { margin-bottom: 10px; }
.extra-info > p { color: var(--ink-2); margin-bottom: 12px; }
.extra-info > p.extra-lede { color: var(--ink); }
.extra .gate { color: var(--ink); background: #f6f0df; border-left: 3px solid var(--brass); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 1rem; }
.meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meta li { font-size: .875rem; color: var(--navy); background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.extra-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory); }
.tier-member { background: #fff; border-color: rgba(135, 3, 55, .35); box-shadow: inset 0 3px 0 var(--claret); }
.tier-k { font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.tier-member .tier-k { color: var(--claret); }
.tier-name { font: 600 1.25rem/1.15 var(--serif); margin: 0; }
.tier .price { margin: 2px 0 0; }
.unit { font-size: .875rem; color: var(--ink-2); margin: 0; }
.tier .btn { margin-top: auto; }
.tier .unit + .btn, .tier .price + .btn { margin-top: auto; }
.tier > .btn { margin-top: 10px; }

/* terms */
.terms { display: grid; gap: 14px; }
.term { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.term h3 { font: 600 1.0625rem/1.3 var(--sans); color: var(--navy); margin-bottom: 6px; letter-spacing: .01em; }
.term p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; font: 500 1.0625rem/1.35 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--claret); border-radius: 2px; transition: transform .2s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* closing */
.closing { background: var(--navy); color: #fff; padding: 64px 0 72px; position: relative; }
.closing-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing img { width: 64px; height: 64px; margin-bottom: 18px; background: #fff; border-radius: 50%; padding: 6px; }
.closing h2 { color: #fff; }
.closing .price { margin-top: 14px; }
.closing .pp { color: #fff; justify-content: center; }
.closing .pp .sep { color: var(--brass); }

/* footer */
.site-footer { background: var(--ivory); }
.foot { padding: 28px 20px 36px; font-size: .9375rem; color: var(--ink-2); }
.foot p { margin: 0 0 6px; }
.foot-name { font: 600 1.25rem/1.3 var(--serif); color: var(--ink); }
.powered { margin-top: 14px !important; font-size: .8125rem; color: var(--ink-2); }

/* sticky CTA (phones only, appears after the hero) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(29, 29, 27, .25);
  transform: translateY(110%); transition: transform .28s var(--ease); visibility: hidden;
}
.sticky-cta.show { transform: none; visibility: visible; }
.sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; margin: 0 auto; }
.sticky-in p { margin: 0; display: flex; flex-direction: column; font-size: .9375rem; line-height: 1.25; }
.sticky-k { font: 600 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--claret); margin-bottom: 2px; }
.sticky-in .btn { flex: none; }
body.has-sticky .site-footer { padding-bottom: 76px; }

/* hover lift (pointer devices only) */
@media (hover: hover) {
  .card:hover, .level:hover, .term:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .term { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .level { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .level-unlock:hover { box-shadow: 0 0 0 1px var(--brass), var(--shadow-lift); }
}

/* ---------------- enhance up ---------------- */
@media (min-width: 560px) {
  .ctx { position: static !important; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .wrap { padding: 0 28px; }
  .hero .cta-row .btn { flex: 0 0 auto; }
  .brand-txt b { font-size: 1.25rem; }
  .hdr-cta { padding: 8px 18px; }
  .terms { grid-template-columns: 1fr 1fr; }
  .extra-prices { gap: 14px; }
  .tier { padding: 18px; }
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
  body.has-sticky .site-footer { padding-bottom: 0; }
  .site-header { position: sticky; top: 0; backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
  .site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(29, 29, 27, .3); }
  .hero { padding: 56px 0 88px; }
  .section { padding: 88px 0; }
  .sec-head { margin-bottom: 44px; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .offer-card { padding: 36px 32px; }
  .member-grid { grid-template-columns: 1.55fr 1fr; align-items: start; }
  .member-card { grid-template-columns: 1fr 1fr; }
  .member-price { border-bottom: 0; border-right: 1px solid var(--line); padding: 36px 32px; }
  .member-incl { padding: 36px 32px; }
  .shared-card { padding: 32px 28px; }
  .level { padding: 28px; }
  .extra { padding: 28px; }
  .closing { padding: 88px 0 96px; }
}

@media (min-width: 1000px) {
  .nav { display: flex; gap: 4px; margin-right: 8px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font: 500 .9375rem/1 var(--sans); border-radius: 8px; position: relative; }
  .nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--claret); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
  .nav a:hover::after { transform: scaleX(1); }
  .hero { padding: 72px 0 112px; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
  .hero-field { display: block; inset: 9% -10% 7% 53%; opacity: .42; }
  .hero-card { padding: 36px 32px 30px; }
  .lockup { width: 230px; }
  .level { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 32px; }
  .tracks { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 0; padding-top: 0; border-top: 0; padding-left: 36px; border-left: 1px solid var(--line); }
  .extras { gap: 20px; }
  .extra { grid-template-columns: 1fr 580px; gap: 40px; align-items: center; padding: 32px 36px; }
  .extra-prices { gap: 16px; }
  .terms { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
