/* ========================================================================
   FRIENDS GOLF · 加盟招商說明書 — Design System
   B2B / Tech, restrained dark mode, mustard accent
   ======================================================================== */

:root {
  /* Surfaces */
  --bg:           #0a0e0b;            /* primary near-black, hint of green */
  --bg-warm:      #0d1410;
  --bg-elev:      #131a14;
  --surface:      rgba(255, 255, 255, 0.035);
  --surface-2:    rgba(255, 255, 255, 0.065);
  --line:         rgba(242, 238, 228, 0.12);
  --line-strong:  rgba(242, 238, 228, 0.24);

  /* Ink */
  --ink:          #f2eee4;            /* warm off-white */
  --ink-mute:     rgba(242, 238, 228, 0.62);
  --ink-faint:    rgba(242, 238, 228, 0.40);
  --ink-dim:      rgba(242, 238, 228, 0.22);

  /* Brand accents */
  --gold:         #e5b935;            /* mustard from logo */
  --gold-soft:    #f0cf6b;
  --gold-deep:    #c89516;
  --green:        #6e8c54;            /* golf green from logo */
  --green-deep:   #3d5230;
  --brown:        #6b3e2a;

  /* Type */
  --f-display:    'Archivo', 'Noto Sans TC', sans-serif;
  --f-zh:         'Noto Sans TC', 'Archivo', sans-serif;
  --f-mono:       'JetBrains Mono', 'Noto Sans TC', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

deck-stage:not(:defined) { visibility: hidden; }

html, body {
  background: #000;
  font-family: var(--f-zh);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

deck-stage > section {
  width: 1920px;
  height: 1080px;
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  font-family: var(--f-zh);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: 0.005em;
}

/* ---------- Persistent slide chrome (top + bottom rails) ---------- */
.chrome-top, .chrome-bot {
  position: absolute;
  left: 64px;
  right: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  z-index: 30;
  pointer-events: none;
}
.chrome-top { top: 36px; }
.chrome-bot { bottom: 36px; }

.chrome-top .left::before,
.chrome-bot .left::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.chrome-section {
  color: var(--ink);
}
.chrome-section .sec-num {
  color: var(--gold);
  margin-right: 12px;
}

/* ---------- Layout helpers ---------- */
.frame {
  position: absolute;
  inset: 100px 88px 100px 88px;
}
.frame-tight { inset: 96px 88px 96px 88px; }

.row { display: flex; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.eyebrow.no-bar::before { display: none; }

.eyebrow-mute {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

.h-display {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 136px;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.h1 {
  font-family: var(--f-zh);
  font-weight: 900;
  font-size: 84px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h2 {
  font-family: var(--f-zh);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h3 {
  font-family: var(--f-zh);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.h4 {
  font-family: var(--f-zh);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
}
.body-lg {
  font-family: var(--f-zh);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.55;
  color: var(--ink-mute);
  letter-spacing: 0.005em;
}
.body {
  font-family: var(--f-zh);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.body-sm {
  font-family: var(--f-zh);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.mono {
  font-family: var(--f-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.mono-sm {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.gold       { color: var(--gold); }
.green      { color: var(--green); }
.ink        { color: var(--ink); }
.ink-mute   { color: var(--ink-mute); }
.ink-faint  { color: var(--ink-faint); }

.bracket-gold { color: var(--gold); font-weight: 900; }

/* The brand's signature [ FRIENDS ] motif */
.brk {
  font-family: var(--f-display);
  font-weight: 900;
}
.brk::before { content: "[ "; color: var(--gold); }
.brk::after { content: " ]"; color: var(--gold); }

/* ---------- Cards / containers ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 40px;
  border-radius: 2px;
}
.card-bare {
  border: 1px solid var(--line);
  padding: 36px 40px;
  border-radius: 2px;
  background: transparent;
}
.card-gold {
  background: var(--gold);
  color: #18130a;
  border: none;
  padding: 36px 40px;
  border-radius: 2px;
}
.card-gold .body, .card-gold .body-lg, .card-gold .h3 { color: #18130a; }

/* ---------- Dotted backgrounds / textures ---------- */
.dotgrid {
  background-image: radial-gradient(rgba(242,238,228,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
}
.dotgrid-warm {
  background-image: radial-gradient(rgba(229,185,53,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Cross marks at corners — tech blueprint feel */
.crossmark { position: absolute; color: var(--ink-dim); font-family: var(--f-mono); font-weight: 400; font-size: 14px; line-height: 1; pointer-events: none; }
.crossmark::before { content: "+"; }

/* ---------- Tables ---------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-zh);
  font-size: 20px;
}
.spec th, .spec td {
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec th {
  width: 220px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 22px;
}
.spec td {
  color: var(--ink);
  font-weight: 500;
}
.spec td .sub {
  display: block;
  font-size: 16px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-top: 4px;
}

/* ---------- Big stat ---------- */
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 200px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-num .plus, .stat-num .unit {
  color: var(--gold);
  font-weight: 800;
}

/* ---------- Numbered list ---------- */
.numlist { list-style: none; }
.numlist li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.numlist .n {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--gold);
  width: 48px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

/* ---------- Pill badge ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.pill-gold {
  background: var(--gold);
  color: #18130a;
  border-color: var(--gold);
}
.pill-green {
  background: rgba(110,140,84,0.18);
  color: var(--gold-soft);
  border-color: rgba(229,185,53,0.4);
}

/* ---------- Image utilities ---------- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--line);
}
.divider-strong { background: var(--line-strong); }

.kbd {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* ---------- Print ---------- */
@media print {
  body { background: #000; }
}
