/* Self hosted fonts (variable woff2, latin) */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/BricolageGrotesque-600_800-normal.ad33cbc6d232.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/InstrumentSans-400_700-italic.ced10fb0626f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/InstrumentSans-400_700-normal.fa41c43a3d8e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   THE GREEN GUARDIANS OF THE EARTH
   Shared design system. One stylesheet for the whole platform.
   Palette and motifs are drawn from the printed book itself:
   deep pine green, kola gold bands, badge blue, green-cast paper.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour */
  --ink: #10281a;
  --ink-soft: #44584a;
  --pine-950: #0a2717;
  --pine-900: #0e3a22;
  --pine-800: #14532d;
  --pine-700: #175c33;
  --leaf-600: #1e7a3f;
  --leaf-500: #2e9451;
  --mint-100: #e2f0e0;
  --mint-50: #eef5ea;
  --gold-500: #f0a71b;
  --gold-400: #f7be4b;
  --gold-600: #d18e0e;
  --river-600: #1565c0;
  --river-100: #ddebf9;
  --paper: #f4f6ec;
  --paper-2: #e9eedd;
  --white: #ffffff;
  --soil: #7a5a33;
  --line: #dce4ce;
  --line-dark: rgba(255, 255, 255, 0.14);
  --danger: #b3402a;
  --ok: #1e7a3f;

  /* type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  /* rhythm */
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 2px 10px rgba(16, 40, 26, 0.07);
  --shadow-2: 0 14px 40px rgba(16, 40, 26, 0.13);
  --shadow-3: 0 24px 70px rgba(10, 39, 23, 0.32);
  --wrap: 1200px;
  --nav-h: 76px;
}

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--leaf-600); text-decoration: none; }
a:hover { color: var(--pine-700); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
::selection { background: var(--gold-400); color: var(--pine-950); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 92vw); margin: 0 auto; }
.wrap-wide { width: min(1360px, 94vw); margin: 0 auto; }
.center { text-align: center; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-paper2 { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--pine-950); color: #eef4ea; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #c8d8c6; }
.section-pine { background: var(--pine-900); color: #eef4ea; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.section-dark .lead { color: #c8d8c6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--leaf-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section-dark .eyebrow, .section-pine .eyebrow { color: var(--gold-400); }
.eyebrow-center { justify-content: center; }

.head-block { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head-block.center { margin-left: auto; margin-right: auto; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold-500); color: var(--pine-950); box-shadow: 0 8px 24px rgba(240, 167, 27, 0.35); }
.btn-gold:hover { background: var(--gold-400); color: var(--pine-950); box-shadow: 0 12px 30px rgba(240, 167, 27, 0.45); }
.btn-leaf { background: var(--leaf-600); color: var(--white); box-shadow: 0 8px 24px rgba(30, 122, 63, 0.3); }
.btn-leaf:hover { background: var(--pine-700); color: var(--white); }
.btn-ghost { border-color: var(--pine-700); color: var(--pine-800); background: transparent; }
.btn-ghost:hover { background: var(--pine-700); color: var(--white); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.link-arrow::after { content: "→"; transition: transform 0.18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 4. Gold band divider ---------- */
.band {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  padding: 10px 0; background: var(--gold-500);
}
.band::before, .band::after { content: ""; flex: 1; height: 2px; background: rgba(10, 39, 23, 0.22); }
.band .band-label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine-950);
  display: inline-flex; align-items: center; gap: 12px;
}
.band svg { width: 18px; height: 18px; }

/* ---------- 5. Chips, pills, badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint-100); color: var(--pine-800);
  border-radius: 999px; padding: 7px 16px; font-size: 0.86rem; font-weight: 600;
}
.chip-gold { background: rgba(240, 167, 27, 0.16); color: var(--gold-600); }
.chip-blue { background: var(--river-100); color: var(--river-600); }
.chip-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink-soft); }
.section-dark .chip { background: rgba(255, 255, 255, 0.1); color: #eef4ea; }
.section-dark .chip-gold { background: rgba(240, 167, 27, 0.18); color: var(--gold-400); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 4px 12px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
}
.pill-ok { background: #e0f2e2; color: var(--ok); }
.pill-warn { background: #fdeeca; color: #9c6d06; }
.pill-info { background: var(--river-100); color: var(--river-600); }
.pill-danger { background: #f9e3dc; color: var(--danger); }
.pill-mute { background: var(--paper-2); color: var(--ink-soft); }

.leaf-dot { width: 8px; height: 8px; border-radius: 50% 0 50% 50%; background: var(--leaf-500); display: inline-block; }
.section-dark .leaf-dot { background: var(--gold-400); }

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(244, 246, 236, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-1); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; object-fit: cover; background: #fff; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--pine-900); line-height: 1.05; letter-spacing: -0.01em; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-600); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: 0.97rem;
}
.nav-links a:hover { background: var(--mint-100); color: var(--pine-800); }
.nav-links a[aria-current="page"] { background: var(--pine-800); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--pine-800); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--pine-900); transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { left: 0; right: 0; top: -8px; }
.nav-toggle span::after { left: 0; right: 0; top: 8px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* dropdown */
.nav-item { position: relative; }
.nav-item > a::after { content: "▾"; font-size: 0.7em; margin-left: 6px; opacity: 0.7; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.22s ease; list-style: none; margin: 0;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 11px 14px; border-radius: 10px; }
.dropdown .dd-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 14px 4px; }
.dropdown .dd-note { display: block; font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 85;
  background: var(--paper); padding: 28px 6vw 40px; overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%); transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.drawer.open { transform: translateX(0); }
.drawer ul { list-style: none; margin: 0 0 22px; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid var(--line); }
.drawer a { display: block; padding: 15px 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--pine-900); }
.drawer .drawer-sub { font-family: var(--font-body); font-size: 1rem; font-weight: 500; padding: 10px 4px; }
.drawer .drawer-group { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding: 16px 4px 6px; border-bottom: none; }
.drawer .drawer-sub a { font-family: var(--font-body); font-size: 1rem; padding: 8px 4px; color: var(--ink-soft); }
.drawer .btn { margin-top: 10px; }
.drawer-cta { display: grid; gap: 12px; }

/* ---------- 7. Hero (dark, home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 700px at 78% 18%, #11462a 0%, var(--pine-950) 58%);
  color: #eef4ea;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); }
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero h1 .accent { color: var(--gold-400); }
.hero p { color: #c8d8c6; font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 0.88rem; color: #a9c2a5; }
.hero-trust .leaf-dot { flex: 0 0 8px; }
.hero-canvas { position: absolute; inset: 0; z-index: 1; opacity: 0.9; }
.hero-visual { position: relative; min-height: 480px; }
.globe-holder { position: absolute; inset: 0; display: grid; place-items: center; }
.globe-holder canvas { width: min(100%, 560px); height: auto; aspect-ratio: 1; }
.hero-note {
  position: absolute; z-index: 4; left: 0; top: 0;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark);
  backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 16px;
  font-size: 0.82rem; color: #dce9d8; max-width: 210px; line-height: 1.45;
}
.hero-note b { color: var(--gold-400); }

/* light page-hero for inner marketing pages */
.page-hero { background: var(--pine-950); color: #eef4ea; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  border-radius: 50%; border: 60px solid rgba(240, 167, 27, 0.09); pointer-events: none;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero p { color: #c8d8c6; max-width: 60ch; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .crumb { font-size: 0.86rem; color: #9fba9a; margin-bottom: 18px; }
.page-hero .crumb a { color: #c8d8c6; }
.page-hero-pine { background: radial-gradient(900px 500px at 15% 0%, #14532d 0%, var(--pine-950) 65%); }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-dark { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); box-shadow: none; }
.card-dark:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3); }
.card h3 { margin-bottom: 0.4em; }
.card .card-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mint-100); color: var(--pine-700); margin-bottom: 18px;
}
.card .card-icon svg { width: 26px; height: 26px; }
.card-icon-gold { background: rgba(240, 167, 27, 0.15); color: var(--gold-600); }
.card-icon-blue { background: var(--river-100); color: var(--river-600); }
.section-dark .card-dark .card-icon { background: rgba(240, 167, 27, 0.14); color: var(--gold-400); }

.card-link { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 7px; }
.card-link::after { content: "→"; transition: transform 0.18s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* icon number step */
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pine-800); color: var(--gold-400); margin-bottom: 16px;
}
.section-dark .step-num { background: var(--gold-500); color: var(--pine-950); }

/* ---------- 9. Grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-sidebar { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- 10. Arch image frame (canopy motif) ---------- */
.arch { position: relative; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.arch::after { content: ""; position: absolute; inset: 12px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 999px 999px 18px 18px; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-gold::before { content: ""; position: absolute; inset: -10px -10px auto -10px; height: 60%; border-radius: 999px 999px 0 0; border: 2px solid var(--gold-500); pointer-events: none; z-index: -1; }
.arch-caption { margin-top: 14px; font-size: 0.86rem; color: var(--ink-soft); text-align: center; }

/* ---------- 11. Stats / counters ---------- */
.stat { text-align: left; }
.stat .stat-num {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--pine-800); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .stat-num .unit { font-size: 0.5em; color: var(--gold-600); font-weight: 700; }
.stat .stat-label { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; font-weight: 500; }
.section-dark .stat .stat-num { color: var(--white); }
.section-dark .stat .stat-num .unit { color: var(--gold-400); }
.section-dark .stat .stat-label { color: #c8d8c6; }
.stat.center { text-align: center; }

/* ---------- 12. Marquee ---------- */
.marquee { overflow: hidden; background: var(--pine-950); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-400); display: inline-flex; align-items: center; gap: 48px;
}
.marquee-item::after { content: ""; width: 9px; height: 9px; border-radius: 50% 0 50% 50%; background: var(--leaf-500); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 13. Quotes / endorsements ---------- */
.quote-card { position: relative; padding-top: 56px; }
.quote-card .quote-mark {
  position: absolute; top: 18px; left: 28px; font-family: var(--font-display); font-weight: 800;
  font-size: 4rem; line-height: 1; color: var(--gold-500); opacity: 0.9;
}
.quote-card blockquote { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.quote-who { display: flex; align-items: center; gap: 14px; }
.quote-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-who .quote-name { font-weight: 700; font-size: 0.95rem; }
.quote-who .quote-role { font-size: 0.82rem; color: var(--ink-soft); }
/* ---------- 14. Pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--gold-500); box-shadow: var(--shadow-2); }
.price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold-500); color: var(--pine-950); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 2px; }
.price-for { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 16px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--pine-800); line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount .currency { font-size: 0.55em; color: var(--gold-600); vertical-align: 0.45em; margin-right: 2px; }
.price-per { font-size: 0.84rem; color: var(--ink-soft); margin: 6px 0 18px; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.price-list li::before { content: "✓"; color: var(--leaf-600); font-weight: 700; flex: 0 0 auto; }
.price-list li.dim { opacity: 0.45; }
.price-list li.dim::before { content: "×"; color: var(--ink-soft); }

.compare { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; }
.compare thead th { font-family: var(--font-display); font-size: 0.95rem; color: var(--pine-800); background: var(--mint-50); }
.compare .tick { color: var(--leaf-600); font-weight: 700; }
.compare .dash { color: var(--ink-soft); opacity: 0.4; }

/* ---------- 15. FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--gold-600); transition: transform 0.2s ease; line-height: 1; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-soft); max-width: 75ch; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }

/* ---------- 16. Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); }
.input, .select, .textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; width: 100%; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--leaf-600); box-shadow: 0 0 0 4px rgba(30, 122, 63, 0.12); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23175c33' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf-600); flex: 0 0 auto; }
.check a { text-decoration: underline; }
.form-dark .input, .form-dark .select, .form-dark .textarea { background: rgba(255, 255, 255, 0.07); border-color: var(--line-dark); color: var(--white); }
.form-dark .input::placeholder, .form-dark .textarea::placeholder { color: #93ab90; }
.form-dark label { color: #eef4ea; }
.form-dark .hint, .form-dark .check { color: #a9c2a5; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.form-success { display: none; background: var(--mint-100); border: 1.5px solid var(--leaf-600); color: var(--pine-800); border-radius: var(--radius); padding: 18px 22px; font-weight: 500; }
.form-success.show { display: block; animation: rise 0.4s ease both; }

/* newsletter strip */
.newsletter { display: flex; gap: 12px; }
.newsletter .input { flex: 1; }

/* buy page quantity stepper */
.qty-stepper { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; width: max-content; background: var(--white); }
.qty-stepper button { width: 48px; border: none; background: var(--mint-50); color: var(--pine-800); font-size: 1.35rem; font-weight: 700; cursor: pointer; line-height: 1; }
.qty-stepper button:hover { background: var(--mint-100); }
.qty-stepper .input { width: 68px; text-align: center; border: none; border-radius: 0; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); padding: 12px 6px; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper .input::-webkit-outer-spin-button, .qty-stepper .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 2px; border-top: 1.5px dashed var(--line); border-bottom: 1.5px dashed var(--line); margin: 18px 0; }
.buy-summary span { font-weight: 600; color: var(--ink-soft); }
.buy-summary strong { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--pine-800); font-variant-numeric: tabular-nums; }

/* ---------- 17. Gallery / look inside ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; background: var(--white); box-shadow: var(--shadow-1); transition: transform 0.2s ease, box-shadow 0.2s ease; padding: 0; }
.gallery-item:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4.15; }
.gallery-item figcaption { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); padding: 10px 14px; text-align: left; }

dialog.lightbox { border: none; border-radius: var(--radius-lg); padding: 12px; max-width: min(92vw, 560px); background: var(--white); }
dialog.lightbox::backdrop { background: rgba(10, 39, 23, 0.75); backdrop-filter: blur(4px); }
dialog.lightbox img { border-radius: 12px; max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox-cap { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px 2px; font-size: 0.88rem; font-weight: 600; }
.lightbox-close { background: var(--pine-800); color: var(--white); border: none; border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; }

/* ---------- 18. Auth layout ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.auth-side { background: radial-gradient(900px 600px at 20% 15%, #14532d 0%, var(--pine-950) 70%); color: #eef4ea; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; left: -120px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(240, 167, 27, 0.08); }
.auth-side blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; line-height: 1.35; max-width: 24ch; position: relative; z-index: 2; }
.auth-side blockquote span { color: var(--gold-400); }
.auth-side .auth-side-note { font-size: 0.9rem; color: #a9c2a5; position: relative; z-index: 2; }
.auth-main { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); background: var(--paper); }
.auth-card { width: min(460px, 100%); }
.auth-card h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.auth-sub { color: var(--ink-soft); margin-bottom: 28px; }
.auth-alt { text-align: center; font-size: 0.92rem; color: var(--ink-soft); margin-top: 22px; }
.auth-back { margin-bottom: 26px; font-size: 0.9rem; }
.auth-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-pick { position: relative; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick label { display: grid; gap: 2px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-weight: 600; color: var(--pine-800); transition: all 0.15s ease; background: var(--white); }
.role-pick label small { font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }
.role-pick input:checked + label { border-color: var(--leaf-600); background: var(--mint-50); box-shadow: 0 0 0 3px rgba(30, 122, 63, 0.12); }
.role-pick input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 2px; }
/* A lone last card in the two-column role grid spans the full row (e.g. the third role on the challenge form). */
.auth-roles .role-pick:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- 19. App shared (portal, ambassador, admin shells) ---------- */
.app-topbar { position: sticky; top: 0; z-index: 60; background: rgba(244, 246, 236, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.app-topbar-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.app-topbar .app-user { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pine-800); color: var(--gold-400); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.app-user .app-user-name { font-weight: 600; font-size: 0.92rem; line-height: 1.2; }
.app-user .app-user-name small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.76rem; }
.app-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.app-links a { display: block; padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: 0.93rem; color: var(--ink); }
.app-links a:hover { background: var(--mint-100); }
.app-links a[aria-current="page"] { background: var(--pine-800); color: var(--white); }
.app-main { padding: clamp(24px, 4vw, 44px) 0 80px; }

.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-1); }
.widget h3 { font-size: 1.1rem; margin-bottom: 4px; }
.widget .widget-sub { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 18px; }
.widget-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.widget-head h3 { margin: 0; }

.kpi { display: grid; gap: 4px; }
.kpi .kpi-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--pine-800); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .kpi-label { font-size: 0.86rem; color: var(--ink-soft); font-weight: 500; }
.kpi .kpi-delta { font-size: 0.78rem; font-weight: 700; }
.kpi .up { color: var(--ok); }
.kpi .down { color: var(--danger); }

/* progress ring */
.ring-wrap { position: relative; width: 168px; height: 168px; margin: 0 auto; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--paper-2); stroke-width: 13; }
.ring-val { fill: none; stroke: var(--gold-500); stroke-width: 13; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(0.22, 0.8, 0.3, 1); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--pine-800); line-height: 1; }
.ring-label small { font-size: 0.78rem; color: var(--ink-soft); }

/* challenge day cards */
.day-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day-card { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 16px 14px 14px; cursor: pointer; text-align: left; font-family: var(--font-body); transition: all 0.18s ease; display: grid; gap: 6px; align-content: start; min-height: 148px; }
.day-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--leaf-600); }
.day-card .day-no { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--gold-600); text-transform: uppercase; }
.day-card .day-title { font-weight: 700; font-size: 0.94rem; line-height: 1.3; color: var(--ink); }
.day-card .day-state { font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); margin-top: auto; }
.day-card.done { background: var(--mint-50); border-color: var(--leaf-600); }
.day-card.done .day-state { color: var(--ok); }
.day-card.locked { opacity: 0.55; cursor: not-allowed; background: var(--paper-2); }
.day-card.active { border: 2px solid var(--gold-500); box-shadow: 0 8px 22px rgba(240, 167, 27, 0.25); }
.day-card .day-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf-600); color: var(--white); font-size: 0.7rem; display: grid; place-items: center; }

dialog.day-modal { border: none; border-radius: var(--radius-lg); padding: 0; width: min(94vw, 640px); }
dialog.day-modal::backdrop { background: rgba(10, 39, 23, 0.7); backdrop-filter: blur(3px); }
.day-modal-body { padding: clamp(24px, 4vw, 40px); }
.day-modal .day-hero { height: 8px; background: linear-gradient(90deg, var(--leaf-600), var(--gold-500)); border-radius: 999px 999px 0 0; margin: 0; }
.day-modal h3 { font-size: 1.5rem; }
.day-modal .day-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.day-modal ul { padding-left: 1.2em; }
.day-modal .modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 26px; flex-wrap: wrap; }
dialog.dialog-close-x { position: absolute; top: 14px; right: 14px; }

/* list rows (portal widgets, referrals) */
.row-list { list-style: none; margin: 0; padding: 0; }
.row-list li { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.row-list li:last-child { border-bottom: none; }
.row-list .row-grow { flex: 1; min-width: 0; }
.row-list .row-title { font-weight: 600; display: block; }
.row-list .row-sub { font-size: 0.8rem; color: var(--ink-soft); display: block; }
.row-list .row-end { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* referral code box */
.code-box { display: flex; gap: 10px; align-items: center; background: var(--pine-950); color: var(--gold-400); border-radius: 14px; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; font-size: 1.05rem; }
.code-box .code-link { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; color: #dce9d8; font-size: 0.88rem; }
.copy-btn { background: var(--gold-500); color: var(--pine-950); border: none; border-radius: 9px; padding: 8px 14px; font-weight: 700; font-size: 0.8rem; cursor: pointer; }
.copy-btn:hover { background: var(--gold-400); }

/* tiers */
.tier-bar { height: 12px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.tier-bar .tier-fill { height: 100%; background: linear-gradient(90deg, var(--leaf-600), var(--gold-500)); border-radius: 999px; }

/* ---------- 20. Certificate ---------- */
.certificate-page { background: var(--paper-2); }
.cert-sheet { background: var(--white); border-radius: 8px; box-shadow: var(--shadow-2); padding: clamp(28px, 5vw, 64px); position: relative; border: 10px solid var(--white); outline: 2px solid var(--gold-500); outline-offset: -18px; max-width: 900px; margin: 0 auto; text-align: center; }
.cert-eyebrow { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--soil); font-weight: 600; margin-bottom: 18px; }
.cert-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--pine-800); margin-bottom: 8px; }
.cert-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--pine-950); border-bottom: 3px solid var(--gold-500); display: inline-block; padding: 0 30px 8px; margin: 18px 0 10px; }
.cert-body { max-width: 56ch; margin: 0 auto 26px; color: var(--ink-soft); }
.cert-seal { width: 96px; height: 96px; margin: 0 auto 10px; }
.cert-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; font-size: 0.82rem; color: var(--ink-soft); }
.cert-foot b { display: block; font-family: var(--font-display); color: var(--pine-800); font-size: 0.95rem; border-top: 2px solid var(--pine-800); padding-top: 6px; margin-top: 24px; }
.cert-serial { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }

/* ---------- 21. Tables (admin, orders, contacts) ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-1); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 720px; }
.data-table th { text-align: left; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; padding: 14px 18px; border-bottom: 1.5px solid var(--line); background: var(--mint-50); white-space: nowrap; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.12s ease; }
.data-table tbody tr:hover { background: var(--mint-50); }
.data-table .t-strong { font-weight: 600; }
.data-table .t-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .t-actions { text-align: right; white-space: nowrap; }
.table-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.table-toolbar .input { max-width: 300px; }
.table-toolbar .select { max-width: 210px; }
.table-toolbar .count { margin-left: auto; font-size: 0.86rem; color: var(--ink-soft); }
.data-table.table-compact { min-width: 0; }
.data-table.table-compact td, .data-table.table-compact th { padding: 12px 12px; }
.feed .feed-text { flex: 1; min-width: 0; }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1.5px solid var(--line); margin-bottom: 24px; }
.tab { background: none; border: none; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); padding: 12px 18px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.tab:hover { color: var(--pine-800); }
.tab[aria-selected="true"] { color: var(--pine-800); border-bottom-color: var(--gold-500); }
.tab .tab-count { background: var(--paper-2); border-radius: 999px; font-size: 0.74rem; padding: 2px 9px; margin-left: 6px; }

/* ---------- 22. Admin shell ---------- */
.admin-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: var(--paper); }
.admin-side { background: var(--pine-950); color: #c8d8c6; padding: 22px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; }
.admin-side .brand-name { color: var(--white); }
.admin-side .brand-sub { color: var(--gold-400); }
.admin-nav { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #c8d8c6; font-weight: 500; font-size: 0.93rem; }
.admin-nav a svg { width: 19px; height: 19px; opacity: 0.75; }
.admin-nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.admin-nav a[aria-current="page"] { background: var(--gold-500); color: var(--pine-950); font-weight: 700; }
.admin-nav a[aria-current="page"] svg { opacity: 1; }
.admin-nav .admin-nav-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #7fa07c; padding: 18px 14px 6px; }
.admin-content { padding: 26px clamp(18px, 3vw, 40px) 70px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }
.admin-topbar .admin-search { flex: 1 1 220px; min-width: 0; max-width: 380px; }
.admin-topbar .admin-search .input { width: 100%; }
.admin-topbar .admin-search .input { padding: 10px 16px; font-size: 0.92rem; }
.admin-burger { display: none; }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 16px; overflow-x: auto; align-items: start; }
.kanban-col { background: var(--paper-2); border-radius: var(--radius); padding: 14px; min-height: 220px; }
.kanban-col-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); padding: 4px 6px 12px; }
.kanban-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow-1); cursor: pointer; transition: transform 0.15s ease; }
.kanban-card:hover { transform: translateY(-2px); }
.kanban-card .k-school { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.kanban-card .k-meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 10px; }
.kanban-card .k-foot { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--ink-soft); }

/* checkout stepper */
.checkout-steps { display: flex; align-items: center; margin-bottom: 30px; }
.checkout-dot { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.checkout-dot .step-num { width: 34px; height: 34px; font-size: 0.85rem; margin: 0; }
.checkout-dot b { font-weight: 700; font-size: 0.86rem; white-space: nowrap; }
.checkout-dot-line { flex: 1; height: 2px; background: var(--line); margin: 0 10px; }
.checkout-dot.active .step-num { background: var(--pine-800); color: var(--gold-400); }
.checkout-dot.done .step-num { background: var(--gold-500); color: var(--pine-950); }
.checkout-dot:not(.active):not(.done) .step-num { background: var(--paper-2); color: var(--ink-soft); }

/* sequences (admin emails) */
.seq { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow-1); }
.seq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.seq-head h3 { margin: 0; font-size: 1.08rem; }
.seq-stats { display: flex; gap: 26px; margin: 14px 0 16px; flex-wrap: wrap; }
.seq-stats div b { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--pine-800); font-variant-numeric: tabular-nums; }
.seq-stats div span { font-size: 0.76rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.seq-steps { list-style: none; margin: 0; padding: 0 0 0 6px; }
.seq-steps li { position: relative; padding: 8px 0 8px 26px; font-size: 0.9rem; border-left: 2px solid var(--paper-2); margin-left: 8px; }
.seq-steps li::before { content: ""; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); border: 2.5px solid var(--white); }
.seq-steps li:first-child { border-left-color: transparent; }
.seq-steps li b { font-weight: 600; }
.seq-steps li .seq-when { color: var(--ink-soft); font-size: 0.8rem; margin-left: 8px; }

/* charts */
.chart-box { width: 100%; }
.chart-box canvas { width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 0.82rem; color: var(--ink-soft); }
.chart-legend .swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }

/* activity feed */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.feed li:last-child { border-bottom: none; }
.feed .feed-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50% 0 50% 50%; background: var(--leaf-500); margin-top: 6px; }
.feed .feed-time { margin-left: auto; color: var(--ink-soft); font-size: 0.78rem; white-space: nowrap; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--pine-950); color: var(--white); border: 1px solid var(--line-dark); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 200; box-shadow: var(--shadow-3); max-width: min(92vw, 560px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-success { background: #0e3a22; border-color: #2e9451; }
.toast-error { background: #5c1f12; border-color: #e07a5f; }
.toast-info { background: var(--pine-950); border-color: var(--gold-500); }
.qty-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qty-presets .btn[aria-pressed="true"] { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* ---------- 23. Footer ---------- */
.site-footer { background: var(--pine-950); color: #c8d8c6; }
.footer-band { display: flex; justify-content: center; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 72px) 0 44px; }
.site-footer h4 { color: var(--white); font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c8d8c6; font-size: 0.94rem; }
.site-footer a:hover { color: var(--gold-400); }
.footer-brand p { font-size: 0.94rem; max-width: 34ch; margin-top: 16px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.94rem; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--gold-400); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 0.84rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-newsletter { margin-top: 20px; }
.footer-newsletter .input { background: rgba(255, 255, 255, 0.08); border-color: var(--line-dark); color: var(--white); }
.footer-newsletter .input::placeholder { color: #93ab90; }

/* ---------- 24. Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 0.8, 0.3, 1), transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal].revealed { transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.anim-rise { animation: rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.floaty { animation: floaty 5.5s ease-in-out infinite; }
.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; transition-delay: 0.5s; }

/* ---------- 25. Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; } .mb-4 { margin-bottom: 44px; }
.hide { display: none !important; }
.t-small { font-size: 0.86rem; color: var(--ink-soft); }
.t-tiny { font-size: 0.76rem; color: var(--ink-soft); }
.nowrap { white-space: nowrap; }
.stack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stack-list li { display: flex; gap: 12px; align-items: flex-start; }
.stack-list .tick { color: var(--leaf-600); font-weight: 700; flex: 0 0 auto; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .price-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 120; width: 270px; left: 0; top: 0; transform: translateX(-105%); transition: transform 0.3s ease; height: 100dvh; }
  .admin-side.open { transform: none; box-shadow: var(--shadow-3); }
  .admin-burger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { min-height: 420px; }
  .hero-note { display: none; }
  .split, .split-img { grid-template-columns: 1fr; }
  .split-img .split-media { order: -1; }
  .g-sidebar { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { min-height: 320px; }
  .auth-side blockquote { font-size: 1.2rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .g3, .g4 { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-dot b { display: none; }
  .checkout-dot { padding: 8px 4px; }
  .checkout-dot-line { margin: 0 6px; }
  .feed li { flex-wrap: wrap; }
  .feed .feed-time { margin-left: 0; flex-basis: 100%; padding-left: 24px; }
  .data-table.table-compact th:nth-child(3), .data-table.table-compact td:nth-child(3) { display: none; }
  .data-table.table-compact th, .data-table.table-compact td { padding: 10px 8px; }
  .kanban { grid-template-columns: repeat(4, minmax(240px, 240px)); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .cert-foot { flex-direction: column; gap: 4px; }
  .cert-foot b { margin-top: 14px; }
  .seq-stats { gap: 18px; }
  .app-links { display: none; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .auth-roles { grid-template-columns: 1fr; }
}

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .floaty { animation: none; }
}

/* ---------- 28. Print (certificate) ---------- */
@media print {
  body.certificate-page { background: var(--white); }
  .site-header, .site-footer, .no-print, .app-topbar { display: none !important; }
  .cert-sheet { box-shadow: none; outline-color: var(--gold-500); }
  .section { padding: 0; }
}

/* ---------- 29. Team console pagination ---------- */
/* Controls rendered by siteadmin/includes/pagination.html. Styled with
   flex-wrap so the row stays usable on a narrow screen. */
.pager-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pager { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pager-status { font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pager .btn.is-disabled {
  opacity: 0.45; pointer-events: none; cursor: not-allowed;
}