:root {
    color-scheme: dark;
    --ink: #eef6f0;
    --muted: #a3b6aa;
    --line: rgba(205, 235, 215, 0.12);
    --paper: #08110c;
    --paper-soft: #0b1a12;
    --white: #102219;
    --green: #0b8d65;
    --green-deep: #06170f;
    --green-light: #c9ead5;
    --mint: #78d29d;
    --gold: #d7b66f;
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 74% 12%,
            rgba(35, 131, 73, 0.22),
            transparent 35rem
        ),
        radial-gradient(
            circle at 14% 5%,
            rgba(215, 182, 111, 0.1),
            transparent 27rem
        ),
        linear-gradient(135deg, #10170d 0%, var(--paper) 48%, #04100a 100%);
    color: var(--ink);
    font-family:
        'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-150%);
    border-radius: 10px;
    background: var(--green-deep);
    color: white;
    padding: 10px 14px;
    font-size: 0.9rem;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--green);
    color: white;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
}

.brand-mark.small {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    box-shadow: none;
}

.brand-mark.small svg {
    width: 18px;
    height: 18px;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    font-size: 1.08rem;
    letter-spacing: -0.025em;
}

.brand-copy small {
    color: rgba(120, 210, 157, 0.65);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.105em;
    text-transform: uppercase;
}

.preview-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #c9ddd0;
    padding: 9px 14px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    backdrop-filter: blur(12px);
}

.preview-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55d58a;
    box-shadow: 0 0 0 4px rgba(85, 213, 138, 0.12);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    gap: clamp(42px, 7vw, 96px);
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 72px 0 104px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #79d49c;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    width: 24px;
    height: 1px;
    background: currentColor;
    content: '';
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 640px;
    margin: 22px 0 26px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3.6rem, 6.5vw, 6.4rem);
    font-weight: 500;
    letter-spacing: -0.058em;
    line-height: 0.96;
}

h1 span {
    display: block;
    color: #62d093;
    font-style: italic;
}

.hero-intro {
    max-width: 610px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.76;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    border-radius: 14px;
    background: var(--green);
    color: white;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.primary-action:hover {
    transform: translateY(-2px);
    background: #10a878;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.primary-action:focus-visible,
.brand:focus-visible,
.footer-brand:focus-visible {
    outline: 3px solid rgba(120, 210, 157, 0.42);
    outline-offset: 4px;
}

.primary-action svg {
    width: 18px;
    height: 18px;
}

.development-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
}

.development-note svg {
    width: 20px;
    height: 20px;
    color: var(--mint);
}

.product-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 237, 223, 0.25);
    border-radius: 28px;
    background: #08291d;
    color: white;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.product-window::before {
    position: absolute;
    top: -150px;
    right: -70px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(120, 210, 157, 0.12);
    filter: blur(2px);
    content: '';
}

.window-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 20px 22px;
}

.window-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 750;
}

.window-logo {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: rgba(120, 210, 157, 0.16);
    color: #a5e5bd;
}

.window-logo svg {
    width: 17px;
    height: 17px;
}

.window-pill {
    border: 1px solid rgba(165, 229, 189, 0.2);
    border-radius: 999px;
    background: rgba(120, 210, 157, 0.08);
    color: #a5e5bd;
    padding: 7px 10px;
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.window-content {
    position: relative;
    padding: 24px;
}

.marketplace-row,
.activity-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.marketplace-row > div:first-child,
.activity-heading > div {
    display: grid;
    gap: 4px;
}

.section-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.marketplace-row strong,
.activity-heading strong {
    font-size: 0.86rem;
}

.channel-list {
    display: flex;
    padding-right: 8px;
}

.channel {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 2px solid var(--green-deep);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
}

.channel + .channel {
    margin-left: -8px;
}

.channel-w {
    background: #2375d8;
}

.channel-a {
    background: #f0a842;
    color: #261706;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.metric-card {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    padding: 15px;
}

.metric-card > span,
.metric-card small {
    display: block;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.59rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric-card strong {
    display: block;
    margin: 10px 0 6px;
    font-size: 1.55rem;
    letter-spacing: -0.045em;
}

.metric-featured {
    border-color: rgba(120, 210, 157, 0.2);
    background: rgba(120, 210, 157, 0.09);
}

.metric-card i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 3px;
    border-radius: 50%;
    background: var(--mint);
}

.activity-panel {
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    padding: 16px;
}

.activity-heading > span {
    color: #9ddbb4;
    font-size: 0.65rem;
    font-weight: 700;
}

.activity-list {
    margin-top: 12px;
}

.activity-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 11px 0;
}

.activity-item:last-child {
    padding-bottom: 0;
}

.activity-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 8px;
}

.activity-icon.check {
    background: rgba(120, 210, 157, 0.12);
    color: #91dbad;
    font-size: 0.76rem;
}

.activity-icon.pulse::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(215, 182, 111, 0.1);
    content: '';
}

.activity-item > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.activity-item strong {
    overflow: hidden;
    font-size: 0.68rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-item small,
.activity-item time {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.57rem;
}

.direction {
    border-top: 1px solid var(--line);
    padding: 108px 0 118px;
}

.direction-heading {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 40px;
    align-items: start;
}

.direction h2,
.closing h2 {
    max-width: 780px;
    margin-bottom: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.07;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 64px;
}

.principle {
    min-height: 275px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    padding: 27px;
}

.principle-number {
    color: #83dba4;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.85rem;
    font-style: italic;
}

.principle h3 {
    margin: 76px 0 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.principle p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.68;
}

.closing {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(48px, 9vw, 140px);
    align-items: end;
    border-radius: 28px;
    border: 1px solid rgba(160, 224, 184, 0.12);
    background:
        radial-gradient(
            circle at 84% 8%,
            rgba(120, 210, 157, 0.16),
            transparent 23rem
        ),
        linear-gradient(135deg, #0d4935 0%, #09291d 68%, #071e15 100%);
    color: white;
    padding: clamp(40px, 6vw, 76px);
}

.closing .section-kicker {
    color: #a9dfbc;
}

.closing h2 {
    margin-top: 18px;
}

.closing p {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.96rem;
    line-height: 1.75;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 128px;
    color: #81968a;
    font-size: 0.73rem;
}

.footer-brand strong {
    color: var(--ink);
}

.site-footer p {
    margin: 0;
}

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 60px;
    }

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

    .product-window {
        max-width: 780px;
        transform: none;
    }

    .direction-heading,
    .closing {
        grid-template-columns: 1fr;
    }

    .closing {
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 28px, 1240px);
    }

    .site-header {
        min-height: 84px;
    }

    .brand-copy small {
        display: none;
    }

    .preview-status {
        padding: 8px 10px;
        font-size: 0.67rem;
    }

    .hero {
        gap: 54px;
        padding: 48px 0 78px;
    }

    h1 {
        font-size: clamp(3.15rem, 16vw, 4.7rem);
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .window-bar,
    .window-content {
        padding: 16px;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .metric-featured {
        grid-column: 1 / -1;
    }

    .direction {
        padding: 82px 0 88px;
    }

    .principle-grid {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .principle {
        min-height: 230px;
    }

    .principle h3 {
        margin-top: 54px;
    }

    .closing {
        border-radius: 22px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 440px) {
    .preview-status {
        max-width: 116px;
    }

    .product-window {
        border-radius: 20px;
    }

    .window-pill {
        display: none;
    }

    .activity-item time {
        display: none;
    }

    .closing {
        padding: 34px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
