/* TailHost — single stylesheet entry point.

   Rules are ported from the reference site's Tailwind utilities, never
   invented. Tokens below come from the source's app/assets/css/main.css.
   Section files are re-added by the tasks that port them.

   ASSEMBLY ORDER (task 23): components, then sections, then views, with
   components/blocks.css LAST of all — after every view, not among the
   other components. Its own header comment explains why: it needs to win
   a genuine `img`/`figure` specificity tie against post/page/legal prose
   whenever one of those views gains a plain prose reset, and importing
   last is what guarantees that regardless of which view gains it first or
   how theme.css's own import list gets reordered again later.

   @import must precede every other rule, so :root sits at the end. */

@import "components/container.css";
@import "components/buttons.css";
@import "components/grid.css";
@import "components/shell.css";
@import "components/plan-card.css";
@import "components/post-card.css";
@import "components/browser-frame.css";
@import "sections/campaign-bar.css";
@import "sections/header.css";
@import "sections/footer.css";
@import "sections/hero.css";
@import "sections/landing-hero.css";
@import "sections/packages.css";
@import "sections/plan-table.css";
@import "sections/product-tabs.css";
@import "sections/services.css";
@import "sections/marquee.css";
@import "sections/performance.css";
@import "sections/datacenters.css";
@import "sections/faq.css";
@import "sections/feature-split.css";
@import "sections/solutions-band.css";
@import "sections/package-details.css";
@import "sections/tech-grid.css";
@import "sections/domain-checker.css";
@import "sections/archive-head.css";
@import "sections/blog.css";
@import "sections/post-author.css";
@import "sections/related.css";
@import "sections/comments.css";
@import "views/post.css";
@import "views/page.css";
@import "views/legal.css";
@import "views/auth.css";
@import "views/cart.css";
@import "views/config.css";
@import "views/tools.css";
/* Site Width: Full Width. After every view, so the caps it lifts are all
   declared first — though its selectors outrank them anyway. */
@import "components/site-width.css";
@import "components/blocks.css";

:root {
  --th-accent: #ff5233;
  --th-accent-light: #ff7a63;
  --th-accent-dark: #ff5233;
  --th-cream: #f8f7e5;
  --th-ink: #1d1d1d;
  --th-line: #b1b3b2;
  --th-mist: #f6f6f6;
  --th-stone: #eaeaea;
  --th-gravel: #dbdbdb;
  --th-dust: #464f53;
  --th-cyan: #1a3b4a;
  /* Tailwind's own gray-700/gray-900, which the reference's nav links use
     directly (`text-gray-700 hover:text-gray-900`) rather than any site
     colour. Read off the running reference as OKLCH, which is how this
     Tailwind build emits them. */
  --th-gray-500: oklch(0.551 0.027 264.364);
  --th-gray-700: oklch(37.3% 0.034 259.733);
  --th-gray-900: oklch(21% 0.034 264.665);
  /* The reference's inherited body text colour — Tailwind v4's default
     foreground, not `darkness`. Mega-menu rows inherit it. */
  --th-body-ink: oklch(14.5% 0 0);
  --th-font-heading: "Space Grotesk", sans-serif;
  --th-font-body: "Inter", sans-serif;
}

/* The source is Tailwind, which ships this in Preflight — every width/
   max-width in every ported utility assumes padding and border are counted
   INSIDE that width, not added on top of it. This theme has no Preflight,
   so without this reset a padded, max-width'd element (the campaign bar's
   container is the first case) renders wider than its own max-width and
   every flex child gets more room than the reference has, changing wrap
   points. Foundational for every section, not just one. */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Preflight also zeroes the body margin (the browser default 8px gutter
   otherwise frames every full-bleed section in white) and the source's
   app root carries `font-inter antialiased` (app/app.vue line 6) — with
   neither reset, every element that relies on inheritance instead of
   setting its own font-family (the campaign bar's headline, pill and
   coupon button included) falls back to the browser's serif default.
   `--font-body`/`--font-heading` are the customizer's live values,
   already emitted on :root by views/layouts/app.blade.php; `--th-*` are
   this theme's own fallback tokens for when nothing has been customized. */
/* Preflight's other big absent piece: `line-height: 1.5` (unitless, so it
   RECOMPUTES per element against that element's own font-size rather than
   cascading a fixed pixel value). Without it every element with no explicit
   line-height falls back to the UA default ("normal", ~1.2 and font-metric
   dependent), which is short enough to visibly shrink every CTA, tab, badge
   and lead paragraph across every section in this theme — found across
   three separate task reviews (hero, product-tabs, services) as the same
   root cause before it was traced here. Tailwind's own named sizes
   (text-sm, text-lg, text-3xl, …) pair a SPECIFIC line-height that is not
   simply 1.5x the font-size (14px pairs with 20px, not 21; 18px with 28,
   not 27) — those still need their own explicit override wherever a
   section uses one; this fixes the DEFAULT for everything else. */
html, body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

body {
  font-family: var(--font-body, var(--th-font-body));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
