/* YUGEN Golf — marketing + legal site. Mirrors the iOS design system
   (Theme.swift): midnight background, paper text, brass reward accent,
   mist progress accent, serif "calm game master" display voice. */

@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #2B2929;
  --sand: #D6D4C7;
  --paper: #F4F1E8;
  --bg: #0E0F11;
  --bg-elevated: #16181B;
  --surface: #1B1E22;
  --surface-hi: #24282D;
  --hairline: rgba(255,255,255,0.08);
  --text-primary: #F4F1E8;
  --text-secondary: #B9B6AE;
  --text-muted: #7C7A75;
  --mist: #CBD2DA;
  --brass: #C9A24B;
  --jade: #5BA88C;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(203,210,218,0.06), transparent 70%),
    var(--bg);
  color: var(--text-secondary);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--mist); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--paper); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---- Header ---------------------------------------------------------- */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(14,15,17,0.72);
  border-bottom: 1px solid var(--hairline);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
header.site .logo img { height: 26px; }
header.site nav { display: flex; gap: 28px; align-items: center; }
header.site nav a { font-size: 14px; color: var(--text-secondary); }
header.site nav a:hover { color: var(--paper); }
@media (max-width: 640px) { header.site nav a.navlink { display: none; } }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 12px 20px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: var(--surface); color: var(--text-primary); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--surface-hi); color: var(--paper); }
.btn.disabled { opacity: .55; pointer-events: none; }

/* ---- Hero ------------------------------------------------------------ */
.hero { text-align: center; padding: 96px 0 72px; }
.hero .fullmark { width: 260px; margin: 0 auto 40px; opacity: .98; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  color: var(--text-primary); font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15; letter-spacing: -0.5px; margin: 0 auto; max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--mist); }
.hero .sub {
  font-family: var(--serif); font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary); margin: 24px auto 0; max-width: 46ch;
}
.hero .cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--brass);
}
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 16px;
}
.badge-soon .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

/* ---- Sections -------------------------------------------------------- */
section { padding: 72px 0; border-top: 1px solid var(--hairline); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400; color: var(--text-primary);
  font-size: clamp(26px, 4vw, 36px); margin: 12px 0 0;
}
.section-head p { max-width: 52ch; margin: 14px auto 0; color: var(--text-secondary); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(203,210,218,0.08); border: 1px solid var(--hairline);
  font-size: 22px;
}
.card h3 {
  font-family: var(--serif); font-weight: 500; color: var(--text-primary);
  font-size: 20px; margin: 0 0 8px;
}
.card p { margin: 0; font-size: 15px; color: var(--text-secondary); }

/* ---- Steps ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 8px; }
.step .n {
  font-family: var(--serif); font-size: 40px; color: var(--brass); opacity: .9;
  line-height: 1;
}
.step h3 { font-family: var(--serif); font-weight: 500; color: var(--text-primary); font-size: 19px; margin: 14px 0 6px; }
.step p { margin: 0; font-size: 15px; }

/* ---- Closing band ---------------------------------------------------- */
.closing { text-align: center; }
.closing h2 { font-family: var(--serif); font-weight: 400; color: var(--text-primary); font-size: clamp(26px,4vw,38px); margin: 0; }
.closing p { max-width: 46ch; margin: 16px auto 32px; }

/* ---- Footer ---------------------------------------------------------- */
footer.site { border-top: 1px solid var(--hairline); padding: 48px 0; margin-top: 24px; }
footer.site .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site img { height: 22px; opacity: .8; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site nav a { font-size: 14px; color: var(--text-secondary); }
footer.site .fine { color: var(--text-muted); font-size: 13px; margin-top: 24px; }

/* ---- Thesis band (why consistency) ----------------------------------
   A single large serif statement rather than a card grid: the thesis is
   one idea and shouldn't be dressed up as three. */
.thesis { text-align: center; max-width: 720px; margin: 0 auto; }
.thesis .big {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 3.2vw, 28px); line-height: 1.45;
  color: var(--text-primary); margin: 0;
}
.thesis .big em { font-style: italic; color: var(--mist); }
.thesis .follow { max-width: 54ch; margin: 22px auto 0; color: var(--text-secondary); }

/* ---- Split band (coach teaser, referral) ----------------------------- */
.band { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; gap: 32px; } }
.band h2 {
  font-family: var(--serif); font-weight: 400; color: var(--text-primary);
  font-size: clamp(24px, 3.6vw, 34px); margin: 12px 0 0;
}
.band p { margin: 14px 0 0; }
.band .cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Illustrative product-UI card used in the coach band. Deliberately
   abstract sample copy — this is a mock of the console, not a real
   player's data, and must never be styled to look like a testimonial. */
.mockcard {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 24px; font-size: 14px;
}
.mockcard .mc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.mockcard .mc-title { font-family: var(--serif); color: var(--text-primary); font-size: 17px; white-space: nowrap; }
.mockcard .mc-meta { color: var(--text-muted); font-size: 12px; text-align: right; }
.mockcard .mc-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--hairline);
  color: var(--text-secondary);
}
.mockcard .mc-row .val { color: var(--paper); white-space: nowrap; }
.mockcard .mc-row .val.up { color: var(--jade); }
.mockcard .mc-row .val.down { color: var(--brass); }
.mockcard .mc-note {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(203,210,218,0.06); border: 1px solid var(--hairline);
  color: var(--text-secondary); font-style: italic; font-family: var(--serif);
  font-size: 14px;
}

/* ---- Pricing ---------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 780px; margin: 0 auto; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: rgba(201,162,75,0.45); }
.price-card .plan { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); }
.price-card .price { font-family: var(--serif); color: var(--text-primary); font-size: 34px; margin: 10px 0 2px; }
.price-card .price small { font-size: 15px; color: var(--text-muted); font-family: var(--sans); }
.price-card .per { color: var(--text-muted); font-size: 13px; margin: 0 0 18px; }
.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li {
  display: flex; gap: 10px; align-items: baseline;
  padding: 7px 0; font-size: 15px; color: var(--text-secondary);
}
.price-card li::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); transform: translateY(-2px);
}
.price-card .foot { margin-top: auto; padding-top: 20px; }

/* Small status pills. "tag-planned" marks things that are designed but
   not yet live — used so the site never implies an unshipped mechanic
   already works. */
.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 3px 10px; color: var(--text-secondary); vertical-align: middle;
}
.tag-early { color: var(--brass); border-color: rgba(201,162,75,0.4); }
.tag-planned { color: var(--text-muted); }

/* ---- Player landing helpers ------------------------------------------
   Four-step loop row, the six-ways-in mini grid, and fine print that can
   live outside the footer. */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }

.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .minis { grid-template-columns: 1fr; } }
.mini {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 18px 20px;
}
.mini h4 {
  margin: 0 0 5px; font-family: var(--serif); font-weight: 500;
  font-size: 16px; color: var(--text-primary);
}
.mini p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }

.fine { color: var(--text-muted); font-size: 13px; }
.center { text-align: center; }
section .fine.center { margin: 28px auto 0; }

/* ---- Legal / content pages ------------------------------------------ */
.doc { padding: 56px 0 24px; }
.doc h1 { font-family: var(--serif); font-weight: 400; color: var(--text-primary); font-size: clamp(30px,5vw,42px); margin: 0 0 8px; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-family: var(--serif); font-weight: 500; color: var(--text-primary); font-size: 22px; margin: 40px 0 10px; }
.doc h3 { font-family: var(--serif); font-weight: 500; color: var(--text-primary); font-size: 17px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--text-secondary); }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.doc ul { padding-left: 20px; }
.doc code { background: var(--surface); padding: 2px 7px; border-radius: 5px; font-size: 13px; color: var(--paper); }
.doc hr { border: none; border-top: 1px solid var(--hairline); margin: 36px 0; }
.muted { color: var(--text-muted); font-size: 14px; }
