/* AI Office, crystal glass theme (owner's call 2026-09-04): deep dark ground with soft
   aurora glow, frosted glass panels, white text at full opacity, one signal color (cyan)
   reserved for anything that is live: traveling dots, status, clock. */
:root {
  --radius: 22px; --radius-s: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body { margin: 0; background: transparent; color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; position: relative; min-height: 100vh; }
/* aurora: fixed glow layer behind everything */
body::before { content: ''; position: fixed; inset: -20% -10%; z-index: -2; pointer-events: none; animation: aurora 26s ease-in-out infinite alternate; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35; background-size: 64px 64px; mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 90%); -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 90%); }
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.06); } 100% { transform: translate3d(2%, -3%, 0) scale(1.02); } }

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.1; margin: 0 0 .5em; font-family: var(--display); }
h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.025em; }
h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1em; font-family: var(--mono); color: var(--accent); }
h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { padding-left: 20px; margin: 0 0 1em; }
li { margin: 0 0 .4em; }
li::marker { color: var(--accent); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 640px; }
.eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.wrap { max-width: clamp(1240px, 68vw, 1760px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.narrow-l > * { max-width: 780px; }
.section { padding: 80px 0; }
.section-tight { padding: 40px 0; }
.section + .section { padding-top: 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.mono { font-family: var(--mono); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* glass */
.glass, .ledger, .picker, .rows, .table, .price-grid, .timeline, .faq, .ticker, .search-card, .form-panel {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); }

.announce { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 9px 0; }
.announce a { text-decoration: underline; text-decoration-color: var(--accent); }

/* nav */
.nav > .wrap, .announce > .wrap { max-width: none; padding: 0 clamp(24px, 4vw, 96px); }
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); transition: background .3s; }

.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; position: relative; flex: none; }
.brand-mark::before { content: ''; position: absolute; left: 8px; top: 7px; width: 5px; height: 13px; background: var(--ink); border-radius: 1px; }
.brand-mark::after { content: ''; position: absolute; left: 15px; top: 12px; width: 5px; height: 8px; background: var(--ink); border-radius: 1px; }
.nav-links { display: flex; gap: 4px; flex: 1; }

.nav-links a { font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { text-decoration: none; background: var(--glass2); }
.nav-links a.active { background: var(--glass2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.nav-right { display: flex; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass); cursor: pointer; margin-left: auto; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; transition: transform .2s, top .2s; }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: scaleX(0); }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* buttons: white primary, glass secondary */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid var(--line2); cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; font-family: var(--font); white-space: nowrap; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px rgba(0, 0, 0, 0.45); }

.btn-primary:hover, .btn-light:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 14px 40px rgba(125, 240, 255, 0.35); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
/* hero background: light, never diagrams. A wide bloom that leans toward the pointer, two slow
   beams of window light and a fine grain. Nothing is drawn over the words. */
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-fx span { position: absolute; display: block; }
.hero-fx .bloom { inset: -30% -18%; will-change: transform; filter: blur(24px); transform: translate3d(calc(var(--hx, 0) * 1px), calc(var(--hy, 0) * 1px), 0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.hero-fx .beam { top: -45%; height: 190%; width: 26vw; filter: blur(46px); transform: rotate(15deg);
  background: linear-gradient(90deg, transparent, var(--beam), transparent); }
.hero-fx .b1 { left: 6%; animation: beam1 24s ease-in-out infinite alternate; }
.hero-fx .b2 { left: 52%; width: 18vw; opacity: .7; animation: beam2 31s ease-in-out infinite alternate; }
.hero-fx .grain { inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"); }
@keyframes beam1 { 0% { transform: rotate(15deg) translateX(-6vw); } 100% { transform: rotate(15deg) translateX(10vw); } }
@keyframes beam2 { 0% { transform: rotate(15deg) translateX(8vw); } 100% { transform: rotate(15deg) translateX(-7vw); } }
.hero > .wrap { position: relative; z-index: 1; }
.hero > .wrap { max-width: none; padding: 0 clamp(24px, 4vw, 96px); }
.hero > .hero-grid, .hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(420px, 860px); gap: clamp(40px, 5vw, 120px); }
.hero h1 { max-width: 15ch; font-size: clamp(38px, 3.9vw, 78px); }
.hero .lead { max-width: 60ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-visual { display: flex; flex-direction: column; gap: 20px; position: relative; }
.hero-visual::before { content: ''; position: absolute; inset: -14% 0; z-index: -1; background: radial-gradient(50% 50% at 50% 45%, rgba(125, 240, 255, 0.26), transparent 70%); }
.hero h1 { max-width: 680px; margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.picker { display: flex; gap: 10px; padding: 10px; max-width: 640px; align-items: center; border-radius: 999px; }
.picker-label { padding-left: 16px; font-weight: 500; white-space: nowrap; }
.picker select { flex: 1; height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 40px 0 16px; font: inherit; font-weight: 500; color: #fff; background: var(--glass2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; min-width: 0; }
.picker select option { color: #fff; background: #12141d; }
.hero-note { margin-top: 18px; font-size: 15px; }
.hero-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* hero photo panel */
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .glass-tag { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.hero-photo .glass-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 1.6s ease-in-out infinite; }

/* animated flow diagram */
.flow { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4)); }
.flow .fl { fill: none; stroke-width: 2; }
.flow .fd { fill: none; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; animation: flowdash 1.4s linear infinite; }
.flow .fp { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.flow .fn rect { stroke: var(--line2); stroke-width: 1.2; }
.flow .fn text { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-anchor: middle; text-transform: uppercase; font-weight: 500; }
.flow .fn.on rect { stroke: var(--accent); stroke-width: 1.6; }
.flow .fd.on { stroke: var(--accent); stroke-dasharray: 5 7; animation-duration: .8s; }

.flow .fc .ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-origin: 300px 178px; animation: ring 3.2s ease-out infinite; }
.flow .fc .ring.r2 { animation-delay: 1.6s; }
@keyframes flowdash { to { stroke-dashoffset: -24; } }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.flow-section { padding-top: 64px; }
.flow-wrap { max-width: 820px; margin: 0 auto; padding: 24px; }
.ledger-wrap { display: contents; }

/* scroll reveal (JS only) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); animation: wordin .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wordin { to { opacity: 1; transform: none; filter: blur(0); } }

/* marquee of systems we connect */
.ticker { overflow: hidden; padding: 18px 0; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
.ticker-in { display: flex; width: max-content; gap: 48px; animation: ticker 60s linear infinite; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker-in span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); margin-right: 18px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* the office log: the signature element */
.ledger { overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.hero-grid > *, .dark-grid > *, .split > *, .contact-grid > *, .row > *, .portal > *, .cols-4 > *, .cols-3 > *, 
.ledger, .picker, .rows, .table { max-width: 100%; }
.ledger-head .dot { margin-right: 8px; }
.ledger-head .dot-on { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.ledger-head .clock { font-variant-numeric: tabular-nums; color: var(--accent); }
.ledger ol { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 56px 110px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); align-items: baseline; font-size: 15px; line-height: 1.45; }
.ledger li:last-child { border-bottom: 0; }
.ledger li .t { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.ledger li .c { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.ledger.anim li { clip-path: inset(0 0 100% 0); transform: translateY(6px); transition: clip-path .35s ease, transform .35s ease; }
.ledger.anim li.show { clip-path: inset(0); transform: none; }
.ledger.anim li.out { clip-path: inset(100% 0 0 0); transform: translateY(-6px); }
.ledger.anim li[hidden] { display: none; }
.ledger.compact li { grid-template-columns: 56px 1fr; }

/* columns of plain links */
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 48px; }
.cols-4 a, .cols-3 a, .cols-2 a, .portal-side a { display: block; padding: 6px 0; transition: transform .2s, color .2s; }
.cols-4 a:hover, .cols-3 a:hover, .portal-side a:hover { transform: translateX(4px); text-decoration: none; color: var(--accent); }

/* rows: glass list, one item per line */
.rows { overflow: hidden; }
.row { display: grid; grid-template-columns: 280px 1fr 140px; gap: 32px; padding: 26px 28px; border-bottom: 1px solid var(--line); align-items: start; transition: background .25s; }
.row:last-child { border-bottom: 0; }

.row h4 { margin: 0; }
.row h4 a { display: inline-block; transition: transform .25s; }
.row:hover h4 a { transform: translateX(6px); text-decoration: none; }
.row p { margin: 0; }
.row .more { text-align: right; font-weight: 500; }
.row .more a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.row-2 { grid-template-columns: 280px 1fr; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head p { margin: 0; max-width: 560px; }

/* timeline of plain rows */
.timeline { overflow: hidden; }
.timeline .step { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 26px 28px; border-bottom: 1px solid var(--line); position: relative; }
.timeline .step:last-child { border-bottom: 0; }
.timeline .when { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; padding-top: 6px; color: var(--accent); }
.timeline h4 { margin-bottom: 6px; }
.timeline p { margin: 0; max-width: 680px; }

/* highlight block: brighter glass with a glow edge */
.section-dark { padding: 80px 0; position: relative; }
.section-dark .dark-grid { padding: 56px; border-radius: 28px; border: 1px solid var(--line2); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); }
.section-dark h2, .section-dark p, .section-dark a, .section-dark h3 { color: #fff; }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.dark-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line2); }
.dark-list li { padding: 14px 0; border-bottom: 1px solid var(--line2); margin: 0; }
.section-dark .btn[style] { background: var(--glass2) !important; border-color: var(--line2) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35) !important; }

/* two column text blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split ul { padding-left: 18px; }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.table-scroll .table { min-width: 640px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; font-size: 14px; }
.table thead th { background: rgba(255, 255, 255, 0.04); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.table tr:last-child td, .table tr:last-child th { border-bottom: 0; }
.table.kv th { width: 220px; }
.table .num { font-family: var(--mono); white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line2); margin-right: 8px; vertical-align: middle; }
.dot-on { background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden; }
.price { padding: 34px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: background .25s; }
.price:hover { background: var(--glass2); }
.price:last-child { border-right: 0; }
.price .amount { font-family: var(--display); font-size: 42px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price .amount small { font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.price li { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* faq */
.faq { overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; transition: background .2s; }
.faq summary:hover { background: var(--glass2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 20px; line-height: 1; flex: none; transition: transform .2s; color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 20px; max-width: 720px; }

/* forms */
.form, .tool-form, .filters { display: flex; flex-direction: column; gap: 16px; }
.form-panel { padding: 28px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
input[type=text], input[type=search], input[type=email], input[type=number], input[type=tel], input[type=password], select, textarea { height: 48px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 14px; font: inherit; color: #fff; background: var(--glass); width: 100%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }

select { appearance: none; -webkit-appearance: none; background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
select option { color: #fff; background: #12141d; }
textarea { height: auto; padding: 12px 14px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks label { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.checks input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.form-error { font-weight: 600; color: var(--accent3); }
.hp { position: absolute; left: -9999px; }
.pager { display: flex; gap: 10px; margin-top: 24px; }
.crumbs { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* portal with sidebar */
.portal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; }
.portal-side h3 { margin-top: 24px; }
.portal-side h3:first-child { margin-top: 0; }
.portal-side a.active { font-weight: 700; color: var(--accent); }
.tool-form { max-width: 520px; }
.tool-result { margin-top: 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-s); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.tool-result .big { font-family: var(--display); font-size: clamp(36px, 4vw, 60px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 0 0 8px; color: transparent; }
.tool-result table { margin-top: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.page-head { padding: 80px 0 40px; }
.page-head h1 { max-width: 860px; }
.page-head .lead { max-width: 720px; }

/* footer */
.footer { position: relative; overflow: hidden; margin-top: 96px; padding: 0 0 28px; border-top: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.footer::before { content: ''; position: absolute; left: 50%; top: -1px; width: min(720px, 80vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.footer .wrap { position: relative; z-index: 1; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.foot-cta h2 { margin: 0 0 10px; font-size: clamp(28px, 2.6vw, 44px); letter-spacing: -.03em; max-width: 18ch; }
.foot-cta p:last-child { margin: 0; max-width: 46ch; }
.foot-cta .btn-row { flex: none; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 40px 28px; padding: 56px 0 48px; }
.foot-grid > * { min-width: 0; }
.foot-brand .brand { display: inline-flex; padding: 0; }
.foot-brand > p { margin: 16px 0 22px; max-width: 34ch; font-size: 15px; }
.foot-trust { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.foot-trust li { position: relative; padding-left: 22px; font-size: 14px; }
.foot-trust li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.foot-status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.foot-status:hover { text-decoration: none; border-color: var(--accent); }
.foot-status .dot { width: 8px; height: 8px; border-radius: 50%; animation: blink 1.8s ease-in-out infinite; }
.foot-col h3 { margin-bottom: 14px; }
.foot-col a { display: block; padding: 5px 0; font-size: 15px; transition: transform .2s, color .2s; }
.foot-col a:hover { transform: translateX(4px); text-decoration: none; color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.foot-legal a:hover { color: var(--accent); text-decoration: none; }
.foot-meta { display: grid; gap: 4px; text-align: right; max-width: 60ch; }
.foot-mark { position: absolute; left: 50%; bottom: -0.22em; transform: translateX(-50%); font-size: clamp(120px, 20vw, 360px); font-weight: 700; letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; user-select: none; z-index: 0; }
html:root .footer { background: rgba(243, 244, 246, 0.8); }
html:root .foot-status .dot { background: #16A34A; box-shadow: 0 0 10px rgba(22, 163, 74, 0.5); }
html:root .foot-col a:hover, html:root .foot-legal a:hover, html:root .foot-trust li::before { color: #0891B2; border-color: #0891B2; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .foot-cta { flex-direction: column; align-items: flex-start; padding: 48px 0 40px; } .foot-meta { text-align: left; } .foot-base { flex-direction: column; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0 36px; } .footer { margin-top: 64px; } }
.ad-wrap { margin: 32px auto; }

@media (max-width: 1000px) {
  .hero-grid, .dark-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row .more { text-align: left; }
  .price-grid { grid-template-columns: 1fr; }
  .price { border-right: 0; border-bottom: 1px solid var(--line); }
  .price:last-child { border-bottom: 0; }
  .section-dark .dark-grid { padding: 36px 28px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-toggle { display: block; margin-left: 0; }
  .nav-open .nav-links { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: 70px; border-bottom: 1px solid var(--line); padding: 16px 24px 20px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .nav-open .nav-links a { padding: 12px 12px; font-size: 17px; }
  .hero { padding: 56px 0 40px; }
  .cols-4, .cols-3 { grid-template-columns: 1fr 1fr; }
  .portal, .contact-grid, .cols-2, .form-2, .checks { grid-template-columns: 1fr; }
  .picker { flex-direction: column; align-items: stretch; border-radius: var(--radius); }
  .picker-label { padding: 6px 0 0 6px; }
  .filters { flex-direction: column; }
  .table.kv th { width: 120px; }
  .timeline .step { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px; }
  .row { padding: 22px 20px; }
  .ledger li { grid-template-columns: 52px 1fr; gap: 6px 14px; }
  .ledger li .c { grid-column: 2; }
  .ledger li .x { grid-column: 2; }
  .ledger-head span:last-child { display: none; }
  body { overflow-x: hidden; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .faq summary, .faq details p { padding-left: 18px; padding-right: 18px; }
  .form-panel { padding: 20px; }
}
@media (max-width: 520px) {
  .cols-4, .cols-3 { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .flow .fd, .flow .fc .ring, .ticker-in, .ledger-head .dot-on, .hero-photo .glass-tag::before, .hero-fx .beam { animation: none; }
  .hero-fx .bloom { transition: none; }
  .flow .fp { display: none; }
  .js .reveal, .js .hero h1 .w { opacity: 1; transform: none; transition: none; animation: none; filter: none; }
  .btn, .btn:hover, .row, .row h4 a { transform: none; transition: none; }
  .ledger.anim li { clip-path: none; transform: none; transition: none; }
}

/* light theme, toggled from the nav, remembered in localStorage */
html:root { color-scheme: light; --bg: #F3F4F6; --bg2: #FFFFFF; --text: #0B0C12; --ink: #FFFFFF;
  --line: rgba(70, 95, 140, 0.14); --line2: rgba(70, 95, 140, 0.26);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)); --glass2: rgba(255, 255, 255, 0.92); --glass3: #FFFFFF;
  --accent: #0284C7; --accent2: #6D5DFC; --accent3: #D6338F; --sky: #7DD3FC; --sky2: #60A5FA;
  --shadow: 0 30px 80px rgba(60, 90, 160, 0.14), 0 2px 6px rgba(60, 90, 160, 0.06), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  --shadow-s: 0 12px 34px rgba(60, 90, 160, 0.12), inset 0 1px 0 #fff; }
html:root html, html:root { background: #F3F4F6; }
html:root body::before { opacity: 1; background:
    radial-gradient(46% 40% at 8% 4%, rgba(125, 211, 252, 0.55), transparent 70%),
    radial-gradient(40% 36% at 92% 8%, rgba(196, 181, 253, 0.50), transparent 70%),
    radial-gradient(48% 40% at 74% 96%, rgba(186, 230, 253, 0.55), transparent 70%),
    radial-gradient(36% 32% at 16% 84%, rgba(221, 214, 254, 0.40), transparent 70%); }
html:root .glass, html:root .ledger, html:root .picker, html:root .rows, html:root .table, html:root .price-grid, html:root .timeline, html:root .faq, html:root .search-card, html:root .form-panel, html:root .call-tab, html:root .numbers { border-color: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow), 0 0 0 1px rgba(70, 95, 140, 0.10); }
html:root .hero-photo { border-color: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow), 0 0 0 1px rgba(70, 95, 140, 0.10); }
html:root .btn { background: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 24px rgba(60, 90, 160, 0.10), 0 0 0 1px rgba(70, 95, 140, 0.12); }
html:root .btn:hover { background: #fff; }
html:root .eyebrow, html:root .foot-status { background: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px rgba(70, 95, 140, 0.10), 0 6px 18px rgba(60, 90, 160, 0.08); }
html:root .eyebrow::before, html:root .ticker-in span::before, html:root .hero-photo .glass-tag::before, html:root .call-title::before { background: linear-gradient(135deg, var(--sky), var(--sky2)); box-shadow: 0 0 10px rgba(96, 165, 250, 0.6); }
html:root .ba .r.after .bar i, html:root .call-player .wave i.on { background: linear-gradient(90deg, var(--sky), var(--sky2)); }
html:root .row:hover { background: rgba(255, 255, 255, 0.7); }
html:root .ledger-head { background: rgba(255, 255, 255, 0.5); }
html:root body::after { background-image: linear-gradient(rgba(11, 12, 18, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 12, 18, 0.05) 1px, transparent 1px); }
html:root .hero-fx { --beam: rgba(255, 255, 255, 0.85); }
html:root .hero-fx .bloom { background:
    radial-gradient(30% 42% at 22% 34%, rgba(125, 211, 252, 0.50), transparent 68%),
    radial-gradient(34% 46% at 72% 16%, rgba(196, 181, 253, 0.46), transparent 70%),
    radial-gradient(30% 40% at 58% 96%, rgba(186, 230, 253, 0.44), transparent 72%); }
html:root .hero-fx .grain { opacity: .28; mix-blend-mode: multiply; }
html:root .nav { background: rgba(243, 244, 246, 0.7); }
html:root .nav.scrolled { background: rgba(243, 244, 246, 0.92); box-shadow: 0 10px 40px rgba(20, 30, 60, 0.08); }
html:root .nav-toggle span { background: var(--text); }
html:root .nav-open .nav-links { background: rgba(243, 244, 246, 0.98); }
html:root .brand-mark { background: linear-gradient(135deg, #0B0C12, #2a2d3f); box-shadow: 0 0 22px rgba(8, 145, 178, 0.25); }
html:root .brand-mark::before, html:root .brand-mark::after { background: #fff; }
html:root .btn { color: var(--text); }
html:root .btn-primary, html:root .btn-light, html:root .section-dark .btn-light { background: #0B0C12; color: #fff; border-color: #0B0C12; box-shadow: 0 10px 30px rgba(11, 12, 18, 0.25); }
html:root .btn-primary:hover, html:root .btn-light:hover { background: #0B0C12; }
html:root .section-dark h2, html:root .section-dark p, html:root .section-dark a, html:root .section-dark h3, html:root .section-dark .lead { color: var(--text); }
html:root .section-dark .dark-grid { background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(109, 93, 252, 0.10) 50%, rgba(214, 51, 143, 0.08)); }
html:root .dark-list, html:root .dark-list li { border-color: var(--line2); }
html:root .section-dark .btn[style] { color: var(--text) !important; }
html:root .flow .fl { stroke: rgba(11, 12, 18, 0.14); }
html:root .flow .fd { stroke: rgba(11, 12, 18, 0.55); }
html:root .flow .fn rect { fill: rgba(255, 255, 255, 0.85); }
html:root .flow .fn text { fill: var(--text); }
html:root .flow .fn.on rect { fill: rgba(8, 145, 178, 0.14); }
html:root .flow .fc rect { fill: #0B0C12; }
html:root .flow .fc .bar { fill: #fff; }
html:root .ledger-head, html:root .table thead th { background: rgba(11, 12, 18, 0.03); }
html:root .ticker { background: rgba(11, 12, 18, 0.03); }
html:root .picker select, html:root select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B0C12' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
html:root select option, html:root .picker select option { color: #0B0C12; background: #fff; }
html:root input::placeholder, html:root textarea::placeholder { color: #0B0C12; opacity: .5; }
html:root .footer { background: rgba(255, 255, 255, 0.55); }
html:root .hero-photo .glass-tag { background: rgba(255, 255, 255, 0.72); color: var(--text); }
html:root .app-nav { background: rgba(243, 244, 246, 0.85); }
html:root .nav-open .nav-links { background: rgba(243, 244, 246, 0.98); }
html:root .status-pill.booked { color: var(--accent); border-color: var(--accent); }
html:root .appt { background: rgba(8, 145, 178, 0.14); border-color: rgba(8, 145, 178, 0.5); }
html:root .msg.me { background: #0B0C12; color: #fff; }
html:root .tool-result .big { background: linear-gradient(90deg, #0B0C12, var(--accent)); -webkit-background-clip: text; background-clip: text; }
html:root .announce { background: rgba(8, 145, 178, 0.10); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: #0B0C12; font-weight: 600; }
.skip:focus { left: 16px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; padding: 14px 18px; border-radius: 16px; background: var(--glass3); border: 1px solid var(--line2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px; box-shadow: var(--shadow); }
html:root .picker select, html:root input[type=text], html:root input[type=search], html:root input[type=email], html:root input[type=number], html:root input[type=tel], html:root input[type=password], html:root input[type=date], html:root input[type=time], html:root input[type=datetime-local], html:root select, html:root textarea { color: var(--text); background-color: rgba(255, 255, 255, 0.85); }
html:root .chat-quick button, html:root .nav-toggle { color: var(--text); }
html:root .msg.ai { color: var(--text); }

/* ---- homepage: hear a call ---- */
.call-section .wrap { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.call-tabs { display: grid; gap: 10px; margin: 26px 0 22px; }
.call-tab { text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center; transition: background .2s, border-color .2s, transform .2s; }
.call-tab:hover { background: var(--glass2); transform: translateX(4px); }

.call-tab .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.call-tab b { display: block; font-weight: 600; }
.call-tab span span { font-size: 14px; display: block; margin-top: 2px; }
.call-player { position: relative; overflow: hidden; padding: 20px 22px 18px; }
.call-player .call-title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.call-player .call-title::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 1.6s ease-in-out infinite; }
.call-player .top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.call-player .pp { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: none; place-items: center; cursor: pointer; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 8px 24px rgba(125, 240, 255, 0.25); transition: transform .15s; }
.call-player .pp:hover { transform: scale(1.05); }
.call-player.started .pp { display: grid; }
.call-player .pp svg { width: 18px; height: 18px; }
.call-player .pp .ico-pause, .call-player.playing .pp .ico-play { display: none; }
.call-player.playing .pp .ico-pause { display: block; }
.call-player .pill { flex: 1; display: flex; align-items: center; gap: 14px; height: 50px; border-radius: 999px; border: 1px solid var(--line); padding: 0 16px 0 18px; min-width: 0; }
.call-player .wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; cursor: pointer; min-width: 0; position: relative; }
.call-player .wave i { flex: 1; display: block; height: 30%; min-width: 2px; border-radius: 2px; transition: background .25s, box-shadow .25s; transform-origin: center; }

.call-player.playing .wave i.live { animation: wavebar .6s ease-in-out infinite alternate; }
.call-player.playing .wave i.live:nth-child(odd) { animation-duration: .45s; }
@keyframes wavebar { from { transform: scaleY(.6); } to { transform: scaleY(1.4); } }
.call-player .time { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.call-player .time .cur { color: var(--accent); }
.call-player .stage { position: relative; }
.call-player .stage::before, .call-player .stage::after { content: ''; position: absolute; left: 0; right: 10px; height: 28px; z-index: 2; pointer-events: none; }
.call-player .stage::before { top: 0; background: linear-gradient(var(--fade), transparent); }
.call-player .stage::after { bottom: 0; background: linear-gradient(transparent, var(--fade)); }
.call-player .lines { height: 360px; overflow: auto; padding: 0 8px 0 0; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.call-player .line { margin: 0 0 6px; padding: 12px 16px; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.call-player .line:first-child { margin-top: 20px; }
.call-player .line:last-child { margin-bottom: 30px; }
.call-player .line.on { border-color: var(--line); }
.call-player .line small { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.call-player .line small i { width: 7px; height: 7px; border-radius: 50%; }
.call-player .line.caller small i { box-shadow: 0 0 8px var(--accent3); }
.call-player .line.caller { margin-left: 32px; }
.call-player .line.agent { margin-right: 32px; }
.call-player .line p { margin: 0; font-size: 16px; line-height: 1.5; }
.call-player .bigplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 3; box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 18px 50px rgba(125, 240, 255, 0.35); transition: transform .2s, opacity .3s; }
.call-player .bigplay::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); animation: ring 2.4s ease-out infinite; }
.call-player .bigplay svg { width: 34px; height: 34px; }
.call-player .bigplay:hover { transform: translate(-50%, -50%) scale(1.06); }
.call-player.started .bigplay { opacity: 0; pointer-events: none; }
.call-player .foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.call-player .foot b { display: block; font-weight: 600; }
html:root .call-player { --fade: rgba(255, 255, 255, 0.95); }
html:root .call-player .pp, html:root .call-player .bigplay { background: #0B0C12; color: #fff; }
html:root .call-player .pill { background: rgba(11, 12, 18, 0.04); }
html:root .call-player .wave i { background: rgba(11, 12, 18, 0.18); }
html:root .call-player .wave i.on { background: #0891B2; }
html:root .call-player .wave i.live { box-shadow: 0 0 8px rgba(8, 145, 178, 0.5); }
html:root .call-player .line.on { background: rgba(11, 12, 18, 0.04); }
html:root .call-player .line small i { background: #0891B2; box-shadow: none; }
html:root .call-player .line.caller small i { background: #C026D3; }
html:root .call-tab.on { background: rgba(8, 145, 178, 0.10); border-color: #0891B2; }
html:root .call-tab .n, html:root .call-player .time .cur { color: #155E75; }
@media (max-width: 900px) { .call-section .wrap { grid-template-columns: 1fr; gap: 28px; } .call-player .lines { height: 300px; } .call-player .line.caller, .call-player .line.agent { margin-left: 0; margin-right: 0; } }

/* ---- homepage: numbers and before/after ---- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; overflow: hidden; }
.numbers > div { padding: 28px 28px 24px; border-right: 1px solid var(--line); }
.numbers > div:last-child { border-right: 0; }
.numbers .big { font-size: clamp(40px, 4vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers .lbl { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-top: 12px; color: var(--accent); }
.numbers .lbl + p { margin: 6px 0 0; font-size: 14px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 24px; }
.ba { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.ba:last-child { border-bottom: 0; }
.ba h4 { margin: 0 0 14px; }
.ba .r { display: grid; grid-template-columns: 64px 1fr 70px; gap: 14px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.ba .r .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.ba .r .v { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.ba .bar { height: 10px; border-radius: 999px; background: var(--glass2); border: 1px solid var(--line); overflow: hidden; }
.ba .bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--line2); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.ba .r.after .bar i { transition-delay: .3s; }
.ba .r.after .v { color: var(--accent); }
.ba.go .bar i { width: var(--w); }
html:root .numbers .lbl, html:root .ba .r.after .v { color: #0891B2; }
html:root .ba .r.after .bar i { background: #0891B2; box-shadow: none; }
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr 1fr; } .numbers > div:nth-child(2) { border-right: 0; } .numbers > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .ba-grid { grid-template-columns: 1fr; gap: 16px; } }
.route-wrap { max-width: 860px; margin: 0 auto; padding: 24px; }
.flow .fn.warm rect { stroke: var(--accent3); }
.flow .fp.warm { fill: var(--accent3); filter: drop-shadow(0 0 6px var(--accent3)); }
.flow .fd.warm { stroke: var(--accent3); }
.flow .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-anchor: middle; text-transform: uppercase; }
html:root .flow .lbl { fill: var(--text); }

/* bento: six places AI goes to work */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento > a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); overflow: hidden; color: inherit; transition: transform .25s, box-shadow .25s; }
.bento > a:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.bento > a.wide { grid-column: span 2; }
.bento .num { position: absolute; left: 26px; top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.bento .pic { position: absolute; inset: 0; z-index: 0; }
.bento .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 13, 0.05) 30%, rgba(7, 8, 13, 0.82)); }
.bento .txt { position: relative; z-index: 1; }
.bento h4 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.bento p { margin: 0; font-size: 15px; max-width: 46ch; }
.bento .go { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.bento > a.has-pic, .bento > a.has-pic h4, .bento > a.has-pic p, .bento > a.has-pic .go { color: #fff; }
.bento > a.has-pic .num { color: #fff; }
.bento > a.has-pic .go { text-decoration-color: #fff; }
.bento > a.full { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 28px; padding: 24px 26px 24px 70px; }
.bento > a.full .txt { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; width: 100%; }
.bento > a.full h4 { margin: 0; flex: none; min-width: 180px; }
.bento > a.full p { flex: 1; max-width: none; }
.bento > a.full .go { margin: 0; flex: none; }
.bento > a.full .num { top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .bento > a.full { padding: 26px; } .bento > a.full .num { top: 22px; transform: none; } .bento > a.full .txt { display: block; } .bento > a.full h4 { margin-bottom: 8px; } .bento > a.full .go { display: inline-block; margin-top: 14px; } }
html:root .bento > a { border-color: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-s), 0 0 0 1px rgba(70, 95, 140, 0.10); }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > a.wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > a, .bento > a.wide { grid-column: span 1; min-height: 200px; } }

/* directory columns on the home page */
.dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.dir-col { display: flex; flex-direction: column; padding: 8px 0 10px; }
.dir-head { padding: 22px 24px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dir-head h3 { margin: 0 0 8px; }
.dir-head p { margin: 0; font-size: 14px; }
.dir-col > a { display: block; padding: 11px 24px; border-radius: 0; transition: background .2s; }
.dir-col > a:hover { text-decoration: none; }
.dir-col > a b { display: block; font-weight: 600; font-size: 15px; transition: transform .2s, color .2s; }
.dir-col > a:hover b { transform: translateX(4px); color: var(--accent); }
.dir-col > a span { display: block; font-size: 13px; line-height: 1.45; margin-top: 2px; }
.dir-col > a.dir-more { margin-top: auto; padding-top: 16px; font-weight: 600; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); border-top: 1px solid var(--line); }
.dir-col > a.dir-more::after { content: ' \2192'; }
html:root .dir-col > a:hover { background: rgba(255, 255, 255, 0.75); }
@media (max-width: 1100px) { .dir { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dir { grid-template-columns: 1fr; } }

/* section heroes (integrations and friends) */
.page-hero { padding: 72px 0 56px; }
.page-hero .crumbs { margin-bottom: 26px; }
.page-hero h1 { max-width: 14ch; }
.page-hero .hero-visual { align-self: center; }
.flow-card { padding: 28px 24px; }
.flow-card .flow { filter: none; }
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bundle { display: flex; flex-direction: column; padding: 28px; color: inherit; transition: transform .25s, box-shadow .25s; }
.bundle:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.bundle h3 { margin-bottom: 10px; }
.bundle .price { margin: 0 0 18px; font-size: 15px; }
.bundle .price span { font-weight: 600; }
.bundle ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.bundle li { position: relative; padding-left: 22px; font-size: 15px; }
.bundle li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.bundle .go { margin-top: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
@media (max-width: 900px) { .bundles { grid-template-columns: 1fr; } .page-hero { padding: 48px 0 40px; } }

/* pricing receipt, resources search, numbers variants */
.receipt { padding: 22px 24px; }
.receipt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.receipt-head .dot { margin-right: 8px; }
.receipt-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.receipt-row .mono { font-variant-numeric: tabular-nums; }
.receipt-row.total { font-weight: 600; font-size: 17px; }
.receipt-row.total .mono { color: var(--accent); }
.receipt-row:last-of-type { border-bottom: 0; }
.receipt-note { margin: 12px 0 0; font-size: 13px; }
.search-pick input { flex: 1; height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; font: inherit; color: inherit; background: var(--glass2); min-width: 0; }
.numbers.two { grid-template-columns: 1fr 1fr; }
.numbers.two > div:nth-child(2) { border-right: 0; }
.numbers.two > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.numbers .big small { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.price-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .price-grid.four { grid-template-columns: 1fr 1fr; } .price-grid.four .price:nth-child(2) { border-right: 0; } .price-grid.four .price:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .price-grid.four { grid-template-columns: 1fr; } .price-grid.four .price { border-right: 0; border-bottom: 1px solid var(--line); } .numbers.two { grid-template-columns: 1fr; } }

/* faq as a wide section */
.faq-grid { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq-grid .faq { margin: 0; }
.faq-side h2 { margin-bottom: 12px; }
.faq-side p { margin: 0 0 22px; max-width: 34ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* mobile polish for the new blocks */
@media (max-width: 860px) {
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { max-width: none; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .receipt-row { font-size: 14px; }
  .receipt-row.total { font-size: 16px; }
  .foot-mark { font-size: clamp(80px, 28vw, 160px); }
  .numbers > div { padding: 22px 20px 20px; }
  .dir-col > a { padding: 10px 20px; }
  .call-player { padding: 16px; }
  .call-player .line p { font-size: 15px; }
  .route-wrap, .flow-wrap { padding: 8px 0; }
  .search-pick input { height: 46px; }
}

/* text-page heroes: same frame, calmer type */
.page-hero.text h1 { font-size: clamp(32px, 3.4vw, 58px); max-width: 22ch; }
.page-hero.text .lead { max-width: 64ch; }
.page-hero .crumbs { margin-bottom: 22px; }

/* Consistent field contrast on white cards throughout the site and workspaces. */
html body :is(input:not([type]),input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=datetime-local],textarea,select) {background-color:#fcf8f2!important;border:1px solid #9b8874!important;color:#18181b!important;box-shadow:inset 0 1px 2px #392d2108!important}
html body :is(input,textarea)::placeholder {color:#514437!important;opacity:1}
html body :is(input:not([type]),input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=datetime-local],textarea,select):focus {background-color:#fff!important;border-color:#c64110!important;outline:2px solid #c64110;outline-offset:2px;box-shadow:none!important}
html body :is(input,textarea,select):disabled {cursor:not-allowed;opacity:.65}
/* Headings demoted to h3 for a correct outline, keeping the h4 appearance. */
html body h3.h4-look{font-size:20px;font-weight:600;letter-spacing:-0.015em;text-transform:none;font-family:var(--display);color:var(--text);margin:0 0 .5em;line-height:1.1}
