/* Wireframe style: greys, pill bars instead of text, rounded panels.
   Page structure after interfere.com: split hero, product UI under it, proof row,
   big statement, three columns, feature rows that run off the edge, closing CTA, large footer. */

:root {
  --shell: #efefef;
  --line: #e9e9e9;
  --line-2: #dcdcdc;
  --soft: #f6f6f6;
  --bar: #e4e4e4;
  --bar-2: #d6d6d6;
  --bar-3: #c6c6c6;
  --ink: #7a7a7a;
  --ink-bar: #b3b3b3;
  --text: #5a5a5a;
  --tool: #2c2c2c;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #fff; }
body { font: 13px/1.45 var(--font); color: var(--text); -webkit-font-smoothing: antialiased; background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9a9a9a; outline-offset: 2px; }

/* ---------- The site, full page ---------- */

.site { background: #fff; container: site / inline-size; min-height: 100vh; }
body.mobile { background: var(--shell); }
body.mobile .site { max-width: 390px; margin: 28px auto 120px; border-radius: 30px; overflow: clip; box-shadow: 0 0 0 1px #e2e2e2, 0 30px 60px -30px rgba(0, 0, 0, .25); min-height: 760px; }

/* ---------- Bars and primitives ---------- */

.b { display: block; height: 8px; border-radius: 999px; background: var(--bar); max-width: 100%; flex: none; }
.b-sm { height: 6px; }
.b-ey { height: 7px; background: var(--bar-2); }
.b-h1 { height: 34px; border-radius: 10px; background: var(--bar-3); }
.b-h2 { height: 18px; border-radius: 7px; background: var(--bar-2); }
.b-h3 { height: 10px; background: var(--bar-2); }
.b-lg { height: 13px; background: var(--bar-2); }
.b-q { height: 20px; border-radius: 7px; background: #d2d2d2; }
.b-num { height: 34px; border-radius: 10px; background: var(--bar-3); }
.b-mono { height: 7px; background: #dcdcdc; border-radius: 2px; }
.b-ph { height: 7px; background: #e2e2e2; }
.stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-h1 { gap: 14px; }
.st-h2 { gap: 10px; }
.grow { flex: 1; }
.center { text-align: center; align-items: center; }
.center > .b, .center .stack > .b { margin-inline: auto; }
.center > .stack { align-self: stretch; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.center { justify-content: center; }
.row.between { justify-content: space-between; }
.sq { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--bar-2); flex: none; }
.sq-s { width: 11px; height: 11px; border-radius: 3px; }
.sq-md { width: 30px; height: 30px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); flex: none; }
.sq-lg { width: 42px; height: 42px; border-radius: 11px; background: var(--soft); border: 1px solid var(--line); flex: none; position: relative; }
.sq-lg::after { content: ""; position: absolute; inset: 14px; border-radius: 4px; background: var(--bar-2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #e6e6e6; flex: none; }
.arrow { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); margin-top: auto; flex: none; position: relative; }
.arrow::after { content: ""; position: absolute; inset: 8px 9px 8px 7px; border: solid #b5b5b5; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg) scale(.7); }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #e3e3e3; flex: none; position: relative; }
.tick::after { content: ""; position: absolute; left: 6px; top: 4px; width: 4px; height: 7px; border: solid #8f8f8f; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.cross { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; }
.ext { width: 11px; height: 11px; border: 1.5px solid #b5b5b5; border-radius: 3px; display: inline-block; }
.sep { width: 4px; height: 4px; border-radius: 50%; background: #cdcdcd; display: inline-block; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; flex: none; transition: background .15s, border-color .15s; }
.btn .b { background: #d8d8d8; }
a.btn:hover, button.btn:hover { border-color: #c4c4c4; background: #fafafa; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #f5f5f5; }
.btn-dark .b { background: var(--ink-bar); }
a.btn-dark:hover, button.btn-dark:hover { background: #686868; border-color: #686868; }
.btn-sm { height: 34px; padding: 0 14px; border-radius: 9px; }
.btn-tx { font-weight: 600; font-size: 13px; }

.img { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; position: relative; min-height: 200px; }
.img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 9px; background: #e6e6e6; }
.img-hero { min-height: 460px; }
.img-card { min-height: 150px; border-radius: 12px; }
.img-sm { min-height: 110px; border-radius: 12px; }
.img-sm::after { width: 24px; height: 24px; margin: -12px 0 0 -12px; }

.tx { color: #4e4e4e; }
.tx-h1 { font-size: 56px; line-height: 1.05; letter-spacing: -.025em; font-weight: 500; }
.tx-h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.015em; font-weight: 500; }
.tx-p { font-size: 16px; line-height: 1.6; color: #6a6a6a; }
.tx-lead { font-size: 20px; line-height: 1.5; color: #5a5a5a; }
.tx-statement { font-size: 40px; line-height: 1.25; letter-spacing: -.02em; color: #9a9a9a; }

/* ---------- Layout ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrap.narrow { max-width: 860px; }
.site-main { --bleed: calc((100cqw - min(100cqw, 1200px)) / 2 + 40px); }
.sec { position: relative; padding: 96px 0; }
.sec + .sec::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 80px)); height: 1px; background: var(--line); }
.sec-hero { padding: 120px 0 80px; }
.sec-hero + .sec::before, .sec-title + .sec::before, .sec-intro + .sec::before, .sec-answer + .sec::before, .sec-sources + .sec::before, .sec-related + .sec::before { display: none; }
.sec-title { padding: 112px 0 32px; }
.sec-cta { padding: 120px 0 140px; }
.sec-intro { padding-top: 64px; padding-bottom: 64px; }
.sec-answer { padding-top: 40px; padding-bottom: 32px; }
.sec-sources, .sec-related { padding-top: 28px; padding-bottom: 28px; }
.sec-strip { padding: 40px 0; }

.g { display: grid; gap: 20px; }
.g1 { grid-template-columns: minmax(0, 1fr); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.more { margin-top: 36px; display: flex; }
.more.center { justify-content: center; }

.sh { display: flex; flex-direction: column; gap: 18px; max-width: 520px; margin-bottom: 48px; }
.sh .stack:last-child { max-width: 440px; }
.sh.center { margin-inline: auto; }

.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: #fff; min-width: 0; }
a.card { transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: #cfcfcf; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .25); }
.tile { min-height: 190px; }

/* ---------- Header: logo and menu left, actions right ---------- */

.site-hd { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; color: #4a4a4a; flex: none; }
.logo svg { display: block; height: 30px; width: auto; }
.ft-brand .logo svg { height: 34px; }
.nav { display: flex; gap: 2px; }
.nav-it { height: 34px; padding: 0 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; color: #7a7a7a; font-size: 13px; white-space: nowrap; }
.nav-it:hover, .nav-it[aria-expanded="true"] { background: #f2f2f2; color: #555; }
.nav-it.cur { color: #3f3f3f; font-weight: 600; }
.caret { width: 6px; height: 6px; border: solid #a8a8a8; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.hd-r { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-left: auto; }
.hd-r .btn { margin: 0 6px; }
.burger { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 14px; height: 1.5px; background: #8a8a8a; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.dd { display: none; position: absolute; top: 58px; width: 440px; max-height: calc(100vh - 80px); overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .04); }
.dd.open { display: block; animation: drop .16s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.dd-grid { display: flex; flex-direction: column; gap: 2px; }
.dd-it { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; }
.dd-it:hover { background: #f5f5f5; }
.dd-it .sq-md { width: 40px; height: 40px; border-radius: 10px; }
.dd-tx { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.dd-t { color: #5c5c5c; font-weight: 550; }

.mnav { display: none; border-top: 1px solid var(--line); padding: 8px 20px 20px; max-height: 70vh; overflow-y: auto; }
.site-hd.m-open .mnav { display: block; }
.acc { border-bottom: 1px solid var(--line); }
.acc-btn, .acc-link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 15px; color: #5a5a5a; font-weight: 550; }
.acc-link { border-bottom: 1px solid var(--line); }
.acc-body { display: none; padding: 0 0 12px 12px; }
.acc.open .acc-body { display: block; }
.acc.open .caret { transform: rotate(-135deg); }
.acc-body a { display: block; padding: 8px 0; color: #7c7c7c; }
.mnav-svc { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
.mnav-svc a, .mnav-svc button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #777; }

/* ---------- Footer: columns, then a large faded wordmark ---------- */

.site-ft { border-top: 1px solid var(--line); padding: 72px 0 0; overflow: hidden; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ft-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ft-col > .stack { width: 70%; }
.ft-col a:not(.logo) { color: #858585; }
.ft-col a:hover { color: #4f4f4f; }
.ft-lang { color: #9a9a9a; }
.ft-lang .on { color: #4f4f4f; font-weight: 600; }
.ext-link { display: inline-flex; align-items: center; gap: 6px; color: #858585; }
.ft-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.wordmark { font-size: clamp(64px, 17cqw, 230px); line-height: .78; font-weight: 700; letter-spacing: -.05em; text-align: center; color: transparent; background: linear-gradient(180deg, #dcdcdc, #f4f4f4 80%); -webkit-background-clip: text; background-clip: text; margin-top: 36px; user-select: none; white-space: nowrap; }

/* ---------- Sections ---------- */

/* Hero: headline left, text and buttons right, media below */
.hero-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
.hero-h { display: flex; flex-direction: column; gap: 22px; }
.hero-r { display: flex; flex-direction: column; gap: 22px; padding-bottom: 6px; }
.hero-r .row { margin-top: 2px; }
.hero-media { margin-top: 72px; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -40px 10% auto; height: 70%; background: radial-gradient(50% 60% at 50% 40%, #ececec, transparent 70%); z-index: -1; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.hero-copy.center { margin: 0 auto; max-width: 680px; }
.page-title { display: flex; flex-direction: column; gap: 22px; }
.page-title-p { max-width: 520px; }
.price { display: flex; align-items: flex-end; gap: 10px; justify-content: center; width: 100%; }
.price .b-num { height: 52px; }
.crumb-bars, .meta { display: flex; align-items: center; gap: 8px; }
.crumb-bars { margin-bottom: 24px; }
.meta { margin-top: 24px; }
.logo-box { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-r .chips { margin: 0; }
.v-search .chips { justify-content: center; margin-top: 16px; }
.chip, .chip-bar { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; background: #fff; }
.chip-bar { padding: 0; border: 0; height: 26px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip.on { background: #ececec; border-color: #d0d0d0; }
.chip.on .b { background: #b9b9b9; }

.search { position: relative; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; margin-top: 32px; }
.search input { position: absolute; inset: 0; border: 0; background: transparent; padding: 0 20px 0 46px; font: inherit; font-size: 15px; border-radius: 14px; }
.search input:focus { outline: none; }
.search:focus-within { border-color: #b8b8b8; }
.search input:focus ~ .b, .search input:not(:placeholder-shown) ~ .b { opacity: 0; }

.fact-card { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #fafafa, #fff); }
.fact-l { display: flex; flex-direction: column; gap: 22px; }
.fact-r { display: flex; flex-direction: column; gap: 22px; justify-content: flex-end; }
.v-trust .g, .v-logos .logo-grid { margin-top: 56px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-tile { display: grid; place-items: center; height: 88px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.logo-card .logo-tile { height: 72px; }

/* Proof row: label on the left, items in a line */
.proof-row { display: flex; align-items: center; gap: 32px; margin-top: 56px; padding: 20px 0; }
.sec-strip .proof-row { margin-top: 0; }
.row-label { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; flex: none; }
.row-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; flex: 1; }
.row-it { display: flex; gap: 12px; align-items: center; }
.row-it .stack { flex: 1; gap: 8px; }
a.proof-row:hover .row-label { border-color: #cfcfcf; }

.banner { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
a.banner:hover { border-color: #cfcfcf; }

/* Big statement with highlighted words */
.statement { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.st-line { display: flex; gap: 14px; flex-wrap: wrap; }
.b-st { height: 30px; border-radius: 9px; background: #e3e3e3; }
.b-st.hl { background: #cfcfcf; box-shadow: 0 0 0 5px #f0f0f0; }

/* Three columns with a visual on top */
.cols { gap: 40px; }
.col { display: flex; flex-direction: column; gap: 16px; }
.vis { height: 180px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 8px; position: relative; overflow: hidden; }
.vis-step { place-items: center start; padding: 0 28px; grid-template-columns: auto 1fr; gap: 16px; }
.mini { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.num { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed #cfcfcf; position: relative; flex: none; }
.num::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #d6d6d6; }
.num.on { border: 0; background: #727272; }
.num.on::after { background: #cfcfcf; }

.story-card { padding: 14px 14px 20px; }
.logo-chip { width: 72px; height: 20px; border-radius: 6px; background: var(--bar); }
.by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.by .stack { gap: 7px; flex: 1; }
.by.center { justify-content: center; margin-top: 32px; }
.by.center .stack { flex: 0 0 160px; align-items: flex-start; }

.filter-row { display: flex; flex-direction: column; }
.filter-row .search { margin-top: 0; }

/* Feature row: media runs off the page edge */
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.feature-copy { display: flex; flex-direction: column; gap: 22px; }
.sub-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.feature-media { margin-right: calc(-1 * var(--bleed)); }
.feature-media .frame { border-radius: 18px 0 0 18px; border-right: 0; }
.feature.rev .feature-copy { order: 2; }
.feature.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feature.rev .feature-media { margin: 0 0 0 calc(-1 * var(--bleed)); }
.feature.rev .feature-media .frame { border-radius: 0 18px 18px 0; border-right: 1px solid var(--line); border-left: 0; }

/* Quote panel */
.quote-panel { border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 100%, #ececec, #f8f8f8 60%, #fbfbfb); }
.quote-in { display: flex; flex-direction: column; align-items: center; padding: 88px 15%; border-radius: 26px; }
a.quote-in:hover { background: rgba(0, 0, 0, .012); }
.quote-in > .stack { width: 100%; gap: 14px; }
.qmark { width: 34px; height: 26px; margin-bottom: 26px; background: radial-gradient(circle at 25% 40%, #c8c8c8 7px, transparent 7.5px), radial-gradient(circle at 75% 40%, #c8c8c8 7px, transparent 7.5px); }
.quote-card { background: var(--soft); }
.quote-card .qmark { margin: 0; }
.mix { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.stat { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.stats.solo { max-width: 440px; margin: 0 auto; }
.stats.solo .stat { align-items: center; text-align: center; padding: 40px; }
.stats.solo .stat .b-num { height: 60px; }
.stats.solo .stat .stack { width: 100%; align-items: center; }

.table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; align-items: center; padding: 16px 20px; }
.tr + .tr { border-top: 1px solid var(--line); }
.tr.th { background: var(--soft); }
.cell { display: flex; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-it { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; text-align: left; }
.plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 1.5px; background: #9a9a9a; }
.plus::after { transform: rotate(90deg); }
.faq-it.open .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 4px 22px; }
.faq-it.open .faq-a { display: block; }

.cta-end { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta-end > .stack { width: min(100%, 620px); align-items: center; }
.cta-end .row { margin-top: 8px; }

.form { gap: 22px; padding: 30px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.input { position: relative; display: flex; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.input input { position: absolute; inset: 0; border: 0; background: transparent; padding: 0 14px; font: inherit; font-size: 14px; border-radius: 10px; }
.input input:focus { outline: none; }
.input:focus-within { border-color: #b8b8b8; box-shadow: 0 0 0 3px #f0f0f0; }
.input input:focus ~ .b, .input input:not(:placeholder-shown) ~ .b { opacity: 0; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.box { width: 18px; height: 18px; border: 1.5px solid #c8c8c8; border-radius: 5px; position: relative; flex: none; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.check input:focus-visible + .box { outline: 2px solid #9a9a9a; outline-offset: 2px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.tlink:hover .b { background: #c4c4c4; }
.confirm { align-items: center; text-align: center; padding: 48px 30px; gap: 18px; }
.confirm > .stack { width: 70%; }
.done { width: 54px; height: 54px; border-radius: 50%; background: #e6e6e6; position: relative; }
.done::after { content: ""; position: absolute; left: 21px; top: 15px; width: 10px; height: 18px; border: solid #7a7a7a; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.docs { display: flex; flex-direction: column; gap: 12px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.file { width: 34px; height: 42px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--soft); flex: none; position: relative; }
.file::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 9px; height: 5px; border-radius: 3px; background: var(--bar-2); }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.calc-in { padding: 30px; display: flex; flex-direction: column; gap: 28px; }
.calc-out { padding: 30px; background: var(--soft); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; justify-content: center; align-items: flex-start; }
.calc-out .stack { width: 100%; }
.calc-out [data-out] { transition: width .2s; }
.rng { display: flex; flex-direction: column; gap: 14px; }
.rng-top { display: flex; justify-content: space-between; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: #e6e6e6; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1.5px solid #9a9a9a; cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1.5px solid #9a9a9a; cursor: pointer; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.knob { width: 38px; height: 22px; border-radius: 999px; background: #e2e2e2; position: relative; transition: background .15s; flex: none; }
.knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + .knob { background: var(--ink); }
.switch input:checked + .knob::after { transform: translateX(16px); }
.switch input:focus-visible + .knob { outline: 2px solid #9a9a9a; outline-offset: 2px; }

.pkg { gap: 16px; }
.pkg.hl { border-color: #bdbdbd; box-shadow: 0 16px 30px -24px rgba(0, 0, 0, .35); }
.pkg-list, .checks { display: flex; flex-direction: column; gap: 14px; padding: 6px 0; }
.chk { display: flex; align-items: center; gap: 12px; }
.pkg .btn { margin-top: auto; align-self: stretch; }

.prose { display: flex; flex-direction: column; gap: 36px; }
.block { display: flex; flex-direction: column; gap: 14px; }
.answer { padding: 28px 30px; border-radius: 16px; background: var(--soft); border-left: 4px solid #b5b5b5; display: flex; flex-direction: column; gap: 16px; }
.sources { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sources li { display: flex; align-items: center; gap: 12px; }
.sources .n { width: 18px; height: 18px; border-radius: 50%; background: #ececec; flex: none; }

.related-list { display: flex; flex-direction: column; gap: 12px; }
.related { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.related .arrow { margin: 0; }
a.related:hover { border-color: #cfcfcf; background: #fcfcfc; }

.rows { border-top: 1px solid var(--line); }
.lrow { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.lrow .arrow { margin: 0 0 0 auto; }
a.lrow:hover { background: #fbfbfb; }

.timeline { display: flex; flex-direction: column; }
.tl-it { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl-date { padding-top: 2px; }
.tl-body { display: flex; flex-direction: column; gap: 14px; }

.letters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.letter { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); }
.gloss { display: flex; flex-direction: column; }
.gl-it { display: flex; flex-direction: column; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }

.copybox { border: 1px solid var(--line); border-radius: 16px; background: #fbfbfb; padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.copybox + .copybox { margin-top: 16px; }
.copy-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.copy-btn.done { background: #ececec; }
.copy-btn.done .sq { background: #8f8f8f; border-radius: 50%; }

.sec-askai { padding: 40px 0 56px; }
.ask-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ask-label { font-size: 18px; color: #9a9a9a; }
.ask-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.ask-ic { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); display: grid; place-items: center; }
.ask-ic svg { width: 21px; height: 21px; color: #5f5f5f; }
.prod-note { display: flex; align-items: center; gap: 12px; padding: 22px 24px; border: 1.5px dashed #d2d2d2; border-radius: 16px; color: #8a8a8a; background: #fcfcfc; }

/* Product UI placeholder */
.frame { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .35); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafafa; }
.frame-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #dddddd; }
.frame-body { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.feature .frame-body { min-height: 380px; }
.fr-side { background: var(--soft); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.fr-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.fr-row .b { flex: 1; }
.fr-row.on { background: #e8e8e8; }
.fr-main { padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fr-head { display: flex; align-items: center; gap: 10px; }
.fr-tag { width: 44px; height: 18px; border-radius: 6px; border: 1px solid var(--line); }
.fr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fr-col { display: flex; flex-direction: column; gap: 10px; }
.fr-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.fr-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; }

/* ---------- Section notes (dock → Section notes) ---------- */

.sec-note { display: none; }
body.notes .sec-note { display: inline-flex; gap: 4px; position: absolute; top: 14px; left: 16px; z-index: 3; max-width: calc(100% - 32px); font-size: 11px; line-height: 1.3; color: #7b7b7b; background: #fff; border: 1px solid #e3e3e3; border-radius: 999px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
body.notes .sec-note em { font-style: normal; color: #ababab; }
body.notes [data-note] { position: relative; }
body.notes a.btn[data-note]::after { content: "→ " attr(data-note); position: absolute; top: calc(100% + 6px); left: 0; font: 500 10px/1 var(--font); color: #8a8a8a; white-space: nowrap; pointer-events: none; }

/* ---------- Narrow canvas: container queries follow the site width ---------- */

@container site (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop navigation down to ~960 px, burger below (build-requirements.md). */
@container site (max-width: 960px) {
  .nav, .hd-r .svc { display: none; }
  .burger { display: grid; }
  .dd.open { display: none; }
}

@container site (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .site-main { --bleed: 20px; }
  .sec { padding: 56px 0; }
  .sec + .sec::before { width: calc(100% - 40px); }
  .sec-hero { padding: 56px 0 40px; }
  .sec-title { padding: 56px 0 16px; }
  .sec-cta { padding: 72px 0 88px; }
  .g2, .g3, .g4, .hero-top, .feature, .feature.rev, .faq-wrap, .calc, .fields, .mix, .fact-card { grid-template-columns: minmax(0, 1fr); }
  .hero-top, .feature, .faq-wrap, .fact-card { gap: 28px; }
  .feature.rev .feature-copy { order: 0; }
  .feature.rev .feature-media { margin: 0 0 0 0; margin-right: calc(-1 * var(--bleed)); }
  .feature.rev .feature-media .frame { border-radius: 18px 0 0 18px; border-left: 1px solid var(--line); border-right: 0; }
  .hero-media { margin-top: 40px; }
  .img-hero { min-height: 240px; }
  .b-h1 { height: 24px; }
  .b-st { height: 20px; }
  .tx-h1 { font-size: 36px; }
  .tx-statement { font-size: 26px; }
  .proof-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .row-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .quote-in { padding: 48px 24px; }
  .tl-it { grid-template-columns: 1fr; gap: 12px; }
  .frame-body { grid-template-columns: 1fr; min-height: 280px; }
  .fr-side { display: none; }
  .fr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-col:nth-child(3) { display: none; }
  .hd-r .btn { margin: 0 4px; }
  .tile { min-height: 0; }
  .form { padding: 22px; }
  .vis { height: 140px; }
  .cols { gap: 36px; }
}

/* ---------- Review tools: sitemap drawer ---------- */

.drawer { position: fixed; z-index: 80; top: 12px; bottom: 12px; left: 12px; width: 300px; display: flex; flex-direction: column; padding: 14px 10px 14px; background: #f3f3f3; border: 1px solid #e3e3e3; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25); overflow: hidden; animation: slide-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 10px; }
.drawer-title { font-weight: 600; color: #555; }
.drawer-x { width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; color: #8a8a8a; }
.drawer-x:hover { background: #e6e6e6; }
.page-search { position: relative; display: block; margin: 0 2px 4px; }
/* Title and search stay put; only the page list scrolls. */
#tree { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -10px -14px; padding: 0 10px 14px; overscroll-behavior: contain;
  --ft: 0px; --fb: 0px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--ft), #000 calc(100% - var(--fb)), transparent); mask-image: linear-gradient(to bottom, transparent, #000 var(--ft), #000 calc(100% - var(--fb)), transparent); }
/* Fade the list where it runs under the search field or past the bottom, only when there is more to scroll. */
#tree.fade-top { --ft: 36px; }
#tree.fade-bottom { --fb: 48px; }
.page-search input { width: 100%; height: 38px; padding: 0 12px 0 34px; border: 1px solid #e2e2e2; border-radius: 12px; background: #fff; font: inherit; color: #444; outline: none; }
.page-search input:focus { border-color: #c4c4c4; box-shadow: 0 0 0 3px #e9e9e9; }
.ps-ic { position: absolute; left: 12px; top: 12px; width: 13px; height: 13px; border: 1.6px solid #a0a0a0; border-radius: 50%; }
.ps-ic::after { content: ""; position: absolute; width: 5px; height: 1.6px; background: #a0a0a0; right: -5px; bottom: -2px; transform: rotate(45deg); }
.it.hit { min-height: 44px; border-radius: 12px; }
.it.hit .lbl small { display: block; font-size: 11px; color: #a3a3a3; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.it.hit.first:not(.on) { background: #e9e9e9; }
.no-hits { padding: 18px 10px; color: #a3a3a3; }
.grp { margin-top: 16px; }
.grp-label { font-size: 11px; color: #a6a6a6; padding: 0 10px 6px; }
.it { display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 10px; border-radius: 999px; color: #7a7a7a; }
.it:hover { background: #e6e6e6; }
.it.on { background: #e0e0e0; color: #4c4c4c; font-weight: 500; }
.it .lbl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it .cnt { font-size: 11px; color: #a8a8a8; }
.kids { margin: 2px 0 4px 15px; padding-left: 6px; border-left: 1px solid #dddddd; }
.mk { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.mk-p1 { background: #6c6c6c; }
.mk-tpl { border: 2px solid #6c6c6c; }
.mk-ex { background: #cdcdcd; }
.mk-new { border: 1.5px dashed #9c9c9c; }
.mk-cta { background: #6c6c6c; border-radius: 50%; }

/* ---------- Review tools: the dock ----------
   A dark pill at the bottom that grows into the tool menu. One shape does both: it changes
   width and height with a light spring, so the 24px corners stay exact at every frame.
   (An SVG goo filter looked liquid in Chrome but rounded the corners and stuttered in Safari.) */

.dock { --w: 236px; --h: 140px; position: fixed; z-index: 90; left: 50%; bottom: 22px; width: var(--w); height: var(--h); transform: translateX(-50%); pointer-events: none; }
.dock-bg { position: absolute; left: 50%; bottom: 0; width: 124px; height: 44px; border-radius: 24px; background: var(--tool); transform: translateX(-50%); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); transition: width .38s cubic-bezier(.32, 1.25, .45, 1), height .38s cubic-bezier(.32, 1.25, .45, 1); will-change: width, height; }
.dock.open .dock-bg { width: var(--w); height: var(--h); }
.dock.active .dock-bg { width: 160px; }
.dock-pill { pointer-events: auto; position: absolute; left: 50%; bottom: 0; width: 124px; height: 44px; margin-left: -62px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #f2f2f2; font-weight: 550; transition: opacity .15s; }
.pill-plus { width: 12px; height: 12px; position: relative; transition: transform .3s; }
.pill-plus::before, .pill-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; background: currentColor; }
.pill-plus::after { transform: rotate(90deg); }
.dock.open .dock-pill { opacity: 0; pointer-events: none; }
.dock.active .dock-pill { width: 160px; margin-left: -80px; }
.dock.active .pill-plus { transform: rotate(45deg); }

.dock-menu { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .07s, visibility 0s .07s; }
.dock.open .dock-menu { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s .16s, visibility 0s; }
.dock-menu button { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 10px; border-radius: 12px; color: #d9d9d9; text-align: left; opacity: 0; transform: translateY(6px); transition: background .12s, opacity .07s, transform .25s; }
.dock.open .dock-menu button { transition: background .12s, opacity .2s, transform .25s; }
.dock.open .dock-menu button { opacity: 1; transform: none; }
.dock.open .dock-menu button:nth-last-child(1) { transition-delay: .16s; }
.dock.open .dock-menu button:nth-last-child(2) { transition-delay: .19s; }
.dock.open .dock-menu button:nth-last-child(3) { transition-delay: .22s; }
.dock.open .dock-menu button:nth-last-child(4) { transition-delay: .25s; }
.dock.open .dock-menu button:nth-last-child(6) { transition-delay: .28s; }
.dock.open .dock-menu button:nth-last-child(7) { transition-delay: .31s; }
.dock-menu button:hover, .dock-menu button:focus-visible { background: rgba(255, 255, 255, .09); color: #fff; outline: none; }
.dock-menu button.on { color: #fff; }
.dock-menu button.on::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9be37c; order: 2; }
.dock-menu kbd { margin-left: auto; order: 3; font: 500 10px/1 var(--font); color: #9a9a9a; border: 1px solid #4a4a4a; border-radius: 5px; padding: 3px 5px; min-width: 18px; text-align: center; }
.dock-menu button.on kbd { margin-left: 8px; }
.dock-menu button.on::after { margin-left: auto; }
.dock-sep { height: 1px; background: #444; margin: 4px 8px; }
.review-on .dock { --h: 278px; }
.dock-menu [data-tool="logout"] .rv-av { width: 18px; height: 18px; font-size: 8px; line-height: 18px; }
.me-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-label span { color: #8f8f8f; margin-left: 4px; }
.needs-review { display: none !important; }
.review-on .needs-review { display: flex !important; }
.review-on .dock-sep.needs-review { display: block !important; }

.ic { width: 16px; height: 16px; flex: none; background: currentColor; opacity: .85; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic-comment { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M2.5 3.5h11v7h-6l-3.5 3v-3h-1.5z' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-history { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M8 5v3l2 1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-sitemap { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='5.5' y='1.5' width='5' height='3.5' rx='1'/%3E%3Crect x='1.5' y='11' width='5' height='3.5' rx='1'/%3E%3Crect x='9.5' y='11' width='5' height='3.5' rx='1'/%3E%3Cpath d='M8 5v3M4 11V8h8v3'/%3E%3C/svg%3E"); }
.ic-notes { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M2 8.5V3h5.5l6.5 6.5-5 5z' stroke-linejoin='round'/%3E%3Ccircle cx='5' cy='6' r='1'/%3E%3C/svg%3E"); }
.ic-desktop { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='1.5' y='2.5' width='13' height='9' rx='1.5'/%3E%3Cpath d='M5.5 14h5'/%3E%3C/svg%3E"); }
.ic-mobile { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='4.5' y='1.5' width='7' height='13' rx='1.5'/%3E%3Cpath d='M7.3 12.3h1.4'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  .dock-bg, .dock-menu, .dock-menu button, .drawer, .dd.open { transition: none !important; animation: none !important; }
}
