/* Chikwo marketing site — light editorial system.
   Tokens are the approved Light Mode values from BRAND-GUIDELINES.html. */

:root {
  /* Brand base */
  --palm-frond: #1F4D3D;
  --frond-mid: #2E6B54;
  --palm-oil: #D98C15;
  --terracotta: #B5502C;
  --trunk-bark: #3D2B1F;
  --palm-cream: #F5EFE0;

  /* Surfaces */
  --bg: #FAF8F3;
  --bg-sunk: #F1ECE0;
  --surface: #FFFFFF;
  --surface-tint: #FFFDF8;
  --ink: #14231D;
  --ink-soft: #1F3229;

  /* Text */
  --text: #3D2B1F;
  --text-2: #7A6A58;
  --text-3: #9B8E7D;
  --text-on-ink: #F5EFE0;
  --text-on-ink-2: #C3BBA9;

  /* Lines */
  --border: #E4DBC8;
  --border-strong: #D2C6AC;
  --ring: rgba(31, 77, 61, 0.28);

  /* Semantic */
  --success: #2E6B54;
  --danger: #B5502C;
  --gold-deep: #A6680C;

  /* Product identity: green stays primary brand, gold is the accent. */
  --retail: var(--palm-oil);
  --retail-deep: var(--gold-deep);
  --retail-wash: #FDF3E2;
  --edu: var(--palm-frond);
  --edu-deep: var(--frond-mid);
  --edu-wash: #EAF2ED;
  --justice: var(--terracotta);
  --justice-wash: #FBEDE6;

  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --maxw: 1160px;
  --maxw-read: 720px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(61, 43, 31, 0.06), 0 2px 8px rgba(61, 43, 31, 0.05);
  --shadow-md: 0 12px 30px rgba(61, 43, 31, 0.09);
  --shadow-lg: 0 26px 60px rgba(61, 43, 31, 0.14);
  --ease: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--palm-frond);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.012em; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--palm-frond); text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

img, svg { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--palm-oil);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0.5rem; z-index: 100;
  background: var(--palm-frond); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 8px 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-read { max-width: var(--maxw-read); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--sunk { background: var(--bg-sunk); border-block: 1px solid var(--border); }
.section--ink { background: var(--ink); color: var(--text-on-ink); }
.section--ink h2, .section--ink h3 { color: var(--text-on-ink); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section > .wrap > .section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--on-ink { color: var(--palm-oil); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 46rem; }
.section-head .lede { margin-top: 1rem; }
.muted { color: var(--text-2); }
.small { font-size: 0.875rem; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.text-on-ink .lede, .section--ink .lede { color: var(--text-on-ink-2); }

/* ---------- icons ---------- */
.icon { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.icon--tile {
  width: 2.5rem; height: 2.5rem; padding: 0.7rem;
  border-radius: 11px; background: var(--edu-wash); color: var(--palm-frond);
  stroke-width: 1.6;
}
.icon--tile.is-retail { background: var(--retail-wash); color: var(--gold-deep); }
.icon--tile.is-justice { background: var(--justice-wash); color: var(--justice); }
.icon--tile.is-ink { background: rgba(245, 239, 224, 0.09); color: var(--palm-oil); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.8rem 1.3rem; border-radius: 10px;
  border: 1px solid transparent; background: none;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary { background: var(--palm-frond); color: #fff; }
.btn--primary:hover { background: var(--frond-mid); color: #fff; box-shadow: 0 8px 20px rgba(31, 77, 61, 0.24); }
.btn--gold { background: var(--palm-oil); color: #3A2600; }
.btn--gold:hover { background: #E9A22E; color: #3A2600; box-shadow: 0 8px 20px rgba(217, 140, 21, 0.3); }
.btn--outline { border-color: var(--border-strong); color: var(--palm-frond); background: var(--surface); }
.btn--outline:hover { border-color: var(--palm-frond); color: var(--palm-frond); }
.btn--quiet { color: var(--text-2); }
.btn--quiet:hover { color: var(--palm-frond); background: var(--edu-wash); }
.btn--on-ink { border-color: rgba(245, 239, 224, 0.32); color: var(--text-on-ink); }
.btn--on-ink:hover { background: rgba(245, 239, 224, 0.1); color: #fff; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.03rem; border-radius: 12px; }
.btn--sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; border-radius: 8px; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 243, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--palm-frond); }
.brand:hover { color: var(--palm-frond); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand span { font-size: 0.7rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav a {
  font-weight: 500; font-size: 0.94rem; color: var(--text-2);
  padding: 0.5rem 0.8rem; border-radius: 8px; text-decoration: none;
  transition: color var(--ease), background var(--ease);
}
.nav a:hover { color: var(--palm-frond); background: var(--edu-wash); }
.nav a[aria-current="page"] { color: var(--palm-frond); font-weight: 600; background: var(--edu-wash); }
.nav--header .nav-cta { margin-left: 0.6rem; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav {
    order: 3; flex: 1 0 100%;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    padding-bottom: 0.9rem;
  }
  .nav a { padding: 0.7rem 0.6rem; font-size: 1rem; border-radius: 8px; }
  .nav--header .nav-cta { margin: 0.5rem 0 0; justify-content: center; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin-left: auto; width: 42px; height: 42px;
    border: 1px solid var(--border-strong); border-radius: 10px;
    background: var(--surface); color: var(--palm-frond); cursor: pointer;
  }
  /* Without JS the menu must still be reachable, so it stays open by default. */
  html[data-js] .nav { display: none; }
  html[data-js] .nav.is-open { display: flex; }
  .brand span { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { max-width: 20ch; margin-bottom: 1.2rem; }
.hero .lede { font-size: clamp(1.08rem, 1.9vw, 1.28rem); margin-bottom: 2rem; }
.hero--center { text-align: center; }
.hero--center h1, .hero--center .lede { margin-inline: auto; }
.hero--center .btn-row, .hero--center .hero-meta { justify-content: center; }
.hero--split .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero--split .wrap { grid-template-columns: 1fr; } }

.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.9rem; align-items: center; }
.hero-meta li { list-style: none; display: flex; align-items: center; gap: 0.45rem; font-size: 0.875rem; color: var(--text-2); }
.hero-meta ul { margin: 0; padding: 0; display: contents; }

.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--edu-wash); color: var(--palm-frond);
  border: 1px solid rgba(31, 77, 61, 0.14);
}
.chip--gold { background: var(--retail-wash); color: var(--gold-deep); border-color: rgba(217, 140, 21, 0.22); }
.chip--plain { background: var(--surface); color: var(--text-2); border-color: var(--border); }
.chip--on-ink { background: rgba(245, 239, 224, 0.1); color: var(--text-on-ink); border-color: rgba(245, 239, 224, 0.2); }

/* ---------- grids + cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.3rem, 2.6vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card--flush { padding: 0; overflow: hidden; }
.card--tint { background: var(--surface-tint); }

.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.3rem, 2.6vw, 1.8rem);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature h3 { margin: 1rem 0 0.5rem; font-size: 1.08rem; }
.feature p { color: var(--text-2); font-size: 0.94rem; margin: 0; }
.feature .index { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--gold-deep); letter-spacing: 0.1em; }

/* product cards on home / hub */
.product-card { gap: 0; position: relative; }
.product-card > h2 { font-size: 1.5rem; margin: 0.2rem 0 0.1rem; }
.product-card .tagline { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); margin: 0 0 0.6rem; }
.product-card .desc { color: var(--text-2); font-size: 0.94rem; flex: 1 1 auto; }
.product-card .card-foot { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.product-card.is-retail { border-top: 3px solid var(--palm-oil); }
.product-card.is-edu { border-top: 3px solid var(--palm-frond); }
.product-card.is-justice { border-top: 3px solid var(--terracotta); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.count-pill { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--text-3); }
.count-pill b { color: var(--gold-deep); font-weight: 700; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--palm-oil); letter-spacing: -0.03em; margin-bottom: 0.5rem;
}
.steps li h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.steps li p { font-size: 0.92rem; color: var(--text-2); margin: 0; }
@media (max-width: 860px) { .steps, .steps--4 { grid-template-columns: 1fr; } }

/* ---------- comparison / tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 0.92rem; }
table.compare th, table.compare td { padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.compare thead th { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--bg-sunk); }
table.compare thead th.is-us { color: var(--palm-frond); }
table.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
table.compare td { color: var(--text-2); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
table.compare .col-us { background: rgba(217, 140, 21, 0.055); color: var(--text); font-weight: 500; }
.tick { display: inline-flex; align-items: flex-start; gap: 0.45rem; }
.tick .icon { width: 1.05em; height: 1.05em; margin-top: 0.15rem; }
.tick--yes .icon { color: var(--success); }
.tick--no .icon { color: var(--terracotta); }
.tick--part .icon { color: var(--text-3); }

/* ---------- pricing ---------- */
.billing-switch { display: inline-flex; gap: 0.3rem; padding: 0.3rem; background: var(--bg-sunk); border: 1px solid var(--border); border-radius: 12px; }
.billing-switch button {
  border: 0; background: none; cursor: pointer; border-radius: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text-2);
  padding: 0.55rem 1rem; transition: background var(--ease), color var(--ease);
}
.billing-switch button[aria-pressed="true"] { background: var(--palm-frond); color: #fff; }
.billing-switch small { display: block; font-size: 0.66rem; font-weight: 500; opacity: 0.8; }

.price-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; }
.price-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1040px) { .price-grid, .price-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .price-grid, .price-grid--3 { grid-template-columns: 1fr; } }

.price-card { position: relative; gap: 0; border-width: 1px; }
.price-card > h3 { font-size: 1.15rem; }
.price-card .who { font-size: 0.875rem; color: var(--text-2); margin: 0.45rem 0 1.2rem; min-height: 3.2em; }
.price-line { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.price-line .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.95rem; letter-spacing: -0.03em; color: var(--ink); min-height: 2.15rem; }
.price-line .per { font-size: 0.82rem; font-weight: 600; color: var(--text-3); }
.price-note { display: block; min-height: 1.3em; font-size: 0.78rem; color: var(--text-2); margin-bottom: 1rem; }
.price-card .btn { margin-bottom: 1.3rem; }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
ul.ticks li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.885rem; color: var(--text-2); }
ul.ticks li strong { color: var(--ink); font-weight: 600; }
ul.ticks .icon { width: 1.05em; height: 1.05em; margin-top: 0.18rem; color: var(--success); flex: none; }
ul.ticks li.is-no .icon { color: var(--text-3); }
.price-card.is-featured { border-color: var(--palm-oil); box-shadow: 0 0 0 1px var(--palm-oil), var(--shadow-md); }
.price-card.is-featured::after {
  content: attr(data-badge); position: absolute; top: -0.8rem; left: 1.4rem;
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--palm-oil); color: #3A2600; padding: 0.3rem 0.6rem; border-radius: 999px;
}
.billing-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-3); }

/* ---------- app mockups ---------- */
.mock { background: var(--ink); border-radius: var(--radius-lg); padding: 0.7rem; box-shadow: var(--shadow-lg); }
.mock-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.5rem 0.75rem; }
.mock-bar .dots { display: flex; gap: 0.3rem; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #4A5C52; }
.mock-bar .dots i:first-child { background: #7A4034; }
.mock-bar .dots i:nth-child(2) { background: #7A6320; }
.mock-bar .dots i:last-child { background: #2E5A46; }
.mock-bar .label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; color: var(--text-on-ink-2); letter-spacing: 0.04em; }
.mock-bar .state { margin-left: auto; font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; color: var(--palm-oil); }
.mock-body { background: #1A2B23; border-radius: 12px; padding: clamp(0.9rem, 2vw, 1.3rem); }
.mock-body h4 { color: var(--text-on-ink); font-size: 0.95rem; margin: 0 0 0.15rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 1rem 0; }
.mock-stat { background: rgba(245, 239, 224, 0.05); border: 1px solid rgba(245, 239, 224, 0.1); border-radius: 10px; padding: 0.7rem; }
.mock-stat span { display: block; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-ink-2); }
.mock-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-on-ink); margin-top: 0.25rem; }
.mock-stat i { display: block; font-style: normal; font-size: 0.66rem; color: #6FAA8C; margin-top: 0.15rem; }
.mock-note { background: rgba(217, 140, 21, 0.1); border: 1px dashed rgba(217, 140, 21, 0.34); border-radius: 10px; padding: 0.75rem 0.85rem; font-size: 0.78rem; color: var(--text-on-ink-2); display: flex; gap: 0.55rem; align-items: flex-start; }
.mock-note b { color: var(--text-on-ink); }
.mock-rows { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.mock-row { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.78rem; color: var(--text-on-ink-2); padding: 0.5rem 0.7rem; background: rgba(245, 239, 224, 0.04); border-radius: 8px; }
.mock-row b { color: var(--text-on-ink); font-weight: 600; }

/* ---------- split feature blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.split h2 { margin-bottom: 1rem; }
.split .stack { display: grid; gap: 1.1rem; }
.split--flip .split-visual { order: -1; }
@media (max-width: 900px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split--flip .split-visual { order: 0; }
}

/* ---------- carousel ---------- */
.carousel { position: relative; }
.carousel-frame { background: var(--ink); border-radius: var(--radius-lg); padding: 0.6rem; box-shadow: var(--shadow-lg); }
.carousel-frame img { width: 100%; height: clamp(240px, 40vw, 400px); object-fit: contain; background: #101E18; border-radius: 12px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--palm-cream); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: background var(--ease), color var(--ease);
}
.carousel-btn:hover { background: var(--palm-oil); color: #3A2600; }
.carousel-btn.prev { left: -0.9rem; }
.carousel-btn.next { right: -0.9rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1rem; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: background var(--ease), transform var(--ease); }
.carousel-dots button[aria-current="true"] { background: var(--palm-oil); transform: scale(1.25); }
.carousel-caption { text-align: center; margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-2); min-height: 1.4em; }
@media (max-width: 620px) { .carousel-btn.prev { left: 0.4rem; } .carousel-btn.next { right: 0.4rem; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--palm-frond); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 42rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.6rem; }
.cta-band .btn--outline { background: none; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.cta-band .btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.cta-band--ink { background: var(--ink); }

/* ---------- forms ---------- */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--surface); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--palm-frond); box-shadow: 0 0 0 3px var(--ring); }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 1.3em; font-weight: 600; font-size: 0.9rem; color: var(--success); }
.form-status.is-error { color: var(--danger); }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }

.channel { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.channel:last-child { border-bottom: 0; }
.channel h4 { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 0.98rem; color: var(--palm-frond); }
.channel p { margin: 0; font-size: 0.875rem; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink);
  display: flex; align-items: center; gap: 0.8rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-size: 1.3rem; color: var(--gold-deep); transition: transform var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .faq-body { padding: 1rem 1.25rem 1.25rem; font-size: 0.93rem; color: var(--text-2); }
.faq .faq-body p { margin-bottom: 0.6rem; }

/* ---------- misc blocks ---------- */
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.2rem; font-size: 0.9rem; margin: 0; }
.spec-list dt { color: var(--text-3); font-weight: 600; white-space: nowrap; }
.spec-list dd { margin: 0; color: var(--text); }

.callout { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--edu-wash); border: 1px solid rgba(31, 77, 61, 0.16); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: 0.9rem; color: var(--ink-soft); }
.callout--gold { background: var(--retail-wash); border-color: rgba(217, 140, 21, 0.24); }
.callout--warn { background: rgba(181, 80, 44, 0.07); border-color: rgba(181, 80, 44, 0.26); }
.callout p { margin: 0; }
.callout b { color: var(--palm-frond); }
.callout--warn b { color: var(--terracotta); }

.role-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.quote-strip { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .quote-strip { grid-template-columns: 1fr; } }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; font-size: 0.94rem; color: var(--text-2); }
.quote b { display: block; font-family: var(--font-display); color: var(--palm-frond); margin-bottom: 0.4rem; }

.qr-block { display: grid; justify-items: center; gap: 0.5rem; }
.qr-block img { width: 128px; height: 128px; border-radius: 10px; background: #fff; padding: 6px; border: 1px solid var(--border); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-ink-2); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; margin-top: auto; }
.site-footer a { color: var(--text-on-ink-2); text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; margin-bottom: 0.9rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.site-footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer p { font-size: 0.88rem; max-width: 30ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(245, 239, 224, 0.14); font-size: 0.8rem; }
body.site { display: flex; flex-direction: column; min-height: 100vh; }
body.site main { flex: 1 0 auto; }

/* ---------- install guide ---------- */
/* A rendered stand-in for the Windows dialog, so the two clicks that matter are
   seen, not just described. */
.dlg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.1rem, 2.6vw, 1.7rem); max-width: 32rem; }
.dlg-head { display: flex; gap: 0.8rem; align-items: flex-start; }
.dlg-head .icon { width: 1.7rem; height: 1.7rem; flex: 0 0 auto; color: var(--terracotta); }
.dlg-head h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.dlg p { font-size: 0.9rem; color: var(--text-2); }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.15rem; }

/* The literal label of a button the reader has to find on screen. */
.ui-btn { display: inline-block; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--ink); background: var(--bg-sunk); border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 7px; padding: 0.12rem 0.5rem; white-space: nowrap; }
.ui-btn.is-go { background: var(--edu-wash); border-color: rgba(31, 77, 61, 0.32); color: var(--palm-frond); }
