@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* Actum Forge site — the app's "Industrial Mythic" language: obsidian ground, stone
   cards, light on the edges (heat = action, night-violet = rest), glowing cracks and
   sparks near the cursor (landing/js/forge-fx.js). */

:root {
    --bg: #050607;
    --text: #ECEDEE;
    --muted: #8F9298;
    --orange: #FF6A1A;
    --orange-soft: #FF9F4D;
    --ember: #7A2E0B;
    --white-hot: #FFE6C2;
    --purple: #7C5CFF;
    --purple-soft: #A893FF;
    --seam: #23272D;
    --mark: #4A4F57;

    --font-display: Unbounded, "Segoe UI", sans-serif;
    --font-ui: Manrope, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", Consolas, monospace;

    --obsidian: url("../img/forge/obsidian.ea4a995db412.jpg");
    --stone: url("../img/forge/stone.e7f5ba7f1eae.jpg");
    --cracks: url("../img/forge/cracks.54eb79bac049.png");
    --gutter: clamp(18px, 5vw, 74px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-ui);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 55% 38% at 50% 0%, rgba(255, 106, 26, 0.07), rgba(255, 106, 26, 0) 70%),
        var(--obsidian);
    background-size: auto, 1024px 1024px;
    background-attachment: fixed, fixed;
    cursor: url("../img/forge/cur-blade-32.430669acd201.png") 2 2, auto;
    cursor: -webkit-image-set(url("../img/forge/cur-blade-32.430669acd201.png") 1x, url("../img/forge/cur-blade-64.17267525564a.png") 2x) 2 2, auto;
}

a, button, summary, label, [role="button"] {
    cursor: url("../img/forge/cur-glint-32.62c142dfad5e.png") 16 16, pointer;
    cursor: -webkit-image-set(url("../img/forge/cur-glint-32.62c142dfad5e.png") 1x, url("../img/forge/cur-glint-64.ef820099ecbb.png") 2x) 16 16, pointer;
}

input, textarea { cursor: text; }

a { color: inherit; }

::selection { background: rgba(255, 106, 26, 0.35); color: #fff; }

/* ---------- shared pieces ---------- */

.forge-mark {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #6B717A;
}

.forge-mark i { font-style: normal; color: var(--mark); }
.forge-mark b { margin-right: 10px; color: var(--orange); font-weight: 600; }

.forge-btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 22px;
    border: 1px solid var(--orange);
    border-radius: 5px;
    background: rgba(18, 10, 6, 0.78);
    color: #FFB070;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(255, 106, 26, 0.2), inset 0 0 18px rgba(255, 106, 26, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.forge-btn span { display: grid; gap: 2px; text-align: left; }
.forge-btn b { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.forge-btn small { color: #A3A8B0; font-size: 12px; font-weight: 600; }
.forge-btn > .ti { font-size: 20px; }

.forge-btn:hover {
    border-color: #FFB070;
    color: var(--white-hot);
    box-shadow: 0 0 34px rgba(255, 140, 60, 0.36), inset 0 0 22px rgba(255, 180, 110, 0.14);
    transform: translateY(-1px);
}

.forge-btn.is-night {
    border-color: var(--purple);
    background: rgba(10, 8, 18, 0.78);
    color: #C3B5FF;
    box-shadow: 0 0 24px rgba(124, 92, 255, 0.18), inset 0 0 18px rgba(124, 92, 255, 0.08);
}

.forge-btn.is-night:hover {
    border-color: var(--purple-soft);
    color: #E3DBFF;
    box-shadow: 0 0 34px rgba(124, 92, 255, 0.32), inset 0 0 22px rgba(168, 147, 255, 0.12);
}

.forge-btn.is-small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.forge-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--orange-soft);
    font-weight: 700;
    text-decoration: none;
}

.forge-link:hover { color: var(--white-hot); }

.stone-card {
    position: relative;
    isolation: isolate;
    border: 1px solid var(--seam);
    border-radius: 8px;
    background-color: #0D0F12;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 38%),
        linear-gradient(180deg, rgba(14, 16, 19, 0.19), rgba(9, 10, 12, 0.54)),
        var(--stone);
    background-size: auto, auto, 1024px 1024px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -24px 40px rgba(0, 0, 0, 0.32), 0 14px 34px rgba(0, 0, 0, 0.42);
}

/* ---------- cracks and sparks (forge-fx.js) ---------- */

.fx-cracks {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--cracks);
    background-size: 1024px 1024px;
    background-attachment: fixed;
    mix-blend-mode: screen;
}

.fx-cracks.is-pale { opacity: 0.1; }

.fx-cracks.is-hot,
.stone-card > .fx-crack.is-hot {
    -webkit-mask-image: radial-gradient(circle 200px at var(--fx, -999px) var(--fy, -999px), #000 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 75%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle 200px at var(--fx, -999px) var(--fy, -999px), #000 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 75%, rgba(0, 0, 0, 0) 100%);
}

.stone-card > .fx-crack {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background-image: var(--cracks);
    background-size: 1024px 1024px;
    background-attachment: fixed;
    mix-blend-mode: screen;
}

.stone-card > .fx-crack.is-pale { opacity: 0.1; }

.fx-sparks {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2147483000;
    pointer-events: none;
    mix-blend-mode: screen;
}

.forge-page { position: relative; z-index: 1; }

@media (hover: none), (prefers-reduced-motion: reduce) {
    .fx-cracks.is-hot, .stone-card > .fx-crack.is-hot, .fx-sparks { display: none; }
}

/* ---------- brand ---------- */

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #F7F7F8;
    text-decoration: none;
}

.landing-brand img { width: 58px; height: auto; filter: drop-shadow(0 0 8px rgba(255, 106, 26, 0.35)); }
.landing-brand span { display: grid; gap: 4px; }
.landing-brand b { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.22em; line-height: 1; }
.landing-brand small { font-family: var(--font-display); font-size: 8px; font-weight: 500; letter-spacing: 0.62em; color: var(--orange); }

/* ---------- hero ---------- */

.landing-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
    gap: 40px;
    align-items: center;
    padding: 120px var(--gutter) 70px;
    overflow: hidden;
    border-bottom: 1px solid #1A1D21;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    pointer-events: none;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.landing-hero::before {
    background:
        linear-gradient(90deg, rgba(5, 6, 7, 0.95) 0%, rgba(5, 6, 7, 0.7) 45%, rgba(5, 6, 7, 0.86) 100%),
        radial-gradient(circle at 18% 60%, rgba(255, 106, 26, 0.2), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(124, 92, 255, 0.18), transparent 32%);
}

.landing-hero::after {
    background:
        linear-gradient(180deg, rgba(5, 6, 7, 0) 70%, rgba(5, 6, 7, 1)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 96px);
}

.landing-topbar {
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    right: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 var(--gutter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(5, 6, 7, 0.82), rgba(5, 6, 7, 0));
}

.landing-topbar nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.landing-topbar nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #B8BCC4;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.landing-topbar nav a:hover {
    color: #ECEDEE;
    border-color: rgba(255, 106, 26, 0.35);
    background: rgba(255, 106, 26, 0.06);
}

.landing-hero-copy,
.landing-preview { position: relative; z-index: 6; }

.landing-hero-copy { max-width: 760px; }

.landing-hero h1 {
    margin: 22px 0 0;
    font-family: var(--font-display);
    font-size: clamp(44px, 5.4vw, 90px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: 0 14px 44px rgba(0, 0, 0, 0.85);
}

.landing-hero h1 em,
.landing-final h2 em {
    font-style: normal;
    color: var(--orange);
    text-shadow: 0 0 32px rgba(255, 106, 26, 0.35);
}

.landing-lead {
    max-width: 600px;
    margin: 26px 0 0;
    color: #C9CDD2;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.landing-actions.is-center { justify-content: center; }

.landing-modules-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 30px 0 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6B717A;
}

.landing-modules-line span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 8px 2px 0;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}

/* the product preview: a small, honest mock of the home screen */
.landing-preview { align-self: center; }

.landing-preview-hammer {
    position: absolute;
    z-index: 3;
    right: -70px;
    top: -150px;
    width: 210px;
    height: auto;
    transform: rotate(-12deg);
    filter: drop-shadow(0 0 24px rgba(255, 106, 26, 0.4));
    pointer-events: none;
}

.preview-window {
    position: relative;
    z-index: 2;
    padding: 16px;
    border: 1px solid #2A2E35;
    border-radius: 10px;
    background: rgba(8, 9, 11, 0.82);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 106, 26, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
}

.preview-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px 14px;
    border-bottom: 1px solid #1A1D21;
}

.preview-bar img { width: 34px; height: auto; }
.preview-bar b { font-size: 14px; font-weight: 800; }
.preview-bar span { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #6B717A; }

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.preview-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 132px;
    padding: 14px;
    border: 1px solid var(--seam);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, rgba(14, 16, 19, 0.3), rgba(9, 10, 12, 0.6)),
        var(--stone);
    background-size: auto, auto, 1024px 1024px;
}

.preview-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-head .ti { font-size: 15px; color: #A3A8B0; }
.preview-head em { margin-left: auto; font-family: var(--font-mono); font-style: normal; font-weight: 500; color: var(--mark); }

.preview-big { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.preview-card small { color: #6B717A; font-size: 11px; }

.preview-progress { position: relative; height: 4px; border-radius: 2px; background: #1A1D22; }
.preview-progress span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ember), var(--orange) 88%, var(--white-hot));
    box-shadow: 0 0 10px rgba(255, 106, 26, 0.45);
}

.preview-battle { display: flex; gap: 3px; height: 6px; margin-top: 8px; }
.preview-battle span { border-radius: 2px; }
.preview-battle .is-hot { background: var(--orange); box-shadow: 0 0 10px rgba(255, 106, 26, 0.4); }
.preview-battle .is-night { background: var(--purple); }

.preview-split { display: flex; justify-content: space-between; font-size: 12px; }
.preview-split .is-hot { color: var(--orange-soft); }
.preview-split .is-night { color: var(--purple-soft); }

.preview-habit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(7, 10px);
    gap: 4px;
    align-items: center;
    font-size: 11px;
    color: #C9CDD2;
}

.preview-habit span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.preview-habit i { width: 10px; height: 10px; border-radius: 2px; background: #15181D; border: 1px solid #22262C; }
.preview-habit i.d1 { background: var(--orange); border-color: var(--orange); }
.preview-habit i.d2 { background: var(--white-hot); border-color: var(--white-hot); box-shadow: 0 0 8px var(--orange-soft); }

.preview-pay {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    font-size: 12px;
}

.preview-pay b { color: var(--orange-soft); font-family: var(--font-mono); font-weight: 600; }
.preview-pay i { grid-column: 1 / -1; color: #6B717A; font-style: normal; font-size: 11px; }
.preview-pay.is-in b { color: var(--purple-soft); }

/* ---------- the two forces ---------- */

.forge-axis {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 70px var(--gutter);
    border-bottom: 1px solid #1A1D21;
}

.axis-side h2 {
    margin: 14px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 800;
    text-transform: uppercase;
}

.axis-side p:last-child { margin: 0; max-width: 440px; color: #A3A8B0; line-height: 1.65; }
.axis-side.is-hot h2 { color: var(--orange); }
.axis-side.is-night { text-align: right; }
.axis-side.is-night h2 { color: var(--purple-soft); }
.axis-side.is-night p:last-child { margin-left: auto; }

.axis-anvil { display: grid; justify-items: center; gap: 12px; }
.axis-anvil img { width: 200px; height: auto; filter: drop-shadow(0 10px 30px rgba(255, 106, 26, 0.3)); }

.axis-anvil span {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* ---------- sections ---------- */

.landing-section {
    position: relative;
    padding: 96px var(--gutter);
    border-bottom: 1px solid #1A1D21;
}

.section-head { max-width: 760px; }

.section-head h2,
.landing-final h2 {
    margin: 16px 0 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.04;
    text-transform: uppercase;
}

.section-head > p:not(.forge-mark) {
    max-width: 620px;
    margin: 18px 0 0;
    color: #A3A8B0;
    font-size: 17px;
    line-height: 1.65;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 44px;
}

.module-grid .stone-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.module-grid .ti,
.platform-grid .ti {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 106, 26, 0.35);
    border-radius: 50%;
    color: var(--orange);
    font-size: 20px;
    background: rgba(255, 106, 26, 0.05);
}

.stone-card.is-night .ti { border-color: rgba(124, 92, 255, 0.45); color: var(--purple-soft); background: rgba(124, 92, 255, 0.06); }

.module-grid em {
    position: absolute;
    top: 22px;
    right: 22px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
    color: var(--mark);
}

.stone-card h3 { margin: 10px 0 0; font-size: 17px; font-weight: 800; }
.stone-card p { margin: 0; color: #A3A8B0; font-size: 14px; line-height: 1.6; }

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}

.how-steps .stone-card { padding: 28px; display: grid; gap: 10px; align-content: start; }

.how-num {
    font-family: var(--font-display);
    font-size: 54px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 106, 26, 0.55);
}

.how-steps .is-night .how-num { color: rgba(168, 147, 255, 0.55); }
.how-steps h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

.landing-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 50px;
}

.landing-split.is-reverse .section-head { order: 2; }
.landing-split .section-head h2 { font-size: clamp(28px, 3vw, 44px); }

.forge-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.forge-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #C9CDD2;
    font-size: 15px;
    line-height: 1.6;
}

.forge-list .ti {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #2A2E35;
    border-radius: 50%;
    color: var(--orange-soft);
    font-size: 16px;
}

/* finance calendar mock */
.finance-mock { padding: 20px; display: grid; gap: 14px; }

.mock-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: #8F9298; }
.mock-head b { font-family: var(--font-display); font-size: 16px; color: #ECEDEE; text-transform: uppercase; letter-spacing: 0.06em; }
.mock-head em { font-style: normal; font-weight: 800; }
.mock-head .is-hot { color: var(--orange-soft); }
.mock-head .is-night { color: var(--purple-soft); }

.mock-cal {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.mock-cal span {
    min-height: 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px;
    border: 1px solid #1C2026;
    border-radius: 5px;
    background: rgba(8, 9, 11, 0.6);
    font-family: var(--font-mono);
    font-size: 11px;
    color: #6B717A;
}

.mock-cal span::first-line { color: #A3A8B0; }

.mock-cal .has i {
    display: block;
    padding: 2px 4px;
    border-left: 2px solid var(--orange);
    border-radius: 2px;
    background: rgba(255, 106, 26, 0.1);
    color: #F3C9A3;
    font-family: var(--font-ui);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mock-cal .has.is-night i { border-left-color: var(--purple); background: rgba(124, 92, 255, 0.12); color: #D3C9FF; }

.mock-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 106, 26, 0.25);
    border-radius: 6px;
    background: rgba(255, 106, 26, 0.04);
    font-size: 13px;
}

.mock-row span { display: inline-flex; align-items: center; gap: 8px; }
.mock-row b { color: var(--orange-soft); font-family: var(--font-mono); }
.mock-row em {
    padding: 2px 8px;
    border: 1px solid rgba(95, 154, 114, 0.45);
    border-radius: 3px;
    color: #7DB08E;
    font-family: var(--font-mono);
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* telegram mock */
.tg-mock {
    display: grid;
    gap: 10px;
    max-width: 440px;
    padding: 22px;
    border: 1px solid #23272D;
    border-radius: 14px;
    background: rgba(10, 12, 15, 0.8);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.tg-msg {
    max-width: 86%;
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px 10px 10px 3px;
    background: #15181D;
    font-size: 14px;
    line-height: 1.5;
}

.tg-msg p { margin: 0; }
.tg-msg.is-me { justify-self: end; border-radius: 10px 10px 3px 10px; background: rgba(124, 92, 255, 0.16); color: #D3C9FF; }

.tg-btn {
    justify-self: stretch;
    padding: 7px 10px;
    border: 1px solid rgba(255, 106, 26, 0.45);
    border-radius: 6px;
    color: #FFB070;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/* platforms */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 44px;
}

.platform-grid .stone-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
}

.platform-grid h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; text-transform: uppercase; }

/* one card, two downloads (Windows, macOS) */
.platform-grid .landing-card-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: auto; }
.platform-grid .landing-card-links .forge-link { margin-top: 0; }

/* final call */
.landing-final {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 110px var(--gutter) 120px;
    text-align: center;
    background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(255, 106, 26, 0.12), rgba(255, 106, 26, 0) 70%);
}

.landing-final img { width: 260px; height: auto; filter: drop-shadow(0 12px 36px rgba(255, 106, 26, 0.35)); }
.landing-final h2 { margin-top: 4px; font-size: clamp(36px, 6vw, 84px); font-weight: 900; }

/* footer */
.landing-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    padding: 30px var(--gutter);
    border-top: 1px solid #1A1D21;
    background: rgba(5, 6, 7, 0.85);
    color: var(--muted);
    font-size: 14px;
}

.landing-footer .landing-brand img { width: 46px; }
.landing-footer nav { display: flex; gap: 18px; }
.landing-footer nav a { color: #B8BCC4; font-weight: 700; text-decoration: none; }
.landing-footer nav a:hover { color: var(--orange-soft); }
.landing-footer .forge-mark { margin-left: auto; font-size: 10px; }

/* ---------- smaller screens ---------- */

@media (max-width: 1200px) {
    .landing-hero { grid-template-columns: minmax(0, 1fr); padding-top: 120px; }
    .landing-preview { max-width: 640px; }
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-split { grid-template-columns: minmax(0, 1fr); }
    .landing-split.is-reverse .section-head { order: 0; }
}

@media (max-width: 860px) {
    .landing-topbar nav { display: none; }
    .landing-topbar .forge-btn { margin-left: auto; }
    .forge-axis { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .axis-side.is-night { text-align: center; }
    .axis-side p:last-child, .axis-side.is-night p:last-child { margin: 0 auto; }
    .axis-anvil { order: -1; }
    .how-steps, .platform-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .landing-topbar { min-height: 66px; }
    .landing-brand img { width: 44px; }
    .landing-brand b { font-size: 15px; }
    .landing-hero { padding: 96px 16px 50px; gap: 30px; }
    .landing-hero h1 { font-size: clamp(40px, 13vw, 60px); }
    .landing-lead { font-size: 16px; }
    .landing-actions .forge-btn { width: 100%; }
    .landing-preview-hammer { display: none; }
    .preview-grid { grid-template-columns: minmax(0, 1fr); }
    .module-grid { grid-template-columns: minmax(0, 1fr); }
    .landing-section { padding: 64px 16px; }
    .forge-axis { padding: 54px 16px; }
    .mock-cal span { min-height: 42px; padding: 4px; }
    .landing-footer .forge-mark { margin-left: 0; }
}

/* ---------- utility ---------- */

.landing-skip {
    position: absolute;
    left: -9999px;
}

.landing-skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; }

.flash p { margin: 0; padding: 12px var(--gutter); background: rgba(239, 68, 68, 0.14); color: #ffd1d1; font-weight: 700; }
.flash { position: relative; z-index: 50; }

/* the old primary / secondary links (blog pages) in the forge look */
.landing-primary,
.landing-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.landing-primary {
    color: #FFB070;
    border: 1px solid var(--orange);
    background: rgba(18, 10, 6, 0.78);
    box-shadow: 0 0 22px rgba(255, 106, 26, 0.2), inset 0 0 16px rgba(255, 106, 26, 0.08);
}

.landing-secondary {
    color: #C3B5FF;
    border: 1px solid var(--purple);
    background: rgba(10, 8, 18, 0.78);
}

.platform-grid .forge-link .ti {
    width: auto;
    height: auto;
    border: 0;
    background: none;
    font-size: 16px;
    color: inherit;
}


/* ---------- legal documents (/privacy/, /terms/, /consent/) ---------- */

.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-links a { color: #6B717A; font-size: 12px; font-weight: 600; text-decoration: none; }
.legal-links a:hover { color: var(--orange-soft); }
.landing-footer .legal-links { flex-basis: 100%; order: 3; }

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 22px 80px;
}

.legal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 26px;
}

.legal-tabs a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #23272D;
    border-radius: 5px;
    color: #B8BCC4;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.legal-tabs a:hover { color: #ECEDEE; border-color: rgba(255, 106, 26, 0.35); }
.legal-tabs a[aria-current="page"] { color: #FFB070; border-color: rgba(255, 106, 26, 0.5); background: rgba(255, 106, 26, 0.07); }

.legal-doc {
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid #23272D;
    border-radius: 8px;
    background: rgba(10, 11, 14, 0.88);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    color: #C9CDD2;
    font-size: 15px;
    line-height: 1.7;
}

.legal-doc h1 {
    margin: 14px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    color: #ECEDEE;
}

.legal-doc h2 {
    margin: 34px 0 10px;
    padding-top: 18px;
    border-top: 1px solid #1A1D21;
    font-size: 19px;
    font-weight: 800;
    color: #ECEDEE;
}

.legal-doc h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 800; color: #ECEDEE; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 12px; padding-left: 20px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--orange-soft); }
.legal-lead { color: #A3A8B0; font-size: 16px; }

.legal-doc mark {
    padding: 0 4px;
    border-radius: 3px;
    background: rgba(255, 106, 26, 0.18);
    color: #FFB070;
}

.legal-operator { list-style: none; padding: 12px 16px !important; border: 1px solid #23272D; border-radius: 6px; background: rgba(255, 255, 255, 0.02); }
