/* ============================================================
   Cypress Tree Condominium Association — demo redesign
   Design concept by FieldSparc · 2026
   Palette: cypress green + warm Florida neutrals
   ============================================================ */

:root {
  /* Light (default) */
  --bg: #faf7f1;
  --bg-alt: #f2ecdf;
  --surface: #ffffff;
  --surface-2: #f7f3ea;
  --ink: #22312a;
  --ink-soft: #52645a;
  --ink-faint: #7d8c83;
  --green-900: #16301f;
  --green-700: #24513a;
  --green-600: #2f6647;
  --green-500: #3f7f58;
  --green-300: #8fbf9f;
  --green-100: #dceadf;
  --sand: #c9973f;
  --sand-soft: #e9d9b8;
  --terra: #c2703e;
  --line: #e3dccc;
  --hero-a: #16301f;
  --hero-b: #2f6647;
  --hero-c: #47795c;
  --shadow: 0 10px 30px -12px rgba(22, 48, 31, .22);
  --shadow-sm: 0 4px 14px -6px rgba(22, 48, 31, .18);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101713;
    --bg-alt: #151f19;
    --surface: #18231d;
    --surface-2: #1e2b23;
    --ink: #e8e6dd;
    --ink-soft: #b3bdb4;
    --ink-faint: #86928a;
    --green-900: #0c1810;
    --green-700: #9ecfae;
    --green-600: #8fc4a0;
    --green-500: #7ab38c;
    --green-300: #4e7a60;
    --green-100: #223429;
    --sand: #dcae5c;
    --sand-soft: #3a3022;
    --terra: #d98d5c;
    --line: #2a382f;
    --hero-a: #0c1810;
    --hero-b: #1c3a28;
    --hero-c: #2a5039;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
    --shadow-sm: 0 4px 14px -6px rgba(0, 0, 0, .45);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .9rem;
}
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-700); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem clamp(1.1rem, 4vw, 2rem);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.06rem; line-height: 1.2;
}
.brand-name small {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
}
.nav-links a:hover { text-decoration: none; color: var(--green-600); background: var(--green-100); }
.nav-links a.active { color: var(--green-600); background: var(--green-100); }
.nav-links a.nav-cta {
  background: var(--green-700); color: #f6f3ea; margin-left: .4rem;
}
.nav-links a.nav-cta:hover { background: var(--green-600); color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-links a.nav-cta { background: var(--green-500); color: #0c1810; }
  :root:not([data-theme="light"]) .nav-links a.nav-cta:hover { background: var(--green-600); color: #0c1810; }
}

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: 10px; padding: .5rem .6rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .8rem clamp(1.1rem, 4vw, 2rem) 1.2rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: var(--radius-sm); }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #f2f1e6;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--hero-c), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, var(--hero-c), transparent 55%),
    linear-gradient(160deg, var(--hero-a), var(--hero-b));
}

/* Photo hero (homepage): image + legibility overlay. The overlay is a
   left-weighted scrim so the hero copy stays readable over the bright sky
   in both light and dark themes. */
.hero.hero-photo {
  background:
    linear-gradient(100deg,
      rgba(13, 28, 18, .93) 0%,
      rgba(16, 38, 25, .82) 38%,
      rgba(16, 38, 25, .45) 68%,
      rgba(13, 28, 18, .28) 100%),
    url("../assets/hero.jpg") center / cover no-repeat;
  background:
    linear-gradient(100deg,
      rgba(13, 28, 18, .93) 0%,
      rgba(16, 38, 25, .82) 38%,
      rgba(16, 38, 25, .45) 68%,
      rgba(13, 28, 18, .28) 100%),
    image-set(url("../assets/hero.webp") type("image/webp"),
              url("../assets/hero.jpg") type("image/jpeg")) center / cover no-repeat;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero.hero-photo {
    background:
      linear-gradient(100deg,
        rgba(8, 18, 12, .95) 0%,
        rgba(10, 24, 16, .86) 38%,
        rgba(10, 24, 16, .55) 68%,
        rgba(8, 18, 12, .40) 100%),
      url("../assets/hero.jpg") center / cover no-repeat;
    background:
      linear-gradient(100deg,
        rgba(8, 18, 12, .95) 0%,
        rgba(10, 24, 16, .86) 38%,
        rgba(10, 24, 16, .55) 68%,
        rgba(8, 18, 12, .40) 100%),
      image-set(url("../assets/hero.webp") type("image/webp"),
                url("../assets/hero.jpg") type("image/jpeg")) center / cover no-repeat;
  }
}
.hero-credit {
  /* sits just above the stats bar, which overlaps the hero's bottom 3rem */
  position: absolute; right: 1.1rem; bottom: 3.5rem; z-index: 3;
  font-size: .68rem; letter-spacing: .04em;
  color: rgba(242, 241, 230, .65);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(4.5rem, 10vw, 7rem); max-width: 44rem; }
.hero h1 { color: #f7f5ea; }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero p { color: rgba(242, 241, 230, .82); font-size: 1.15rem; max-width: 54ch; }
.hero .eyebrow { color: var(--sand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-art {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
}
.hero-art svg { position: absolute; right: -4%; bottom: -6px; height: 92%; width: auto; }
@media (max-width: 760px) { .hero-art svg { opacity: .35; right: -30%; } }

.hero-stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  margin: -3rem auto 0; max-width: var(--max);
}
.hero-stats > div { background: var(--surface); padding: 1.3rem 1.4rem; }
.hero-stats .num {
  display: block;
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  color: var(--green-600); line-height: 1.1;
}
.hero-stats .lbl { display: block; margin-top: .3rem; font-size: .82rem; color: var(--ink-faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; font-family: var(--font-body);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--sand); color: #251b08; }
.btn-primary:hover { background: color-mix(in srgb, var(--sand) 88%, #fff); }
.btn-ghost { border-color: rgba(242, 241, 230, .45); color: #f2f1e6; }
.btn-ghost:hover { background: rgba(242, 241, 230, .12); }
.btn-outline { border-color: var(--green-600); color: var(--green-600); }
.btn-outline:hover { background: var(--green-100); }
.btn-solid { background: var(--green-700); color: #f6f3ea; }
.btn-solid:hover { background: var(--green-600); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-solid { background: var(--green-500); color: #0c1810; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 60ch; margin-bottom: 2.4rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: .9rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: .4rem; }
.card .card-link { font-weight: 700; font-size: .92rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--green-600);
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Notice / announcement ---------- */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 5px solid var(--sand);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.notice strong { display: block; margin-bottom: .2rem; }
.notice p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Info split ---------- */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .15rem;
  border-radius: 50%;
  background: var(--green-100);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233f7f58" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>');
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ---------- Document table ---------- */
.doc-group { margin-bottom: 2.6rem; }
.doc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.doc-list li { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.3rem; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: none; }
.doc-list li:hover { background: var(--surface-2); }
.doc-list .doc-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; }
.doc-list .doc-icon svg { width: 18px; height: 18px; }
.doc-list .doc-name { font-weight: 600; flex: 1; }
.doc-list .doc-meta { font-size: .8rem; color: var(--ink-faint); white-space: nowrap; }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 999px;
  background: var(--sand-soft); color: var(--ink);
}

/* ---------- Board page ---------- */
.person-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.person {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.4rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-sm);
}
.person .avatar {
  width: 74px; height: 74px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-600), var(--green-900));
  color: #f2eede; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
}
.person h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.person .role { color: var(--sand); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.person p { font-size: .88rem; color: var(--ink-soft); margin: .6rem 0 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: .97rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-500) 22%, transparent);
}
.form-note { font-size: .84rem; color: var(--ink-faint); }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Contact / map ---------- */
.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--surface);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.contact-info { display: grid; gap: 1rem; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; }
.contact-line .ci-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; }
.contact-line .ci-icon svg { width: 20px; height: 20px; }
.contact-line strong { display: block; font-size: .95rem; }
.contact-line span { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  color: #f2f1e6; padding: clamp(3rem, 7vw, 4.6rem) 0;
  background:
    radial-gradient(900px 420px at 90% -20%, var(--hero-c), transparent 60%),
    linear-gradient(155deg, var(--hero-a), var(--hero-b));
}
.page-hero h1 { color: #f7f5ea; margin-bottom: .3rem; }
.page-hero p { color: rgba(242, 241, 230, .8); max-width: 60ch; margin: 0; }

/* ---------- Portal (residents) ---------- */
.portal-wrap { display: grid; gap: 2.2rem; grid-template-columns: 1fr 420px; align-items: start; }
@media (max-width: 920px) { .portal-wrap { grid-template-columns: 1fr; } }
.demo-banner {
  background: var(--sand-soft); border: 1px dashed var(--sand);
  border-radius: var(--radius-sm); padding: .7rem 1rem;
  font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900); color: #c9d6cc;
  padding: 3.5rem 0 2rem; margin-top: 0;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #eef0e2; font-size: .95rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #c9d6cc; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.1rem; color: #eef0e2; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2.6rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
  font-size: .8rem; color: #8fa697;
}
.footer-bottom a { color: #a9bfae; font-size: .8rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Emergency / alert banner ---------- */
.alert-banner {
  background: linear-gradient(90deg, #8a2f1d, #b2502c);
  color: #fdf3ea; font-size: .92rem; font-weight: 600;
  position: relative; z-index: 110;
}
.alert-banner .container {
  display: flex; align-items: center; gap: .8rem;
  padding-top: .55rem; padding-bottom: .55rem;
}
.alert-banner a { color: #ffe1b8; text-decoration: underline; text-underline-offset: 3px; }
.alert-banner .ab-icon { flex: none; width: 20px; height: 20px; }
.alert-banner .ab-close {
  margin-left: auto; background: none; border: none; color: #fdf3ea;
  font-size: 1.2rem; line-height: 1; cursor: pointer; padding: .2rem .4rem;
  border-radius: 6px; opacity: .85;
}
.alert-banner .ab-close:hover { opacity: 1; background: rgba(255,255,255,.15); }
.alert-banner.calm { background: linear-gradient(90deg, var(--green-700), var(--green-600)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .alert-banner.calm { background: linear-gradient(90deg, #1c3a28, #2a5039); color: #e8e6dd; }
}

/* ---------- Stub badge (Phase 2 placeholders) ---------- */
.stub-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--terra); background: color-mix(in srgb, var(--terra) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--terra) 35%, transparent);
  padding: .18rem .55rem; border-radius: 999px;
}

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: .8rem; max-width: 800px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.3rem;
  font-weight: 700; font-size: .98rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.4rem;
  color: var(--green-500); transition: transform .25s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem 1.15rem; color: var(--ink-soft); font-size: .95rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Calendar ---------- */
.cal-shell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.cal-head h3 { margin: 0; font-size: 1.15rem; }
.cal-nav-btn {
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink);
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  font-size: 1rem; font-weight: 700;
}
.cal-nav-btn:hover { border-color: var(--green-500); color: var(--green-600); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow {
  padding: .55rem .3rem; text-align: center; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
}
.cal-cell {
  min-height: 84px; padding: .45rem .5rem; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line); font-size: .85rem;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.other { background: var(--surface-2); color: var(--ink-faint); }
.cal-cell .d { font-weight: 700; }
.cal-cell.today .d {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--green-600); color: #fff;
}
.cal-event {
  margin-top: .35rem; font-size: .7rem; font-weight: 700; line-height: 1.25;
  background: var(--green-100); color: var(--green-600);
  border-left: 3px solid var(--green-500);
  border-radius: 6px; padding: .25rem .4rem;
}
.cal-event.gold { background: var(--sand-soft); color: var(--ink); border-left-color: var(--sand); }
@media (max-width: 700px) {
  .cal-cell { min-height: 62px; padding: .3rem .35rem; }
  .cal-event { font-size: .6rem; }
}
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* ---------- Steps (how-to flows) ---------- */
.steps { list-style: none; counter-reset: step; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step); flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-700); color: #f2eede;
  font-family: var(--font-display); font-weight: 600;
}
.steps strong { display: block; }
.steps p { margin: .15rem 0 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.muted { color: var(--ink-faint); }
.overflow-x { overflow-x: auto; }
