:root {
  --bg: #07110f;
  --bg-soft: #0b1815;
  --panel: #10211d;
  --line: rgba(215, 255, 230, .14);
  --line-strong: rgba(215, 255, 230, .28);
  --text: #edf7f0;
  --muted: #97aaa1;
  --acid: #b7ff63;
  --mint: #59f1b0;
  --orange: #ff9d52;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.glow { position: fixed; z-index: -2; width: 46vw; aspect-ratio: 1; border-radius: 50%; filter: blur(120px); opacity: .11; pointer-events: none; }
.glow-a { top: -20vw; left: -12vw; background: var(--mint); }
.glow-b { top: 28vh; right: -28vw; background: #3d71ff; }

.section-shell, .site-header { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.site-header {
  height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand-mark { width: 39px; height: 39px; position: relative; display: grid; place-items: center; transform: rotate(45deg); }
.brand-mark::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--acid); }
.brand-mark i { position: absolute; width: 4px; height: 4px; background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.brand-mark i:nth-child(1) { top: 0; left: 0; }
.brand-mark i:nth-child(2) { right: 0; bottom: 0; }
.brand-mark i:nth-child(3) { inset: 50% auto auto 50%; transform: translate(-50%, -50%); }
.brand-copy { display: grid; gap: 1px; letter-spacing: .16em; }
.brand-copy strong { font-size: 14px; line-height: 1; }
.brand-copy small { font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--acid); letter-spacing: .28em; }

.site-header nav { display: flex; gap: 34px; color: var(--muted); font-size: 13px; }
.site-header nav a, .agency-link { transition: color .2s ease; }
.site-header nav a:hover, .agency-link:hover { color: var(--acid); }
.header-end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.agency-link { color: var(--text); font-size: 13px; white-space: nowrap; }
.agency-link span { color: var(--acid); margin-left: 6px; }

.account-nav { min-height: 38px; display: flex; align-items: center; gap: 7px; }
.account-nav a, .account-nav button { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 750 11px/1 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.account-nav .account-login:hover, .account-nav button:hover { color: var(--acid); border-color: var(--acid); }
.account-nav .account-register { border-color: var(--acid); background: var(--acid); color: #08100c; }
.account-nav .account-register:hover { background: #cdff94; }
.account-user { max-width: 110px; overflow: hidden; text-overflow: ellipsis; color: var(--acid); font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.account-nav form { margin: 0; }

[hidden] { display: none !important; }
.auth-dialog { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.auth-dialog__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(1, 7, 5, .78); backdrop-filter: blur(12px); cursor: default; }
.auth-dialog__panel { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 42px; border: 1px solid var(--line-strong); background: #0c1b17; box-shadow: 0 40px 120px rgba(0, 0, 0, .62); }
.auth-dialog__panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--acid), var(--mint)); }
.auth-dialog__close { position: absolute; top: 15px; right: 16px; width: 36px; height: 36px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 300 26px/1 sans-serif; cursor: pointer; }
.auth-dialog__close:hover { color: var(--acid); border-color: var(--acid); }
.auth-dialog__brand { display: flex; align-items: center; gap: 9px; color: var(--acid); font: 750 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.auth-dialog__brand span { padding-right: 9px; border-right: 1px solid var(--line-strong); color: var(--text); }
.auth-dialog__panel h2 { margin: 18px 0 10px; font-size: clamp(30px, 5vw, 44px); line-height: 1; letter-spacing: -.045em; }
.auth-dialog__panel > p { margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 13px 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: 750 12px/1 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { border-color: var(--acid); color: var(--text); }
.auth-dialog__status { min-height: 39px; padding: 12px 0 8px; display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.auth-dialog__status.is-error { color: #ff9bab; }
.lab-auth-form { display: grid; gap: 14px; }
.lab-auth-form label { display: grid; gap: 7px; color: #b8c8c0; font-size: 11px; font-weight: 750; }
.lab-auth-form input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 0; outline: none; background: #08130f; color: var(--text); font: inherit; font-size: 15px; }
.lab-auth-form input:focus { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(183, 255, 99, .1); }
.lab-auth-form .button { width: 100%; margin-top: 4px; cursor: pointer; }
.lab-auth-form .button:disabled { opacity: .5; cursor: wait; }
.lab-auth-form small { color: var(--muted); font-size: 11px; line-height: 1.5; }
body.auth-dialog-open { overflow: hidden; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 84px; align-items: center; padding-block: 84px 96px; }
.eyebrow, .section-label { font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 6px var(--mint); } }

h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 28px; font-size: clamp(46px, 6vw, 82px); line-height: .92; letter-spacing: -.06em; font-weight: 760; }
.hero h1 em, .principles h2 em { color: var(--acid); font-style: normal; font-weight: inherit; }
.hero-lead { max-width: 680px; color: #b6c7bf; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button { min-height: 52px; padding: 0 22px; border: 1px solid var(--line-strong); display: inline-flex; justify-content: center; align-items: center; gap: 24px; font-size: 13px; font-weight: 750; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #08100c; background: var(--acid); border-color: var(--acid); }
.button-primary:hover { background: #cdff94; }
.button-ghost:hover { border-color: var(--acid); }

.lab-console { align-self: center; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(16, 33, 29, .94), rgba(8, 20, 17, .94)); box-shadow: 0 34px 100px rgba(0, 0, 0, .34); transform: rotate(1.4deg); }
.hero-visual { position: relative; min-width: 0; margin: 0; border: 1px solid var(--line-strong); overflow: hidden; background: #07100d; box-shadow: 0 34px 100px rgba(0,0,0,.38); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,10,8,.86)); pointer-events: none; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 16/10; display: block; object-fit: cover; }
.hero-visual figcaption { position: absolute; z-index: 1; inset: auto 20px 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.hero-visual figcaption span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.2); background: rgba(5,13,10,.72); color: #d9e7e0; backdrop-filter: blur(8px); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.console-top { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.console-top span { width: 7px; height: 7px; border-radius: 50%; background: #3c514a; }
.console-top span:first-child { background: var(--orange); }
.console-top span:nth-child(2) { background: #f1d759; }
.console-top span:nth-child(3) { background: var(--mint); }
.console-top b { margin-left: auto; color: #779087; font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-body { padding: 30px 26px; font: 500 12px/2.25 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; overflow: hidden; }
.line-no { display: inline-block; width: 30px; color: #466159; user-select: none; }
.key { color: #a7c7ff; }
.string { color: var(--acid); }
.number { color: var(--orange); }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.console-metrics div { min-width: 0; padding: 20px 16px; border-right: 1px solid var(--line); }
.console-metrics div:last-child { border: 0; }
.console-metrics span { display: block; margin-bottom: 5px; font: 700 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--acid); }
.console-metrics small { color: var(--muted); font-size: 9px; line-height: 1.35; }

.lime-manifesto { background: var(--acid); color: #08100c; }
.lime-manifesto .section-shell { min-height: 230px; padding-block: 42px; display: grid; grid-template-columns: 1.15fr .85fr auto; gap: 64px; align-items: center; }
.lime-manifesto strong { max-width: 540px; font-size: clamp(32px, 4vw, 54px); line-height: .98; letter-spacing: -.045em; }
.lime-manifesto p { max-width: 470px; margin: 0; color: #315023; font-size: 15px; line-height: 1.65; }
.lime-manifesto > div > span { align-self: stretch; padding-left: 32px; display: flex; align-items: center; border-left: 1px solid rgba(8,16,12,.22); font: 800 10px/1.4 ui-monospace, monospace; letter-spacing: .1em; writing-mode: vertical-rl; transform: rotate(180deg); }

.projects, .platform, .roadmap, .principles, .faq { padding-block: 136px; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-head h2, .principles h2, .closing h2 { margin: 12px 0 0; font-size: clamp(36px, 4.3vw, 58px); line-height: 1; letter-spacing: -.05em; }
.section-head > p { max-width: 520px; margin-bottom: 5px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.project-card { position: relative; border: 1px solid var(--line); background: rgba(13, 29, 25, .76); overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.project-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.projects .project-card + .project-card { margin-top: 18px; }
.project-building { background: radial-gradient(circle at 78% 20%, rgba(183,255,99,.08), transparent 34%), rgba(13,29,25,.76); }
.project-building .project-glyph { color: var(--mint); }
.project-featured { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); }
.project-featured::after { content: ""; position: absolute; width: 380px; height: 380px; right: -160px; top: -180px; border-radius: 50%; background: var(--acid); filter: blur(105px); opacity: .1; }
.project-number { padding: 30px 20px; color: #647b72; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; border-right: 1px solid var(--line); }
.project-main { padding: 54px 58px; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; color: #6f887e; font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.status-chip { width: max-content; display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(89, 241, 176, .3); color: var(--mint); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.status-chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.status-muted { color: #788e85; border-color: var(--line); }
.project-main h3 { margin: 30px 0 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.project-main > p { max-width: 720px; color: #afc2b9; font-size: 16px; line-height: 1.7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag-row span { padding: 8px 11px; background: rgba(255,255,255,.035); border: 1px solid var(--line); color: #91a89e; font-size: 10px; }
.project-action { position: relative; z-index: 1; padding: 22px; display: grid; grid-template-rows: 1fr auto auto; gap: 18px; border-left: 1px solid var(--line); }
.project-cover { width: 100%; height: 100%; min-height: 190px; display: block; object-fit: cover; border: 1px solid var(--line); filter: saturate(.9) contrast(1.03); }
.projects .project-card:nth-of-type(even) .project-main { grid-column: 2; grid-row: 1; }
.projects .project-card:nth-of-type(even) .project-action { grid-column: 1; grid-row: 1; border-left: 0; border-right: 1px solid var(--line); }
.project-glyph { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--acid); font: 650 46px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.project-glyph span { position: absolute; margin: -58px 0 0 65px; font-size: 17px; }
.project-action a { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--acid); font-size: 13px; font-weight: 700; }
.project-action a span { color: var(--acid); }
.project-action small { color: #748a81; font-size: 10px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.project-placeholder { min-height: 225px; display: grid; grid-template-columns: 70px 1fr 60px; }
.project-placeholder > div:nth-child(2) { padding: 34px; }
.project-placeholder h3 { margin: 24px 0 10px; font-size: 23px; }
.project-placeholder p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.plus { align-self: center; color: #4b6259; font: 300 32px/1 ui-monospace, monospace; }

.platform { border-top: 1px solid var(--line); }
.process-visual { position: relative; margin: 0 0 18px; border: 1px solid var(--line); overflow: hidden; background: #07100d; }
.process-visual img { width: 100%; height: auto; aspect-ratio: 16/7.2; display: block; object-fit: cover; object-position: center 50%; filter: saturate(.9) contrast(1.02); }
.process-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,10,.76), transparent 50%, rgba(5,13,10,.12)); pointer-events: none; }
.process-visual figcaption { position: absolute; z-index: 1; left: 28px; bottom: 25px; display: grid; gap: 7px; }
.process-visual figcaption small { color: var(--mint); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; }
.process-visual figcaption strong { max-width: 430px; font-size: clamp(21px, 2.7vw, 34px); line-height: 1.04; letter-spacing: -.035em; }
.architecture { padding: 42px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 0, rgba(183,255,99,.08), transparent 50%), rgba(9,22,18,.72); }
.node { padding: 22px; border: 1px solid var(--line-strong); background: #0b1815; }
.node small, .node span { display: block; color: #6f887e; font: 600 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.node strong { display: block; margin: 13px 0 8px; font-size: 16px; }
.node-gateway { max-width: 420px; margin: auto; text-align: center; border-color: rgba(183,255,99,.4); }
.node-gateway strong { color: var(--acid); }
.connector { height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #6d837a; font: 650 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.connector i { display: block; width: 1px; height: 24px; background: linear-gradient(var(--acid), var(--line)); }
.node-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.node-live { box-shadow: inset 3px 0 var(--mint); }
.node-future { position: relative; border-style: dashed; border-color: rgba(183,255,99,.38); background: repeating-linear-gradient(135deg, rgba(183,255,99,.025) 0 8px, transparent 8px 16px), #0a1512; opacity: .72; }
.node-future::after { content: "ПЛАН"; position: absolute; top: 10px; right: 10px; padding: 4px 6px; border: 1px solid rgba(183,255,99,.35); color: var(--acid); font: 750 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.node-future strong { color: #a8bbb2; }
.node-empty { border-style: dashed; opacity: .65; }

.roadmap { border-top: 1px solid var(--line); }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.kanban-column { min-width: 0; padding: 14px; border: 1px solid var(--line); background: rgba(9,22,18,.68); }
.kanban-column > header { min-height: 72px; padding: 4px 4px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.kanban-column > header div { min-width: 0; display: grid; gap: 6px; }
.kanban-column > header small { color: #6f887e; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.kanban-column > header span { font-size: 14px; line-height: 1.25; font-weight: 800; }
.kanban-column > header b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--muted); font: 700 10px/1 ui-monospace, monospace; }
.kanban-column article { margin-top: 12px; padding: 18px; border: 1px solid var(--line); background: var(--panel); }
.kanban-column article h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.25; letter-spacing: -.015em; }
.kanban-column article p { min-height: 60px; margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.kanban-column article footer { padding-top: 13px; display: grid; gap: 5px; border-top: 1px solid var(--line); font: 700 9px/1.3 ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
.kanban-column article footer span { color: var(--mint); }
.kanban-column article footer time { color: #748a81; }
.kanban-done { border-top: 3px solid var(--mint); }
.kanban-progress { border-top: 3px solid var(--acid); }
.kanban-planned { border-top: 3px solid #8ba8ff; }
.kanban-ideas { border-top: 3px solid #7d8a84; }
.kanban-done > header span { color: var(--mint); }
.kanban-progress > header span { color: var(--acid); }
.kanban-planned > header span { color: #a8bbff; }

.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; border-top: 1px solid var(--line); }
.principles-copy { position: sticky; top: 42px; align-self: start; }
.principles-list { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.principle > span { color: var(--acid); font: 650 10px/1.6 ui-monospace, monospace; }
.principle h3 { margin: 0 0 12px; font-size: 23px; }
.principle p { max-width: 540px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.closing { min-height: 520px; padding: 62px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 72px; background: var(--acid); color: #08100c; }
.closing-location { color: #335326; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.closing h2 { margin: 14px 0 16px; }
.closing p { max-width: 690px; margin: 0; color: #335326; font-size: 17px; line-height: 1.6; }
.button-light { flex: none; background: #08100c; color: var(--text); border-color: #08100c; }

.contact-form { display: grid; gap: 16px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #27431e; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(8,16,12,.3); border-radius: 0; outline: none; background: rgba(255,255,255,.72); color: #08100c; font: inherit; font-size: 15px; line-height: 1.45; transition: background .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 112px; }
.contact-form input:focus, .contact-form textarea:focus { background: #fff; box-shadow: 0 0 0 3px rgba(8,16,12,.12); }
.contact-consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 600 !important; line-height: 1.5; }
.contact-consent input { width: 16px; height: 16px; padding: 0; margin-top: 2px; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-form__footer { display: flex; align-items: center; gap: 18px; }
.contact-form button { cursor: pointer; font-family: inherit; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-form output { max-width: 280px; color: #27431e; font-size: 12px; line-height: 1.45; }
.contact-form output.is-error { color: #8f1b2d; }

.faq { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 27px 52px 27px 0; position: relative; list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 23px; color: var(--acid); font: 400 28px/1 monospace; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { max-width: 760px; padding: 0 0 28px; }
.faq details p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.site-footer { min-height: 230px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 40px; }
.brand-footer .brand-mark { transform: rotate(45deg) scale(.8); }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.site-footer > div { justify-self: end; display: grid; gap: 10px; text-align: right; font-size: 12px; }
.site-footer > div a { color: var(--acid); }
.site-footer > div span { color: #667b72; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-end { gap: 10px; }
  .hero { grid-template-columns: 1fr; gap: 64px; }
  .lab-console { max-width: 650px; transform: none; }
  .section-head, .principles { grid-template-columns: 1fr; gap: 38px; }
  .principles-copy { position: static; }
  .lime-manifesto .section-shell { grid-template-columns: 1fr 1fr; }
  .lime-manifesto > div > span { display: none; }
  .project-featured { grid-template-columns: 1fr; }
  .projects .project-card:nth-of-type(even) .project-main,
  .projects .project-card:nth-of-type(even) .project-action { grid-column: 1; grid-row: auto; }
  .projects .project-card:nth-of-type(even) .project-action { border-right: 0; }
  .project-action { grid-column: 1; min-height: 170px; display: grid; grid-template-columns: 1fr; align-items: end; gap: 18px; border-left: 0; border-top: 1px solid var(--line); }
  .project-cover { width: 100%; min-height: 0; aspect-ratio: 16/6; }
  .project-glyph { display: none; }
  .project-action small { grid-column: 1; text-align: left; }
  .node-row { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .closing { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-block: 60px; }
  .site-footer p { display: none; }
}

@media (max-width: 680px) {
  .section-shell, .site-header { width: min(100% - 32px, var(--max)); }
  .site-header { height: 78px; }
  .header-end { gap: 0; }
  .agency-link { display: none; }
  .account-nav { gap: 5px; }
  .account-nav a, .account-nav button { min-height: 36px; padding-inline: 9px; font-size: 10px; }
  .account-user { display: none; }
  .account-nav.is-authenticated form { display: none; }
  .auth-dialog { padding: 10px; align-items: end; }
  .auth-dialog__panel { width: 100%; max-height: calc(100vh - 20px); padding: 36px 22px 24px; }
  .hero { min-height: auto; padding-block: 68px 76px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-actions .button { width: 100%; }
  .console-body { padding: 22px 15px; font-size: 9px; }
  .console-metrics { grid-template-columns: 1fr; }
  .console-metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
  .lime-manifesto .section-shell { grid-template-columns: 1fr; gap: 20px; padding-block: 36px; }
  .projects, .platform, .roadmap, .principles, .faq { padding-block: 92px; }
  .section-head { margin-bottom: 38px; }
  .project-featured, .project-placeholder { grid-template-columns: 1fr; }
  .project-number { padding-inline: 13px; }
  .project-main { padding: 34px 24px; }
  .project-action { grid-column: 1; padding: 28px 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-placeholder .plus { display: none; }
  .architecture { padding: 20px; }
  .process-visual img { aspect-ratio: 4/3; }
  .process-visual figcaption { left: 18px; right: 18px; bottom: 17px; }
  .principle { grid-template-columns: 40px 1fr; gap: 12px; }
  .kanban { grid-template-columns: 1fr; }
  .closing { width: 100%; padding: 50px 24px; min-height: 430px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__footer { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
