/* ---------- tokens ---------- */
:root {
    --bg: #0a0b0d;
    --bg-2: #0f1114;
    --bg-3: #14171b;
    --ink: #f5f1ea;
    --ink-dim: #a7a59e;
    --ink-faint: #6b6a65;
    --line: #23262d;
    --line-2: #1a1d22;
    --ember: #ff6a1a;
    --ember-dim: #c4521a;
    --amber: #e8b23a;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --page: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

/* grain + subtle radial */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(800px 600px at 100% -10%, rgba(255, 106, 26, .10), transparent 60%),
        radial-gradient(500px 400px at -10% 20%, rgba(255, 106, 26, .03), transparent 70%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: .5;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.94  0 0 0 0 0.91  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main,
header,
footer {
    position: relative;
    z-index: 3;
}

::selection {
    background: var(--ember);
    color: #0a0b0d;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.01em;
    margin: 0;
}

h1 {
    font-size: clamp(40px, 6.6vw, 88px);
    line-height: 1.02;
    letter-spacing: -.025em;
}

h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
}

p {
    margin: 0;
    text-wrap: pretty;
}

.em {
    color: var(--ember);
}

.italic {
    font-family: var(--serif);
}

.mono {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 0 0 rgba(255, 106, 26, .6);
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 26, .55);
    }
    80% {
        box-shadow: 0 0 0 10px rgba(255, 106, 26, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 26, 0);
    }
}

.hairline {
    height: 1px;
    background: var(--line);
    border: 0;
    margin: 0;
}

/* ---------- reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity .9s cubic-bezier(.2, .7, .2, 1),
        transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ---------- nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: rgba(10, 11, 13, .72);
    border-bottom: 1px solid var(--line-2);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink);
}

.brand-mark {
    width: 18px;
    height: 18px;
    position: relative;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--ember);
}

.brand-mark::after {
    transform: translate(3px, 3px);
    border-color: var(--ink);
    opacity: .5;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13px;
    color: var(--ink);
    font-weight: 600;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--ember);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--ember);
    color: #0a0b0d;
}

.nav-burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 8px 10px;
    font-family: var(--mono);
    font-size: 11px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .nav-burger {
        display: inline-flex;
    }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    transition: all .2s;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--sans);
}

.btn-primary {
    background: var(--ember);
    color: #0a0b0d;
    border-color: var(--ember);
}

.btn-primary:hover {
    background: #ff7a33;
    border-color: #ff7a33;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--ink-dim);
}

.btn-lg {
    padding: 20px 28px;
    font-size: 15px;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ember);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 106, 26, .3);
    padding-bottom: 2px;
    transition: border-color .2s;
}

.inline-link:hover {
    border-color: var(--ember);
}

/* ---------- hero ---------- */
.hero {
    padding: 120px 0 64px;
    position: relative;
    isolation: isolate;
    min-height: 600px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-size: cover;
    background-position: 75% 30%;
    background-repeat: no-repeat;
    background-image: url("img/cieplownia.jpg");
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 13, .88) 0%, rgba(10, 11, 13, .72) 32%, rgba(10, 11, 13, .35) 58%, rgba(10, 11, 13, .08) 80%, rgba(10, 11, 13, 0) 100%),
        linear-gradient(180deg, rgba(10, 11, 13, .25) 0%, rgba(10, 11, 13, 0) 30%, rgba(10, 11, 13, .6) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 56px;
    position: relative;
    z-index: 1;
}

.hero-img-wrap {
    display: none;
}

@media (max-width: 768px) {
    .hero-bg {
        background-position: 70% center;
    }
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(10, 11, 13, .55) 0%, rgba(10, 11, 13, .82) 60%, rgba(10, 11, 13, .97) 100%);
    }
}

.hero .kicker {
    margin-bottom: 28px;
}

.hero h1 {
    max-width: 17ch;
}

.hero h1 .word {
    display: inline-block;
}

.hero-sub {
    margin-top: 36px;
    max-width: 62ch;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.55;
    color: var(--ink-dim);
}

.hero-sub .pointe {
    color: var(--ink);
    font-weight: 500;
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 28px 24px;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.stat:last-child {
    border-right: 0;
}

.stat-value {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.02em;
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

@media (max-width: 900px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat:nth-child(2) {
        border-right: 0;
    }
    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 520px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .stat:last-child {
        border-bottom: 0;
    }
}

/* hero ascii corner */
.hero-meta {
    position: absolute;
    top: 36px;
    right: var(--gutter);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    text-align: right;
    line-height: 1.8;
}

.hero-meta span {
    color: var(--ember);
}

@media (max-width: 900px) {
    .hero-meta {
        display: none;
    }
}

/* ---------- section ---------- */
section {
    padding: 96px 0;
    border-top: 1px solid var(--line-2);
}

@media (max-width: 768px) {
    section {
        padding: 72px 0;
    }
}

.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
}

.section-head .kicker {
    grid-column: 1;
}

.section-head h2 {
    max-width: 22ch;
}

.section-head .lead {
    color: var(--ink-dim);
    max-width: 56ch;
    font-size: 15px;
    line-height: 1.55;
}

.cols-head {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

@media (max-width: 900px) {
    .cols-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---------- problem ---------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.problem-item {
    padding: 32px 28px 36px 0;
    border-right: 1px solid var(--line);
}

.problem-item:last-child {
    border-right: 0;
    padding-right: 0;
}

.problem-item:first-child {
    padding-left: 0;
}

.problem-item:not(:first-child) {
    padding-left: 28px;
}

/* problem numbering variants */
.problem-num {
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-numstyle="mono"] .problem-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--ember);
    min-width: auto;
    height: auto;
    background: transparent;
    border: 0;
    padding: 0;
}

[data-numstyle="box"] .problem-num {
    width: 36px;
    height: 36px;
    background: var(--ember);
    color: #0a0b0d;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    border-radius: 2px;
}

[data-numstyle="outline"] .problem-num {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--ember);
    color: var(--ember);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    border-radius: 50%;
}

[data-numstyle="serif"] .problem-num {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 500;
    color: var(--ember);
    line-height: 1;
    letter-spacing: -.02em;
}

.problem-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.problem-item p {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
    .problem-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 28px 0;
    }
    .problem-item:not(:first-child) {
        padding-left: 0;
    }
    .problem-item:last-child {
        border-bottom: 0;
    }
}

/* ---------- products ---------- */
.products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line);
}

.product {
    padding: 40px 36px 44px;
    border-top: 2px solid var(--ember);
    border-right: 1px solid var(--line);
    position: relative;
}

.product:last-child {
    border-right: 0;
}

.product .tag {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--ember-dim);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product h3 {
    font-size: clamp(26px, 2.4vw, 34px);
    margin-bottom: 10px;
}

.product .sub {
    color: var(--ink-dim);
    font-family: var(--serif);
    font-size: 17px;
    margin-bottom: 24px;
}

.product .desc {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 48ch;
}

.feat {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.feat li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.feat .fnum {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-faint);
    flex-shrink: 0;
    width: 28px;
    padding-top: 3px;
}

.feat .ftxt {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink);
}

.product-foot {
    margin-top: 22px;
    color: var(--ink);
    font-size: 13px;
}

@media (max-width: 900px) {
    .products {
        grid-template-columns: 1fr;
    }
    .product {
        border-right: 0;
        padding: 36px 0;
    }
    .product:last-child {
        border-top: 2px solid var(--ember);
    }
}

/* razem label */
.razem {
    margin-top: 96px;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: end;
}

@media (max-width: 900px) {
    .razem {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.razem .lbl {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--ember);
    text-transform: uppercase;
}

.razem h3 {
    font-size: clamp(22px, 2vw, 28px);
    max-width: 30ch;
}

/* comparison table */
.ctable {
    margin-top: 36px;
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.ctable th,
.ctable td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.ctable th {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-weight: 500;
}

.ctable th.col-best,
.ctable td.col-best {
    background: linear-gradient(180deg, rgba(255, 106, 26, .06), rgba(255, 106, 26, .02));
}

.ctable th.col-best {
    color: var(--ember);
}

.ctable td:first-child,
.ctable th:first-child {
    width: 34%;
    color: var(--ink);
}

.ctable .yes,
.ctable .no,
.ctable .mid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .06em;
}

.ctable .yes {
    color: var(--ember);
}

.ctable .no {
    color: var(--ink-faint);
}

.ctable .mid {
    color: var(--amber);
}

.ctable .ic {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.ctable tr:last-child td {
    border-bottom: 0;
}

.ctable-foot {
    margin-top: 20px;
    color: var(--ink-dim);
    font-size: 14px;
    max-width: 58ch;
    font-family: var(--serif);
}

@media (max-width: 640px) {
    .ctable {
        font-size: 13px;
    }
    .ctable th,
    .ctable td {
        padding: 12px 8px;
    }
    .ctable td:first-child,
    .ctable th:first-child {
        width: 50%;
    }
}

/* ---------- social proof ---------- */
.proof {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .proof {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.proof-nums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.proof-num {
    padding: 28px 20px;
    border-right: 1px solid var(--line);
}

.proof-num:last-child {
    border-right: 0;
}

.proof-num .n {
    font-family: var(--serif);
    font-size: clamp(40px, 4.5vw, 62px);
    line-height: 1;
    letter-spacing: -.02em;
    font-weight: 500;
}

.proof-num .t {
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.proof-extra {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--ink-dim);
    font-size: 14px;
    padding-left: 1.5em;
}

.proof-extra .certs {
    display: flex;
    gap: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.proof-extra .certs span {
    border: 1px solid var(--line);
    padding: 5px 10px;
}

@media (max-width: 640px) {
    .proof-nums {
        grid-template-columns: 1fr;
    }
    .proof-num {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .proof-num:last-child {
        border-bottom: 0;
    }
}

/* ---------- timeline ---------- */
.tl {
    position: relative;
    margin-top: 24px;
}

.tl-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    height: 1px;
    background: var(--line);
}

.tl-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl-item {
    padding: 0 14px 0 0;
    position: relative;
}

.tl-item:first-child {
    padding-left: 0;
}

.tl-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--line-2);
    margin-top: 33px;
    position: relative;
    z-index: 2;
}

.tl-item.done .tl-marker {
    background: var(--ink-faint);
    border-color: var(--ink-faint);
}

.tl-item.current .tl-marker {
    background: var(--ember);
    border-color: var(--ember);
    box-shadow: 0 0 0 6px rgba(255, 106, 26, .12);
}

.tl-item.key .tl-marker {
    width: 22px;
    height: 22px;
    margin-top: 29px;
    background: var(--ember);
    border-color: var(--ember);
    box-shadow: 0 0 0 8px rgba(255, 106, 26, .18);
}

.tl-item.warn .tl-marker {
    background: var(--amber);
    border-color: var(--amber);
}

.tl-date {
    margin-top: 18px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--ink);
}

.tl-item.done .tl-date {
    color: var(--ink-faint);
}

.tl-item.current .tl-date {
    color: var(--ember);
}

.tl-item.key .tl-date {
    color: var(--ember);
    font-weight: 500;
}

.tl-item.warn .tl-date {
    color: var(--amber);
}

.tl-label {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-dim);
    line-height: 1.4;
    max-width: 22ch;
}

.tl-item.done .tl-label {
    color: var(--ink-faint);
}

.tl-item.key .tl-label {
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
}

.tl-status {
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.tl-item.current .tl-status,
.tl-item.key .tl-status {
    color: var(--ember);
}

.tl-item.warn .tl-status {
    color: var(--amber);
}

.tl-cta {
    margin-top: 56px;
}

@media (max-width: 900px) {
    .tl-line {
        left: 10px;
        top: 0;
        bottom: 0;
        right: auto;
        width: 1px;
        height: auto;
    }
    .tl-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tl-item {
        padding: 0 0 0 32px;
    }
    .tl-item:first-child {
        padding-left: 32px;
    }
    .tl-marker {
        position: absolute;
        left: 10px;
        top: 2px;
        margin: 0;
        transform: translateX(-50%);
    }
    .tl-item.key .tl-marker {
        left: 10px;
    }
    .tl-date,
    .tl-label,
    .tl-status {
        margin-top: 0;
    }
    .tl-label {
        margin-top: 6px;
    }
    .tl-status {
        margin-top: 8px;
    }
}

/* ---------- program ---------- */
.program {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.prog-block {
    padding: 40px 36px 44px;
    border-right: 1px solid var(--line);
}

.prog-block:last-child {
    border-right: 0;
}

.prog-block:first-child {
    padding-left: 0;
}

.prog-block:last-child {
    padding-right: 0;
}

.prog-block .tag {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 16px;
}

.prog-block h3 {
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: 20px;
    max-width: 24ch;
}

.prog-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.prog-list li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 14px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}

.prog-list li::before {
    content: "";
    width: 8px;
    height: 1px;
    background: var(--ember);
    margin-top: 12px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .program {
        grid-template-columns: 1fr;
    }
    .prog-block {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 32px 0;
    }
    .prog-block:last-child {
        border-bottom: 0;
    }
}

/* ---------- form ---------- */
.cta-form {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border-top: 1px solid var(--line);
}

.cta-form::before {
    content: "";
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(255, 106, 26, .18), transparent 70%);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
    position: relative;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.form-copy h2 {
    max-width: 16ch;
}

.form-copy p {
    margin-top: 20px;
    color: var(--ink-dim);
    font-size: 17px;
    line-height: 1.55;
    max-width: 42ch;
}

.form-meta {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: grid;
    gap: 12px;
}

.form-meta .row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-meta .row span:first-child {
    color: var(--ember);
}

form {
    display: grid;
    gap: 24px;
}

.cbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) {
    .cbs {
        grid-template-columns: 1fr;
    }
}

.cb {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px 14px 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    transition: color .15s;
}

.cb:nth-child(odd) {
    padding-right: 14px;
    border-right: 1px solid var(--line);
}

.cb:nth-last-child(-n+2) {
    border-bottom: 0;
}

@media (max-width: 640px) {
    .cb {
        padding: 12px 0;
        border-right: 0 !important;
    }
    .cb:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
    .cb:last-child {
        border-bottom: 0;
    }
}

.cb input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cb .box {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--ink-faint);
    margin-top: 2px;
    position: relative;
    transition: all .15s;
}

.cb input:checked ~ .box {
    background: var(--ember);
    border-color: var(--ember);
}

.cb input:checked ~ .box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #0a0b0d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cb input:focus-visible ~ .box {
    outline: 2px solid var(--ember);
    outline-offset: 2px;
}

.cb:hover {
    color: var(--ink);
}

.cb-label {
    color: var(--ink-dim);
}

.cb input:checked ~ .cb-label {
    color: var(--ink);
}

.cbs-head {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 14px;
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) {
    .fields {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    padding: 12px 16px 14px 0;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.field:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 16px;
}

.field.full {
    grid-column: 1 / -1;
    border-right: 0;
    padding-right: 0;
}

.field:last-child {
    border-bottom: 0;
}

@media (max-width: 640px) {
    .field,
    .field:nth-child(even) {
        border-right: 0 !important;
        padding: 12px 0 14px;
    }
    .field:last-child {
        border-bottom: 0;
    }
}

.field label {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
}

.field input {
    background: transparent;
    border: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    padding: 4px 0 6px;
    outline: none;
    width: 100%;
}

.field input::placeholder {
    color: var(--ink-faint);
}

.field input:focus {
    color: var(--ink);
}

.field.invalid label {
    color: var(--ember);
}

.field.invalid input {
    color: var(--ember);
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.form-submit button {
    all: unset;
    box-sizing: border-box;
}

.form-submit .btn-primary {
    cursor: pointer;
}

.form-note {
    color: var(--ink-faint);
    font-size: 12.5px;
    font-family: var(--mono);
    letter-spacing: .06em;
}

.form-success {
    display: none;
    padding: 24px;
    border: 1px solid var(--ember);
    color: var(--ember);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.form-success.show {
    display: block;
}

/* ---------- footer ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 72px 0 32px;
    color: var(--ink-dim);
    font-size: 14px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}

@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

.foot-brand .brand {
    margin-bottom: 16px;
}

.foot-brand p {
    max-width: 36ch;
    color: var(--ink-dim);
    font-size: 14px;
}

.foot-col h4 {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 18px;
    font-weight: 500;
}

.foot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.foot-col a:hover {
    color: var(--ink);
}

.foot-col .small {
    font-size: 13px;
    color: var(--ink-dim);
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ---------- ambient diagram (hero right) ---------- */
.ot-it {
    margin-top: 52px;
    padding: 22px;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-dim);
    max-width: 720px;
}

.ot-it .node {
    padding: 14px 16px;
    border: 1px solid var(--line);
    text-align: center;
}

.ot-it .node strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    margin-bottom: 4px;
}

.ot-it .link {
    color: var(--ember);
    letter-spacing: .18em;
}

/* helper */
.nobr {
    white-space: nowrap;
}