/*
Theme Name: Scanday (daza.cloud fork)
Theme URI: https://scanday.com.au
Author: daza.cloud
Author URI: https://daza.cloud
Description: Scanday's fork of the daza.cloud base theme. Real copy migrated from the live scanday.com.au (extracted 2026-09-19); wellness visual direction (sage/sand palette, Petrona + Mulish type) chosen from a Canva mockup pass. Restructured as five real pages (Home/Services/Technology/Benefits/Contact) to match the live site's own IA. See README.md for the font trade-off this fork makes vs. the base theme's zero-web-font default.
Version: 0.3.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: daza-scanday
*/

/* =========================================================
   DESIGN TOKENS — this is the only block a client fork should
   need to touch to get a new brand's look. Everything else in
   this file consumes these variables, never a hard-coded value.
   Placeholder palette below is intentionally neutral — swap it.
   ========================================================= */
:root {
  /* Color — Scanday wellness direction, dark variant. Started as a
     light sand mockup (candidate 1 of the Canva pass); Ruan saw it
     rendering dark under his browser's dark-mode override and
     preferred that look, so this fork commits to it as the one
     brand identity — not conditional on a visitor's OS setting (see
     the removed prefers-color-scheme block below). Same sage/coral
     accents as the original pick, just re-tuned to sit on a dark
     warm-charcoal ground instead of sand. */
  --color-ink: #ece8dc;
  --color-ink-dim: #a6ab98;
  --color-paper: #1c201a;
  --color-paper-2: #333a2d;
  --color-line: #454d3c;
  --color-accent: #86a894;
  --color-accent-ink: #1b1e18;
  --color-accent-2: #d4a088;

  /* Type — deliberate exception to the base theme's zero-web-font
     policy (see README "Fonts" section): Petrona (light/italic serif)
     for headings, Mulish for body, loaded from Google Fonts in
     functions.php. Falls back to a real serif/sans stack if the
     font request fails, never to nothing. */
  --font-body: Mulish, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: Petrona, Georgia, "Times New Roman", serif;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --leading-tight: 1.15;
  --leading-normal: 1.6;

  /* Space — fixed rem scale, never a percentage of a wrapper.
     This is the direct fix for the Divi gutter bug: a page's
     side padding is always one of these, period. */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Layout */
  --content-max: 72rem;
  --content-pad: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);

  /* Section-library component tokens. Proportions here were measured
     (not eyeballed) off a reference site during the mobile mockup pass —
     card radius, card padding, the 48px stack gap between cards, the
     tight double shadow, the 10px button radius, the 28px step-number
     circle. Keep these ratios when reskinning; only the colors above
     are meant to change per client. */
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-tight: 0 2px 10px -4px rgba(0,0,0,.16), 0 1px 3px rgba(0,0,0,.10);
  --shadow-float: 0 20px 60px rgba(0,0,0,.18);
  --gap-card-stack: 3rem;
  --text-2xs: 0.6875rem;

  /* Footer band — deliberately always dark, regardless of the
     rest of the page's light/dark mode (a common, intentional
     "dark footer" pattern, not tied to color-scheme). Only
     .site-footer--rich (the opt-in rich footer) uses these; the
     default minimal footer stays on the regular page tokens. */
  --footer-bg: #17171b;
  --footer-ink: #f5f4f2;
  --footer-ink-dim: rgba(245, 244, 242, .62);
  --footer-line: rgba(245, 244, 242, .14);

  color-scheme: dark;
}

/* No prefers-color-scheme override on purpose — a brand identity
   shouldn't flip depending on a visitor's device setting. This fork
   commits to the dark warm-charcoal look for every visitor. */

/* =========================================================
   RESET — minimal, not a full normalize. Just enough that
   every fork starts from the same clean floor.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--leading-tight); margin: 0 0 var(--space-2); }
p { margin: 0 0 var(--space-3); }
ul, ol { margin: 0 0 var(--space-3); padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Accessibility: visible focus, always */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--color-accent); color: var(--color-accent-ink);
  padding: var(--space-2) var(--space-3); border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }

.stack > * + * { margin-top: var(--space-3); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* =========================================================
   SITE HEADER / NAV
   ========================================================= */
.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-paper);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
}
.site-branding__link {
  font-weight: 700; font-size: var(--text-lg); text-decoration: none;
}
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-4);
}
.primary-nav a {
  text-decoration: none; font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .01em;
}
.primary-nav a:hover { color: var(--color-accent); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: var(--space-1) var(--space-2); cursor: pointer;
}

@media (max-width: 47.9375rem) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { width: 100%; }
  .primary-nav ul { flex-direction: column; gap: var(--space-2); padding-block: var(--space-3) 0; }
  .primary-nav[data-open="false"] { display: none; }
}

/* =========================================================
   COMPONENTS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-weight: 600; font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--color-line); color: var(--color-ink); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.eyebrow {
  display: block; font-size: var(--text-sm); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-dim);
  margin-bottom: var(--space-2);
}

.card {
  background: var(--color-paper-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-4);
}

/* Alternating section bands — Scanday-only fix. The base theme leans
   on box-shadow to separate cards from the page, which reads fine on
   a light/near-white ground but nearly disappears on this fork's
   dark charcoal palette (a black shadow on a near-black background
   has almost no contrast to show). Real complaint, caught live:
   "no division between sections, no contrast background" — the
   whole page read as one flat field. Fix: every direct section
   inside <main> alternates paper/paper-2 by position — same inset
   "tinted card" treatment section-dashboard.php and
   section-niches.php already used individually (they set it inline,
   since .section already carries .container's own max-width/padding
   on the same element), just made consistent and automatic across
   every section instead of two one-off inline styles. Sections that
   set their own background inline (the CTA banner's 'muted' option)
   keep full control — this rule only fills in the rest. */
main > section:nth-of-type(even) {
  background: var(--color-paper-2);
}

.hero {
  padding-block: var(--space-7);
  text-align: left;
}
.hero h1 { font-size: var(--text-2xl); max-width: 20ch; }
.hero p.lede { font-size: var(--text-lg); color: var(--color-ink-dim); max-width: 50ch; }

/* Wellness hero variant (template-parts/section-hero-wellness.php,
   Scanday-only) — two columns on desktop: headline+image on the
   left, subhead/CTA/trust as a narrower aside on the right. Stacks
   to one column on mobile, image after the headline either way. */
.hero--wellness {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-6);
  align-items: start;
  padding-block: var(--space-7);
}
@media (max-width: 47.9375rem) {
  .hero--wellness { grid-template-columns: 1fr; gap: var(--space-4); }
}
.hero--wellness__kicker {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.hero--wellness h1 {
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-2xl);
  max-width: 16ch;
  margin-bottom: var(--space-4);
}
.hero--wellness__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-line);
  background: var(--color-paper-2);
  display: grid;
  place-items: center;
  color: var(--color-ink-dim);
  font-size: var(--text-sm);
}
.hero--wellness__aside { padding-top: var(--space-6); }
@media (max-width: 47.9375rem) {
  .hero--wellness__aside { padding-top: 0; }
}
.hero--wellness__aside .lede { font-size: var(--text-base); }

/* Pill CTA — softer, single-line button for the wellness direction,
   sitting alongside .btn-icon rather than replacing it (other
   sections/forks keep the two-line icon button). */
.btn-pill {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-radius: var(--radius-full);
  padding: .85rem 1.8rem;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .15s ease;
}
.btn-pill:hover { transform: translateY(-2px); }

/* Mobile vertical rhythm fix: .section/.section--tight/.hero used
   the same desktop-sized padding-block at every width — 96px
   (hero) + 64px (a regular section) + 40px (a tight section) of
   pure top+bottom padding each, uncompressed on mobile. Stacked
   across a few sections in a row that's several hundred px of
   dead space before a phone screen even shows real content —
   caught live on staging (see the open items tracker). Horizontal
   gutters stay the fixed rem values on purpose (that's the actual
   fix for the old Divi percentage-gutter bug) — this only scales
   down *vertical* section spacing, reusing existing --space-*
   tokens rather than inventing new ones. */
@media (max-width: 47.9375rem) {
  .section { padding-block: 4.5rem; }   /* was --space-4 (1.5rem) — tripled per feedback: intra-section rhythm (headings/paragraphs/card gaps) was fine, only the gap *between* sections needed more room */
  .section--tight { padding-block: 3rem; } /* was --space-3 (1rem), same 3x */
  .hero { padding-block: 7.5rem; }      /* was --space-5 (2.5rem), same 3x */
}

.grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

/* =========================================================
   SECTION LIBRARY — the reusable homepage-section components.
   Every template-parts/section-*.php file below draws only on
   these classes plus the primitives above (.container, .stack,
   .cluster, .btn, .card, .eyebrow, .grid). Mobile-first: default
   rules are single column; min-width queries add columns.
   ========================================================= */

.section-head { margin-bottom: var(--space-5); max-width: 40rem; }
.kicker-line { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1); }
.kicker-line .bar { width: 3px; height: 1.1em; background: var(--color-accent); border-radius: 2px; flex: none; }
.kicker-line .eyebrow { margin-bottom: 0; }

/* Card stack — mobile-first single column, gap matches the
   measured 48px value (feels noticeably better than a tighter
   gutter once cards carry an icon + badge + heading + tags). */
.card-stack { display: flex; flex-direction: column; gap: var(--gap-card-stack); }
@media (min-width: 48rem) {
  .card-stack--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}

/* Card: flex column with a min-height + space-between, so a card
   taller than its own content (matched to a tall sibling on the
   desktop 2-col grid, or just given room to breathe on mobile)
   spreads that extra room out as gaps BETWEEN its four groups
   (header / badge / description / tags) instead of leaving it all
   stacked as one dead patch below the tags — Ruan's direct call
   after comparing a compressed vs. a well-spread version live.
   min-height is a deliberate floor, not a fixed size: real (longer)
   client copy can still grow the card past it. */
.card {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 15.5rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-tight); padding: var(--space-4) var(--space-4);
}
/* Icon + heading share one row now (was icon on its own line above
   the heading) — saves a full row of height at the top of the card
   and reads as one unit rather than two stacked labels. */
.card-top { display: flex; align-items: center; gap: var(--space-3); }
/* Title + badge now sit beside the icon as one header block, not
   just the title — Ruan's direct comparison against his reference
   image caught that the badge had been left behind on its own row. */
.card-top__text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.card-top h3 { margin: 0; }
.card-top__text .badge { align-self: flex-start; margin: 0; }
/* Standalone emoji, no box/border — a boxed icon reads like a
   placeholder icon-font glyph, a bare oversized emoji reads like
   an actual illustration choice. Applies to every icon-as-content
   spot below (.card-icon, .dash-icon, .feat-icon, .icon-chip,
   .tile-icon); .niche-icon was already unboxed and .btn-icon
   .icon/.arrow are left alone since those are functional button
   affordances, not decorative content icons. A subtle drop-shadow
   keeps every one of them reading clearly against any card
   background now that there's no background box doing that job. */
.card-icon {
  display: block; font-size: 2.5rem; line-height: 1; flex: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}
.card h3 { font-size: 1.05rem; }

.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-size: var(--text-2xs); font-weight: 700; letter-spacing: .02em;
  color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  border-radius: var(--radius-full); padding: .18rem .55rem;
}
/* .card is a flex column now (for the space-between content-spread
   fix) — a flex item defaults to align-self: stretch, which was
   pulling the badge pill to the card's full width. Pin it back to
   its own content width, same as it always looked. */
.card > .badge { align-self: flex-start; }

.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.tag {
  font-size: var(--text-sm); font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-1);
  color: var(--color-ink); background: var(--color-paper); border-radius: var(--radius-full);
  padding: .3rem .7rem .3rem .55rem;
}
.tag::before { content: '\2713'; font-weight: 800; color: var(--color-accent); }

/* Numbered steps — small marker circle inside its own compact
   card, no connecting line (matches how the reference pattern
   actually renders once measured, not the bigger decorative
   version assumed before that). */
.steps { display: flex; flex-direction: column; gap: var(--space-2); }
.step {
  display: flex; gap: var(--space-3); align-items: flex-start;
  background: var(--color-paper-2); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: var(--space-3) var(--space-4);
}
.step-num {
  font-weight: 700; font-size: .82rem; flex: none; width: 28px; height: 28px;
  border-radius: 50%; background: var(--color-ink); color: var(--color-paper);
  display: grid; place-items: center;
}
.step h3 { font-size: .95rem; margin-bottom: .25rem; }
.step p { font-size: .84rem; color: var(--color-ink-dim); margin: 0; }

.result-card {
  background: var(--color-paper-2); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: var(--space-4);
}
.result-card .stat { font-weight: 800; font-size: 2.4rem; color: var(--color-accent); line-height: 1; margin-bottom: var(--space-1); }
.result-card .stat-label { font-size: .85rem; color: var(--color-ink-dim); margin-bottom: var(--space-3); }
.result-card blockquote {
  margin: 0 0 var(--space-2); padding-left: var(--space-3); border-left: 2px solid var(--color-accent);
  font-style: italic; font-size: .95rem;
}
.result-card .who { font-size: .85rem; color: var(--color-ink-dim); }

/* Stat tiles — trust-stats section. Numbers here are always
   placeholder until a fork has real, honest figures to put in;
   never fabricate a plausible-looking number. */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.stat-tile {
  background: var(--color-paper-2); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: var(--space-3) var(--space-2); text-align: center;
}
.stat-num { font-weight: 800; font-size: 1.5rem; color: var(--color-accent); }
.stat-label { font-size: .75rem; color: var(--color-ink-dim); margin-top: var(--space-1); line-height: 1.3; }

/* Dashboard rows — simple list of feature rows (e.g. a client
   portal pitch). */
.dash-list { display: flex; flex-direction: column; gap: var(--space-2); }
.dash-row {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--color-paper-2); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: var(--space-2) var(--space-3); font-weight: 600; font-size: .92rem;
}
.dash-icon { flex: none; font-size: 1.75rem; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }

/* Feature checklist rows */
.feat-list { display: flex; flex-direction: column; gap: var(--space-4); }
.feat-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.feat-icon { flex: none; font-size: 1.85rem; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.feat-row h3 { font-size: .95rem; margin-bottom: .2rem; }
.feat-row p { font-size: .85rem; color: var(--color-ink-dim); margin: 0; }

/* Industries/niches grid — solid gradient tiles, never a stock
   photo standing in for a real client. */
.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.niche-card {
  border-radius: var(--radius-lg); padding: var(--space-4) var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-2); min-height: 6rem; justify-content: flex-end;
  box-shadow: var(--shadow-float); color: #fff;
}
.niche-icon { font-size: 1.4rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.niche-label { font-size: .9rem; font-weight: 700; }

/* Pricing card */
.plan-card {
  background: var(--color-paper-2); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-float);
}
.plan-card .plan-name { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-ink-dim); margin-bottom: var(--space-1); }
.plan-card .price { font-weight: 800; font-size: 2.4rem; margin-bottom: var(--space-3); }
.plan-card .price small { font-weight: 600; font-size: .9rem; color: var(--color-ink-dim); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-4); }
.check-item { font-size: .85rem; display: flex; gap: var(--space-1); line-height: 1.35; }
.check-item::before { content: '\2713'; color: var(--color-accent); flex: none; font-weight: 800; }

/* FAQ accordion — native <details>/<summary>, zero JS. */
/* Accordion: a real <button> (not <details>/<summary>) driving a
   pure-CSS grid-rows slide. Replaced the earlier WAAPI/JS-measured-
   height version — Ruan's direct call that it felt bad to use.
   Animating grid-template-rows between 0fr/1fr lets the browser's
   own compositor drive the motion instead of JS reading offsetHeight
   and animating a computed pixel value every frame, which is both
   the simplest and the smoothest technique for this. Defaults OPEN
   (1fr) with no .js-faq-ready class on <html> yet, so a visitor
   whose JS hasn't run (or is disabled) sees every answer already
   readable — js/faq-accordion.js adds that class the instant it
   runs, and only from then on does collapsing apply. */
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item__q { margin: 0; }
.faq-item__toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  background: none; border: none; padding: var(--space-3) 0; margin: 0;
  font: inherit; font-weight: 700; color: inherit; text-align: left; cursor: pointer;
}
.faq-item__marker { flex: none; font-weight: 400; font-size: 1.2rem; color: var(--color-accent); transition: transform .25s ease; }
.faq-item__toggle[aria-expanded="true"] .faq-item__marker { transform: rotate(45deg); }

.faq-item__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
.faq-item__panel-inner { overflow: hidden; min-height: 0; }
.faq-item__panel p { font-size: .9rem; color: var(--color-ink-dim); margin: 0 0 var(--space-3); max-width: 56ch; }

html.js-faq-ready .faq-item__panel { grid-template-rows: 0fr; }
html.js-faq-ready .faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }

@media (prefers-reduced-motion: reduce) {
  .faq-item__panel, .faq-item__marker { transition: none; }
}

/* Icon+two-line rich CTA button — a wider tap target than .btn,
   with a leading icon and a two-line label (headline + reassurance
   line). The two spans MUST stay flex/column, not inline, or the
   lines merge into one run-on sentence. */
.btn-icon {
  display: flex; align-items: center; gap: var(--space-3); width: 100%;
  background: var(--color-accent); color: var(--color-accent-ink);
  border-radius: var(--radius); padding: .9rem 1.375rem; text-align: left;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-icon:hover { transform: translateY(-2px); }
/* Icon: same standalone treatment as every other content emoji now
   (no circle behind it) — the arrow keeps its circle on purpose,
   it's a directional/affordance mark, not a content icon. */
.btn-icon .icon {
  flex: none; font-size: 1.6rem; line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.btn-icon .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.btn-icon .copy .line1 { font-weight: 800; font-size: .98rem; line-height: 1.25; }
.btn-icon .copy .line2 { font-size: .78rem; opacity: .8; line-height: 1.3; font-weight: 600; }
.btn-icon .arrow {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.22); border-radius: 50%; font-size: .9rem;
}
.btn-icon--outline { background: transparent; border: 1px solid var(--color-line); color: var(--color-ink); }
.btn-icon--outline .arrow { background: var(--color-paper-2); }

/* Chip row — used for hero service tags and the service-areas strip */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.chip { border: 1px solid var(--color-line); border-radius: var(--radius-full); padding: .35rem .8rem; font-size: .82rem; color: var(--color-ink-dim); }

.icon-row { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-5); }
.icon-chip { font-size: 2rem; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }

/* Centered CTA banner section */
.cta-banner { text-align: center; }
.cta-banner .btn-icon { max-width: 24rem; margin-inline: auto; }

/* Styling for the dazacloud_lead_capture shortcode's own bare
   markup (it ships zero CSS by design — confirmed, not assumed).
   Selectors are deliberately loose (input/button, not a specific
   class) since the shortcode's exact class names aren't part of
   its documented/stable contract from this theme's side. */
.cta-banner__form { max-width: 26rem; margin-inline: auto; }
.cta-banner__form form { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.cta-banner__form input[type="email"],
.cta-banner__form input[type="text"] {
  flex: 1 1 12rem; min-width: 0;
  border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: .75rem 1rem; font-size: var(--text-base); background: var(--color-paper);
}
.cta-banner__form button,
.cta-banner__form input[type="submit"] {
  flex: none; border: none; border-radius: var(--radius);
  padding: .75rem 1.5rem; font-weight: 700; font-size: var(--text-sm);
  background: var(--color-accent); color: var(--color-accent-ink); cursor: pointer;
}

@media (min-width: 40rem) {
  .stat-grid, .niche-grid, .check-grid { gap: var(--space-3); }
}

/* =========================================================
   OPTIONAL MOBILE CHROME — fixed bottom tab bar + full-screen
   menu overlay. NOT wired into header.php/footer.php by default
   (not every fork wants a bottom bar); a fork opts in by calling
   get_template_part( 'template-parts/mobile-tab-bar' ) and
   get_template_part( 'template-parts/mobile-menu' ) and letting
   js/mobile-menu.js do the rest. Hidden above tablet width, where
   the primary nav in the header already covers navigation.
   ========================================================= */
.tab-bar {
  display: none;
  position: fixed; left: var(--content-pad); right: var(--content-pad);
  bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  background: var(--color-paper); backdrop-filter: blur(16px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: .55rem .3rem;
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem;
  font-size: .68rem; font-weight: 600; color: var(--color-ink-dim);
  padding-block: .2rem; text-decoration: none;
}
.tab-item .tab-icon { font-size: 1.55rem; }
.tab-item.is-active { color: var(--color-accent); }
@media (max-width: 47.9375rem) {
  .tab-bar { display: flex; }
  /* :has() is progressive enhancement: if a browser doesn't support
     it, the only loss is the bottom padding under the tab bar —
     nothing breaks. Floated up off the edge (rather than flush
     edge-to-edge) on purpose: flush-bottom made this bar visually
     merge with the phone browser's own bottom toolbar, reading as
     one long confusing bar instead of two separate things. */
  body:has(.tab-bar) main { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
  /* Same clearance for the footer — minimal or rich, both carry the
     base .site-footer class — since it sits right after main, ahead
     of the tab bar in the DOM, and its own bottom content (even a
     single copyright line) can end up hidden under the floating bar
     too, same reasoning as main above. */
  body:has(.tab-bar) .site-footer { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
}

.menu-overlay {
  position: fixed; inset: 0; z-index: 50; background: var(--color-paper);
  overflow-y: auto; padding: var(--space-3) var(--content-pad) calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
}
.menu-overlay[hidden] { display: none; }
.menu-overlay .menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.menu-close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--color-line); border-radius: var(--radius); font-size: 1.1rem; background: none; cursor: pointer;
}
.menu-group-label { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--color-ink-dim); margin: var(--space-3) 0 var(--space-2); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-3); }
.menu-tile {
  background: var(--color-paper-2); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); position: relative;
  color: inherit; text-decoration: none;
}
.menu-tile .tile-icon { font-size: 1.75rem; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.menu-tile .title { font-size: .9rem; font-weight: 700; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--color-line); font-weight: 700; text-decoration: none; }

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-dim);
  font-size: var(--text-sm);
}
.site-footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  padding-block: var(--space-4);
}

/* Rich footer — opt-in (DAZA_USE_RICH_FOOTER). Always dark via the
   --footer-* tokens above, independent of the rest of the page. */
.site-footer--rich {
  border-top: none;
  background: var(--footer-bg);
  color: var(--footer-ink-dim);
}
.footer-grid {
  display: grid; gap: var(--space-5);
  padding-block: var(--space-6);
}
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-6); }
}
.footer-brand__name { font-weight: 800; font-size: 1.2rem; color: var(--footer-ink); margin-bottom: var(--space-2); }
.footer-brand__tagline { font-size: .9rem; max-width: 34ch; margin-bottom: var(--space-3); }
.footer-brand__contact p { margin: 0 0 var(--space-1); font-size: .9rem; }
.footer-brand__contact a { color: var(--footer-ink); font-weight: 700; text-decoration: none; }
.footer-brand__contact a:hover { color: var(--color-accent); }

.footer-col h3 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--footer-ink-dim);
  margin-bottom: var(--space-2);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.footer-col a { color: var(--footer-ink-dim); text-decoration: none; font-size: .9rem; }
.footer-col a:hover { color: var(--footer-ink); }
.footer-included-item {
  font-size: .9rem; display: flex; align-items: flex-start; gap: var(--space-1);
}
.footer-included-item::before { content: '\2713'; color: var(--color-accent); font-weight: 800; flex: none; }

.footer-bottom {
  border-top: 1px solid var(--footer-line);
  padding-block: var(--space-3);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  font-size: .78rem;
}
.footer-bottom a { color: var(--footer-ink-dim); text-decoration: underline; }
.footer-bottom a:hover { color: var(--footer-ink); }

/* =========================================================
   SCANDAY MULTI-PAGE COMPONENTS (v0.3) — fork-only, used by
   page-services.php / page-technology.php / page-benefits.php /
   page-contact.php and their dedicated template-parts. Real
   Scanday's site is five separate pages, not one long scroll, so
   this release restructures the fork to match (see README v0.3
   entry) instead of force-fitting a 3-tier pricing table and an
   ROI calculator into single-section homepage slots. Everything
   here draws on the same tokens/primitives as the section library
   above — no new colors, no new spacing scale.
   ========================================================= */

/* Shared top-of-page header (kicker + h1 + optional lede), used by
   every subpage in place of a full hero — one clear h1 per page,
   no image, so it stays visually lighter than the homepage hero. */
.page-header { padding-block: var(--space-6); }
.page-header h1 {
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-2xl);
  max-width: 26ch;
  margin-bottom: var(--space-2);
}
.page-header .lede { font-size: var(--text-lg); color: var(--color-ink-dim); max-width: 60ch; margin: 0; }

/* Two CTA buttons side by side in the homepage hero aside
   (Request Demo / View Pricing) — .btn-pill already exists,
   this is only the outline modifier for the secondary one. */
.hero--wellness__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.btn-pill--outline { background: transparent; border: 1px solid var(--color-line); color: var(--color-ink); }
.hero--wellness__stats { margin-top: var(--space-5); }
.hero--wellness__stats .stat-grid { gap: var(--space-3); }

/* Two-part card modifier (icon+title, then one paragraph — no
   badge/tag-row) — .card's justify-content: space-between assumes
   three stacked parts and stretches to min-height 15.5rem, which
   left a large dead gap above the paragraph on a plain two-part
   card. Used by section-tech-features.php. */
.card--compact { justify-content: flex-start; min-height: 0; gap: var(--space-3); }

/* Generic 50/50 split, used by the Services ROI-advantage block
   and the Benefits audience cards — one primitive, two contents. */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
@media (max-width: 47.9375rem) { .split-2 { grid-template-columns: 1fr; } }

/* Vertical checkmark list — same visual language as .check-item/
   .tag but stacked, used inside tier cards, audience cards and the
   ROI-advantage block. */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: .88rem; }
.check-list li { display: flex; gap: var(--space-2); align-items: flex-start; }
.check-list li::before { content: '\2713'; color: var(--color-accent); font-weight: 800; flex: none; }

/* Pricing tiers (Services page) — 3-up, the middle "most popular"
   tier raised and inverted to accent so it reads as the
   recommended pick without needing a separate badge graphic. */
.pricing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
@media (max-width: 61.9375rem) { .pricing-tiers { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }
.tier-card {
  background: var(--color-paper-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
}
.tier-card--featured {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-float);
}
@media (min-width: 62rem) { .tier-card--featured { transform: translateY(-1rem); } }
.tier-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-radius: var(--radius-full);
  padding: .3rem .7rem;
  margin-bottom: var(--space-2);
}
.tier-card--featured .tier-card__badge { background: var(--color-accent-ink); color: var(--color-accent); }
.tier-card__name { font-size: 1.15rem; margin-bottom: var(--space-1); }
.tier-card__desc { font-size: .85rem; color: var(--color-ink-dim); margin-bottom: var(--space-3); }
.tier-card--featured .tier-card__desc { color: var(--color-accent-ink); opacity: .78; }
.tier-card__price { font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: .25rem; }
.tier-card__price small { font-weight: 600; font-size: .78rem; opacity: .75; }
.tier-card__strike { font-size: .78rem; text-decoration: line-through; opacity: .6; margin-bottom: var(--space-3); }
.tier-card .check-list { margin-bottom: var(--space-4); }
.tier-card--featured .check-list li::before { color: var(--color-accent-ink); }
.tier-card .btn-pill { margin-top: auto; text-align: center; }
.tier-card--featured .btn-pill { background: var(--color-accent-ink); color: var(--color-accent); }

/* Revenue-neutral / ROI box (Services + Benefits pages) — a plain
   line-item breakdown, not a chart, so the numbers stay legible
   and honest about being an example rather than a promise. */
.roi-box { background: var(--color-paper-2); border-radius: var(--radius-lg); padding: var(--space-4); }
.roi-box__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-ink-dim); margin-bottom: var(--space-3); }
.roi-row { display: flex; justify-content: space-between; gap: var(--space-2); padding-block: var(--space-2); border-bottom: 1px solid var(--color-line); font-size: .9rem; }
.roi-row:last-child { border-bottom: none; }
.roi-row--total { font-weight: 800; font-size: 1.05rem; color: var(--color-accent); }
.roi-row span:first-child { color: var(--color-ink-dim); }
.roi-row--total span:first-child { color: inherit; }

/* Audience split (Benefits page) — two named-persona cards, each
   its own checklist, same card surface as .tier-card without the
   price treatment. */
.audience-card { background: var(--color-paper-2); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); }
.audience-card h3 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.audience-card p { font-size: .9rem; color: var(--color-ink-dim); }

/* Contact page — direct email/phone block sitting beside the real
   lead-capture form (see section-contact-info.php). */
.contact-direct { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.contact-direct a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-direct a:hover { color: var(--color-accent); }
.contact-direct__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-ink-dim); }
.contact-form-card { background: var(--color-paper-2); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); }
.contact-form-card .cta-banner__form { max-width: none; margin-inline: 0; }
.contact-form-card .cta-banner__form form { justify-content: flex-start; }
.contact-form-card .cta-banner__form input[type="email"],
.contact-form-card .cta-banner__form input[type="text"] { flex: 1 1 14rem; }

/* =========================================================
   WORDPRESS CORE CLASSES — keep these so default blocks,
   captions, and the admin bar don't visually break.
   ========================================================= */
.alignwide { max-width: calc(var(--content-max) + 6rem); }
.alignfull { max-width: none; }
.wp-caption-text { font-size: var(--text-sm); color: var(--color-ink-dim); }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute; word-wrap: normal !important;
}
