@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fff;
  --surface: #f7f8fa;
  --surface-strong: #eef1f4;
  --surface-blue: #f3f7fa;
  --surface-gold: #fbf6eb;
  --ink: #171717;
  --ink-soft: #34383d;
  --muted: #666b72;
  --line: #e5e7eb;
  --line-strong: #d9dde2;
  --gold: #c99a3d;
  --gold-dark: #936c25;
  --charcoal: #17191c;
  --success: #23734b;
  --danger: #aa3d3d;
  --max: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 3px 14px rgba(23, 25, 28, .04);
  --shadow: 0 12px 32px rgba(23, 25, 28, .07);
  --sans: 'Manrope', Inter, Geist, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.6 var(--sans); text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.13; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); font-weight: 800; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: .65rem .9rem; color: var(--ink); background: var(--gold); font-weight: 800; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(201, 154, 61, .55); outline-offset: 3px; }

/* Header and brand */
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(229, 231, 235, .96); background: rgba(255, 255, 255, .985); box-shadow: 0 1px 0 rgba(23, 25, 28, .02); }
.nav-wrap { width: min(var(--max), calc(100% - 40px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.brand-logo { width: 218px; height: auto; aspect-ratio: 3 / 1; object-fit: contain; object-position: left center; }
.site-header .brand { min-height: 52px; padding: .35rem .65rem; border: 1px solid #e8e1d3; border-radius: 12px; background: linear-gradient(135deg, #fffdf8, #f8f8f7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 2px 8px rgba(23, 25, 28, .04); }
.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.65rem); font-size: .86rem; }
.site-nav a { color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--ink); }
.nav-auth { display: flex; align-items: center; gap: .8rem; margin-left: .35rem; }
.nav-auth .sign-in { color: var(--ink); }
.nav-cta, .btn-primary { border: 1px solid var(--charcoal); background: var(--charcoal); color: #fff !important; font-weight: 800; }
.nav-cta { padding: .62rem .95rem; border-radius: 10px; }
.nav-cta:hover, .btn-primary:hover { background: #30343a; border-color: #30343a; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-6px) rotate(-45deg); }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
[id] { scroll-margin-top: 96px; }
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.25rem, 4vw, 3.75rem) 0; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold-dark); font-size: .7rem; line-height: 1.3; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lede { max-width: 680px; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }
.small-copy, .muted { color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-head > p { max-width: 460px; margin: 0; color: var(--muted); }
.align-center { text-align: center; }
.align-center .lede { margin-inline: auto; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: .86rem; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(23, 25, 28, .08); }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-secondary:hover { border-color: #c4c9d0; background: var(--surface); }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; font-weight: 800; }

/* Above-the-fold hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.6rem, 6.5vw, 6.2rem) 0 4.8rem; background: radial-gradient(circle at 84% 16%, rgba(251, 246, 235, .9), transparent 28%), linear-gradient(180deg, #fff 0%, #fbfcfd 100%); border-bottom: 1px solid var(--line); }
.hero::after { position: absolute; right: -100px; bottom: -180px; width: 460px; height: 460px; border: 1px solid rgba(201, 154, 61, .16); border-radius: 50%; content: ''; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .82fr); gap: clamp(2.25rem, 4vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 700px; font-size: clamp(2.8rem, 5vw, 3.9rem); }
.hero h1 .hero-line { display: block; }
.hero h1 .hero-accent { color: var(--gold-dark); }
.hero-note { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }
.ask-box { margin-top: 2rem; padding: .55rem; border: 1px solid #d8dce1; border-radius: 17px; background: #fff; box-shadow: 0 13px 32px rgba(23, 25, 28, .1); }
.ask-form { display: flex; gap: .5rem; }
.ask-form input { min-width: 0; flex: 1; padding: .85rem .9rem; border: 0; outline: 0; color: var(--ink); background: transparent; }
.ask-form input::placeholder { color: #7b8087; opacity: 1; }
.ask-form button { min-height: 44px; padding: .65rem 1rem; border: 0; border-radius: 10px; background: var(--charcoal); color: #fff; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.ask-form button:hover { background: #30343a; transform: translateY(-1px); }
.suggestions { display: flex; flex-wrap: wrap; gap: .45rem; margin: .55rem 0 0; padding: 0 .35rem .2rem; list-style: none; }
.suggestions button { padding: .36rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: .72rem; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.suggestions button:hover, .suggestions button.is-current { border-color: var(--gold); color: var(--ink); background: var(--surface-gold); }
.ask-response { display: none; margin: .75rem .35rem .25rem; padding: .75rem .85rem; border-radius: 10px; color: var(--ink-soft); background: var(--surface-gold); font-size: .82rem; }
.ask-response.is-visible { display: block; }
.hero-card { position: relative; overflow: hidden; min-height: 404px; padding: 1.15rem; border: 1px solid #dce1e4; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 40px rgba(23, 25, 28, .1); }
.hero-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #e9d4a8 55%, #dcecf1); content: ''; }
.hero-card-photo { width: 100%; height: 180px; border-radius: 15px; object-fit: cover; }
.hero-card-head { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.hero-card-head small, .mini-label { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero-card-head strong { display: block; margin-top: .25rem; font-size: 1.15rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: .3rem; border-radius: 50%; background: #45a76c; }
.hero-card-list { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.hero-card-list li { display: flex; align-items: center; justify-content: space-between; padding: .72rem .8rem; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fbfcfd; font-size: .76rem; transition: border-color .3s ease, background .3s ease, transform .3s ease; }
.hero-card-list li.is-highlighted { border-color: #dec890; background: var(--surface-gold); transform: translateX(3px); }
.hero-card-list b { color: var(--ink); }
.insight-progress { position: absolute; right: 1.15rem; bottom: .7rem; left: 1.15rem; height: 3px; overflow: hidden; border-radius: 9px; background: var(--surface-strong); }
.insight-progress span { display: block; width: 36%; height: 100%; border-radius: inherit; background: var(--gold); animation: insight-progress 4.8s linear infinite; }
.insight-progress.is-paused span { animation-play-state: paused; }
@keyframes insight-progress { from { transform: translateX(-110%); } to { transform: translateX(290%); } }

/* Tinted surfaces and horizontal navigation */
.surface-section { background: var(--surface); }
.surface-section:nth-of-type(odd) { background: var(--surface-blue); }
.category-row, .tool-row, .use-case-row { display: flex; gap: .75rem; overflow-x: auto; padding: .2rem .05rem 1rem; scrollbar-width: thin; }
.category-card { position: relative; flex: 1 1 0; min-width: 0; min-height: 116px; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.category-card::after { position: absolute; right: 1rem; bottom: .7rem; width: 7px; height: 7px; border-top: 1.5px solid var(--gold-dark); border-right: 1.5px solid var(--gold-dark); content: ''; transform: rotate(45deg); }
.category-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.icon-box { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: .7rem; border: 1px solid #e6d9bb; border-radius: 11px; color: var(--gold-dark); background: var(--surface-gold); font-size: 0; }
.icon-box svg, .agent-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.category-card:nth-child(2) .icon-box, .tool-card:nth-child(3) .icon-box { color: #35677c; border-color: #d5e3e9; background: var(--surface-blue); }
.category-card:nth-child(3) .icon-box, .tool-card:nth-child(4) .icon-box { color: #7b5b8e; border-color: #e5d8eb; background: #f8f3fa; }
.category-card:nth-child(4) .icon-box, .tool-card:nth-child(2) .icon-box { color: #4f6070; border-color: #dce4e9; background: #f3f6f8; }
.category-card strong { display: block; font-size: .86rem; }
.category-card small { color: var(--muted); font-size: .7rem; }

/* Tool and agent cards */
.tool-grid, .agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.tool-card, .agent-card, .use-case-card { position: relative; min-height: 188px; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tool-card::before, .agent-card::before, .agent-page-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #dcecf1; content: ''; }
.tool-card:nth-child(2)::before, .tool-card:nth-child(5)::before, .agent-card:nth-child(3)::before { background: #e8d7b1; }
.tool-card:nth-child(3)::before, .agent-card:nth-child(2)::before { background: #d9e4ef; }
.tool-card:nth-child(4)::before, .agent-card:nth-child(4)::before { background: #e5d9ec; }
.tool-card:nth-child(5), .agent-card:nth-child(1) { background: #fffdf8; }
.tool-card:nth-child(8), .agent-card:nth-child(8) { background: #f7fafb; }
.tool-card:hover, .agent-card:hover, .use-case-card:hover { border-color: #d5b36c; box-shadow: var(--shadow); transform: translateY(-4px); }
.tool-card p, .agent-card p, .use-case-card p { margin: .6rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.card-link { position: relative; display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; color: var(--ink); font-size: .76rem; font-weight: 800; text-decoration: none; }
.card-link::after { width: 7px; height: 7px; border-top: 1.5px solid var(--gold-dark); border-right: 1.5px solid var(--gold-dark); content: ''; transform: rotate(45deg); transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(3px) rotate(45deg); }
.agent-grid { grid-template-columns: repeat(4, 1fr); }
.agent-card { min-height: 202px; }
.agent-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border: 1px solid #e6d9bb; border-radius: 12px; color: var(--gold-dark); background: var(--surface-gold); font-size: 0; }
.agent-icon svg { width: 21px; height: 21px; }

/* Product demos */
.doc-demo { display: grid; grid-template-columns: .86fr 1.14fr; gap: 1.1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.doc-file { display: flex; flex-direction: column; justify-content: space-between; min-height: 310px; padding: 1.3rem; border-radius: 15px; background: linear-gradient(150deg, #22262b, #17191c); color: #fff; }
.doc-file p { margin: .5rem 0 0; color: #c7cbd0; font-size: .82rem; }
.pdf-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #f2d38f; font-size: .78rem; font-weight: 800; }
.doc-file small { color: #b7bec6; font-size: .72rem; }
.doc-findings { padding: 1.25rem; }
.doc-findings h3 { margin-bottom: 1rem; }
.finding-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.finding-list li { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .88rem; }
.finding-list li::before { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #28724c; background: #eaf6ef; content: '✓'; font-weight: 800; }
.doc-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.construction-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; align-items: stretch; }
.construction-photo { min-height: 390px; border-radius: var(--radius-lg); object-fit: cover; filter: saturate(.88); }
.calculator { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.calc-form { padding: 1.4rem; background: var(--surface-blue); }
.calc-output { padding: 1.4rem; }
.field { display: grid; gap: .4rem; margin-bottom: .9rem; }
.field label { color: var(--ink-soft); font-size: .72rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: .65rem .72rem; border: 1px solid #d9dde2; border-radius: 10px; color: var(--ink); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.calc-result { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 1.1rem; }
.result-box { padding: .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.result-box span { display: block; color: var(--muted); font-size: .7rem; }
.result-box strong { display: block; margin-top: .25rem; font-size: 1.25rem; transition: color .25s ease, transform .25s ease; }
.calculator.is-updated .result-box strong { color: var(--gold-dark); transform: translateY(-2px); }
.calc-caption { margin: 1rem 0 0; color: var(--muted); font-size: .74rem; }
.demo-note { color: var(--muted); font-size: .74rem; }
.interior-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 1.2rem; align-items: stretch; }
.interior-image { min-height: 410px; border-radius: var(--radius-lg); object-fit: cover; filter: saturate(.9); }
.interior-copy { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chip { padding: .55rem .72rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: .76rem; font-weight: 700; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.chip[aria-pressed='true'], .chip:hover { border-color: var(--gold); color: var(--ink); background: var(--surface-gold); }
.interior-result { min-height: 56px; margin-top: 1rem; padding: .8rem; border-radius: 12px; color: var(--ink-soft); background: var(--surface); font-size: .8rem; transition: opacity .2s ease, transform .2s ease; }
.interior-result.is-changing { opacity: .35; transform: translateY(4px); }
.legal-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.2rem; }
.legal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.legal-item { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.legal-item:hover { border-color: #dec890; transform: translateY(-2px); }
.legal-item strong { display: block; font-size: .86rem; }
.legal-item button { margin-top: .45rem; padding: 0; border: 0; color: var(--gold-dark); background: transparent; font-size: .72rem; font-weight: 800; }
.legal-preview { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.legal-preview blockquote { margin: 1rem 0; padding: 1rem; border-left: 3px solid var(--gold); color: var(--ink-soft); background: var(--surface); font-size: .88rem; }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.metric-card { position: relative; overflow: hidden; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.metric-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--gold); content: ''; }
.metric-card:nth-child(2)::before, .metric-card:nth-child(5)::before { background: #b8d2dc; }
.metric-card:nth-child(3)::before { background: #d7c3e2; }
.metric-card:nth-child(4)::before { background: #bdc9dd; }
.metric-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.metric-card strong { display: block; margin-top: .35rem; font-size: 1.35rem; transition: transform .45s ease, color .45s ease; }
.metric-card.is-counting strong { color: var(--gold-dark); transform: translateY(-2px); }
.metric-card small { color: var(--muted); font-size: .7rem; }

/* Tabs and pricing */
.use-case-tabs { display: flex; gap: .55rem; overflow-x: auto; margin-bottom: 1rem; padding: .15rem .05rem .65rem; }
.use-case-tab, .toggle-btn { min-height: 42px; padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; font-size: .78rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.use-case-tab[aria-selected='true'], .toggle-btn[aria-pressed='true'] { border-color: var(--charcoal); color: #fff; background: var(--charcoal); }
.use-case-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: opacity .2s ease, transform .2s ease; }
.use-case-panel p { margin: 0; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.price-card { position: relative; display: flex; min-height: 0; height: 100%; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card.featured { border: 2px solid var(--gold); box-shadow: 0 10px 26px rgba(201, 154, 61, .15); background: #fffdf8; }
.price-card h3 { font-size: 1.05rem; }
.price-card .price { margin: 1.25rem 0 .15rem; font-size: 1.8rem; font-weight: 800; }
.price-card .period, .price-card .small-copy { color: var(--muted); font-size: .72rem; }
.price-card ul { display: grid; gap: .5rem; margin: 1rem 0 1.35rem; padding: 0; list-style: none; color: var(--muted); font-size: .75rem; }
.price-card li::before { margin-right: .4rem; color: var(--gold); content: '✓'; font-weight: 800; }
.plan-cta { display: inline-flex; width: 100%; min-height: 42px; margin-top: auto; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: .78rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.plan-cta:hover { background: var(--surface); transform: translateY(-1px); }
.featured .plan-cta { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.badge { position: absolute; top: -.7rem; right: .9rem; padding: .3rem .55rem; border-radius: 999px; color: #513b14; background: #f1d79d; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 0 auto 2rem; }
.toggle-note { color: var(--gold-dark); font-size: .74rem; font-weight: 800; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.comparison { width: 100%; min-width: 800px; border-collapse: collapse; font-size: .8rem; }
.comparison th, .comparison td { padding: .9rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.comparison th { background: var(--charcoal); color: #fff; font-size: .7rem; text-transform: uppercase; }
.comparison th:not(:first-child), .comparison td:not(:first-child) { text-align: center; }
.comparison tr:last-child td { border-bottom: 0; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(3.1rem, 5.8vw, 5.2rem) 0; background: linear-gradient(135deg, var(--surface) 0%, #fff 74%); border-bottom: 1px solid var(--line); }
.page-hero::after { position: absolute; right: -80px; bottom: -150px; width: 360px; height: 360px; border: 1px solid rgba(201, 154, 61, .16); border-radius: 50%; content: ''; }
.page-hero .hero-grid { align-items: center; }
.page-hero .hero-grid > :last-child { position: relative; z-index: 1; min-height: 184px; padding: 1.45rem; border: 1px solid rgba(211, 218, 224, .95); border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff, #f7fafb); box-shadow: var(--shadow-sm); }
.page-hero .hero-grid > :last-child::before { position: absolute; top: 1.3rem; right: 1.35rem; width: 72px; height: 8px; border-radius: 99px; background: var(--gold); box-shadow: -20px 17px 0 #cbdce3, -42px 34px 0 #e8edf0; content: ''; opacity: .8; }
.page-hero .hero-grid > :last-child .lede { max-width: 430px; padding-right: 4.3rem; }
.page-hero h1 { max-width: 780px; font-size: clamp(2.5rem, 5.7vw, 4.8rem); }
.page-hero .hero-grid > :last-child .btn { margin-top: 1.2rem; }
.breadcrumb { margin: 0 0 1.5rem; color: var(--muted); font-size: .74rem; }
.breadcrumb a { text-decoration: none; }
[data-page='platform'] .page-hero .hero-grid > :last-child { background: linear-gradient(145deg, #f3f8fa, #fff); }
[data-page='agents'] .page-hero .hero-grid > :last-child { background: linear-gradient(145deg, #fffaf1, #fff); }
[data-page='pricing'] .page-hero .hero-grid > :last-child { background: linear-gradient(145deg, #f8f3fa, #fff); }
[data-page='about'] .page-hero .hero-grid > :last-child { background: linear-gradient(145deg, #f6f8fc, #fff); }
.agent-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.agent-page-card { position: relative; min-height: 280px; padding: 1.3rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.agent-page-card:hover { border-color: #d5b36c; box-shadow: var(--shadow); transform: translateY(-3px); }
.agent-page-card p { color: var(--muted); font-size: .84rem; }
.capability-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.capability-list span { padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; }
.contact-aside dl { margin: 1.8rem 0 0; }
.contact-aside dt { margin-top: 1rem; color: var(--gold-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.contact-aside dd { margin: .25rem 0 0; color: var(--muted); }
.form-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-status { min-height: 1.4rem; margin: .8rem 0 0; font-size: .82rem; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }
.required-note { margin: 0 0 1.2rem; color: var(--muted); font-size: .74rem; }
.prose { max-width: 840px; }
.prose h2 { margin: 2.7rem 0 .8rem; font-size: 1.7rem; }
.prose h3 { margin: 2rem 0 .65rem; font-size: 1.2rem; }
.prose p, .prose li { color: var(--muted); }
.policy-meta { margin-top: 1rem; color: var(--muted); font-size: .78rem; }

/* Footer and motion */
.cta-band { padding: 3.2rem 0; background: var(--surface-gold); border-block: 1px solid #efdfbc; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { max-width: 700px; font-size: clamp(1.75rem, 3vw, 2.65rem); }
.site-footer { padding: 4rem 0 1.3rem; color: #c6cbd1; background: var(--charcoal); }
.site-footer .brand { min-height: 54px; padding: .35rem .7rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: #24282d; }
.site-footer .brand-logo { width: 210px; filter: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { max-width: 310px; color: #9fa7af; font-size: .82rem; }
.footer-col { display: grid; align-content: start; gap: .45rem; }
.footer-col h3 { margin-bottom: .45rem; color: #fff; font-size: .84rem; letter-spacing: 0; }
.footer-col a { color: #aeb6be; font-size: .78rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #363b41; color: #89929b; font-size: .72rem; }
.footer-bottom > span + span { margin-left: auto; }
[data-reveal] { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.hero [data-reveal], .page-hero [data-reveal] { opacity: 1; transform: none; }
.js-ready main section:not(.hero):not(.page-hero) [data-reveal], .js-ready .cta-band [data-reveal] { opacity: .35; transform: translateY(8px); transition-duration: .36s; }
.js-ready main section:not(.hero):not(.page-hero) [data-reveal].is-visible, .js-ready .cta-band [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .tool-grid, .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { gap: .9rem; }
  .brand-logo { width: 200px; }
}
@media (max-width: 960px) {
  .nav-wrap, .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { min-height: 64px; }
  .site-header .brand { min-height: 48px; }
  .brand-logo { width: 190px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; z-index: 40; top: 64px; right: 0; left: 0; height: calc(100dvh - 64px); max-height: calc(100vh - 64px); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: #fff; box-shadow: 0 18px 30px rgba(23, 25, 28, .1); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 1rem .5rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-auth { display: grid; gap: .65rem; margin: 1rem 0 0; }
  .nav-auth a { display: grid; min-height: 46px; place-items: center; }
  .hero { padding-top: 3.5rem; }
  .hero-grid, .construction-wrap, .interior-grid, .legal-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .section-head { display: block; }
  .section-head > p { margin-top: .85rem; }
  .doc-demo, .calculator { grid-template-columns: 1fr; }
  .doc-file { min-height: 220px; }
  .construction-photo { min-height: 220px; max-height: 320px; }
  .interior-image { min-height: 260px; max-height: 360px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { flex: 0 0 142px; min-width: 142px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .3rem .1rem 1rem; }
  .price-card { min-width: 0; }
  .agent-page-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case-panel { grid-template-columns: 1fr; }
  .cta-band-inner { display: block; }
  .cta-band .btn { margin-top: 1rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom-links { display: block; margin-top: .5rem; }
  .page-hero .hero-grid > :last-child { min-height: 160px; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .section { padding: 3.7rem 0; }
  .section-tight { padding: 2.25rem 0; }
  .nav-wrap, .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header .brand { padding-inline: .45rem; }
  .brand-logo { width: 174px; }
  .hero { padding-top: 2.9rem; }
  .hero-grid { gap: 2rem; }
  .hero h1 { font-size: clamp(2.25rem, 8.8vw, 2.75rem); }
  .hero h1 .hero-line { display: inline; }
  .ask-form { display: grid; grid-template-columns: 1fr; }
  .ask-form input { min-height: 45px; }
  .ask-form button { width: 100%; }
  .suggestions { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; }
  .suggestions button { white-space: nowrap; }
  .hero-card { min-height: 340px; padding: .85rem; }
  .hero-card-photo { height: 145px; }
  .tool-grid, .agent-grid { display: flex; overflow-x: auto; padding: .2rem .1rem 1rem; }
  .tool-card, .agent-card { flex: 0 0 245px; }
  .agent-page-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .legal-list { grid-template-columns: 1fr; }
  .page-hero { padding: 2.75rem 0 3.25rem; }
  .page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .page-hero .hero-grid > :last-child { min-height: 144px; padding: 1rem; }
  .page-hero .hero-grid > :last-child .lede { padding-right: 2rem; font-size: .94rem; }
  .site-footer .brand-logo { width: 174px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
  .footer-bottom > span + span { margin-left: 0; }
}
@media (max-width: 379px) {
  .hero h1 { font-size: 2.1rem; letter-spacing: -.055em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal], .js-ready main section [data-reveal], .js-ready .cta-band [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* 20261014 broad-platform polish: dark, compact navigation and an easier scan path. */
:root { --charcoal: #0c0d0f; --header-muted: #aeb4bc; }
.site-header { border-bottom-color: rgba(255, 255, 255, .13); background: #0c0d0f; box-shadow: 0 1px 0 rgba(255, 255, 255, .03); }
.nav-wrap { min-height: 68px; }
.site-header .brand { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-header .brand-logo { width: 204px; }
.site-nav { gap: clamp(.7rem, 1.8vw, 1.45rem); }
.site-nav a { position: relative; color: var(--header-muted); }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: #fff; }
.site-nav a[aria-current='page']::after { position: absolute; right: 0; bottom: -.62rem; left: 0; height: 2px; border-radius: 2px; background: var(--gold); content: ''; }
.nav-auth .sign-in { color: #f4f5f6; }
.nav-cta { border-color: #d5a94e; background: #d5a94e; color: #171717 !important; }
.nav-cta:hover { border-color: #e4bd6b; background: #e4bd6b; }
.menu-toggle { border-color: rgba(255, 255, 255, .2); background: #16181c; color: #fff; }
.tool-grid, .agent-grid { grid-template-columns: repeat(3, 1fr); }
.tool-card, .agent-card { min-height: 198px; }
.category-row { scrollbar-color: #c9a04c transparent; }
.category-card { flex: 1 1 0; }
.hero h1 { max-width: 760px; }
.hero-card { min-height: 430px; }
.hero-card-photo { height: 155px; }
.hero-card-list { gap: .45rem; }
.hero-card-list li { padding: .62rem .75rem; }
.section-head h2 { max-width: 760px; }
.site-footer .brand { padding: 0; border: 0; background: transparent; box-shadow: none; }
.site-footer .brand-logo { width: 204px; filter: none; }

@media (max-width: 1080px) {
  .tool-grid, .agent-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .site-header .brand-logo { width: 190px; }
  .site-nav { top: 68px; height: calc(100dvh - 68px); max-height: calc(100vh - 68px); background: #0c0d0f; box-shadow: 0 18px 30px rgba(0, 0, 0, .34); }
  .site-nav > a { border-bottom-color: rgba(255, 255, 255, .12); color: #e7eaee; }
  .site-nav a[aria-current='page']::after { display: none; }
  .nav-auth .sign-in { color: #fff; }
  .nav-auth .nav-cta { color: #171717 !important; }
  .tool-grid, .agent-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) and (min-width: 521px) {
  .tool-grid, .agent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .site-header .brand-logo, .site-footer .brand-logo { width: 174px; }
  .hero-card { min-height: 405px; }
  .hero-card-photo { height: 125px; }
  .tool-grid, .agent-grid { display: flex; scroll-snap-type: x proximity; }
  .tool-card, .agent-card { flex: 0 0 258px; scroll-snap-align: start; }
  .category-card { flex: 0 0 148px; }
}

/* 20261017 business and fitness additions: keep the wider category set balanced. */
.category-card:nth-child(10) .icon-box, .tool-card:nth-child(10) .icon-box, .agent-card:nth-child(10) .agent-icon { color: #4b6d5b; border-color: #d6e6dc; background: #f1f8f3; }
.category-card:nth-child(11) .icon-box, .tool-card:nth-child(11) .icon-box, .agent-card:nth-child(11) .agent-icon { color: #9a5d55; border-color: #ecd8d4; background: #fcf3f1; }
.tool-card:nth-child(10), .agent-card:nth-child(10) { background: #f8fcf8; }
.tool-card:nth-child(11), .agent-card:nth-child(11) { background: #fffaf9; }
@media (min-width: 521px) {
  .category-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(102px, 1fr)); overflow: visible; }
  .category-card { min-width: 0; }
}
@media (min-width: 680px) and (max-width: 960px) {
  .tool-grid, .agent-grid, .agent-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
