/* ============================================================
   RentGable — marketing site stylesheet (hand-written, no build).
   Light-only. Design tokens MIRRORED from brand/styles.css —
   keep values in sync with the brand guide. Dark-mode blocks are
   intentionally omitted (the product has no dark mode).
   ============================================================ */

:root {
  /* Core brand palette */
  --clay: #C05E3C; --clay-dark: #9E4A2F; --clay-soft: #E8B9A6; --clay-wash: #F6E4DB;
  --slate: #1F2937; --slate-900: #111827; --slate-700: #374151; --slate-500: #6B7280;
  --cream: #F7F3EC; --sand: #E8DFD2; --sage: #7C8A72; --sage-soft: #DCE2D6;

  --success: #16a34a; --warning: #d97706; --danger: #dc2626;

  --bg: var(--cream); --bg-elev: #FFFFFF; --bg-sunk: #F1EADF;
  --ink: var(--slate-900); --ink-soft: var(--slate-700); --ink-muted: var(--slate-500);
  --line: #E4DACA; --accent: var(--clay); --accent-ink: #FFFFFF; --ring: rgba(192,94,60,.30);

  /* --- 2026 modernization: roles mapped onto the palette above --- */
  --color-primary: var(--clay); --color-primary-strong: var(--clay-dark);
  --color-primary-soft: var(--clay-soft); --color-primary-wash: var(--clay-wash);
  --color-secondary: var(--sage); --color-secondary-soft: var(--sage-soft);
  --surface: #FFFFFF; --surface-2: #FBF8F2; --surface-sunk: #F1EADF;
  --border: var(--line); --border-strong: #D8CBB4;
  --ink-900: #111827; --ink-700: #374151; --ink-500: #6B7280; --ink-400: #9AA2AD;

  /* radius scale */
  --radius-sm: 8px; --radius: 12px; --radius-lg: 18px; --radius-xl: 24px; --radius-2xl: 28px; --radius-pill: 999px;

  /* layered elevation system (aliased so existing .panel/.shot upgrade for free) */
  --shadow-sm: 0 1px 2px rgba(31,41,55,.06);
  --elev-1: 0 1px 2px rgba(31,41,55,.05), 0 4px 12px -4px rgba(31,41,55,.10);
  --elev-2: 0 2px 4px rgba(31,41,55,.06), 0 14px 30px -10px rgba(31,41,55,.18);
  --elev-3: 0 8px 20px -8px rgba(31,41,55,.16), 0 40px 70px -30px rgba(31,41,55,.30);
  --glow-primary: 0 12px 30px -10px var(--ring);
  --shadow: var(--elev-1); --shadow-lg: var(--elev-3);

  /* spacing scale (4px base) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
  --section-pad: clamp(72px, 9vw, 128px); --section-pad-sm: clamp(56px, 7vw, 96px);

  /* fluid type scale */
  --fs-display: clamp(44px, 6.4vw, 76px); --fs-h1: clamp(36px, 5vw, 60px);
  --fs-h2: clamp(30px, 4.6vw, 50px); --fs-h3: clamp(20px, 2.4vw, 26px);
  --fs-lead: clamp(17px, 2.1vw, 21px); --fs-small: 14px;

  /* glass (nav-scrolled + hero float badges only) */
  --glass-bg: color-mix(in srgb, #fff 72%, transparent); --glass-blur: 12px;

  --maxw: 1240px; --maxw-wide: 1320px;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --wm-accent: var(--clay); --wm-ink: var(--ink);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); background: var(--bg); color: var(--ink);
  font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--clay-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--clay); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
section { padding-block: var(--section-pad); }
.section-head { max-width: 62ch; margin: 0 0 clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--clay-dark); margin: 0 0 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--clay); border-radius: 2px; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); line-height: 1.08; margin-bottom: 14px; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); margin: 0; }
.tint { background: var(--bg-sunk); }
.tint-elev { background: var(--bg-elev); }

/* ---------- Grid ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 26px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; text-align: center;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px var(--ring); }
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: var(--glow-primary); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 6px 16px -8px var(--ring); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay-dark); background: var(--color-primary-wash); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Panels / cards ---------- */
.panel {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px);
}

/* icons */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; flex: none; }

/* ---------- Logo lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--clay); flex: none; }
.lk { font-family: var(--font-sans); font-size: 21px; letter-spacing: -1px; line-height: 1; display: inline-flex; align-items: center; color: inherit; }
.lk-r { font-weight: 500; }
.lk-b { font-weight: 800; }
.roofA { height: .82em; width: auto; margin: 0 .02em; color: var(--wm-accent); transform: translateY(.02em); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nav.scrolled {
  background: var(--glass-bg); backdrop-filter: saturate(1.5) blur(var(--glass-blur));
  border-bottom-color: var(--border); box-shadow: var(--elev-1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; transition: padding-block .25s ease; }
.nav.scrolled .nav-inner { padding-block: 9px; }
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--ink-soft); font-weight: 500; font-size: 15px; position: relative; }
.nav-link:hover { color: var(--clay-dark); text-decoration: none; }
.nav-link:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--clay); border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.nav-link:not(.btn):hover::after, .nav-link.is-active:not(.btn)::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.nav-signin { margin-left: 4px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-ico-close { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    padding: 16px clamp(20px, 5vw, 40px) 22px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
  }
  .nav.open .nav-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav.open .nav-ico-open { display: none; }
  .nav.open .nav-ico-close { display: block; }
  .nav-link { padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(31,41,55,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,41,55,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(82% 72% at 72% 18%, #000, transparent 76%);
  mask-image: radial-gradient(82% 72% at 72% 18%, #000, transparent 76%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 55% at 82% -8%, color-mix(in srgb, var(--clay) 18%, transparent), transparent 70%),
    radial-gradient(48% 48% at -6% 108%, color-mix(in srgb, var(--sage) 16%, transparent), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: start; padding-block: clamp(44px, 5vw, 80px); }
.hero-copy { padding-top: clamp(8px, 2vw, 28px); }
.hero h1 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 18px; }
.hero h1 .accent { color: var(--clay); }
.hero-sub { font-size: clamp(16px, 2.1vw, 19px); color: var(--ink-soft); max-width: 52ch; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-micro { margin-top: 16px; font-size: 13.5px; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 8px; }
.hero-micro .ico { width: 16px; height: 16px; color: var(--success); }
.hero-trust { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-500); }
.hero-trust .ico { width: 15px; height: 15px; color: var(--clay); }
.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--clay-wash); color: var(--clay-dark);
  font-weight: 600; font-size: 13px; padding: 6px 13px 6px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--clay) 22%, transparent);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 0 var(--ring); animation: pill-pulse 2.4s ease-out infinite; }
@keyframes pill-pulse { 0% { box-shadow: 0 0 0 0 var(--ring); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.hero-visual { min-width: 0; } /* allow the grid column to shrink below the mock's content width */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: 2; }
}

.hero h1 .accent {
  background: linear-gradient(115deg, var(--clay), var(--clay-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--clay);
}

/* ---------- Product screenshots (framed) ---------- */
.shot { margin: 0; position: relative; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #efe7db; border-bottom: 1px solid #e6dccb; }
.shot-dot { width: 10px; height: 10px; border-radius: 50%; background: #d9cbb8; flex: none; }
.shot-dot:nth-child(1) { background: #e08a7c; }
.shot-dot:nth-child(2) { background: #e6b877; }
.shot-dot:nth-child(3) { background: #a7c48c; }
.shot-url { margin-left: 12px; font-size: 12px; font-weight: 500; color: var(--ink-muted); background: var(--bg-elev); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot--float { border-radius: var(--radius); box-shadow: 0 22px 54px -20px rgba(31,41,55,.42); }

/* Hero: framed dashboard + a floating crop card */
.hero-visual { position: relative; min-width: 0; }
.hero-visual .shot--browser { box-shadow: var(--shadow-lg), 0 54px 90px -52px var(--ring); }
.hero-float { position: absolute; right: -14px; bottom: -30px; width: 47%; max-width: 300px; z-index: 2; }
@media (max-width: 860px) { .hero-float { right: 0; bottom: -20px; width: 52%; } }
@media (max-width: 520px) { .hero-float { display: none; } }

/* ---------- Page hero (Features / Pricing / About) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(52px, 6.5vw, 100px) clamp(40px, 5vw, 72px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(31,41,55,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,41,55,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 78%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 84% -10%, color-mix(in srgb, var(--clay) 16%, transparent), transparent 70%),
    radial-gradient(42% 55% at 10% 110%, color-mix(in srgb, var(--sage) 14%, transparent), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-head { max-width: 66ch; }
.page-hero-title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.025em; margin: 4px 0 16px; }
.page-hero-title .accent { background: linear-gradient(115deg, var(--clay), var(--clay-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--clay); }
.page-hero-trust { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.page-hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-500); }
.page-hero-trust .ico { width: 15px; height: 15px; color: var(--clay); }

/* ---------- Chips / built-for ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.chip .ico { width: 15px; height: 15px; color: var(--clay); }
.audience-card { text-align: left; }
.audience-card .ico-tile { margin-bottom: 14px; }

/* icon tile used across cards */
.ico-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--clay-wash); color: var(--clay-dark); display: inline-flex; align-items: center; justify-content: center; }
.ico-tile .ico { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin: 0 0 6px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.panel.card { transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.panel.card:hover { transform: translateY(-4px); box-shadow: var(--elev-2); border-color: var(--border-strong); }

/* ---------- Bento feature grid ---------- */
.bento {
  display: grid; gap: var(--sp-4); grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(196px, auto);
  grid-template-areas:
    "a a b c"
    "a a d d"
    "e e f f";
}
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: d; }
.bento > :nth-child(5) { grid-area: e; }
.bento > :nth-child(6) { grid-area: f; }
.bento-tile { margin: 0; border-radius: var(--radius-xl); }
.bento-tile h3 { font-size: 20px; }
/* Large tiles: copy on top, a screenshot peeking from the bottom edge (never overlapping). */
.bento-tile--lg { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--surface-2); min-height: 340px; }
.bento-tile--lg > .ico-tile, .bento-tile--lg > h3 { position: relative; z-index: 2; }
.bento-tile--lg > p { position: relative; z-index: 2; max-width: 40ch; margin-bottom: 16px; }
.bento-tile--lg::after {
  content: ""; position: absolute; inset: auto -20% -30% 20%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 70% 60%, color-mix(in srgb, var(--clay) 12%, transparent), transparent 72%);
}
.bento-shot { margin-top: auto; z-index: 1; }
.bento-shot .shot {
  width: 86%; margin-left: auto; margin-right: calc(-1 * clamp(20px, 3vw, 30px));
  border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--elev-2);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.bento > :nth-child(5) .bento-shot .shot { width: 92%; }
.bento-tile--lg:hover .bento-shot .shot { transform: translateY(-6px); }
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "a a" "b c" "d d" "e e" "f f"; }
}
@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .bento-tile--lg { min-height: 0; }
  .bento-shot .shot, .bento > :nth-child(5) .bento-shot .shot { width: 100%; margin-right: 0; }
  .bento-tile--lg::after { display: none; }
}

/* ---------- Benefits for owners ---------- */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.benefits-media { position: sticky; top: 92px; }
.benefits-media .lead { margin-bottom: 22px; }
.benefits-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.benefit-row { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--elev-1); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.benefit-row:hover { transform: translateY(-3px); box-shadow: var(--elev-2); border-color: var(--border-strong); }
.benefit-row .ico-tile { flex: none; }
.benefit-row h3 { font-size: 18px; margin: 0 0 4px; }
.benefit-row p { color: var(--ink-soft); font-size: 15px; margin: 0; }
@media (max-width: 820px) { .benefits-grid { grid-template-columns: 1fr; } .benefits-media { position: static; } }

/* ---------- Trust markers + testimonials ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 940px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--elev-1); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--elev-2); border-color: var(--border-strong); }
.trust-card .ico-tile { margin-bottom: 14px; }
.trust-card h3 { font-size: 17px; margin: 0 0 6px; }
.trust-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-6); }
@media (max-width: 820px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--elev-1); margin: 0; }
.testimonial blockquote { margin: 0 0 16px; font-size: 16px; color: var(--ink); line-height: 1.55; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--clay-wash); color: var(--clay-dark); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Problem / Solution ---------- */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 24px); }
@media (max-width: 720px) { .ps-grid { grid-template-columns: 1fr; } }
.ps-card h3 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ps-list li { display: flex; gap: 11px; padding: 9px 0; color: var(--ink-soft); font-size: 15px; align-items: flex-start; }
.ps-list .ico { width: 20px; height: 20px; margin-top: 1px; }
.ps-before { background: var(--bg-elev); }
.ps-before h3 .ico { color: var(--danger); }
.ps-before .ico { color: var(--danger); }
.ps-after { background: linear-gradient(180deg, #fff, var(--clay-wash)); border-color: color-mix(in srgb, var(--clay) 24%, var(--line)); }
.ps-after h3 .ico { color: var(--success); }
.ps-after .ico { color: var(--success); }

/* ---------- Spotlight ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.spot + .spot { margin-top: clamp(40px, 6vw, 72px); }
.spot.reverse .spot-media { order: -1; }
@media (max-width: 820px) { .spot { grid-template-columns: 1fr; gap: 28px; } .spot.reverse .spot-media { order: 0; } }
.spot h3 { font-size: clamp(22px, 3vw, 30px); margin: 10px 0 12px; }
.spot p { color: var(--ink-soft); }
.spot-points { margin-top: 16px; }
.spot-points li { display: flex; gap: 10px; padding: 7px 0; color: var(--ink); font-size: 15px; }
.spot-points .ico { width: 20px; height: 20px; color: var(--success); margin-top: 1px; }
.spot-media { position: relative; min-width: 0; }
.spot-float { position: absolute; right: -14px; bottom: -24px; width: 52%; max-width: 320px; z-index: 2; }
@media (max-width: 820px) { .spot-float { right: 0; bottom: -16px; width: 56%; } }
@media (max-width: 520px) { .spot-float { display: none; } }

/* ---------- Product showcase ---------- */
.showcase-row { margin-top: clamp(40px, 6vw, 68px); }
.showcase .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.showcase .wrap, .spotlight-section .wrap { max-width: var(--maxw-wide); }

/* cascade diagram */
.cascade { display: flex; flex-direction: column; gap: 10px; }
.cascade-row { display: flex; align-items: center; gap: 12px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; box-shadow: var(--shadow); }
.cascade-row .tier { font-weight: 700; font-family: var(--font-display); }
.cascade-row .desc { font-size: 13px; color: var(--ink-muted); margin-left: auto; }
.cascade-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.b-system { background: #dbeafe; color: #1e40af; }
.b-property { background: #dcfce7; color: #166534; }
.b-unit { background: #fef3c7; color: #92400e; }
.b-contract { background: var(--clay-wash); color: var(--clay-dark); }
.cascade-arrow { text-align: center; color: var(--ink-muted); font-size: 12px; margin: -4px 0; }

/* rooms diagram */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.room { aspect-ratio: 1/.72; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-elev); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--ink-muted); box-shadow: var(--shadow); }
.room.in-set { background: var(--clay-wash); border-color: color-mix(in srgb, var(--clay) 30%, var(--line)); color: var(--clay-dark); }
.room.vacant { border-style: dashed; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 24px); counter-reset: step; position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--elev-1); position: relative; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--elev-2); border-color: var(--border-strong); }
.step .num { width: 48px; height: 48px; border-radius: 14px; background: var(--clay); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: var(--glow-primary); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
/* connector line linking the step badges on wide screens */
@media (min-width: 901px) {
  .steps::before { content: ""; position: absolute; top: calc(26px + 24px); left: 0; right: 0; z-index: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--clay-soft) 0 7px, transparent 7px 15px); opacity: .55; }
  .step { z-index: 1; }
}

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 12px; justify-content: center; margin: 4px auto 8px; }
.price-toggle .lbl { font-weight: 600; font-size: 14.5px; color: var(--ink-muted); }
.price-toggle .lbl.on { color: var(--ink); }
.switch { position: relative; width: 52px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-sunk); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--clay); transition: transform .18s ease; }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.save-badge { font-size: 12px; font-weight: 700; color: var(--success); background: #dcfce7; border-radius: 999px; padding: 3px 10px; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); align-items: stretch; }
@media (max-width: 1024px) { .price-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 22px); max-width: 720px; margin-inline: auto; } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } }
.price-card { display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.price-card:not(.pop):hover { transform: translateY(-4px); box-shadow: var(--elev-2); border-color: var(--border-strong); }
.price-card.pop { border-color: var(--clay); background: var(--surface-2); box-shadow: var(--glow-primary); }
.price-card.pop::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--clay), var(--clay-dark)); }
@media (min-width: 1025px) { .price-card.pop { transform: scale(1.03); } .price-card.pop:hover { transform: scale(1.03) translateY(-4px); } }
.price-card.pop:hover { box-shadow: var(--elev-3), var(--glow-primary); }
.pop-flag { position: absolute; top: 14px; right: 14px; background: linear-gradient(90deg, var(--clay), var(--clay-dark)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; box-shadow: var(--elev-1); }
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.price-tag { font-size: 13.5px; color: var(--ink-muted); margin: 2px 0 16px; }
.price-amt { display: flex; align-items: baseline; gap: 4px; }
.price-amt .cur { font-size: 22px; font-weight: 700; }
.price-amt .num { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.02em; }
.price-amt .per { font-size: 14px; color: var(--ink-muted); }
.price-annual { font-size: 12.5px; color: var(--ink-muted); min-height: 18px; margin-top: 4px; }
.price-cta { margin: 18px 0 6px; }
.price-cta .btn { width: 100%; }
.price-foot { font-size: 12.5px; color: var(--ink-muted); text-align: center; margin-bottom: 16px; }
.price-list { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.price-list li { display: flex; gap: 9px; padding: 6px 0; font-size: 14px; color: var(--ink-soft); align-items: flex-start; }
.price-list .ico { width: 18px; height: 18px; color: var(--success); margin-top: 1px; }
.price-list .lim { font-weight: 600; color: var(--ink); }
.soon { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--warning); background: #fef3c7; border-radius: 5px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.price-note { text-align: center; color: var(--ink-muted); font-size: 13px; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; margin-inline: auto; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: start; }
@media (max-width: 767px) { .faq-list { grid-template-columns: 1fr; } }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--elev-1); padding: 2px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item:hover { border-color: var(--border-strong); box-shadow: var(--elev-2); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 18px 30px 18px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; line-height: 1.35; color: var(--ink); }
.faq-q::after { content: "+"; position: absolute; right: 0; top: 20px; font-size: 22px; color: var(--clay); font-weight: 400; }
.faq-q[aria-expanded="true"]::after { content: "\2013"; }
.faq-a { padding: 0 30px 18px 0; color: var(--ink-soft); font-size: 15px; }
.faq-a[hidden] { display: none; }

/* ---------- Forms / lead ---------- */
.form-card { max-width: 560px; margin-inline: auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.input, .textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px var(--ring); }
.field:focus-within label { color: var(--clay-dark); }
.textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; }
.form-msg { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #dcfce7; color: #166534; }
.form-msg.err { background: #fee2e2; color: #991b1b; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--clay), var(--clay-dark)); color: #fff; border-radius: var(--radius-2xl); padding: clamp(40px, 6vw, 76px); text-align: center; box-shadow: var(--elev-3); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(55% 120% at 82% -12%, rgba(255,255,255,.20), transparent 55%), radial-gradient(45% 110% at 12% 120%, rgba(0,0,0,.12), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.cta-band p { color: color-mix(in srgb, #fff 88%, transparent); max-width: 52ch; margin: 0 auto 26px; font-size: clamp(16px, 2vw, 18px); }
.cta-band .btn-primary { background: #fff; color: var(--clay-dark); box-shadow: 0 10px 26px -12px rgba(0,0,0,.5); }
.cta-band .btn-primary:hover { background: var(--cream); }
.cta-band .btn-ghost { color: #fff; background: transparent; border-color: color-mix(in srgb, #fff 45%, transparent); }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-micro { margin: 18px 0 0; font-size: 14px; color: color-mix(in srgb, #fff 80%, transparent); }

/* ---------- Footer ---------- */
.footer { background: var(--slate-900); color: #cdd3db; padding-block: 56px 30px; margin-top: clamp(40px, 6vw, 80px); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-bottom: 30px; margin-bottom: 34px; border-bottom: 1px solid #2c313a; }
.footer-trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #b9c0ca; }
.footer-trust-item .ico { width: 16px; height: 16px; color: #D6764F; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; gap: 30px; } }
.footer .brand { color: #F7F3EC; }
.footer .brand-mark { color: #F7F3EC; }
.footer .roofA { --wm-accent: #D6764F; }
.footer-tag { margin: 14px 0 4px; color: #e7e2d8; font-weight: 500; }
.footer-mini { font-size: 13px; color: #8891a0; margin: 0 0 12px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #8891a0; margin-bottom: 12px; }
.footer-col a { display: block; color: #cdd3db; font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 20px; border-top: 1px solid #2c313a; }
.footer-base small { color: #8891a0; font-size: 13px; }

/* ---------- Stat band (dark) ---------- */
.stat-band { background: var(--slate-900); color: #e7e2d8; position: relative; overflow: hidden; }
.stat-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 130% at 50% -25%, color-mix(in srgb, var(--clay) 24%, transparent), transparent 58%);
}
.stat-band .wrap { position: relative; z-index: 1; }
.stat-band .section-title { color: #fff; }
.stat-lead { color: var(--clay-soft); max-width: 58ch; margin-inline: auto; }
.eyebrow-invert { color: var(--clay-soft); }
.eyebrow-invert::before { background: var(--clay-soft); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 30px); margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; } }
@media (min-width: 821px) { .stat + .stat { border-left: 1px solid rgba(255,255,255,.10); } }
.stat { text-align: center; padding: 6px 10px; }
.stat-big {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5.4vw, 58px); line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, var(--clay-soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
}
.stat-label { font-weight: 600; margin-top: 10px; color: #f0ebe1; }
.stat-sub { font-size: 13px; color: #9aa2ad; margin-top: 4px; }

/* ---------- Long-form prose (legal pages) ---------- */
.prose { max-width: 72ch; margin-inline: auto; color: var(--ink-700); font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); color: var(--ink-900); margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--clay); }
.prose .prose-meta { color: var(--ink-500); font-size: var(--fs-small); margin-bottom: 32px; }
.prose strong { color: var(--ink-900); font-weight: 600; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.mt-l { margin-top: clamp(28px, 4vw, 44px); }
.stack-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Scroll-reveal (JS-gated so no-JS shows everything) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
