/* Honos — warm ink, copper, and the rhythm of a working deal desk. */
:root {
  --orange: #f17b43;
  --orange-deep: #b9471b;
  --orange-deeper: #963714;
  --orange-bright: #ff995d;
  --orange-soft: #efb392;
  --ink: #151817;
  --ink-2: #1c211f;
  --ink-3: #282d2a;
  --cream: #f3f2ec;
  --paper: #fffefa;
  --text-mid: #626860;
  --text-light: #f5f3eb;
  --text-dim: #a9b0a7;
  --border-dark: #ffffff1a;
  --border-light: #dcded5;
  --radius: 8px;
  --radius-lg: 14px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1328px;
  --shadow: 0 28px 80px -24px #0006;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--ink); color: var(--text-light); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
svg, img { max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3.5rem, 5.6vw, 5.4rem); }
h2 { font-size: clamp(2.4rem, 4vw, 3.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -.025em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 48px; position: relative; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
::selection { background: var(--orange); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: -70px; left: 16px; padding: 12px 20px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; height: 2px; top: 0; left: 0; right: 0; z-index: 70; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: #151817bd; border-bottom: 1px solid transparent; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: background .25s, border-color .25s; }
.nav.is-scrolled { background: #151817f0; border-color: var(--border-dark); }
.nav-inner { max-width: var(--container); padding: 20px 48px; margin: auto; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 32px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--orange); border-radius: 5px; font-weight: 700; font-size: 22px; letter-spacing: -.08em; }
.brand-name { color: var(--text-light); font-size: 24px; font-weight: 650; letter-spacing: -.05em; }
.brand-dot { color: var(--orange); }
.nav-links { display: flex; gap: 28px; margin-left: 20px; }
.nav-links a { padding: 9px 0; position: relative; color: var(--text-dim); text-decoration: none; font-size: 13px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text-light); }
.nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; color: var(--text-light); border: 1px solid var(--border-dark); border-radius: 5px; padding: 10px; }
.mobile-menu { display: none; background: var(--ink); padding: 16px 24px 24px; border-bottom: 1px solid var(--border-dark); }
.mobile-menu a { display: block; padding: 12px 0; text-decoration: none; }
.mobile-menu-cta { display: flex; gap: 16px; padding-top: 10px; }
/* Calls to action */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 5px; font: 550 13px/1.5 var(--font); text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 14px; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff9b68; transform: translateY(-2px); box-shadow: 0 8px 30px #f17b4326; }
.btn-ghost { color: var(--text-light); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: var(--orange); }
.btn-text { color: var(--text-light); padding-left: 0; padding-right: 0; }
.btn-text:hover { color: var(--orange); }
.arrow { display: inline-block; font-size: 20px; font-weight: 400; transition: transform .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-light { color: var(--ink); background: var(--orange); }
.btn-light:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-outline-light { border-color: #ffffff40; color: var(--text-light); }
.btn-outline-light:hover { background: #ffffff09; border-color: var(--text-dim); }
/* Hero */
.hero { position: relative; padding: 178px 0 0; overflow: hidden; isolation: isolate; }
.hero-grid-lines { position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(transparent, #000, transparent); }
.hero-orbit { position: absolute; z-index: -1; width: 680px; height: 680px; right: -120px; top: 120px; border: 1px solid #f17b4314; border-radius: 50%; pointer-events: none; }
.hero-orbit::after { content: ''; position: absolute; top: 97px; left: 97px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 22px var(--orange); }
.orbit-one { animation: orbit 42s linear infinite; }
.orbit-two { width: 920px; height: 920px; right: -240px; top: 0; animation: orbit 68s linear infinite reverse; opacity: .6; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-layout { display: grid; grid-template-columns: .93fr 1.07fr; gap: 54px; align-items: center; }
.hero-copy { padding: 4px 0 28px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; color: var(--orange-deep); font: 500 11px/1.5 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.hero-eyebrow { color: var(--orange-soft); font-size: 10px; letter-spacing: .08em; margin-bottom: 30px; }
.status-dot { display: inline-block; flex: none; width: 6px; height: 6px; background: #9ebe9c; border-radius: 50%; }
.hero-eyebrow .status-dot { background: var(--orange); box-shadow: 0 0 0 4px #f17b4311; }
.hero h1 { letter-spacing: -.065em; line-height: 1.05; margin-bottom: 24px; }
.hero h1 em { display: block; color: var(--orange-soft); font-size: 1.12em; letter-spacing: -.04em; }
.hero-sub { max-width: 435px; color: var(--text-dim); font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 10px; color: #858d82; font-size: 11px; margin-top: 30px; }
.mini-rule { width: 24px; height: 1px; background: #697164; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-dark); margin-top: 85px; padding: 25px 0; color: #969f92; font-size: 10px; letter-spacing: .02em; }
.hero-bottom div { display: flex; gap: 18px; font: 10px var(--mono); }
.hero-bottom b { color: var(--orange); font-weight: 400; }
.hero-bottom a { text-decoration: none; display: flex; gap: 18px; }
.hero-bottom a:hover { color: var(--orange); }
/* Interactive product preview */
.deal-preview { min-width: 0; background: #1c211f; border: 1px solid #495047; border-radius: 10px; box-shadow: 0 35px 65px -25px #0009, 0 0 70px -20px #f17b4312; position: relative; }
.preview-topbar { min-height: 61px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border-dark); }
.preview-brand { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; }
.preview-brand .brand-mark { width: 20px; height: 22px; font-size: 14px; border-radius: 3px; }
.preview-slash { color: #697166; padding: 0 2px; }
.preview-workspace { color: var(--text-dim); font-size: 10px; font-weight: 400; }
.preview-label { font: 8px var(--mono); color: #b3b9af; border: 1px solid #ffffff1a; padding: 5px 7px; border-radius: 4px; white-space: nowrap; }
.workflow-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border-dark); }
.workflow-tab { position: relative; background: none; color: #a4aca0; border: 0; padding: 17px 5px; font-size: 11px; white-space: nowrap; transition: background .2s, color .2s; }
.workflow-tab span { font: 9px var(--mono); margin-right: 5px; color: #7d8778; }
.workflow-tab::after { content: ''; height: 2px; position: absolute; bottom: -1px; left: 0; right: 0; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.workflow-tab.is-active { color: var(--orange-soft); background: #f17b4305; }
.workflow-tab.is-active::after { transform: scaleX(1); }
.workflow-tab:hover { background: #ffffff05; color: var(--text-light); }
.workflow-tab:focus-visible { outline-offset: -5px; }
.workflow-panel { padding: 23px 20px 20px; min-height: 358px; }
.preview-prompt { display: flex; gap: 12px; align-items: flex-start; }
.prompt-spark { color: var(--orange); font-size: 22px; line-height: 1.4; }
.preview-prompt p { font-size: 13px; line-height: 1.7; margin: 0; max-width: 380px; min-height: 41px; }
.workflow-activity { display: flex; align-items: center; gap: 7px; font: 9px/1.5 var(--mono); color: #aeb8a8; margin: 18px 0; }
.activity-indicator { width: 5px; height: 5px; background: #9ebe9c; border-radius: 50%; }
.is-working .activity-indicator { background: var(--orange); animation: activity-pulse 1s ease-in-out infinite; }
.activity-check { margin-left: auto; color: #b2c9a8; }
.is-working .activity-check { opacity: 0; }
@keyframes activity-pulse { 50% { box-shadow: 0 0 0 4px #f17b431f; } }
.preview-result { background: #151a17; border: 1px solid #ffffff16; border-radius: 6px; padding: 16px 15px 0; min-height: 221px; }
.preview-result.result-enter { animation: result-enter .45s ease both; }
@keyframes result-enter { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.preview-kicker { color: #9ca993; font: 9px var(--mono); letter-spacing: .07em; }
.result-heading h2 { font-size: 18px; font-weight: 500; letter-spacing: -.03em; margin: 5px 0 0; }
.result-badge { color: #adc4a5; border: 1px solid #9ebe9c2b; background: #9ebe9c09; border-radius: 4px; font-size: 9px; padding: 3px 7px; white-space: nowrap; }
.preview-table-row { display: grid; grid-template-columns: 1.6fr 1fr .55fr; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid #ffffff09; color: #a7b19f; font-size: 10px; }
.table-head { min-height: 23px; font-size: 9px; color: #939c8c; }
.company { display: flex; gap: 7px; align-items: center; color: #e7eade; font-size: 10px; }
.company-icon { font: 9px var(--mono); font-style: normal; background: #c8d5b611; border: 1px solid #c8d5b618; color: #c9d0c1; width: 22px; height: 25px; border-radius: 3px; display: grid; place-items: center; flex: none; }
.company small { display: block; color: #939e89; font-size: 8px; }
.fit { display: flex; align-items: center; justify-content: flex-end; gap: 5px; color: #b9cbaa; font: 9px var(--mono); }
.fit i { height: 3px; width: 25px; background: linear-gradient(90deg, #a8bc94 var(--fit), #ffffff10 var(--fit)); }
.result-source { font-size: 9px; color: #9aa58e; padding: 10px 0; line-height: 1.5; }
.result-source span { color: var(--orange); margin-right: 4px; }
.preview-footer { border-top: 1px solid #ffffff12; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 0 20px; font-size: 8px; color: #a4ad9a; }
.preview-footer > span { display: flex; gap: 6px; align-items: center; }
.preview-footer .status-dot { width: 4px; height: 4px; }
.replay-button { background: none; border: 0; color: #b6bdaf; padding: 11px 0 11px 10px; font-size: 9px; }
.replay-button:hover { color: var(--orange-soft); }
.replay-button span { font-size: 14px; vertical-align: -1px; margin-right: 3px; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 13px 0 8px; }
.preview-metrics > div { padding: 9px; border: 1px solid #ffffff12; border-radius: 3px; }
.preview-metrics small { display: block; font-size: 9px; color: #a1ac95; }
.preview-metrics strong { font: 19px/1.5 var(--serif); color: #e7ecd9; }
.preview-insight { font-size: 10px; color: #b3bdab; padding: 8px 0; min-height: 47px; margin: 0; }
.diligence-item, .document-item { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #ffffff0b; padding: 9px 0; font-size: 10px; }
.diligence-item > span:first-child, .document-item > span:first-child { color: #b4c8a2; font-size: 13px; }
.diligence-item small, .document-item small { color: #99a58f; font-size: 9px; display: block; }
.diligence-item b, .document-item b { margin-left: auto; font: 9px var(--mono); color: #b4c8a2; font-weight: 400; }
.diligence-item.needs-review > span:first-child, .diligence-item.needs-review b { color: var(--orange-soft); }
/* Content sections */
.section { position: relative; padding: 112px 0; overflow: hidden; }
.section-light { background: var(--cream); color: var(--ink); }
.section-dark { background: var(--ink); color: var(--text-light); }
.section-head { max-width: 780px; margin: 0 0 54px; }
.section-head h2 { margin-bottom: 22px; }
.section-head .section-sub { max-width: 550px; }
.section-sub { font-size: 15px; color: var(--text-mid); line-height: 1.85; }
.section-dark .eyebrow { color: var(--orange-soft); }
.section-dark .section-sub { color: var(--text-dim); }
.section-dark h2 em { color: var(--orange-soft); }
.section-foot { max-width: 660px; color: var(--text-mid); font-size: 13px; margin: 35px 0 0; }
.section-foot-dim { color: var(--text-dim); font-size: 11px; }
/* The cost of fragmented work */
#problem .section-head { max-width: 850px; }
#problem h2 { font-size: clamp(2.1rem, 3.5vw, 3.3rem); }
.problem-grid { display: grid; grid-template-columns: 1fr 210px 1fr; align-items: stretch; gap: 22px; }
.problem-col { padding: 26px; background: #fffefa; border: 1px solid var(--border-light); border-radius: 5px; }
.problem-col h3 { margin-bottom: 20px; font-size: 15px; font-weight: 600; }
.problem-col ul { list-style: none; padding: 0; margin: 0; }
.problem-col li { padding: 9px 0; font-size: 12px; color: var(--text-mid); border-top: 1px solid var(--border-light); }
.problem-col-tax { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: none; border: 0; text-align: center; color: var(--orange-deep); }
.tax-label { font: italic 30px/1.15 var(--serif); }
.tax-arrows { max-width: 150px; opacity: .65; }
.result-band { margin-top: 24px; padding: 25px 0; border-top: 1px solid #ccd0c5; border-bottom: 1px solid #ccd0c5; display: flex; gap: 50px; }
.result-title { font: 10px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); white-space: nowrap; }
.result-list { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 30px; }
.result-list li { color: var(--text-mid); font-size: 11px; padding-left: 12px; position: relative; }
.result-list li::before { content: '↳'; position: absolute; left: 0; color: #b86640; }
/* The platform */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border-dark); border-radius: 7px; overflow: hidden; }
.pillar { position: relative; padding: 32px 25px; display: flex; flex-direction: column; background: #ffffff02; transition: background .25s; }
.pillar + .pillar { border-left: 1px solid var(--border-dark); }
.pillar:hover { background: #ffffff05; }
.pillar-num { color: var(--orange-soft); width: 48px; height: 48px; font-size: 36px; line-height: 1; margin-bottom: 42px; transition: transform .4s; }
.pillar:hover .pillar-num { transform: translateY(-5px) rotate(8deg); }
.pillar-index { font: 8px var(--mono); letter-spacing: .1em; color: #94a08d; margin-bottom: 14px; }
.pillar h3 { font-size: 19px; margin-bottom: 15px; }
.pillar p { color: var(--text-dim); font-size: 12px; line-height: 1.85; flex: 1; }
.pillar-foot { border-top: 1px solid var(--border-dark); margin-top: 18px; padding-top: 18px; font-size: 10px; color: #c9ac94; }
.pillar-foot-quote { font-style: italic; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 56px; gap: 32px; }
.stat { border-left: 1px solid var(--border-dark); padding: 0 24px; }
.stat:first-child { border: none; padding-left: 0; }
.stat-num { font-size: 52px; line-height: 1.1; font-weight: 450; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-dim); font-size: 11px; margin-top: 12px; }
/* An editorial moment */
.quote-band { padding: 88px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); background: #1b211c; text-align: center; }
.quote-band .quote-lead { max-width: 960px; font: 400 clamp(2rem, 3.4vw, 3.1rem)/1.2 var(--serif); letter-spacing: -.015em; margin: 0 auto 22px; }
.quote-accent { color: var(--orange-soft); font-style: italic; }
.quote-band p { max-width: 820px; margin: auto; color: var(--text-dim); font-size: 12px; }
.quote-band .quote-lead { color: var(--text-light); }
.quote-band strong { font-weight: 500; color: #e5e7d9; }
/* Integrations */
#integrations { padding-bottom: 80px; }
#integrations .section-head { text-align: center; margin: 0 auto 48px; }
#integrations .eyebrow { justify-content: center; }
#integrations .section-sub { margin-left: auto; margin-right: auto; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll-left 65s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; white-space: nowrap; padding: 18px 32px; margin-right: 12px; color: #4d5849; font-size: 18px; font-weight: 600; letter-spacing: -.05em; border: 1px solid var(--border-light); border-radius: 5px; }
.marquee-dup { display: contents; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes scroll-left { to { transform: translateX(-50%); } }
/* Security */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 38px; }
.security-card { padding: 30px 0; border-top: 1px solid #ffffff24; transition: border-color .25s; }
.security-card:hover { border-color: var(--orange); }
.security-card svg { display: block; width: 27px; height: 27px; color: var(--orange-soft); margin-bottom: 22px; }
.security-card h3 { font-size: 17px; margin-bottom: 12px; }
.security-card p { color: var(--text-dim); font-size: 12px; max-width: 290px; margin: 0; }
/* Vision */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.vision-list { padding: 0; margin: 30px 0; list-style: none; }
.vision-list li { padding: 10px 0; color: var(--text-mid); border-bottom: 1px solid var(--border-light); font-size: 13px; }
.vision-list strong { font-weight: 600; color: #343d30; }
.vision-punch { font-size: 14px; max-width: 440px; }
.vision-panel { position: relative; background: #e6e8de; border: 1px solid #d6dacc; padding: 42px 36px; border-radius: 6px; }
.vision-panel::before { content: 'H'; display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--orange); border-radius: 5px; margin-bottom: 52px; font-size: 30px; font-weight: 600; }
.vision-panel h3 { font: 30px/1.2 var(--serif); letter-spacing: -.02em; margin-bottom: 30px; }
.chip-grid { display: flex; gap: 7px; flex-wrap: wrap; }
.chip-grid span { border: 1px solid #c5cbb9; color: #515e45; font-size: 10px; padding: 6px 9px; border-radius: 3px; }
/* Closing and footer */
.final-cta { padding: 114px 0; text-align: center; background: var(--ink); position: relative; overflow: hidden; }
.final-cta .eyebrow { justify-content: center; color: var(--orange-soft); }
.final-cta h2 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); margin: 0 auto 36px; }
.final-cta h2 em { color: var(--orange-soft); }
.final-cta .hero-cta { justify-content: center; }
.footer { background: var(--ink); color: var(--text-dim); padding: 0 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 34px; border-top: 1px solid var(--border-dark); }
.footer-brand p { font-size: 11px; margin: 12px 0 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 11px; text-decoration: none; padding: 8px 0; }
.footer-links a:hover { color: var(--orange-soft); }
.footer-base { padding-top: 24px; border-top: 1px solid var(--border-dark); display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 9px; }
.footer-base > span:last-child { margin-left: auto; }
.motion-toggle { display: inline-flex; gap: 8px; align-items: center; color: var(--text-dim); background: none; border: 1px solid var(--border-dark); border-radius: 4px; padding: 8px 10px; font-size: 10px; }
.motion-toggle:hover { color: var(--text-light); border-color: var(--text-dim); }
/* Progressive enhancement: content remains visible when JavaScript is unavailable. */
.reveal { opacity: 1; }
.reveal.reveal-ready { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
.motion-paused { scroll-behavior: auto; }
.motion-paused .result-enter { animation: none; }
/* Tablet and phone layouts */
@media (min-width: 1440px) {
  .hero { padding-top: 196px; }
  .hero-layout { gap: 70px; }
  .workflow-panel { min-height: 372px; padding: 26px 24px; }
  .preview-prompt p { font-size: 13px; }
}
@media (max-width: 1100px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .nav-inner { padding-left: 32px; padding-right: 32px; gap: 20px; }
  .nav-links { gap: 20px; margin-left: 10px; }
  .hero-layout { gap: 28px; grid-template-columns: .9fr 1.1fr; }
  .hero h1 { font-size: 62px; }
  .hero-cta { gap: 16px; }
  .hero .btn { font-size: 12px; }
  .preview-workspace, .preview-slash { display: none; }
  .pillar { padding: 28px 18px; }
  .pillar h3 { font-size: 17px; }
  .vision-grid { gap: 50px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 140px; }
  .hero-layout { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { text-align: center; padding: 0; }
  .hero-eyebrow, .hero-note, .hero .hero-cta { justify-content: center; }
  .hero h1 { font-size: 76px; }
  .hero h1 em { display: inline; }
  .hero-sub { margin-left: auto; margin-right: auto; max-width: 500px; }
  .deal-preview { width: 100%; max-width: 620px; margin: auto; }
  .hero-bottom { margin-top: 56px; }
  .hero-bottom > span { display: none; }
  .preview-workspace, .preview-slash { display: inline; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--border-dark); }
  .pillar { padding: 32px; }
  .problem-grid { grid-template-columns: 1fr 140px 1fr; gap: 8px; }
  .problem-col { padding: 20px; }
  .problem-col-tax { padding: 10px; }
  .tax-label { font-size: 25px; }
  .result-band { gap: 24px; }
  .result-list { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .vision-grid { gap: 32px; }
  .vision-panel { padding: 30px 24px; }
  .footer-base > span:last-child { margin-left: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .container { padding-left: 24px; padding-right: 24px; }
  .nav-inner { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.is-open { display: block; }
  .nav-toggle[aria-expanded='true'] { color: var(--orange); border-color: var(--orange); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 130px; }
  .hero h1 { font-size: clamp(50px, 10vw, 72px); }
  .hero-sub { font-size: 15px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .03em; }
  .hero-note { margin-top: 22px; }
  .hero-bottom { margin-top: 42px; font-size: 9px; }
  .hero-bottom div { gap: 10px; font-size: 9px; }
  .hero-bottom a { font-size: 0; gap: 0; }
  .hero-bottom a span { font-size: 18px; }
  .problem-grid { grid-template-columns: 1fr; gap: 12px; }
  .problem-col-tax { flex-direction: row; justify-content: space-between; padding: 16px 24px; }
  .tax-label { font-size: 25px; text-align: left; }
  .tax-label br { display: none; }
  .tax-arrows { max-width: 65px; transform: rotate(90deg); }
  .result-band { flex-direction: column; gap: 16px; }
  .result-list { gap: 10px 20px; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-panel { padding: 32px; }
  .vision-panel::before { margin-bottom: 30px; }
  .final-cta { padding: 80px 0; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 22px; }
  .footer-base { gap: 16px; }
  .quote-band { padding: 66px 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 52px; }
  .hero h1 em { display: block; }
  .hero .hero-cta { gap: 10px; }
  .hero .btn-lg { font-size: 12px; padding: 13px 15px; gap: 10px; }
  .hero .btn-text { padding-left: 8px; padding-right: 0; }
  .preview-topbar { padding: 12px; }
  .preview-workspace { font-size: 9px; }
  .preview-label { font-size: 7px; padding: 4px; }
  .workflow-tab { font-size: 9px; padding: 16px 3px; }
  .workflow-tab span { display: none; }
  .workflow-panel { padding: 18px 12px 14px; min-height: 363px; }
  .preview-prompt p { font-size: 11px; min-height: 55px; }
  .preview-result { padding-left: 10px; padding-right: 10px; min-height: 227px; }
  .result-heading h2 { font-size: 15px; }
  .preview-table-row { grid-template-columns: 1.7fr .9fr .55fr; font-size: 8px; gap: 5px; }
  .company { font-size: 8px; gap: 5px; }
  .company-icon { width: 18px; font-size: 8px; }
  .fit i { display: none; }
  .preview-footer { padding: 0 12px; font-size: 7px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--border-dark); }
  .pillar-num { margin-bottom: 26px; }
  .pillar h3 { font-size: 21px; }
  .pillar p { font-size: 13px; }
  .stats-row { gap: 10px; }
  .stat { padding: 0 10px; }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 9px; line-height: 1.6; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card { padding: 26px 0; }
  .security-card p { max-width: none; font-size: 13px; }
  .result-list { grid-template-columns: 1fr; }
  .preview-insight { font-size: 9px; }
  .result-source { font-size: 8px; }
  .diligence-item small, .document-item small, .diligence-item b, .document-item b { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.reveal-ready { opacity: 1; transform: none; }
  .marquee { mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; padding: 0 24px; }
  .marquee-track span { margin: 0; font-size: 14px; padding: 10px 16px; }
  .marquee-dup { display: none; }
}
/* Request a walkthrough — compact form and a useful, balanced agenda. */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0b100ecc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: modal-in .2s ease both;
}
.demo-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: min(900px, 100%);
  margin: auto;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #ffffff21;
  border-radius: 12px;
  box-shadow: 0 36px 100px #0007;
}
.demo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  background: #ffffff08;
  color: var(--text-light);
  transition: background .2s, border-color .2s;
}
.demo-close:hover { background: #ffffff15; border-color: #ffffff50; }
.demo-form-pane {
  min-width: 0;
  min-height: 0;
  padding: 28px 34px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c8cec1 transparent;
}
.demo-brand { margin-bottom: 18px; gap: 8px; }
.demo-brand .brand-mark { width: 26px; height: 28px; font-size: 18px; }
.demo-brand .brand-name { font-size: 21px; }
.brand-name-dark { color: var(--ink); }
.demo-form-pane h2 { font-size: 34px; letter-spacing: -.045em; margin-bottom: 8px; }
.demo-form-pane h2 em { color: var(--orange-deep); }
.demo-sub { max-width: 360px; color: var(--text-mid); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 12px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #343c32; font-size: 12px; font-weight: 550; line-height: 1.5; margin-bottom: 7px; }
.label-optional { color: var(--text-mid); font-size: 10px; font-weight: 400; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #d6dbcf;
  border-radius: 5px;
  background: #f7f8f2;
  color: var(--ink);
  font: 400 13px/1.5 var(--font);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #767e6f; opacity: 1; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626b5b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 11px center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select:invalid { color: #767e6f; }
.field select option { color: var(--ink); background: var(--paper); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aab49f; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-deep);
  background-color: var(--paper);
  box-shadow: 0 0 0 3px #f17b431a;
}
.field textarea { resize: vertical; min-height: 70px; }
.field-notes { margin-top: 2px; margin-bottom: 14px; }
.field input.is-invalid, .field select.is-invalid { border-color: #b91c1c; }
.field-error { color: #b91c1c; font-size: 11px; line-height: 1.5; margin: 6px 0 0; }
.demo-form-error { color: #963714; background: #fff0e7; border: 1px solid #b9471b40; border-radius: 5px; padding: 12px; font-size: 12px; }
.demo-submit { width: 100%; justify-content: space-between; min-height: 48px; padding: 13px 18px; font-size: 13px; }
.demo-submit:hover { transform: none; }
.demo-submit svg { transition: transform .2s; }
.demo-submit:hover svg { transform: translateX(3px); }
.demo-consent { text-align: center; color: var(--text-mid); font-size: 10px; margin: 12px 0 0; }
.demo-alt { text-align: center; color: var(--text-mid); font-size: 11px; margin: 5px 0 0; }
.demo-alt a { color: var(--orange-deep); font-weight: 500; text-decoration: none; }
.demo-alt a:hover { text-decoration: underline; }
/* Decorative elements stay out of the flex flow so the agenda keeps its width. */
.demo-side {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
  min-height: 0;
  padding: 68px 30px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #53614c transparent;
  background: #1c251e;
  color: var(--text-light);
}
.demo-side::before, .demo-side::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -85px;
  top: 30px;
  width: 200px;
  height: 200px;
  border: 1px solid #c4cfaf0c;
  border-radius: 50%;
  pointer-events: none;
}
.demo-side::after { right: -125px; top: -10px; width: 280px; height: 280px; }
.demo-side-heading, .demo-agenda, .demo-next { flex-shrink: 0; }
.demo-side-title { font: 9px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 15px; }
.demo-side h3 { font-size: 27px; font-weight: 450; letter-spacing: -.04em; line-height: 1.18; margin: 0 0 22px; }
.demo-side h3 em { font: italic 35px/1.15 var(--serif); color: var(--orange-soft); letter-spacing: -.025em; }
.demo-session { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 10px; color: #b9c6ae; }
.demo-session span { display: inline-flex; align-items: center; gap: 6px; }
.demo-session span + span { padding-left: 10px; border-left: 1px solid #ffffff25; }
.demo-session svg { width: 14px; height: 14px; flex: none; }
.demo-agenda { list-style: none; padding: 0; margin: 0; }
.demo-agenda li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 17px 0; border-top: 1px solid #c3d0b41c; }
.demo-agenda li:last-child { padding-bottom: 0; }
.demo-agenda-num { padding-top: 2px; color: var(--orange-soft); font: 10px/1.5 var(--mono); }
.demo-agenda h4 { margin: 0 0 6px; font-size: 12px; line-height: 1.5; font-weight: 500; color: #eff1e6; }
.demo-agenda p { color: #b1bea5; font-size: 11px; line-height: 1.75; margin: 0; }
.demo-next { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 18px; border-top: 1px solid #c3d0b41c; }
.demo-next .status-dot { width: 5px; height: 5px; margin-top: 6px; }
.demo-next p { margin: 0; font-size: 10px; line-height: 1.7; color: #b1bea5; }
.demo-next strong { display: block; color: #d3dbc9; font-weight: 500; margin-bottom: 4px; }
body.modal-open { overflow: hidden; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 850px) {
  .demo-form-pane { padding: 28px 26px 24px; }
  .demo-side { padding: 64px 24px 26px; }
  .demo-side h3 { font-size: 25px; }
  .demo-side h3 em { font-size: 31px; }
}
@media (max-width: 760px) {
  .demo-modal { grid-template-columns: minmax(0, 1fr); max-width: 540px; }
  .demo-side { display: none; }
  .demo-close { width: 40px; height: 40px; background: var(--paper); color: var(--ink); border-color: var(--border-light); }
  .demo-close:hover { background: var(--cream); border-color: #aab49f; }
  .demo-brand { padding-right: 36px; }
  .demo-form-pane { padding: 28px 28px 24px; }
  .field input, .field select, .field textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .demo-overlay { padding: 12px; }
  .demo-modal { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .demo-form-pane { padding: 24px 20px 22px; }
  .demo-form-pane h2 { font-size: 30px; }
  .demo-sub { font-size: 12px; margin-bottom: 22px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field-row:first-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .field label { font-size: 12px; }
  .field input, .field select, .field textarea { padding: 10px; }
  .field select { padding-right: 34px; }
  .demo-submit { min-height: 48px; }
  .demo-consent { font-size: 10px; }
}
@media (max-width: 359px) {
  .field-row:first-of-type { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .demo-form-pane h2 { font-size: 27px; }
}
@media (forced-colors: active) {
  .field select { appearance: auto; background-image: none; }
}
