/* =========================================================================
   home.css — homepage-only stylesheet (2026-09-14 "Apple-inspired" redesign)
   -------------------------------------------------------------------------
   Loaded ONLY by index.html. Every other page (work/, pay.html, privacy,
   404, the SEO landing page) still uses css/styles.css, which is untouched.
   The two files deliberately share some class names (.site-header,
   .primary-nav, .reveal, .quote-form…) so js/main.js and js/quote-form.js
   work unchanged on both — but they are never loaded together.

   Design tokens live in :root below; change colors/spacing here, not inline.
   Palette: black / white / soft gray only — no accent color.
   ========================================================================= */

:root {
  --ink: #111111;
  --ink-soft: #333333;
  --muted: #666666;
  --muted-2: #8a8a8a;
  --paper: #f6f6f4;
  --paper-2: #f0f0ed;
  --white: #ffffff;
  --line: #deded9;
  --line-strong: #cfcfc9;
  --dark: #0d0d0d;
  --danger: #b3261e;
  --success: #1e6e45;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --max: 1280px;
  --nav-h: 78px;
  --nav-bp: 860px; /* documentation only — must match main.js isDesktop() */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }

.container { width: min(calc(100% - 64px), var(--max)); margin: 0 auto; }

.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: 16px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 14px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 16px; }

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

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); margin: 0 0 18px;
}
.section-head h2, .statement h2, .services-intro h2, .about h2, .contact h2, .final-cta h2 {
  font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.04em;
}
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px;
}
.section-note { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 460px; }

.section-white { background: var(--white); }
.section-gray { background: var(--paper-2); }
.section-paper { background: var(--paper); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 22px; font-size: 14px; font-weight: 600;
  line-height: 1; border: 1px solid var(--line-strong); cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.button svg { flex: none; transition: transform 0.25s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button:hover svg { transform: translateX(3px); }
.button:active { transform: translateY(0); box-shadow: none; }
.button-lg { padding: 17px 26px; font-size: 15px; }
.button-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.button-dark:hover { background: #262626; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { border-color: var(--ink); }
.button-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-outline-white { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.button-outline-white:hover { border-color: var(--white); }
.button[disabled], .button[aria-disabled="true"] { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.full { width: 100%; }

.home-text-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color 0.2s var(--ease);
}
.home-text-link:hover { border-color: var(--ink); }
.home-text-link svg { transition: transform 0.25s var(--ease); }
.home-text-link:hover svg { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 244, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand-mark { color: var(--ink); flex: none; }
.brand-text { display: inline-flex; flex-direction: column; gap: 5px; }
.brand-name { font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; }
.brand-sub { font-size: 8px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-inverse .brand-mark { color: var(--white); --paper: var(--dark); }
.brand-inverse .brand-sub { color: #9a9a9a; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); cursor: pointer; color: var(--ink);
}
.nav-toggle svg[hidden] { display: none; }

/* main.js toggles the `hidden` attribute on #primary-nav below 860px and
   forces it visible above — the two rules below mirror css/styles.css so
   the behavior contract is identical. */
.primary-nav[hidden] { display: none; }
.primary-nav {
  position: absolute; left: 16px; right: 16px; top: calc(var(--nav-h) + 8px);
  display: flex; flex-direction: column; align-items: stretch; gap: 4px;
  padding: 10px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.primary-nav ul { display: flex; flex-direction: column; }
.primary-nav ul a { display: block; padding: 13px 12px; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); }
.primary-nav ul a:hover { background: var(--paper-2); }
.nav-cta { margin: 6px 4px 2px; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .primary-nav[hidden] { display: flex; }
  .primary-nav {
    position: static; flex-direction: row; align-items: center; gap: 34px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .primary-nav ul { flex-direction: row; gap: 30px; }
  .primary-nav ul a { padding: 6px 0; font-size: 14px; color: var(--ink-soft); border-radius: 0; position: relative; }
  .primary-nav ul a:hover { background: none; color: var(--ink); }
  .primary-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .primary-nav ul a:hover::after { transform: scaleX(1); }
  .nav-cta { margin: 0; padding: 12px 19px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 90px; overflow: hidden;
  background: linear-gradient(105deg, #f7f7f5 0%, #f5f5f2 52%, #e9e9e5 100%);
}
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 48px; }
.hero h1 {
  font-size: clamp(44px, 5.7vw, 80px); line-height: 0.99; letter-spacing: -0.05em;
  max-width: 11ch;
}
.hero h1 em { font-style: normal; color: var(--muted); }
.hero-lead { font-size: 18px; line-height: 1.6; color: #454545; max-width: 540px; margin: 28px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stage { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-glow {
  position: absolute; width: 80%; height: 80%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  filter: blur(12px);
}
.laptop {
  position: relative; width: min(680px, 100%);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  filter: drop-shadow(0 35px 30px rgba(0, 0, 0, 0.2));
  animation: laptop-in 1.1s var(--ease) both;
}
@keyframes laptop-in {
  from { opacity: 0; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(24px); }
  to { opacity: 1; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); }
}
.laptop-screen {
  background: #171717; border: 9px solid #151515; border-radius: 18px 18px 7px 7px;
  overflow: hidden; aspect-ratio: 16 / 10;
}
.browser-bar { height: 24px; background: #e9e9e9; display: flex; align-items: center; padding: 0 9px; gap: 5px; }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #b8b8b8; }
.browser-bar small { margin-left: 8px; color: #777; font-size: 8px; letter-spacing: 0.02em; }
.laptop-screen img { width: 100%; height: calc(100% - 24px); object-fit: cover; object-position: top; display: block; }
.laptop-base {
  width: 112%; height: 15px; margin-left: -6%;
  background: linear-gradient(#bcbcbc, #777); border-radius: 0 0 12px 12px; box-shadow: 0 6px 0 #555;
}

/* ---------- Statement / approach ---------- */
.statement { padding: 100px 0 92px; }
.statement-grid { display: grid; grid-template-columns: 1fr 0.75fr; gap: 100px; align-items: end; }
.statement-copy { font-size: 17px; line-height: 1.65; color: #555; max-width: 470px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 78px; }
.feature { display: flex; gap: 22px; }
.feature-number { font-size: 11px; letter-spacing: 0.16em; color: var(--muted-2); padding-top: 5px; font-variant-numeric: tabular-nums; }
.feature h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -0.02em; }
.feature p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Selected work ---------- */
/* The work grid itself (.wk-*) lives in css/work.css since the 2026-09-16
   portfolio redesign; only the section shell stays here. */
.work { padding: 100px 0; }

/* ---------- Services ---------- */
.services { padding: 105px 0; }
.services-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: start; }
.services-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.services-intro > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 430px; margin: 26px 0 30px; }
.home-services-list { border-top: 1px solid var(--line); counter-reset: none; }
.home-service { display: grid; grid-template-columns: 56px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.home-service-num { font-size: 11px; letter-spacing: 0.16em; color: var(--muted-2); padding-top: 5px; font-variant-numeric: tabular-nums; }
.home-service h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.02em; }
.home-service p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { padding: 110px 0; }
.home-price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.home-price-cards > li { display: flex; }
.home-price-card {
  position: relative; flex: 1; display: flex; flex-direction: column;
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 34px 28px 28px;
  background: var(--white); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.home-price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.home-price-card.featured { border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10); transform: translateY(-6px); }
.home-price-card.featured:hover { transform: translateY(-9px); }
.home-popular {
  position: absolute; top: 0; left: 24px; transform: translateY(-50%);
  background: var(--dark); color: var(--white); border-radius: 999px; padding: 7px 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.home-price-card h3 { font-size: 22px; letter-spacing: -0.02em; }
.home-price-desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 8px 0 18px; min-height: 63px; } /* 3 lines — keeps the three prices on one baseline */
.home-price-value { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.home-price-value span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.home-price-features { display: grid; gap: 10px; margin: 0 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.home-price-features li { font-size: 13.5px; color: #444; padding-left: 20px; position: relative; line-height: 1.45; }
.home-price-features li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink); }
.home-price-actions { margin-top: auto; display: grid; gap: 12px; justify-items: center; }
.home-pay-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.home-pay-link:hover { border-color: var(--ink); color: var(--ink); }
.home-pay-link-muted { color: var(--muted-2); border: 0; font-weight: 500; }
.pricing-footnote { margin-top: 36px; font-size: 15px; color: var(--muted); text-align: center; }
.pricing-footnote .home-text-link { color: var(--ink); margin-left: 4px; }

/* ---------- Website Care ---------- */
.care { padding: 100px 0; }
.home-care-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-care-card {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 26px; background: var(--paper);
}
.home-care-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.home-care-head h3 { font-size: 18px; letter-spacing: -0.01em; }
.home-care-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.home-care-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.home-care-features { display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); }
.home-care-features li { font-size: 13px; color: #444; padding-left: 18px; position: relative; line-height: 1.45; }
.home-care-features li::before { content: "·"; position: absolute; left: 4px; top: -1px; font-weight: 700; }
.home-care-card .home-text-link { margin-top: auto; align-self: flex-start; font-size: 13px; }

/* ---------- Products (independent software, PRODUCTS in data.js) ---------- */
.products { padding: 100px 0; }
.home-products-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.home-products-list:has(> :only-child) { grid-template-columns: 1fr; max-width: 720px; } /* one product: don't leave an empty column */
.home-product-card {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; background: var(--white);
  box-shadow: var(--shadow-sm);
}
.home-product-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-product-head h3 { font-size: 26px; letter-spacing: -0.03em; }
.home-product-status {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 11px; white-space: nowrap;
}
.home-product-tagline { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.home-product-desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.home-product-features { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.home-product-features li { font-size: 13.5px; color: #444; padding-left: 20px; position: relative; line-height: 1.45; }
.home-product-features li::before { content: "·"; position: absolute; left: 5px; top: -1px; font-weight: 700; }
.home-product-card .button { margin-top: auto; align-self: flex-start; }

/* Featured product (PRODUCTS[n].featured) — wider two-column treatment */
.home-products-list:has(> .is-featured) { grid-template-columns: 1fr; max-width: none; }
.home-product-card.is-featured { padding: 0; gap: 0; overflow: hidden; border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.home-product-featured { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; }
.home-product-copy { padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.home-product-copy .home-product-head { margin-bottom: 4px; }
.home-product-copy .eyebrow { margin: 0; }
.home-product-headline { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.06; letter-spacing: -0.035em; max-width: 16ch; }
.home-product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.home-product-card.is-featured .button { margin-top: 0; align-self: auto; }
.home-product-byline { font-size: 13px; color: var(--muted); }
.home-product-panel { background: var(--paper); border-left: 1px solid var(--line); padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.home-product-panel-title { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.home-product-checks { display: grid; gap: 10px; }
.home-product-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; color: #333; }
.home-product-checks svg { width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: var(--dark); color: var(--white); flex: none; margin-top: 1px; }
.home-product-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.home-product-metrics li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 10px; text-align: center; }
.home-product-metrics b { display: block; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.home-product-metrics span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.home-product-sample-note, .home-product-honesty { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.home-product-honesty { color: var(--ink-soft); }
.home-product-audience { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 44px; border-top: 1px solid var(--line); background: var(--white); }
.home-product-audience-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-right: 6px; }
.home-product-audience ul { display: flex; flex-wrap: wrap; gap: 8px; }
.home-product-audience li { font-size: 13px; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; background: var(--white); }

/* Hero note (small "New · StockPilot" pointer, never a second hero) */
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-note-pill { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--white); background: var(--dark); border-radius: 999px; padding: 5px 9px; }
.hero-note a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-weight: 600; }
.hero-note a:hover { color: var(--ink); }
.hero-note svg { transition: transform 0.25s var(--ease); }
.hero-note a:hover svg { transform: translateX(3px); }

/* ---------- About ---------- */
.about { padding: 105px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 100px; align-items: start; }
.about-founder { margin-top: 22px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); }
.about-copy { max-width: 520px; }
.about-copy p { font-size: 17px; line-height: 1.7; color: #555; margin: 0 0 18px; }
.about-copy p a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.about-copy p a:hover { text-decoration-color: var(--ink); }
.about-copy .button { margin-top: 12px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--dark); color: var(--white); padding: 110px 0; }
.final-cta-inner { max-width: 760px; text-align: center; margin-inline: auto; }
.final-cta .eyebrow { color: #9a9a9a; }
.final-cta h2 { color: var(--white); }
.final-cta p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: #b5b5b5; margin: 22px auto 34px; max-width: 520px; }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Contact / form ---------- */
.contact { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; align-items: start; }
.contact-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.contact-intro > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 450px; margin-top: 22px; }
.contact-details { display: grid; gap: 8px; margin-top: 36px; font-size: 15px; font-weight: 500; }
.contact-details a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.contact-details a:hover { text-decoration-color: var(--ink); }

.contact-form-wrap { position: relative; }
.quote-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted-2); margin-left: 4px; }
.field .req { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d6d6d1; border-radius: var(--radius-sm); padding: 14px 15px;
  background: #fafaf8; outline: none; font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); }
.field-error[hidden] { display: none; }
.form-status {
  padding: 12px 14px; border-radius: var(--radius-sm); background: var(--paper-2); font-size: 14px;
  border: 1px solid var(--line);
}
.form-status[hidden] { display: none; }
.form-status a { text-decoration: underline; }
.btn-submit { margin-top: 4px; }
.fineprint { font-size: 12px; line-height: 1.5; color: var(--muted-2); }

.form-success {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 40px 32px;
  background: var(--paper); display: grid; gap: 10px; justify-items: start;
}
.form-success[hidden] { display: none; }
.form-success svg { color: var(--success); }
.form-success h3 { font-size: 24px; letter-spacing: -0.02em; }
.form-success h3:focus { outline: none; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: 64px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid #2a2a2a;
}
.footer-brand p { margin-top: 18px; font-size: 14px; color: #9a9a9a; max-width: 280px; line-height: 1.55; }
.footer-col h3 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: #d0d0d0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: #8a8a8a; }
.footer-bottom div { display: flex; gap: 24px; }
.footer-bottom a { font-size: 12px; color: #bbb; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Scroll reveal (main.js adds .is-visible) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1050px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .hero-grid, .services-grid, .about-grid, .contact-grid, .statement-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 60px; }
  .hero h1 { max-width: none; }
  .hero-stage { min-height: 340px; }
  .services-intro, .contact-intro { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .statement-grid { gap: 28px; align-items: start; }
  .home-price-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .home-care-list { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .home-products-list { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .home-products-list:has(> .is-featured) { max-width: none; }
  .home-product-featured { grid-template-columns: 1fr; }
  .home-product-panel { border-left: 0; border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .hero { padding: 56px 0 56px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero-lead { font-size: 16px; margin: 22px 0 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .home-product-copy { padding: 30px 22px 28px; }
  .home-product-panel { padding: 26px 22px; }
  .home-product-audience { padding: 16px 22px; }
  .home-product-actions { flex-direction: column; }
  .home-product-actions .button { width: 100%; justify-content: center; }
  .home-product-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { min-height: 240px; }
  .laptop { width: 100%; transform: none; animation: none; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.18)); }
  .laptop-base { width: 106%; margin-left: -3%; }

  .statement, .work, .services, .pricing, .care, .products, .about, .contact, .final-cta { padding: 72px 0; }
  .home-product-card { padding: 26px 22px; }
  .home-product-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .home-product-head h3 { font-size: 23px; }
  .section-head h2, .statement h2, .services-intro h2, .about h2, .contact h2, .final-cta h2 { font-size: clamp(32px, 9.5vw, 40px); }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-note { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .hero-grid, .services-grid, .about-grid, .contact-grid, .statement-grid { gap: 40px; }
  .home-service { grid-template-columns: 44px 1fr; padding: 22px 0; }
  .home-price-card { padding: 30px 22px 24px; }
  .home-price-desc { min-height: 0; }
  .home-price-value { font-size: 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 14px; }
}

@media (max-width: 400px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .hero h1 { font-size: 40px; }
  .button-lg { padding: 15px 20px; font-size: 14px; }
  .home-care-head { flex-direction: column; gap: 4px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .laptop { animation: none; }
  .button, .button svg, .home-text-link svg, .home-price-card { transition: none; }
  .button:hover { transform: none; }
}

/* =========================================================================
   Trades positioning (2026-10-01): "How it works" steps, the trades grid,
   the before/after comparison, the free-concept CTA band, and the trade
   landing pages under /trades/. Loaded by index.html and trades/*.
   ========================================================================= */
.hero-trades h1 { max-width: 15ch; font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; }
.hero-trades h1 em { display: block; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--ink); flex: none; }

.how { padding: 100px 0 96px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: how; }
.how-step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px 30px;
}
.section-white .how-step { background: var(--paper); }
.how-step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; margin-bottom: 22px;
}
.how-step h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.how-step p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.how-step-tag {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; vertical-align: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; background: var(--paper-2); color: var(--ink-soft);
}
.how-cta { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.how-cta p { font-size: 14.5px; color: var(--muted); }

.trades { padding: 100px 0; }
.trades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trade-card {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.trade-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.trade-card-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); margin-bottom: 8px; }
.trade-card h3 { font-size: 19px; letter-spacing: -0.02em; }
.trade-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); flex: 1; }
.trade-card .home-text-link { margin-top: 8px; font-size: 14px; }
.trades-more { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.trades-more a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }

.ba { margin-bottom: 72px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-figure { margin: 0; }
.ba-figure .frame-browser { display: block; }
.ba-figure img { display: block; width: 100%; height: auto; }
.ba-label {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  margin-top: 14px; font-size: 13.5px; color: var(--muted);
}
.ba-label b {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.ba-figure.is-after .ba-label b { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ba-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; align-items: start; }
.ba-copy h3 { font-size: 24px; letter-spacing: -0.03em; }
.ba-copy p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.ba-copy ul { display: grid; gap: 8px; margin: 14px 0 0; }
.ba-copy li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.ba-copy li svg { flex: none; margin-top: 3px; }
.ba-actions { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.ba-honesty { margin-top: 14px; font-size: 13px; color: var(--muted-2); }

.concept-band { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 36px; display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 40px; }
.concept-band h3 { font-size: 22px; letter-spacing: -0.02em; }
.concept-band p { font-size: 15px; color: var(--muted); margin-top: 6px; max-width: 560px; }
.concept-band .button { flex: none; }

/* Short free-concept form: 2-column grid of four fields. */
.concept-form .form-grid { grid-template-columns: 1fr 1fr; }
.contact-promise { display: grid; gap: 10px; margin-top: 28px; }
.contact-promise li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.contact-promise svg { flex: none; margin-top: 3px; }

/* ---------- Trade landing pages (/trades/*) ---------- */
.tr-hero { padding: 84px 0 76px; background: linear-gradient(105deg, #f7f7f5 0%, #f5f5f2 52%, #e9e9e5 100%); }
.tr-crumb { display: inline-flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.tr-crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.tr-hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -0.045em; max-width: 17ch; }
.tr-hero .hero-lead { max-width: 640px; }
.tr-section { padding: 96px 0; }
.tr-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 1px solid var(--line); }
.tr-include { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tr-include svg { margin-top: 3px; }
.tr-include h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 6px; }
.tr-include p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.tr-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tr-why li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.tr-why h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.015em; }
.tr-why p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.tr-price { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.tr-price-list { display: flex; gap: 12px; flex-wrap: wrap; }
.tr-price-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 20px; min-width: 150px; }
.tr-price-list b { display: block; font-size: 24px; letter-spacing: -0.03em; }
.tr-price-list span { font-size: 13px; color: var(--muted); }
.tr-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tr-related a { font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.tr-related a:hover { border-color: var(--ink); }

@media (max-width: 1050px) {
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .how, .trades, .tr-section { padding: 72px 0; }
  .tr-hero { padding: 48px 0 56px; }
  .how-steps, .tr-why { grid-template-columns: 1fr; gap: 14px; }
  .how-step { padding: 24px 22px; }
  .trades-grid { grid-template-columns: 1fr; gap: 12px; }
  .ba { margin-bottom: 56px; }
  .ba-grid, .ba-copy { grid-template-columns: 1fr; gap: 22px; }
  .ba-copy { margin-top: 24px; }
  .concept-band { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .concept-form .form-grid { grid-template-columns: 1fr; }
  .tr-includes { grid-template-columns: 1fr; }
  .tr-price-list li { flex: 1 1 140px; min-width: 0; }
  .hero-trades h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .tr-hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  .trade-card { transition: none; }
  .trade-card:hover { transform: none; }
}
.tr-price-h { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.04em; line-height: 1.08; margin-top: 14px; }
p.trades-more .tr-related { display: inline-flex; margin: 0 0 0 8px; vertical-align: middle; }
@media (max-width: 760px) { p.trades-more .tr-related { display: flex; margin: 12px 0 0; } }
