/* MarginFuel public site. Plain CSS, no framework. Sections: tokens, base, layout, header, buttons, hero, components, forms, prose, footer. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --brand: #e33059;
  --brand-dark: #bf2148;
  --brand-soft: #fdeef2;
  --ink: #161920;
  --slate: #2d343c;
  --text: #3a424b;
  --muted: #68737d;
  --line: #e4e7eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --night: #12141b;
  --night-2: #1b1e28;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 25, 32, .05), 0 12px 32px -12px rgba(22, 25, 32, .16);
  --shadow-lg: 0 2px 4px rgba(22, 25, 32, .06), 0 32px 64px -24px rgba(22, 25, 32, .3);
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 780px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.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)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.center { text-align: center; }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } body { font-size: 16px; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 25, 32, .4); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a, .nav button.sub { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; font: 500 .95rem var(--font); color: var(--slate); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button.sub:hover, .nav a[aria-current="page"] { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand-dark); }
.nav button.sub::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nav .menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; }
.nav li:hover > .menu, .nav li:focus-within > .menu, .nav li.open > .menu { opacity: 1; visibility: visible; transform: none; }
.nav .menu a { padding: 10px 12px; }
.header-cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: .2s; }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 0; margin: 0; padding: 16px 20px 40px; background: #fff; overflow-y: auto; display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.sub { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 1.05rem; }
  .nav .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; display: none; }
  .nav li.open > .menu { display: block; }
  .header-cta { display: none; }
  .nav .mobile-cta { display: block; margin-top: 16px; }
}
.nav .mobile-cta { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 .98rem var(--font); border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 48, 89, .7); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-on-dark { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-on-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.arrow::after { content: "→"; transition: transform .15s; }
.arrow:hover::after { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #c9ced6; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(227, 48, 89, .38), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { color: #aab1bb; max-width: 34em; margin-bottom: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .86rem; color: #dfe3e8; margin-bottom: 26px; background: rgba(255, 255, 255, .04); }
.pill b { background: var(--brand); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .74rem; letter-spacing: .04em; }
.pill:hover { text-decoration: none; border-color: rgba(255, 255, 255, .4); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .93rem; color: #9aa2ad; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* the product "window" drawn in the hero */
.panel { background: linear-gradient(180deg, #232733, #1a1d27); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); padding: 18px; }
.panel-top { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: .78rem; color: #8b93a0; }
.panel-top i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4d; }
.panel-top span { margin-left: 8px; }
.panel-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; font-size: .72rem; color: #8b93a0; }
.kpi strong { font: 700 1.3rem var(--display); color: #fff; }
.kpi em { font-style: normal; font-size: .76rem; color: #4fd1a1; margin-left: 6px; }
.chart { width: 100%; height: auto; display: block; }
.chart .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .3s ease-out forwards; }
.chart .fade { opacity: 0; animation: fade 1s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.legend { display: flex; gap: 18px; font-size: .76rem; color: #8b93a0; margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* inner page hero */
.page-hero { background: var(--night); color: #aab1bb; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -60% -20% auto auto; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(227, 48, 89, .3), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 18em; }
.page-hero p { font-size: 1.15rem; max-width: 44em; margin: 0; }
.page-hero .eyebrow { color: #ff7a98; }
.crumbs { font-size: .88rem; margin-bottom: 18px; }
.crumbs a { color: #aab1bb; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.jump a { display: block; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: #dfe3e8; font-size: .88rem; }
.jump a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }

/* ---------- components ---------- */
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card { color: inherit; }
a.card:hover, .card.hover:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(28px, 5vw, 60px); }
.logos img { height: 44px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; mix-blend-mode: multiply; }
.logos img:hover { filter: none; opacity: 1; }
.logos-label { text-align: center; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 30px 28px; border-radius: var(--radius); background: var(--night); color: #aab1bb; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: radial-gradient(closest-side, rgba(227, 48, 89, .45), transparent); }
.stat strong { display: block; font: 800 clamp(2.2rem, 4.5vw, 3.2rem)/1 var(--display); color: #fff; letter-spacing: -.03em; margin-bottom: 10px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.proof li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: var(--slate); font-weight: 500; }
.proof .icon { width: 38px; height: 38px; flex: none; margin: 0; border-radius: 10px; }
.proof .icon svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }

/* feature tabs */
.tabs { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 6px; }
.tab { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: none; font: 600 1rem var(--font); color: var(--slate); cursor: pointer; }
.tab .icon { width: 36px; height: 36px; margin: 0; background: #fff; border: 1px solid var(--line); color: var(--muted); flex: none; }
.tab .icon svg { width: 19px; height: 19px; }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); color: var(--ink); }
.tab[aria-selected="true"] .icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.tabpanel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 1.6rem; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; margin-top: 22px; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5d9df; }
.shot img { width: 100%; padding: 12px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e33059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 24px; }
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tab { width: auto; white-space: nowrap; flex: none; }
  .ticks.cols { grid-template-columns: 1fr; }
}

/* testimonials */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 520px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; margin: 0; }
.quote blockquote { margin: 0 0 22px; font: 500 1.14rem/1.55 var(--display); color: var(--ink); letter-spacing: -.01em; }
.quote blockquote::before { content: "“"; display: block; font: 800 3rem/.6 var(--display); color: var(--brand); margin-bottom: 14px; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }
.quote figcaption img { height: 34px; width: auto; max-width: 96px; object-fit: contain; mix-blend-mode: multiply; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.round:hover { border-color: var(--ink); }

.story { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 40px 0; border-top: 1px solid var(--line); }
.story:first-child { border-top: 0; }
.story-who img { max-height: 54px; width: auto; max-width: 160px; margin-bottom: 16px; mix-blend-mode: multiply; }
.story-who strong { display: block; color: var(--ink); font-family: var(--display); }
.story-who span { font-size: .9rem; color: var(--muted); }
.story-body p:first-child { font: 500 1.22rem/1.5 var(--display); color: var(--ink); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; gap: 16px; } }

/* call to action band */
.cta { background: var(--night); color: #aab1bb; border-radius: 28px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta::before { content: ""; position: absolute; left: -160px; bottom: -260px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(227, 48, 89, .42), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta.simple { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* team */
.person { text-align: left; }
.person img, .avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 18px; filter: grayscale(1); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--brand-dark); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.person p { font-size: .95rem; }
.avatar { display: grid; place-items: center; font: 800 2.4rem var(--display); color: var(--brand); background: var(--brand-soft); filter: none; }
.contact-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-card img, .contact-card .avatar { border-radius: 50%; margin: 0; filter: none; }
@media (max-width: 560px) { .contact-card { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; } }

/* blog + resources */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--bg-soft) center/cover no-repeat; border-bottom: 1px solid var(--line); }
.post-card .thumb.plain { background: linear-gradient(135deg, var(--night), #3a1522); display: grid; place-items: center; }
.post-card .thumb.plain img { width: 56px; opacity: .9; }
.post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.16rem; line-height: 1.3; }
.post-card p { font-size: .94rem; color: var(--muted); }
.meta { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding: 0; list-style: none; }
.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .78rem; color: var(--slate); font-weight: 500; }
a.tag:hover, .tag.on { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter .tag { padding: 7px 16px; font-size: .9rem; }
.res-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; }
.res-card img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg-soft); }
.res-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.res-card span { font-size: .86rem; color: var(--muted); }
.country { display: flex; align-items: center; gap: 16px; padding: 18px 22px; font: 600 1.05rem var(--display); color: var(--ink); }
.country img { width: 40px; height: 40px; }
.country::after { content: "→"; margin-left: auto; color: var(--brand); }
.embed { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 1200 / 660; box-shadow: var(--shadow); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .embed { aspect-ratio: 3 / 4; } }
.note { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--slate); font-size: .95rem; border-left: 4px solid var(--brand); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1rem var(--display); }
.ftable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ftable td { padding: 15px 20px; border-top: 1px solid var(--line); font-weight: 500; color: var(--slate); }
.ftable tr:first-child td { border-top: 0; }
.ftable td:last-child { width: 64px; text-align: center; color: var(--brand); font-weight: 800; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.field label i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 1rem var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(227, 48, 89, .14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -5000px; height: 0; overflow: hidden; }
.form-card { background: #fff; color: var(--text); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-msg.ok { background: #e9f8f1; color: #14623f; }
.form-msg.err { background: #fdecec; color: #9b1c1c; }
.form-done { text-align: center; padding: 18px 0; }
.form-done .big { width: 60px; height: 60px; border-radius: 50%; background: #e9f8f1; color: #14804f; display: grid; place-items: center; font-size: 1.7rem; margin: 0 auto 16px; }
.fine { font-size: .8rem; color: var(--muted); margin: 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form input[type="email"] { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: 400 .98rem var(--font); }
.inline-form input::placeholder { color: #8b93a0; }
.inline-form input:focus { outline: 0; border-color: var(--brand); }
.inline-form.light input[type="email"] { border-color: var(--line); background: #fff; color: var(--ink); }

/* ---------- long-form text (blog posts, reports) ---------- */
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose h4 { margin: 1.4em 0 .4em; }
.prose img { border-radius: 12px; margin: 1.6em auto; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); font: 500 1.2rem/1.5 var(--display); color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.article-cover { border-radius: 20px; margin: 32px auto; max-height: 520px; width: 100%; object-fit: cover; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.with-aside aside { position: sticky; top: 100px; }
@media (max-width: 980px) { .with-aside { grid-template-columns: 1fr; } .with-aside aside { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #9aa2ad; padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font); }
.site-footer a { color: #c9ced6; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.2fr; gap: 40px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid .logo img { height: 34px; margin-bottom: 18px; }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.offices strong { color: #fff; display: block; margin-bottom: 4px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; }
.social a:hover { background: var(--brand); border-color: var(--brand); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .84rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .offices { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* gentle entrance; disabled for people who prefer less motion */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.wait { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  .reveal.wait { opacity: 1; transform: none; }
  .reveal { transition: none; }
  .chart .draw { animation: none; stroke-dashoffset: 0; }
  .chart .fade { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
