/* Tenaforge site styles */
:root {
  --ink: #0F1A16;
  --ink-2: #3E4944;
  --muted: #5A6560;
  --bg: #F3F5F4;
  --white: #FFFFFF;
  --soft: #F8FAF9;
  --tint: #EEF5F1;
  --line: #D3D9D6;
  --line-2: #C2CAC6;
  --line-3: #E3E8E5;
  --line-4: #EDF1EF;
  --accent: #0F5A47;
  --accent-dark: #0A3F32;
  --mint: #7FC4AE;
  --dark-2: #16251F;
  --dark-line: #2E3B36;
  --dark-line-2: #3A4A44;
  --dark-text: #C4CFCA;
  --dark-muted: #9AA7A1;
  --shadow: #DDE4E0;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: var(--display); margin: 0; }
p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a, button { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.accent { color: var(--accent); }
.mint { color: var(--mint); }
.muted { color: var(--ink-2); }
.b { font-weight: 600; }
.grid-bg { background-color: var(--bg); background-image: linear-gradient(var(--line-3) 1px, transparent 1px), linear-gradient(90deg, var(--line-3) 1px, transparent 1px); background-size: 40px 40px; }

.mono-label { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.mono-label.accent { color: var(--accent); }
.mono-label.mint { color: var(--mint); }
.mono-label.dim { color: var(--dark-muted); margin-bottom: 20px; }
.mono-xs { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .03em; }
.mono-sm { font-family: var(--mono); font-size: 12px; }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; letter-spacing: .02em; }
.eyebrow.mint { color: var(--mint); }

.h2 { font-weight: 650; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.035em; max-width: 860px; margin-bottom: 56px; }
.h2-sm { font-size: clamp(34px, 3.8vw, 50px); margin-bottom: 20px; }
.h2-xl { font-size: clamp(38px, 4.8vw, 64px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0; }
.h2-hero { font-weight: 700; font-size: clamp(46px, 6vw, 88px); line-height: .95; letter-spacing: -0.045em; margin-bottom: 0; color: #fff; }
.h2-product { font-weight: 700; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px; }
.h3 { font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.025em; }
.h4 { font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.h5 { font-weight: 600; font-size: 19px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 13px 22px; min-height: 44px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #24332D; color: #fff; }
.btn-mint { background: var(--mint); color: var(--ink); font-weight: 700; }
.btn-mint:hover { background: #95D2BE; color: var(--ink); }
.btn-ghost-dark { border-color: #4A5A54; color: #fff; }
.btn-ghost-dark:hover { border-color: var(--mint); color: var(--mint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Announcement */
.announce { background: var(--ink); color: var(--dark-text); font-size: 14px; }
.announce-inner { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; text-align: center; }
.announce a { color: var(--mint); font-weight: 500; }
.announce a:hover { color: #fff; }
.announce-tag { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--mint); padding: 2px 7px; margin-right: 10px; }

/* Header and nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 245, 244, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn), .dropdown-toggle { color: var(--ink-2); text-decoration: none; }
.nav-links > a:not(.btn):hover, .dropdown-toggle:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

.dropdown { position: relative; }
.dropdown-toggle { font: inherit; font-weight: 500; background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.dropdown-toggle svg { transition: transform .2s ease; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: -20px; width: 420px; background: #fff; border: 1px solid var(--line-2); box-shadow: 10px 10px 0 var(--shadow); padding: 8px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-item { display: flex; gap: 14px; padding: 16px; color: var(--ink); text-decoration: none; }
.dropdown-item + .dropdown-item { border-top: 1px solid var(--line-4); }
.dropdown-item:hover { background: var(--soft); color: var(--ink); }
.dropdown-icon { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--accent); font-family: var(--display); font-weight: 700; }
.dropdown-icon.dark { background: var(--ink); color: var(--mint); }
.dropdown-title { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 650; font-size: 17px; }
.dropdown-desc { display: block; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.tag-live { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--accent-dark); background: #E1F0EA; padding: 2px 6px; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { padding-top: 104px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 580px; min-width: 0; }
.chip { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 7px 12px; margin-bottom: 28px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(15, 90, 71, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 90, 71, .45); } 70% { box-shadow: 0 0 0 8px rgba(15, 90, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 90, 71, 0); } }
.hero h1 { font-weight: 650; font-size: clamp(44px, 6vw, 86px); line-height: .98; letter-spacing: -0.04em; }
.lead { margin-top: 32px; max-width: 600px; font-size: 19px; color: var(--ink-2); }
.lead-sm { font-size: 18px; margin-bottom: 28px; }
.hero .btn { margin-top: 40px; }
.trust { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--accent); }

.arch-card { flex: 1 1 420px; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line-2); box-shadow: 12px 12px 0 var(--shadow); }
.arch-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line-3); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.arch-head .ok { color: var(--accent); }
.arch-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 12px; }
.arch-row { display: flex; gap: 10px; }
.arch-row .box { flex: 1; }
.box { border: 1px solid var(--ink); padding: 10px 6px; text-align: center; }
.box-dark { background: var(--ink); color: var(--bg); padding: 11px 12px; }
.box-accent { border: 1.5px solid var(--accent); color: var(--accent); background: var(--tint); }
.box-dashed { border: 1px dashed var(--muted); }
.arrow { text-align: center; color: #8A948F; line-height: 1; }
.arch-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-3); }
.arch-foot > div { padding: 14px 20px; }
.arch-foot > div + div { border-left: 1px solid var(--line-3); }
.arch-foot p:last-child { margin-top: 2px; font-weight: 600; font-size: 15px; }

/* Sectors */
.sectors { background: #fff; border-bottom: 1px solid var(--line); }
.sectors-inner { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.sectors-inner > span:not(.mono-label) { font-family: var(--display); font-weight: 500; font-size: 19px; color: #2A3530; }

/* Figures */
.figures { background: #fff; border-bottom: 1px solid var(--line); }
.figures-grid { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.figure-card { background: var(--soft); border: 1px solid var(--line-3); border-top: 3px solid var(--accent); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.figure-top { display: flex; justify-content: space-between; align-items: center; }
.figure-top .mono-label { letter-spacing: .06em; }
.icon-tile { width: 40px; height: 40px; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-tile.big { width: 48px; height: 48px; }
.figure-value { font-family: var(--display); font-weight: 650; font-size: 42px; line-height: 1.05; letter-spacing: -0.03em; }
.figure-desc { font-size: 15px; color: var(--ink-2); }

/* Sections */
.section { padding: 120px 0; }
.section.white { background: #fff; }
.section.bordered { border-top: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #E6ECE9; }
.section.dark .h2 { color: #fff; }

.head-split { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; margin-bottom: 56px; }
.head-split > div:first-child { flex: 2 1 560px; }
.head-split.end { justify-content: space-between; }
.head-split .h2 { margin-bottom: 0; }
.head-note { flex: 1 1 340px; font-size: 18px; color: var(--dark-text); max-width: 420px; }
.section:not(.dark) .head-note { color: var(--ink-2); font-size: 16px; }
.grow-2 { flex: 2 1 560px; }
.grow-1 { flex: 1 1 400px; }

/* Who we help */
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.panel { flex: 1 1 460px; min-width: 0; background: #fff; border: 1px solid var(--line-2); padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.panel-dark { background: var(--ink); color: var(--dark-text); border-color: var(--ink); }
.panel-dark .h3 { color: #fff; }
.push { align-self: flex-start; margin-top: auto; }
.journey { list-style: none; margin: 0; padding: 22px 0 8px; display: flex; }
.journey li { flex: 1; display: flex; flex-direction: column; gap: 10px; position: relative; }
.journey li::after { content: ""; position: absolute; top: 6px; left: 14px; right: 0; height: 2px; background: var(--accent); }
.journey li.j-idea::after { background: var(--line-2); }
.journey li.j-end::after { display: none; }
.j-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); position: relative; z-index: 1; }
.j-idea .j-dot { background: var(--line-2); }
.j-end .j-dot { background: var(--ink); }
.j-label { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.arrow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.arrow-list li { display: flex; gap: 12px; }
.arrow-list li::before { content: "→"; color: var(--accent); }
.arrow-list.on-dark li::before { color: var(--mint); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 0 8px; font-family: var(--mono); font-size: 12px; text-align: center; }
.trio > div { border: 1px solid var(--dark-line-2); padding: 14px 6px; }
.trio p + p { margin-top: 4px; color: var(--dark-muted); font-size: 11px; }

/* Contrast */
.contrast { border: 1px solid var(--dark-line); }
.contrast-head, .contrast-row { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--dark-line); }
.contrast-row:last-child { border-bottom: 0; }
.contrast-head p { flex: 1 1 300px; padding: 16px 28px; font-family: var(--mono); font-size: 11px; color: var(--dark-muted); }
.contrast-head p + p, .contrast-row .us { border-left: 1px solid var(--dark-line); }
.contrast-head p.mint { color: var(--mint); }
.contrast-row p { flex: 1 1 300px; padding: 22px 28px; }
.them { color: #8C9993; text-decoration: line-through; text-decoration-color: #56645E; }
.us { color: #fff; font-weight: 500; font-size: 17px; display: flex; gap: 12px; }
.us::before { content: "✓"; color: var(--mint); }

/* Models */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.model { background: #fff; border: 1px solid var(--line-2); border-top: 5px solid var(--bar); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.model-title { font-weight: 650; font-size: 40px; letter-spacing: -0.035em; }
.model-lead { font-weight: 600; font-size: 17px; }
.gap-top { margin-top: 10px; }
.plus-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plus-list li { display: flex; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-4); }
.plus-list li::before { content: "+"; color: var(--accent); }
.best { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--accent); }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.cap { padding: 36px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 14px; transition: background-color .25s ease; }
.cap:hover { background: var(--soft); }
.cap-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cap .h4 { font-size: 23px; }
.cap p.muted { font-size: 15px; }
.tags { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--accent); }
.stack { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack .mono-label { margin-right: 8px; }
.stack span:not(.mono-label) { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line-2); padding: 7px 12px; background: var(--soft); }

/* Principles */
.principles { display: flex; flex-wrap: wrap; gap: 56px; }
.principles-intro { flex: 1 1 340px; }
.principle-list { flex: 2 1 600px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.principle-list li { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.p-num { flex: 0 0 40px; font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.principle-list .h4 { flex: 1 1 220px; }
.principle-list p { flex: 2 1 300px; font-size: 15px; }

/* Case studies */
.cases { display: flex; flex-direction: column; gap: 24px; }
.case { border: 1px solid var(--line-2); display: flex; flex-wrap: wrap; background: #fff; }
.case-main { flex: 1 1 320px; padding: 40px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line-3); }
.case-main .h3 { font-size: 28px; line-height: 1.15; }
.case-main p.muted, .case-arch p.muted { font-size: 15px; }
.case-stats { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 28px; }
.stat { font-family: var(--display); font-weight: 650; font-size: 28px; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--ink-2); }
.case-arch { flex: 1 1 440px; padding: 40px; background: var(--soft); display: flex; flex-direction: column; gap: 18px; }
.ba { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-family: var(--mono); font-size: 12px; }
.ba-before { flex: 1 1 140px; border: 1px dashed #8A948F; padding: 18px 12px; text-align: center; color: var(--muted); }
.ba-arrow { color: var(--accent); font-size: 18px; }
.ba-after { flex: 2 1 220px; display: flex; flex-direction: column; gap: 8px; }
.ba-after div { border: 1px solid var(--ink); background: #fff; padding: 9px 12px; }

/* Manifold */
.manifold-lead { font-size: 18px; line-height: 1.55; color: var(--dark-text); margin-bottom: 24px; }
.app { margin: 0; background: #fff; color: var(--ink); border: 1px solid var(--dark-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.app-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line-3); background: var(--soft); }
.app-name { font-family: var(--display); font-weight: 700; font-size: 15px; }
.app-name span { font-weight: 400; color: var(--muted); }
.app-body { display: flex; flex-wrap: wrap; }
.app-nav { flex: 0 1 200px; min-width: 160px; border-right: 1px solid var(--line-3); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.app-nav span { padding: 8px 10px; color: var(--ink-2); border-left: 3px solid transparent; }
.app-nav span.active { background: var(--tint); color: var(--accent-dark); font-weight: 600; border-left-color: var(--accent); }
.app-main { flex: 999 1 560px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 20px; background: #FBFCFB; }
.app-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.app-title h3 { font-weight: 600; font-size: 22px; }
.app-title .mono-xs { font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpis > div, .octo-kpis > div { background: #fff; border: 1px solid var(--line-3); padding: 14px 16px; }
.kpi { margin-top: 4px; font-family: var(--display); font-weight: 650; font-size: 26px; }
.warn-text { color: #7A2E0B; }
.app-panels { display: flex; flex-wrap: wrap; gap: 16px; }
.table-wrap { flex: 3 1 420px; min-width: 0; background: #fff; border: 1px solid var(--line-3); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 420px; }
th { text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--muted); padding: 12px 8px; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
td { padding: 12px 8px; border-top: 1px solid var(--line-3); }
.r { text-align: right; }
.num { font-family: var(--mono); }
.pill { font-family: var(--mono); font-size: 11px; padding: 3px 8px; white-space: nowrap; }
.pill.ok { background: #E1F0EA; color: var(--accent-dark); }
.pill.warn { background: #FBE9DD; color: #7A2E0B; }
.pill.info { background: #E6ECF6; color: #1E3A66; }
.queue { flex: 1 1 240px; min-width: 0; background: #fff; border: 1px solid var(--line-3); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.q { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line-4); font-size: 13px; }
.q:last-child { border-bottom: 0; padding-bottom: 0; }
.q-d { color: var(--muted); font-size: 12px; }

.flow-wrap { margin-top: 80px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.flow li { border: 1px solid var(--dark-line); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.flow .h4 { color: #fff; font-size: 21px; }
.flow p { font-size: 14px; color: var(--dark-text); }

.features { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; border-top: 1px solid var(--dark-line); }
.feature { padding: 28px 0; border-bottom: 1px solid var(--dark-line); display: flex; gap: 16px; }
.feature svg, .plan svg { color: var(--mint); flex: none; margin-top: 3px; }
.feature .h5 { color: #fff; margin-bottom: 6px; }
.feature p { font-size: 15px; color: var(--dark-text); }

.plans { margin-top: 96px; }
.plans .head-split { margin-bottom: 32px; }
.plans .h2 { color: #fff; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.plan { padding: 28px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 8px; }
.plan .h5 { color: #fff; }
.plan p { font-size: 15px; color: var(--dark-text); }

.cta-band { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 36px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.cta-band p { max-width: 720px; font-family: var(--display); font-size: 24px; line-height: 1.3; color: #fff; }

/* Octopus */
.octo { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.octo-copy { flex: 1 1 440px; min-width: 0; }
.octo-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; font-size: 15px; }
.octo-list li { border-top: 1px solid var(--line-2); padding-top: 10px; }
.octo-app { flex: 1 1 440px; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line-2); box-shadow: 12px 12px 0 var(--shadow); }
.octo-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.octo-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.octo-kpis .kpi { font-size: 22px; margin-top: 2px; }
.octo-body .q { border-top: 1px solid var(--line-4); border-bottom: 0; padding: 12px 0 0; font-size: 14px; }
.statement { margin-top: 64px; max-width: 820px; font-family: var(--display); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.35; letter-spacing: -0.01em; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-intro { flex: 1 1 320px; }
.faq-list { flex: 2 1 600px; margin: 0; border-top: 2px solid var(--ink); }
.faq-list > div { padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.faq-list dt { font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.faq-list dd { margin: 0; color: var(--ink-2); }

/* Contact */
.contact { background: #fff; border: 1px solid var(--line-2); box-shadow: 16px 16px 0 var(--shadow); display: flex; flex-wrap: wrap; }
.contact-side { flex: 1 1 420px; padding: 56px; background: var(--ink); color: var(--dark-text); display: flex; flex-direction: column; gap: 26px; }
.contact-h { color: #fff; font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; color: #E6ECE9; }
.steps li { display: flex; gap: 16px; }
.steps span { font-family: var(--mono); font-size: 12px; color: var(--mint); padding-top: 3px; }
.mail { margin-top: auto; font-weight: 600; color: var(--mint); }
.mail:hover { color: #fff; }
.contact-form { flex: 1 1 460px; padding: 56px; display: flex; flex-direction: column; gap: 22px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 12px; font-weight: 600; font-size: 16px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip-opt:hover span { border-color: var(--accent); }
.chip-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-2); background: var(--soft); color: var(--ink); border-radius: 0; transition: border-color .2s ease, background-color .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }
.form-error { color: #9A2B12; font-size: 14px; font-weight: 500; }
.form-note { font-size: 14px; color: var(--ink-2); }

/* Footer */
.footer { background: var(--ink); color: var(--dark-muted); }
.footer .container { padding-top: 72px; padding-bottom: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-brand { flex: 2 1 320px; }
.footer-logo { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 14px; }
.footer-line { max-width: 360px; font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--dark-text); }
.footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .mono-label { color: var(--dark-muted); margin-bottom: 4px; }
.footer-col a { color: var(--dark-text); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-col a.mint { color: var(--mint); }
.footer-col span { color: var(--dark-text); }
.copyright { margin-top: 28px; font-family: var(--mono); font-size: 12px; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.lift { transition: transform .3s ease, box-shadow .3s ease; }
@media (prefers-reduced-motion: no-preference) {
  .js .intro { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .lift:hover { transform: translateY(-4px); }
  .js .reveal.lift.in { transition: opacity .8s var(--ease), transform .35s ease; }
  .js .reveal.lift.in:hover { transform: translateY(-4px); }
  .btn-primary:hover, .btn-mint:hover, .btn-dark:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn), .dropdown-toggle { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav-links .btn { margin-top: 16px; }
  .dropdown-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .dropdown.open .dropdown-menu { display: flex; }
  .dropdown-item { padding: 12px 0; }
  .dropdown-item:hover { background: transparent; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .lead { font-size: 17px; }
  .panel, .model, .cap, .case-main, .case-arch { padding: 28px; }
  .contact-side, .contact-form { padding: 32px 24px; }
  .contrast-head p, .contrast-row p { padding: 16px 20px; }
  .contrast-head p + p, .contrast-row .us { border-left: 0; border-top: 1px solid var(--dark-line); }
  .cta-band { padding: 28px 24px; }
  .cta-band p { font-size: 20px; }
  .app-nav { display: none; }
  .app-main { padding: 16px; }
  .arch-foot > div { padding: 12px; }
  .figure-value { font-size: 36px; }
  .h2 { margin-bottom: 40px; }
  .head-split { margin-bottom: 40px; }
  .contact { box-shadow: 8px 8px 0 var(--shadow); }
  .announce-inner { font-size: 13px; }
}
