
:root {
  --bg: #EEF0EC; --surface: #F6F7F4; --ink: #0E2A33; --muted: #4A5C61; --line: rgba(14,42,51,.14);
  --accent: #8A6212; --btn: #0E2A33; --btn-ink: #F6F7F4;
  --inv-bg: #0E2A33; --inv-ink: #E6ECE8; --inv-muted: #A9BAB8; --inv-line: rgba(230,236,232,.16);
  --contour: 14,42,51; --contour-a: .20; --error: #A3261C;
  --display: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light; box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08191F; --surface: #0C2229; --ink: #E6ECE8; --muted: #93A7A6; --line: rgba(230,236,232,.13);
    --accent: #D9A93F; --btn: #D9A93F; --btn-ink: #08191F;
    --inv-bg: #0C2229; --inv-ink: #E6ECE8; --inv-muted: #93A7A6; --inv-line: rgba(230,236,232,.14);
    --contour: 156,197,184; --contour-a: .26; --error: #F0A098; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08191F; --surface: #0C2229; --ink: #E6ECE8; --muted: #93A7A6; --line: rgba(230,236,232,.13);
  --accent: #D9A93F; --btn: #D9A93F; --btn-ink: #08191F;
  --inv-bg: #0C2229; --inv-ink: #E6ECE8; --inv-muted: #93A7A6; --inv-line: rgba(230,236,232,.14);
  --contour: 156,197,184; --contour-a: .26; --error: #F0A098; color-scheme: dark;
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5rem); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* The chart: one living contour field behind the open sections */
#chart { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0; transition: opacity 2.2s ease; }
#chart.on { opacity: 1; }
header.site, main, footer { position: relative; z-index: 2; }
.solid { background: var(--bg); }

/* Header */
header.site { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
header.site.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.75rem; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 600 1.3rem/1 var(--display); letter-spacing: -.04em; }
.logo svg { width: 30px; height: 30px; }
nav.main { display: flex; gap: 2.25rem; font-size: .95rem; }
nav.main a { text-decoration: none; color: var(--muted); transition: color .2s; }
nav.main a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--btn); color: var(--btn-ink); border: 1px solid var(--btn);
  padding: .9rem 1.5rem; border-radius: 2px; font: 500 .97rem var(--body); text-decoration: none; cursor: pointer; transition: transform .2s, filter .2s; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; padding: .45rem 1rem; font: inherit; font-size: .95rem; color: var(--ink); }
@media (max-width: 82rem) {
  .menu-btn { display: block; }
  header.site .btn { display: none; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 4.75rem; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { padding: 1rem clamp(1.25rem, 4vw, 3rem); border-top: 1px solid var(--line); color: var(--ink); }
}

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8.6vw, 7.8rem); line-height: .94; letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.2; letter-spacing: -.025em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.28rem); color: var(--muted); max-width: 36rem; line-height: 1.6; }
section { padding: clamp(6rem, 13vw, 11rem) 0; }

/* Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem 0 clamp(2.5rem, 6vh, 4.5rem);
  background: radial-gradient(90% 75% at 15% 85%, color-mix(in srgb, var(--bg) 88%, transparent), transparent 70%); }
.hero > .wrap { width: 100%; }
.hero h1 { max-width: 13ch; margin-bottom: 2.25rem; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.readout { text-align: right; font-size: .9rem; color: var(--muted); line-height: 1.5; font-variant-numeric: tabular-nums; min-width: 13rem; }
.readout strong { display: block; font: 500 1.35rem/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; }
@media (max-width: 40rem) { .readout { text-align: left; } }

/* Load sequence: the one orchestrated moment */
.js .hero h1, .js .hero .lead, .js .hero .actions, .js .readout { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .loaded .hero h1, .js .loaded .hero .lead, .js .loaded .hero .actions, .js .loaded .readout { opacity: 1; transform: none; }
.js .loaded .hero .lead { transition-delay: .25s; } .js .loaded .hero .actions { transition-delay: .4s; } .js .loaded .readout { transition-delay: .7s; }
@media (prefers-reduced-motion: reduce) { .js .hero h1, .js .hero .lead, .js .hero .actions, .js .readout { opacity: 1; transform: none; transition: none; } #chart { transition: none; } }

/* Statement */
.statement p { font: 500 clamp(1.7rem, 3.3vw, 2.8rem)/1.2 var(--display); letter-spacing: -.035em; max-width: 26ch; margin: 0; }
.statement .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 2rem; }
.statement .wrap > span { font-size: .95rem; color: var(--muted); padding-top: .9rem; }
@media (max-width: 48rem) { .statement .wrap { grid-template-columns: 1fr; } }

/* Services */
.services .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(2.5rem, 7vw, 7rem); }
.services .intro { position: sticky; top: 8rem; align-self: start; }
.services .intro .lead { margin-top: 1.5rem; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.25rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc svg { width: 3.25rem; height: 3.25rem; color: var(--accent); }
.svc h3 { margin-bottom: .75rem; }
.svc p { color: var(--muted); margin: 0; max-width: 34rem; }
@media (max-width: 56rem) { .services .wrap { grid-template-columns: 1fr; } .services .intro { position: static; } }
@media (max-width: 30rem) { .svc li { grid-template-columns: 1fr; gap: .9rem; } .svc svg { width: 2.5rem; height: 2.5rem; } }

/* Approach: a real sequence, so it is numbered */
.approach h2 { max-width: 14ch; }
.profile { width: 100%; height: 80px; margin: 4rem 0 0; display: block; color: var(--accent); overflow: visible; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1.5rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 .95rem var(--display); color: var(--accent); margin-bottom: .9rem; }
.steps h3 { margin-bottom: .7rem; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 56rem) { .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } .profile { display: none; } .steps li { border-top: 1px solid var(--line); } }
@media (max-width: 34rem) { .steps { grid-template-columns: 1fr; } }

/* Interlude: the chart shows through again */
.interlude { padding: clamp(9rem, 22vw, 18rem) 0; }
.interlude { background: radial-gradient(50% 45% at 50% 50%, color-mix(in srgb, var(--bg) 85%, transparent), transparent 100%); }
.interlude blockquote { margin: 0 auto; max-width: 20ch; text-align: center; font: 500 clamp(2rem, 4.6vw, 4rem)/1.08 var(--display); letter-spacing: -.045em; text-wrap: balance; }

/* Sectors */
.sectors header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 4rem; }
.sectors header .lead { margin: 0; max-width: 30rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3rem; }
.grid3 article { border-top: 1px solid var(--line); padding: 2rem 0 3rem; }
.grid3 h3 { font-size: clamp(1.4rem, 1.9vw, 1.7rem); margin-bottom: .8rem; }
.grid3 p { color: var(--muted); margin: 0; font-size: 1rem; max-width: 28rem; }
@media (max-width: 56rem) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .grid3 { grid-template-columns: 1fr; } }

/* Principles: inverse band */
.principles { background: var(--inv-bg); color: var(--inv-ink); }
.principles h2 { max-width: 15ch; margin-bottom: 4rem; }
.principles .grid3 article { border-color: var(--inv-line); }
.principles .grid3 p { color: var(--inv-muted); }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
@media (max-width: 56rem) { .contact .wrap { grid-template-columns: 1fr; } }
.contact .lead { margin-top: 1.5rem; }
.contact-lines { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.contact-lines li { padding: 1rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.contact-lines span { color: var(--muted); }
.contact-lines a { text-decoration: none; } .contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
form { display: grid; gap: 1.6rem; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 36rem) { .row { grid-template-columns: 1fr; } }
label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .45rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 0; padding: .55rem 0; transition: border-color .2s; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.5rem; }
select option { background: var(--surface); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
textarea { resize: vertical; min-height: 6rem; }
.err { color: var(--error); font-size: .86rem; margin: .35rem 0 0; min-height: 0; }
.form-msg { margin: 0; font-size: .95rem; }
.form-msg.ok { color: var(--accent); } .form-msg.error { color: var(--error); }

footer { border-top: 1px solid var(--line); padding: 3rem 0 3.5rem; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; }
footer .logo { font-size: 1.25rem; color: var(--ink); }
footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
footer a { text-decoration: none; } footer nav a:hover { color: var(--ink); }

nav.main a, header.site .btn { white-space: nowrap; }
@media (max-width: 92rem) { nav.main { gap: 1.6rem; } }

/* Pilot: website assistant */
.pf-orb { width: 22px; height: 22px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 32%, #FFF1C9 0, #F2C863 22%, #D9A93F 48%, #7A5410 100%);
  box-shadow: 0 0 0 3px color-mix(in srgb, #D9A93F 22%, transparent), 0 0 18px rgba(217,169,63,.55); animation: pf-breathe 3.2s ease-in-out infinite; }
@keyframes pf-breathe { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, #D9A93F 12%, transparent), 0 0 26px rgba(217,169,63,.75); } }
.pilot-fab { display: inline-flex; align-items: center; gap: .65rem; padding: .7rem 1.15rem .7rem .8rem; border-radius: 999px; border: 1px solid color-mix(in srgb, #D9A93F 40%, transparent);
  background: #0E2A33; color: #F6F7F4; font: 600 .98rem var(--body); cursor: pointer; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); transition: transform .2s, box-shadow .2s; }
.pilot-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(0,0,0,.6); }
.pilot-fab small { display: block; font-weight: 400; font-size: .74rem; color: #A9BAB8; margin-top: .1rem; }
.pilot-fab .pf-text { text-align: left; line-height: 1.1; }
.pilot-hello { position: fixed; z-index: 40; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
  max-width: min(19rem, calc(100vw - 2rem)); padding: .85rem 2.4rem .85rem 1rem; border-radius: 14px 14px 4px 14px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 20px 44px -18px rgba(0,0,0,.45); font-size: .95rem; animation: pf-in .4s ease; }
.pilot-hello button { position: absolute; top: .35rem; right: .45rem; background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: .2rem .4rem; }
@keyframes pf-in { from { opacity: 0; transform: translateY(8px); } }
.ask-pilot { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.ask-pilot:hover { color: var(--ink); }
.ask-pilot .pf-orb { width: 12px; height: 12px; box-shadow: 0 0 10px rgba(217,169,63,.6); }
.pilot { position: fixed; z-index: 60; right: 1.25rem; bottom: 1.25rem; width: min(25rem, calc(100vw - 2.5rem)); height: min(40rem, calc(100vh - 2.5rem));
  display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); animation: pf-in .3s ease; }
.pilot[hidden], .pilot-hello[hidden], .pilot-chips[hidden] { display: none; }
.pilot { padding: 0; }
@media (max-width: 40rem) {
  .pilot { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0;
    padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  body.pilot-open { overflow: hidden; }
  
  .pilot-fab small { display: none; }
}
.pilot-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, var(--surface)); }
.pilot-head .pf-orb { width: 30px; height: 30px; }
.pilot-head h2 { font-size: 1.1rem; letter-spacing: -.02em; margin: 0; }
.pilot-head p { margin: 0; font-size: .8rem; color: var(--muted); }
.pilot-head .grow { flex: 1; min-width: 0; }
.pilot-human { background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 500 .8rem var(--body); padding: .4rem .75rem; cursor: pointer; white-space: nowrap; }
.pilot-human:hover { border-color: var(--accent); }
.pilot-x { background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: .2rem .35rem; }
.pilot-x:hover { color: var(--ink); }
.pilot-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; overscroll-behavior: contain; }
.pm { max-width: 88%; padding: .65rem .85rem; border-radius: 14px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.pm p { margin: 0 0 .5rem; } .pm p:last-child { margin: 0; }
.pm ul { margin: .2rem 0 .5rem; padding-left: 1.1rem; } .pm li { margin-bottom: .2rem; }
.pm a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.pm.bot { align-self: flex-start; background: color-mix(in srgb, var(--bg) 70%, var(--surface)); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.pm.me { align-self: flex-end; background: var(--btn); color: var(--btn-ink); border-bottom-right-radius: 4px; }
.pm.me a { color: inherit; }
.pm.err { border-color: color-mix(in srgb, var(--error) 40%, transparent); }
.typing { display: inline-flex; gap: 4px; padding: .9rem 1rem; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: pf-dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pf-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.pilot-chips { display: flex; gap: .5rem; overflow-x: auto; padding: 0 1rem .75rem; scrollbar-width: none; }
.pilot-chips::-webkit-scrollbar { display: none; }
.pilot-chips button { flex: none; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 500 .84rem var(--body); padding: .45rem .8rem; cursor: pointer; }
.pilot-chips button:hover { border-color: var(--accent); }
form.pilot-input { display: flex; align-items: flex-end; gap: .5rem; margin: 0 .75rem; padding: .4rem .4rem .4rem .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
form.pilot-input:focus-within { border-color: var(--accent); }
.pilot-input textarea { flex: 1; border: 0; border-bottom: 0; background: none; padding: .45rem 0; min-height: 0; max-height: 7.5rem; resize: none; font: 400 16px/1.4 var(--body); color: var(--ink); box-shadow: none; }
.pilot-input textarea:focus { box-shadow: none; outline: none; }
.pilot-input button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--btn); color: var(--btn-ink); cursor: pointer; display: grid; place-items: center; flex: none; }
.pilot-input button:disabled { opacity: .5; cursor: default; }
.pilot-note { margin: .5rem 1rem .8rem; font-size: .74rem; color: var(--muted); text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
form.hf { display: grid; gap: .55rem; margin: .6rem 0 0; padding: 0; background: none; border: 0; }
.hf input, .hf textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .55rem .65rem; box-shadow: none; }
.hf input:focus, .hf textarea:focus { border-color: var(--accent); box-shadow: none; outline: none; }
.hf textarea { min-height: 4.5rem; resize: vertical; }
.hf .btn { justify-content: center; padding: .7rem 1rem; }
.hf .hf-err { color: var(--error); font-size: .84rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .pf-orb, .typing i { animation: none; } .pilot, .pilot-hello { animation: none; } }
.pilot-note a { color: inherit; text-underline-offset: 2px; }
@media (max-width: 82rem) { nav.main .ask-pilot { width: 100%; padding: 1rem clamp(1.25rem, 4vw, 3rem); border-top: 1px solid var(--line); color: var(--ink); font-size: 1rem; } }

.offer { display: flex; flex-wrap: wrap; gap: .45rem; align-self: flex-start; max-width: 92%; }
.offer button { border: 1px solid var(--accent); background: none; color: var(--ink); border-radius: 999px; padding: .5rem .85rem; font: 500 .86rem var(--body); cursor: pointer; }
.offer button:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.offer button.quiet { border-color: var(--line); color: var(--muted); }

.ask-pilot { white-space: nowrap; }

.fab-dock { position: fixed; z-index: 40; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: .6rem; transition: opacity .3s; }
.wa-fab { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem .7rem .85rem; border-radius: 999px; background: #1FA855; color: #fff;
  text-decoration: none; font: 600 .98rem var(--body); box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s; animation: pf-in .5s ease; }
.wa-fab:hover { transform: translateY(-2px); background: #1B9A4D; }
.wa-fab[hidden] { display: none; }
.wa-fab .pf-text { text-align: left; line-height: 1.1; } .wa-fab small { display: block; font-weight: 400; font-size: .74rem; color: rgba(255,255,255,.85); margin-top: .1rem; }
.hello-wa a { color: inherit; font-weight: 600; text-decoration-color: #1FA855; text-underline-offset: 2px; }
.pilot-wa { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem .35rem .5rem; border-radius: 999px; background: #1FA855; color: #fff; text-decoration: none; font: 600 .8rem var(--body); }
.pilot-wa:hover { background: #1B9A4D; } .pilot-wa svg { width: 18px; height: 18px; } .pilot-wa[hidden] { display: none; }
.pilot-chips .chip-wa { border-color: #1FA855; } .pilot-chips .chip-wa[hidden] { display: none; }
.btn.wa-btn { background: #1FA855; border-color: #1FA855; color: #fff; } .btn.wa-btn:hover { filter: brightness(1.05); }
.btn.wa-btn[hidden] { display: none; } .btn.wa-btn svg { width: 20px; height: 20px; }
@media (max-width: 40rem) {
  .wa-fab { padding: .75rem; } .wa-fab .pf-text { display: none; }
  body.pilot-open .fab-dock { display: none; }
  .pilot-wa span { display: none; } .pilot-wa { padding: .4rem; }
}

/* ----- Pricing, websites page, examples, QuoteStudio demo ----- */
.price-line { margin: 0 0 1.5rem; color: var(--muted); } .price-line b { color: var(--ink); font-size: 1.35rem; letter-spacing: -.02em; }
.incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 64rem) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .incl { grid-template-columns: 1fr; } }
.incl article { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; }
.incl .ic { font-size: 1.5rem; } .incl h3 { font-size: 1.15rem; margin: .8rem 0 .5rem; } .incl p { margin: 0; color: var(--muted); font-size: .96rem; }
.pricing header, .examples header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 3.5rem; }
.pricing header .lead, .examples header .lead { margin: 0; max-width: 34rem; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 60rem) { .tiers { grid-template-columns: 1fr; max-width: 34rem; } }
.tier { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: 2rem 1.75rem; }
.tier.pop { border: 2px solid var(--accent); box-shadow: 0 30px 70px -40px rgba(0,0,0,.45); }
.pop-tag { position: absolute; top: -.8rem; left: 1.5rem; background: var(--accent); color: var(--btn-ink); font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
:root:not([data-theme="dark"]) .pop-tag { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pop-tag { color: #08191F; } }
.tier h3 { font-size: 1.6rem; letter-spacing: -.04em; }
.tier-tag { color: var(--muted); font-size: .95rem; margin: .3rem 0 1.25rem; }
.tier-price { margin: 0; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; } .tier-price b { font-size: 2.3rem; letter-spacing: -.05em; font-weight: 600; } .tier-price span { color: var(--muted); font-size: .9rem; }
.tier-care { margin: .35rem 0 1.25rem; color: var(--muted); } .tier-care b { color: var(--ink); }
.tier .ticks { margin: 0 0 1.75rem; flex: 1; font-size: .96rem; gap: .55rem; }
.tier .ticks li.plus { font-weight: 600; } .tier .ticks li.plus::before { content: ""; }
.tier .btn { justify-content: center; }
.tiers-note { margin-top: 2rem; color: var(--muted); max-width: 52rem; }
.tiers-note a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.seo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 56rem) { .seo .wrap { grid-template-columns: 1fr; } }
.seo .honest { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); }
.doc-list.one { grid-template-columns: 1fr; margin-top: 0; }
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 60rem) { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .ex-grid { grid-template-columns: 1fr; } }
.ex-card { display: block; text-decoration: none; border: 1px solid var(--line); background: var(--surface); transition: transform .25s, box-shadow .25s; }
.ex-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -34px rgba(0,0,0,.5); }
.ex-thumb { position: relative; height: 220px; overflow: hidden; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; border-bottom: 1px solid var(--line); }
.ex-nav { font-size: .8rem; font-weight: 700; opacity: .9; }
.ex-h { font-size: 1.45rem; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; max-width: 13ch; }
.ex-btn { align-self: flex-start; background: var(--a); color: var(--ai); font: 600 .72rem var(--body); padding: .35rem .7rem; border-radius: 999px; }
.ex-chat { position: absolute; right: .8rem; bottom: .8rem; max-width: 70%; background: var(--p); color: inherit; border: 1px solid var(--l); border-radius: 12px 12px 3px 12px;
  font: 400 .72rem/1.35 var(--body); padding: .5rem .6rem; box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
.ex-chat i { font-style: normal; margin-right: .3rem; }
.ex-meta { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .2rem; }
.ex-meta b { font-size: 1.05rem; letter-spacing: -.02em; } .ex-meta span { color: var(--muted); font-size: .9rem; } .ex-meta em { font-style: normal; color: var(--accent); font-size: .9rem; font-weight: 500; margin-top: .4rem; }
/* QuoteStudio: pricing */
.p1-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--surface); border: 2px solid var(--accent); padding: clamp(1.6rem, 4vw, 3.5rem); }
@media (max-width: 56rem) { .p1-card { grid-template-columns: 1fr; } }
.p1-card h2 { margin: 1.1rem 0 1rem; }
.p1-price .amt { margin: 0; display: flex; align-items: baseline; gap: .6rem; } .p1-price .amt b { font-size: clamp(3rem, 6vw, 4.2rem); letter-spacing: -.06em; font-weight: 600; } .p1-price .amt span { color: var(--muted); }
.p1-price .cancel { color: var(--accent); font-weight: 600; margin: .2rem 0 1.25rem; }
.p1-price .btn { width: 100%; justify-content: center; }
/* QuoteStudio: interactive demo */
.qd-section .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 56rem) { .qd-section .wrap { grid-template-columns: 1fr; } }
.qd-copy h2 { margin: 1.1rem 0 1rem; }
.qd-small { color: var(--muted); font-size: .9rem; }
.qd-phone { width: min(100%, 380px); }
.qd-phone .scr { display: flex; flex-direction: column; height: 640px; max-height: calc(100svh - 7rem); }
.qd-log { flex: 1; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: .45rem; padding: .9rem .7rem; overscroll-behavior: contain; }
body.qd-visible .fab-dock, body.qd-visible .pilot-hello { opacity: 0; pointer-events: none; }
.pilot-fab { transition: transform .2s, box-shadow .2s, opacity .3s; }
.qd-phone .b { opacity: 1; transform: none; }
.qd-phone .b.typing { display: inline-flex; gap: 4px; padding: .7rem .8rem; } .qd-phone .b.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: pf-dot 1.2s infinite; }
.qd-phone .b.typing i:nth-child(2) { animation-delay: .15s; } .qd-phone .b.typing i:nth-child(3) { animation-delay: .3s; }
.qd-phone .vn { display: block; min-width: 220px; }
.vn-row { display: flex; align-items: center; gap: .55rem; }
.qd-phone .tr { display: block; margin-top: .35rem; font-size: .76rem; color: #54656F; font-style: italic; }
.qd-phone .b.file, .qd-phone .b.link { cursor: pointer; } .qd-phone .b.file:hover, .qd-phone .b.link:hover { filter: brightness(.97); }
.qd-samples, .qd-amend { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem .6rem; background: #F0F2F5; scrollbar-width: none; }
.qd-samples[hidden], .qd-amend[hidden] { display: none; }
.qd-samples button, .qd-amend button { flex: none; border: 1px solid #D1D7DB; background: #fff; color: #111B21; border-radius: 999px; padding: .4rem .75rem; font: 500 .78rem var(--body); cursor: pointer; }
.qd-samples button:hover, .qd-amend button:hover { border-color: #25D366; }
form.qd-input { display: flex; gap: .4rem; align-items: center; padding: .5rem .6rem .7rem; background: #F0F2F5; border: 0; margin: 0; }
.qd-input input { flex: 1; min-width: 0; border: 0; border-radius: 999px; background: #fff; color: #111B21; padding: .6rem .9rem; font: 400 16px var(--body); box-shadow: none; }
.qd-input input:focus { outline: 2px solid #25D366; box-shadow: none; }
.qd-input button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #00A884; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.qd-input .qd-mic { background: #fff; color: #54656F; } .qd-input .qd-mic.rec { background: #E5483D; color: #fff; animation: pf-breathe 1.2s infinite; }
.qd-input button[hidden] { display: none; }
dialog.qd-modal { width: min(46rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 0; border: 0; border-radius: 10px; background: var(--bg); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
dialog.qd-modal::backdrop { background: rgba(8,25,31,.6); backdrop-filter: blur(3px); }
.qd-bar { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .8rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.qd-bar .grow { flex: 1; } .qd-bar .btn { padding: .55rem .9rem; font-size: .88rem; }
.qd-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; padding: 0 .3rem; }
.qd-body { padding: clamp(1rem, 3vw, 2rem); display: flex; justify-content: center; background: color-mix(in srgb, var(--bg) 60%, #808080 10%); }
.qd-body .doc { max-width: 40rem; }
.doc.editing input:not([type=checkbox]) { width: 100%; font: inherit; color: #1B2B31; background: #F6F8F9; border: 1px solid #DFE5E7; border-radius: 4px; padding: .3rem .4rem; box-shadow: none; }
.doc.editing .doc-to input { display: block; margin-top: .3rem; }
.doc.editing td.n input { width: 5.5rem; text-align: right; }
.doc .rm { border: 0; background: none; color: #A3261C; font-size: 1.1rem; cursor: pointer; }
.doc .addrow { border: 1px dashed #B8C2C5; background: none; color: #1B2B31; border-radius: 4px; padding: .35rem .7rem; cursor: pointer; font: inherit; }
.doc .vatt { margin-left: 1rem; color: #1B2B31; font-size: .85rem; }
@media print {
  body.printing-doc * { visibility: hidden !important; }
  body.printing-doc #qd-doc, body.printing-doc #qd-doc * { visibility: visible !important; }
  body.printing-doc #qd-doc { position: fixed; inset: 0; margin: 0 auto; box-shadow: none; max-width: none; padding: 2cm; }
}
.qd-bar [hidden] { display: none !important; }
.doc .vatt { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 0 1rem; font-weight: 400; vertical-align: middle; }
.doc .vatt input { width: auto; margin: 0; accent-color: #2F7D74; }
.tier .ticks li.plus::before { display: none; }

/* ===== QuoteStudio demo: epic stage ===== */
.qd-epic { position: relative; overflow: hidden; color: #E6ECE8; background: radial-gradient(70% 60% at 85% 10%, rgba(217,169,63,.22), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(31,111,235,.18), transparent 60%), #0A1E25; }
.qd-epic::before { content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background: repeating-radial-gradient(circle at 20% 30%, transparent 0 38px, rgba(156,197,184,.35) 39px 40px); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.qd-epic .wrap { position: relative; display: block; }
.qd-epic .badge { color: #D9A93F; border-color: rgba(217,169,63,.55); } .qd-epic .badge::before { background: #D9A93F; }
.qd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.qd-head h2 { color: #F6F7F4; max-width: 17ch; margin: 1rem 0 1rem; }
.qd-head .lead { color: #A9BAB8; margin: 0; max-width: 38rem; }
.qd-brands { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; } .qd-brands span { color: #A9BAB8; font-size: .9rem; margin-right: .25rem; }
.qd-brands button { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid rgba(230,236,232,.2); background: rgba(255,255,255,.04); color: #E6ECE8; border-radius: 999px; padding: .5rem .9rem .5rem .55rem; font: 500 .9rem var(--body); cursor: pointer; transition: border-color .2s, background .2s; }
.qd-brands button[aria-pressed="true"] { border-color: #D9A93F; background: rgba(217,169,63,.14); }
.bl { width: 20px; height: 20px; border-radius: 6px; display: inline-block; } .bl-spark { background: #FFD23F; box-shadow: inset 0 0 0 5px #121417; } .bl-plumb { background: #1F6FEB; border-radius: 50%; } .bl-clean { background: #18A57B; }
.qd-stage { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 60rem) { .qd-stage { grid-template-columns: 1fr; } .qd-stage .qd-phone { margin: 0 auto; } }
.qd-epic .phone { box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08), 0 0 80px -20px rgba(217,169,63,.25); }
.qd-preview { position: sticky; top: 6rem; }
.qd-prev-bar { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; } .qd-prev-bar b { font-weight: 600; } .qd-prev-bar .grow { flex: 1; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #3FB07A; box-shadow: 0 0 0 4px rgba(63,176,122,.2); }
.qd-dl { background: #D9A93F !important; border-color: #D9A93F !important; color: #08191F !important; padding: .6rem 1.1rem; font-size: .9rem; }
.qd-dl:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.qd-paper { perspective: 1400px; }
.qd-paper .doc { max-width: none; margin: 0; transform: rotateX(2deg); transform-origin: top center; box-shadow: 0 40px 90px -40px rgba(0,0,0,.85); transition: transform .4s; }
.qd-paper .doc:hover { transform: none; }
.qd-note { color: #A9BAB8; font-size: .88rem; margin-top: 1rem; }
.qd-tips { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.qd-tips li { background: rgba(255,255,255,.05); border: 1px solid rgba(230,236,232,.14); border-radius: 999px; padding: .5rem 1rem; font-size: .92rem; color: #C9D4D2; } .qd-tips b { color: #D9A93F; font-weight: 600; }
.qd-epic .qd-small { color: #7F9694; margin-top: 1rem; }
/* Branded document */
.doc.branded, .doc.doc-empty { position: relative; overflow: hidden; padding-top: 0; }
.doc-band { height: 8px; background: var(--bc); margin: 0 calc(-1 * clamp(1.2rem, 3vw, 2rem)) 1.2rem; }
.doc-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; position: relative; }
.doc-logo { width: 54px; height: 54px; flex: none; } .doc-logo svg { width: 100%; height: 100%; display: block; }
.doc-brand b { display: block; font-size: 1.08rem; color: #1B2B31; } .doc-brand span { display: block; font-size: .78rem; color: #5D6B70; }
.brand-chip { position: absolute; right: 0; top: 0; font-size: .68rem !important; font-weight: 600; color: #8A6212 !important; background: #FFF4D6; border: 1px dashed #D9A93F; border-radius: 999px; padding: .2rem .55rem; white-space: nowrap; }
@media (max-width: 34rem) { .brand-chip { display: none !important; } }
.doc-meta { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid #E8EDEE; border-bottom: 1px solid #E8EDEE; margin-bottom: .5rem; }
.doc-meta .doc-title { text-align: right; } .doc-meta .doc-title b { font-size: 1.35rem; letter-spacing: .1em; } .doc-meta .doc-title span { display: block; color: #5D6B70; font-size: .78rem; }
.doc.branded thead th { background: var(--bt); padding-left: .5rem; } .doc.branded thead th.n { padding-right: .5rem; }
.doc.branded td:first-child { padding-left: .5rem; } .doc.branded td:last-child { padding-right: .5rem; }
.doc.branded .doc-tot .grand { background: var(--bc); color: #121417; border-radius: 6px; padding: .45rem .6rem; border: 0; margin-top: .3rem; }
.doc.branded[style*="#1F6FEB"] .doc-tot .grand, .doc.branded[style*="#18A57B"] .doc-tot .grand { color: #fff; }
.doc-bank { margin-top: 1.2rem; background: #F6F8F9; border-radius: 8px; padding: .8rem 1rem; display: grid; gap: .2rem; font-size: .78rem; color: #5D6B70; } .doc-bank b { color: #1B2B31; font-size: .85rem; }
.doc.branded .doc-foot { text-align: center; border-top: 1px solid #E8EDEE; padding-top: .7rem; font-size: .72rem; }
.stamp { position: absolute; right: 1.4rem; top: 5.2rem; transform: rotate(-8deg); border: 2px solid #C9A227; color: #C9A227; font: 700 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 6px; opacity: .85; z-index: 1; }
.stamp.ok { border-color: #18A57B; color: #18A57B; }
.doc-ph { display: grid; gap: .7rem; margin: 1.5rem 0; } .doc-ph span { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #EEF2F3, #F7F9FA, #EEF2F3); background-size: 200% 100%; animation: sh 1.6s infinite; } .doc-ph .s { width: 55%; }
.doc-wait { color: #5D6B70; font-size: .9rem; text-align: center; margin: 1rem 0 .5rem; }

/* ===== Premium polish: softer shapes, depth and motion ===== */
:root { --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --shadow-soft: 0 22px 50px -32px rgba(8,25,31,.45); --glow: color-mix(in srgb, var(--accent) 14%, transparent); }
.btn { border-radius: 999px; padding: .9rem 1.55rem; transition: transform .2s ease, box-shadow .25s ease, filter .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(8,25,31,.55); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.menu-btn { border-radius: 999px; }
form#enquiry { border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.app-feature { border-radius: 32px; background: radial-gradient(120% 90% at 100% 0%, var(--glow), transparent 55%), var(--surface); box-shadow: var(--shadow-soft); }
.p1-card { border-radius: 32px; box-shadow: var(--shadow-soft); }

/* Cards everywhere: rounded, layered, with a soft glow that follows the cursor */
.glow-card { position: relative; isolation: isolate; }
.glow-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%); }
.glow-card:hover::after { opacity: 1; }
.grid3 { gap: 1.25rem; }
.grid3 article { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem 1.6rem; background: var(--surface); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.grid3 article:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.principles .grid3 article { background: rgba(255,255,255,.04); border-color: var(--inv-line); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 40rem) { .svc { grid-template-columns: 1fr; } }
.svc li, .svc li:last-child { display: block; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; background: var(--surface); transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc li:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.svc svg { width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; padding: .45rem; border-radius: 12px; background: var(--glow); }
.svc h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.services .intro h2 { max-width: 12ch; }
.incl article, .tier { border-radius: var(--r-md); transition: transform .3s, box-shadow .3s; }
.incl article:hover, .tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.incl .ic { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; background: var(--glow); }
.tier.pop { background: radial-gradient(100% 60% at 50% 0%, var(--glow), transparent 70%), var(--surface); }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.steps li::before { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--glow); font-size: .9rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.4rem; margin-bottom: .75rem; background: var(--surface); transition: border-color .3s; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.contact-lines li:first-child { border-top: 0; }
.ex-card { border-radius: 22px; overflow: hidden; transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .25s ease, box-shadow .3s; }
.ex-card:hover { box-shadow: 0 34px 70px -38px rgba(8,25,31,.6); }
.statement p { background: linear-gradient(100deg, var(--ink) 30%, color-mix(in srgb, var(--accent) 80%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band .wrap { background: radial-gradient(80% 120% at 100% 0%, rgba(217,169,63,.16), transparent 60%); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--inv-line); }
dialog.prefs, dialog.qd-modal { border-radius: 22px; }

/* Announcement pill in the hero */
.announce { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; margin: 0 0 1.5rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; text-decoration: none; font-size: .92rem;
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s, border-color .2s; }
.announce:hover { transform: translateY(-1px); border-color: var(--accent); }
.announce .tag { background: var(--accent); color: var(--btn-ink); border-radius: 999px; padding: .15rem .55rem; font-size: .75rem; font-weight: 600; flex: none; }
:root:not([data-theme="dark"]) .announce .tag { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .announce .tag { color: #08191F; } }
.announce b { font-weight: 600; } .announce .arr { transition: transform .2s; } .announce:hover .arr { transform: translateX(3px); }
nav.main a.nav-new { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }
nav.main a.nav-new i { font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .02em; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: .05rem .4rem; }

/* Live website demos rail on the home page */
.demos { position: relative; background: var(--inv-bg); color: var(--inv-ink); overflow: hidden; }
.demos::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,169,63,.18), transparent); pointer-events: none; }
.demos .wrap { position: relative; }
.demos-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.demos-head h2 { max-width: 16ch; margin: 1.1rem 0 1rem; }
.demos-head .lead { color: var(--inv-muted); margin: 0; max-width: 36rem; }
.demos .badge { color: #D9A93F; border-color: rgba(217,169,63,.5); } .demos .badge::before { background: #D9A93F; }
.demos-nav { display: flex; gap: .5rem; }
.demos-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--inv-line); background: rgba(255,255,255,.04); color: var(--inv-ink); font-size: 1.2rem; cursor: pointer; transition: background .2s, transform .2s; }
.demos-nav button:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }
.demo-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
@media (max-width: 56rem) { .demo-rail { grid-auto-columns: 82%; } }
.demo-card { scroll-snap-align: start; text-decoration: none; color: inherit; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--inv-line); padding: .7rem; transition: transform .3s, border-color .3s, background .3s; }
.demo-card:hover { transform: translateY(-6px); border-color: rgba(217,169,63,.55); background: rgba(255,255,255,.07); }
.browser { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(0,0,0,.7); }
.browser .bar { display: flex; align-items: center; gap: .35rem; padding: .5rem .7rem; background: #1E2B31; }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #3B4A50; } .browser .bar i:first-child { background: #E5483D; } .browser .bar i:nth-child(2) { background: #E3A21A; } .browser .bar i:nth-child(3) { background: #1FA855; }
.browser .bar span { margin-left: .5rem; flex: 1; font-size: .7rem; color: #93A7A6; background: #0F1A1F; border-radius: 6px; padding: .2rem .5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser .ex-thumb { border-bottom: 0; height: 230px; }
.demo-meta { display: grid; gap: .15rem; padding: .9rem .4rem .3rem; }
.demo-meta b { font-size: 1.05rem; letter-spacing: -.02em; } .demo-meta span { color: var(--inv-muted); font-size: .88rem; }
.demo-meta .go { color: #D9A93F; font-weight: 600; margin-top: .35rem; }
.demos .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.demos .btn { background: #D9A93F; border-color: #D9A93F; color: #08191F; }
.demos .btn.ghost { background: transparent; color: var(--inv-ink); border-color: var(--inv-line); }

/* Scroll reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .ex-card, .demo-card, .grid3 article, .svc li, .tier, .incl article { transition: none; transform: none !important; } }

/* Pilot: suggestions wrap neatly on larger screens */
@media (min-width: 40.01rem) { .pilot-chips { flex-wrap: wrap; overflow: visible; } }

.lockup > span:first-child { white-space: nowrap; }
@media (min-width: 82.01rem) { nav.main { gap: 1.45rem; } }

/* Performance: no live blur over the animated background (blur re-renders on every frame) */
body::before, header.site.scrolled, .btn.ghost, .announce, .ai-chip { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
header.site.scrolled, body::before { background: color-mix(in srgb, var(--bg) 95%, transparent); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 85%, transparent); }
.announce { background: color-mix(in srgb, var(--surface) 90%, transparent); }
.ai-chip { background: color-mix(in srgb, var(--surface) 94%, transparent); }
/* The headline paints straight away instead of fading in */
.js .hero h1 { opacity: 1 !important; transform: none !important; transition: none !important; }

.more { display: inline-block; margin-top: 1.1rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.more:hover { color: var(--accent); }
.founder .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.founder .big { font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.3 var(--display); letter-spacing: -.03em; margin-bottom: 1.5rem; }
.founder .body p { color: var(--muted); max-width: 40rem; }
.founder .body .big { color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.facts li { padding: 1rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts span { color: var(--muted); }
@media (max-width: 56rem) { .founder .wrap { grid-template-columns: 1fr; } }
.towns { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.towns a, .towns span { display: inline-block; padding: .7rem 1.25rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font: 500 1.05rem/1.2 var(--display); letter-spacing: -.02em; }
.towns a:hover { border-color: var(--ink); }
.faq .wrap { max-width: 58rem; }
.faq h2 { margin-bottom: 3rem; }
.faq details { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 500 clamp(1.15rem, 1.7vw, 1.4rem)/1.3 var(--display); letter-spacing: -.025em; display: flex; justify-content: space-between; gap: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 1rem 0 0; max-width: 44rem; }
.page-hero { min-height: 70svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 9rem 0 4.5rem;
  background: radial-gradient(90% 75% at 15% 85%, color-mix(in srgb, var(--bg) 88%, transparent), transparent 70%); }
.page-hero > .wrap { width: 100%; }
.page-hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.05em; max-width: 15ch; margin-bottom: 1.75rem; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.crumbs { font-size: .92rem; color: var(--muted); margin: 0 0 1.75rem; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.cta-band { background: var(--inv-bg); color: var(--inv-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.cta-band p { color: var(--inv-muted); max-width: 34rem; margin: 1.25rem 0 0; }
.cta-band .btn, .principles .btn { background: #D9A93F; color: #08191F; border-color: #D9A93F; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); }
.svc-plain li { grid-template-columns: 1fr; }
.form-privacy { margin: -.4rem 0 0; font-size: .86rem; color: var(--muted); }
label .opt { font-weight: 400; color: var(--muted); }
.form-privacy a, .prefs .intro a, footer .base a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.prose h2 { scroll-margin-top: 6rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.linklike:hover { color: var(--ink); text-decoration-color: var(--accent); }
dialog.prefs { width: min(34rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); }
dialog.prefs::backdrop { background: rgba(8,25,31,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.prefs form { display: block; background: none; border: 0; padding: clamp(1.4rem, 4vw, 2rem); }
.prefs h2 { font-size: 1.6rem; letter-spacing: -.035em; margin-bottom: .6rem; }
.prefs .intro { color: var(--muted); font-size: .98rem; }
.pref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1.25rem; align-items: start; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.pref h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.pref p { grid-column: 1; color: var(--muted); font-size: .92rem; margin: 0; }
.pref .always { font-size: .85rem; color: var(--muted); white-space: nowrap; padding-top: .15rem; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 25%, transparent); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.prefs .row-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; margin-top: 1.25rem; }
.prefs-done { color: var(--accent); font-size: .9rem; margin-left: .75rem; }
.lockup { display: flex; flex-direction: column; gap: .28rem; }
.logo .wm { display: inline-flex; flex-direction: column; gap: .32rem; color: var(--ink); }
.wm-word { font: 750 1.95rem/0.9 var(--display); letter-spacing: -0.055em; white-space: nowrap; }
.wm-sub { font: 500 .6rem/1 var(--body); letter-spacing: .21em; color: var(--muted); white-space: nowrap; padding-left: .08em; }
footer .logo .wm-word { font-size: 2.2rem; }
@media (max-width: 40rem) { .wm-word { font-size: 1.75rem; } }
.bot-o { display: inline; }
.pf-bot { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; color: currentColor; }
.pf-bot svg { width: 100%; height: 100%; display: block; }
.pf-bot.sm { width: 24px; height: 24px; }
.pilot-head .pf-bot { width: 40px; height: 40px; border-radius: 50%; background: #0E2A33; color: #E6ECE8; padding: 4px; }
.pilot-fab .pf-bot { width: 32px; height: 32px; color: #E6ECE8; }
.ask-pilot .pf-bot { width: 22px; height: 22px; }
.wa-top .av { color: #E6ECE8; } .wa-top .av svg { width: 28px; height: 28px; }
.lockup .tech { font-weight: 400; color: var(--muted); }
.lockup small { font: 400 .74rem/1 var(--body); letter-spacing: 0; color: var(--muted); white-space: nowrap; }
@media (max-width: 380px) { .lockup small { font-size: .66rem; } }
.foot-tag { margin: .9rem 0 .6rem; color: var(--ink); font-weight: 500; }
.hero { position: relative; }
.ai-chip { display: block; width: min(100%, 28rem); padding: 1rem 1.25rem 1.05rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.45); }
.chip-top { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.chip-top .chip-count { margin-left: auto; font-variant-numeric: tabular-nums; }
.ai-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.chip-task { font: 500 clamp(1.12rem, 1.55vw, 1.32rem)/1.3 var(--display); letter-spacing: -.025em; min-height: 2.6em; }
.chip-cursor { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--accent); animation: blink 1s steps(1) infinite; }
.ai-chip.done .chip-cursor { display: none; }
.ai-chip.done #chip-text::after { content: " ✓"; color: var(--accent); }
.chip-benefit { display: flex; gap: .5rem; font-size: .96rem; line-height: 1.45; color: var(--muted); margin-top: .35rem; min-height: 2.9em; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.chip-benefit::before { content: "→"; color: var(--accent); flex: none; }
.ai-chip.done .chip-benefit { opacity: 1; transform: none; }
.chip-bar { height: 2px; background: var(--line); border-radius: 2px; margin-top: .75rem; overflow: hidden; }
.chip-bar i { display: block; height: 100%; width: 5%; background: var(--accent); transition: width .5s ease; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 899px) { .hero { justify-content: flex-start; padding-top: 16.5rem; } .hero .readout { display: none; }
  .ai-chip { padding: .85rem 1rem .9rem; } .chip-task { font-size: 1.05rem; } .chip-benefit { font-size: .9rem; } }
@media (min-width: 900px) { .ai-chip { position: absolute; left: 77%; top: calc(40% + 10.5rem); transform: translateX(-50%); margin: 0; } }
.js .ai-chip { opacity: 0; transition: opacity 1s ease 1.6s; } .js .loaded .ai-chip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ai-chip .pulse, .chip-cursor { animation: none; } .js .ai-chip { opacity: 1; transition: none; } .chip-benefit { transition: none; } }
/* Apps */
.apps header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 3.5rem; }
.apps header .lead { margin: 0; max-width: 32rem; }
.app-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 56rem) { .app-feature { grid-template-columns: 1fr; } }
.badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 500; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; padding: .3rem .75rem; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.app-copy h3 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.045em; margin: 1.1rem 0 .6rem; }
.app-copy .big { font: 500 clamp(1.2rem, 1.8vw, 1.5rem)/1.35 var(--display); letter-spacing: -.025em; margin-bottom: 1rem; }
.app-copy > p { color: var(--muted); }
.app-copy > p.big { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .7rem; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.app-copy .actions, .app-hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.more-apps { margin-top: 2rem; color: var(--muted); }
.more-apps a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
/* Phone mockup (a WhatsApp-style chat) */
.phone { width: min(100%, 340px); margin: 0 auto; padding: 10px; border-radius: 42px; background: #0D181D;
  box-shadow: 0 40px 90px -35px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.scr { border-radius: 33px; overflow: hidden; background: #EFEAE2; color: #111B21; font: 400 .84rem/1.42 var(--body); }
.wa-top { display: flex; align-items: center; gap: .6rem; padding: 1.5rem .9rem .7rem; background: #F0F2F5; border-bottom: 1px solid rgba(0,0,0,.06); }
.wa-top .av { width: 34px; height: 34px; border-radius: 50%; background: #0E2A33; display: grid; place-items: center; flex: none; }
.wa-top b { display: block; font-size: .92rem; } .wa-top small { color: #667781; font-size: .74rem; }
.chat { display: flex; flex-direction: column; gap: .45rem; padding: .9rem .7rem 1.2rem; min-height: 470px; }
.b { position: relative; max-width: 88%; align-self: flex-start; background: #fff; padding: .45rem .6rem 1.15rem; border-radius: 9px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.b.me { align-self: flex-end; background: #D9FDD3; }
.b .t { position: absolute; right: .55rem; bottom: .2rem; font-size: .66rem; color: #667781; }
.b em { color: #54656F; }
.vn { display: flex; align-items: center; gap: .55rem; min-width: 200px; }
.vn .play { width: 0; height: 0; border-left: 11px solid #54656F; border-top: 7px solid transparent; border-bottom: 7px solid transparent; flex: none; }
.wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 26px; }
.wave i { width: 3px; border-radius: 2px; background: #8696A0; }
.vn .dur { font-size: .7rem; color: #667781; }
.file { display: flex; gap: .6rem; align-items: center; }
.pdf-ic { width: 32px; height: 38px; border-radius: 4px; background: #E5483D; color: #fff; font-size: .6rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.file small { display: block; color: #667781; font-size: .72rem; }
.b.link { color: #027EB5; font-weight: 500; }
.js .chat .b { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s ease, transform .45s ease; }
.js .chat .b.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .chat .b { opacity: 1; transform: none; transition: none; } }
/* App page */
.app-hero { min-height: auto; padding-top: 9.5rem; padding-bottom: 5rem; }
.app-hero .grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%; }
@media (max-width: 56rem) { .app-hero .grid { grid-template-columns: 1fr; } }
.app-hero h1 { max-width: 14ch; }
.app-hero .badge { margin-bottom: 1.5rem; }
.say-get .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (max-width: 56rem) { .say-get .wrap { grid-template-columns: 1fr; } }
.say-get blockquote { margin: 2rem 0 0; padding: 1.25rem 1.4rem; border-left: 3px solid var(--accent); background: var(--surface); font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.5 var(--display); letter-spacing: -.02em; }
.say-get blockquote small { display: block; font: 400 .85rem var(--body); color: var(--muted); margin-bottom: .5rem; letter-spacing: 0; }
.doc { background: #fff; color: #1B2B31; border-radius: 4px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); font: 400 .88rem/1.45 var(--body); width: 100%; max-width: 32rem; justify-self: center; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.logo-ph { border: 1px dashed #B8C2C5; padding: .6rem .9rem; color: #7A888C; font-size: .8rem; }
.doc-title { text-align: right; } .doc-title b { display: block; font-size: 1.3rem; letter-spacing: .08em; }
.doc-title span, .doc-to small { display: block; color: #5D6B70; font-size: .78rem; }
.doc-scroll { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: tabular-nums; min-width: 20rem; }
.doc th { text-align: left; font-weight: 600; font-size: .74rem; color: #5D6B70; border-bottom: 1px solid #DFE5E7; padding: .4rem .3rem .4rem 0; }
.doc td { padding: .45rem .3rem .45rem 0; border-bottom: 1px solid #EEF2F3; }
.doc .n { text-align: right; }
.doc-tot { margin-left: auto; width: min(100%, 15rem); display: grid; gap: .25rem; font-variant-numeric: tabular-nums; }
.doc-tot div { display: flex; justify-content: space-between; } .doc-tot .grand { font-weight: 700; font-size: 1.05rem; border-top: 1px solid #DFE5E7; padding-top: .4rem; }
.doc-foot { margin-top: 1.2rem; font-size: .76rem; color: #5D6B70; }
.doc-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 3rem; }
.doc-list li { display: flex; gap: .7rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.doc-list li::before { content: "✓"; color: var(--accent); font-weight: 600; }
@media (max-width: 40rem) { .doc-list { grid-template-columns: 1fr; } }
.safe-note { margin-top: 2rem; font-size: .92rem; color: var(--muted); }
.insights header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 4rem; }
.insights header .lead { margin: 0; max-width: 32rem; }
.ins-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
@media (max-width: 56rem) { .ins-grid { grid-template-columns: 1fr; } }
.ins-h { font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #3FB07A; box-shadow: 0 0 0 3px color-mix(in srgb, #3FB07A 25%, transparent); }
.posts, .news { list-style: none; margin: 0; padding: 0; }
.posts li { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.posts li:last-child { border-bottom: 1px solid var(--line); }
.posts time, .post-meta { font-size: .88rem; color: var(--muted); }
.posts h4 { font: 500 clamp(1.25rem, 1.8vw, 1.5rem)/1.25 var(--display); letter-spacing: -.03em; margin: .4rem 0 .5rem; }
.posts h4 a, .news a { text-decoration: none; }
.posts h4 a:hover, .news a:hover .n-title { color: var(--accent); }
.posts p { color: var(--muted); margin: 0; font-size: 1rem; }
.news li { border-top: 1px solid var(--line); }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news a { display: block; padding: 1rem 0; }
.n-src { display: flex; gap: .6rem; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: .25rem; }
.n-new { font-size: .72rem; font-weight: 600; color: var(--btn-ink); background: var(--accent); border-radius: 999px; padding: .1rem .5rem; }
.n-title { font-weight: 500; line-height: 1.4; transition: color .2s; }
.news-loading, .news-note { color: var(--muted); font-size: .92rem; }
.news-loading { padding: 1rem 0; }
.news-note { margin-top: 1rem; }
.news .skel { height: 3.6rem; border-top: 1px solid var(--line); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 6%, transparent), transparent) 0 0 / 200% 100%; animation: sh 1.4s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.post .wrap { display: flex; justify-content: center; }
.prose { max-width: 42rem; width: 100%; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.75rem 0 1rem; letter-spacing: -.035em; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25rem; } .prose li { margin-bottom: .45rem; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
.post-meta { margin: 1.25rem 0 0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; width: 100%; }
footer .cols h2 { font: 500 .95rem var(--body); color: var(--ink); margin: 0 0 .9rem; letter-spacing: 0; }
footer .cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
footer .cols a:hover { color: var(--ink); }
footer .base { width: 100%; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 48rem) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }
