:root {
    --ink: #07150f;
    --ink-soft: #0b1d15;
    --surface: #10261b;
    --surface-strong: #163225;
    --paper: #f5f1e7;
    --paper-soft: #c8d0c8;
    --muted: #9eaca2;
    --gold: #e0b34d;
    --gold-strong: #f0c965;
    --gold-ink: #241b08;
    --line: rgba(245, 241, 231, 0.14);
    --line-strong: rgba(224, 179, 77, 0.34);
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    --content: 1220px;
    --card-radius: 16px;
    --control-radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--paper);
    background: var(--ink);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--gold-strong);
    outline-offset: 4px;
}

.public-intro {
    overflow: hidden;
    background: var(--ink);
}

.intro-hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--ink);
}

.intro-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--ink) 0%, rgba(7, 21, 15, 0.98) 34%, rgba(7, 21, 15, 0.72) 57%, rgba(7, 21, 15, 0.16) 100%),
        linear-gradient(180deg, rgba(7, 21, 15, 0.12) 55%, var(--ink) 100%);
}

.intro-nav {
    position: relative;
    z-index: 10;
    width: min(calc(100% - 48px), var(--content));
    height: 72px;
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-lockup,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.brand-symbol {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--paper);
}

.brand-symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name strong {
    display: block;
    color: var(--paper);
    font-size: 21px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.brand-name small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(22px, 4vw, 54px);
    flex: 1 1 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 34px);
    color: var(--paper-soft);
    font-size: 14px;
    font-weight: 650;
}

.nav-links a {
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-login,
.button {
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: var(--control-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-login,
.button-primary {
    color: var(--gold-ink);
    background: var(--gold);
}

.nav-login:hover,
.button-primary:hover {
    background: var(--gold-strong);
    transform: translateY(-1px);
}

.button-secondary {
    border-color: rgba(245, 241, 231, 0.34);
    color: var(--paper);
    background: rgba(7, 21, 15, 0.42);
    backdrop-filter: blur(12px);
}

.button-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-strong);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--control-radius);
    display: none;
    place-items: center;
    color: var(--paper);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle i {
    font-size: 24px;
}

.hero-media {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -3;
    width: 67%;
    overflow: hidden;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--ink) 0%, transparent 46%),
        linear-gradient(180deg, rgba(7, 21, 15, 0.2) 55%, var(--ink) 100%);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    filter: saturate(0.82) contrast(1.04);
}

.hero-shell {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), var(--content));
    min-height: calc(100svh - 72px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 54px 0 72px;
}

.hero-copy {
    width: min(100%, 690px);
}

.eyebrow {
    margin: 0;
    color: var(--gold-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 690px;
    margin: 19px 0 0;
    font-size: clamp(48px, 5.1vw, 76px);
    font-weight: 720;
    line-height: 0.99;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-summary {
    max-width: 575px;
    margin: 26px 0 0;
    color: var(--paper-soft);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.52;
}

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

.operating-scope {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operating-scope > div {
    min-height: 142px;
    border-right: 1px solid var(--line);
    padding: 32px 28px 30px 0;
}

.operating-scope > div:not(:first-child) {
    padding-left: 28px;
}

.operating-scope > div:last-child {
    border-right: 0;
}

.operating-scope span {
    color: var(--gold-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.operating-scope p {
    margin: 12px 0 0;
    color: var(--paper-soft);
    font-size: 14px;
    line-height: 1.55;
}

.modules-section,
.activity-section,
.security-section,
.intro-footer {
    width: min(calc(100% - 48px), var(--content));
    margin-right: auto;
    margin-left: auto;
}

.modules-section {
    padding: clamp(86px, 9vw, 132px) 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.46fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.section-heading > div {
    max-width: 790px;
}

.section-heading h2,
.activity-content h2,
.security-section h2 {
    margin: 0;
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 680;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.section-heading > div > p,
.security-section > div > p:last-child {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68;
}

.module-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.module-card {
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 38px;
    padding: 26px;
    background: var(--ink-soft);
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.module-card:hover {
    border-color: var(--line-strong);
    background: var(--surface);
    transform: translateY(-2px);
}

.module-card-1,
.module-card-7 {
    grid-column: span 4;
}

.module-card-2,
.module-card-8 {
    grid-column: span 8;
}

.module-card-3,
.module-card-6 {
    grid-column: span 5;
}

.module-card-4,
.module-card-5 {
    grid-column: span 7;
}

.module-card-2,
.module-card-5,
.module-card-8 {
    background: var(--surface);
}

.module-icon,
.security-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--gold-strong);
    background: rgba(224, 179, 77, 0.08);
}

.module-icon i,
.security-icon i {
    font-size: 21px;
}

.module-card h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 720;
}

.module-card p {
    max-width: 500px;
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.62;
}

.activity-section {
    padding: 0 0 clamp(88px, 10vw, 144px);
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: center;
}

.activity-image {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.activity-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--line);
    border-radius: inherit;
    pointer-events: none;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
}

.activity-content h2 {
    margin-top: 18px;
}

.workflow-list {
    margin-top: 40px;
    border-top: 1px solid var(--line);
}

.workflow-list article {
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 23px 0;
}

.workflow-list article > span {
    color: var(--gold-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.workflow-list h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.workflow-list p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.security-section {
    margin-bottom: clamp(72px, 8vw, 112px);
    border: 1px solid var(--line-strong);
    border-radius: var(--card-radius);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: clamp(30px, 5vw, 58px);
    background: var(--surface);
}

.security-section h2 {
    max-width: 760px;
    margin-top: 14px;
    font-size: clamp(30px, 3.6vw, 48px);
}

.security-icon {
    width: 62px;
    height: 62px;
}

.security-icon i {
    font-size: 27px;
}

.intro-footer {
    min-height: 100px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.footer-brand {
    justify-self: start;
    color: var(--paper);
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--paper);
}

.intro-footer > a:last-child {
    justify-self: end;
    color: var(--paper-soft);
}

.intro-footer > a:last-child:hover {
    color: var(--gold-strong);
}

@media (max-width: 1024px) {
    .hero-media {
        width: 72%;
    }

    .hero-copy {
        width: min(100%, 600px);
    }

    .hero-copy h1 {
        font-size: clamp(48px, 6.5vw, 66px);
    }

    .module-card-1,
    .module-card-2,
    .module-card-3,
    .module-card-4,
    .module-card-5,
    .module-card-6,
    .module-card-7,
    .module-card-8 {
        grid-column: span 6;
    }

    .activity-section {
        gap: 48px;
    }

    .security-section {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .security-section .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 840px) {
    .intro-nav {
        width: min(calc(100% - 32px), var(--content));
    }

    .nav-toggle {
        display: grid;
    }

    .nav-panel {
        position: fixed;
        inset: 72px 0 auto;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        display: none;
        padding: 18px 24px 24px;
        background: rgba(7, 21, 15, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-panel.is-open {
        display: block;
    }

    .nav-links {
        display: grid;
        gap: 0;
    }

    .nav-links a {
        border-bottom: 1px solid var(--line);
        padding: 16px 0;
    }

    .nav-login {
        width: 100%;
        margin-top: 18px;
    }

    .hero-media {
        inset: 0;
        width: 100%;
    }

    .hero-media::after {
        background:
            linear-gradient(90deg, rgba(7, 21, 15, 0.96) 0%, rgba(7, 21, 15, 0.8) 62%, rgba(7, 21, 15, 0.5) 100%),
            linear-gradient(180deg, rgba(7, 21, 15, 0.3) 40%, var(--ink) 100%);
    }

    .hero-media img {
        object-position: 62% center;
    }

    .hero-shell,
    .operating-scope,
    .modules-section,
    .activity-section,
    .security-section,
    .intro-footer {
        width: min(calc(100% - 32px), var(--content));
    }

    .operating-scope {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operating-scope > div,
    .operating-scope > div:not(:first-child) {
        min-height: 126px;
        border-right: 0;
        padding: 26px 22px;
    }

    .operating-scope > div:nth-child(odd) {
        border-right: 1px solid var(--line);
        padding-left: 0;
    }

    .operating-scope > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .activity-section {
        grid-template-columns: 1fr;
    }

    .activity-image {
        aspect-ratio: 16 / 10;
    }

    .activity-image img {
        object-position: 50% 46%;
    }
}

@media (max-width: 620px) {
    html {
        scroll-behavior: auto;
    }

    .brand-name small {
        display: none;
    }

    .intro-hero,
    .hero-shell {
        min-height: 100svh;
    }

    .hero-shell {
        padding-top: 48px;
        padding-bottom: 54px;
    }

    .hero-copy h1 {
        margin-top: 15px;
        font-size: clamp(42px, 13vw, 56px);
        line-height: 1;
    }

    .hero-summary {
        margin-top: 20px;
        font-size: 17px;
    }

    .hero-actions {
        margin-top: 28px;
    }

    .hero-actions .button {
        flex: 1 1 150px;
    }

    .operating-scope {
        grid-template-columns: 1fr;
    }

    .operating-scope > div,
    .operating-scope > div:not(:first-child),
    .operating-scope > div:nth-child(odd) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 24px 0;
    }

    .operating-scope > div:last-child {
        border-bottom: 0;
    }

    .modules-section {
        padding: 78px 0;
    }

    .section-heading h2,
    .activity-content h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .module-grid {
        margin-top: 36px;
    }

    .module-card-1,
    .module-card-2,
    .module-card-3,
    .module-card-4,
    .module-card-5,
    .module-card-6,
    .module-card-7,
    .module-card-8 {
        grid-column: 1 / -1;
    }

    .module-card {
        min-height: 202px;
    }

    .activity-section {
        padding-bottom: 78px;
    }

    .activity-image {
        aspect-ratio: 4 / 3;
    }

    .workflow-list article {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .security-section {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px;
    }

    .security-section .button {
        grid-column: auto;
        justify-self: stretch;
    }

    .intro-footer {
        grid-template-columns: 1fr auto;
        padding: 26px 0;
    }

    .intro-footer > span {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
