@import url("/brand.css");

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 72% 8%, rgb(25 56 53 / 20%), transparent 30rem),
        var(--ink);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 8px 12px;
    transform: translateY(-150%);
    background: var(--text);
    color: var(--ink);
    font-size: 12px;
}

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

.button,
.text-link {
    text-decoration: none;
}

.text-link:hover {
    color: var(--accent);
}

.hero,
.section-shell,
.site-footer {
    width: min(100% - (var(--gutter) * 2), var(--page));
    margin-inline: auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
    align-items: center;
    gap: clamp(42px, 7vw, 100px);
    min-height: min(700px, 100vh);
    padding-block: clamp(74px, 11vh, 126px);
}

.eyebrow {
    margin: 0 0 25px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow span {
    color: var(--accent);
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1,
h2 {
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

h1 {
    display: flex;
    align-items: baseline;
    gap: clamp(11px, 1.4vw, 18px);
    max-width: 780px;
    font-size: clamp(54px, 6.2vw, 88px);
}

h1 span {
    color: var(--accent);
}

.hero__phonetic {
    color: #ffffff;
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
}

.hero__subtitle {
    margin: 15px 0 0;
    color: var(--text-soft);
    font-size: clamp(15px, 1.6vw, 20px);
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.hero__lede {
    max-width: 610px;
    margin: 27px 0 0;
    color: var(--text-soft);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 208px;
    min-height: 50px;
    gap: 24px;
    padding: 0 17px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
}

.button--primary:hover {
    background: var(--accent-bright);
}

.button--quiet {
    color: var(--text-soft);
}

.button--quiet:hover {
    border-color: var(--accent);
    color: var(--text);
}

.button--disabled {
    color: var(--text-muted);
    cursor: default;
}

.button--disabled span {
    color: var(--text-soft);
}

.hero__specs {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: clamp(22px, 4vw, 48px);
    margin: 55px 0 0;
}

.hero__specs div {
    display: grid;
    gap: 2px;
}

.hero__specs dt {
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__specs dd {
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
}

.hero-visual {
    align-self: center;
    margin: 0;
    min-width: 0;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
}

.section-shell {
    padding-block: clamp(76px, 9vw, 118px);
    border-top: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(30px, 7vw, 110px);
    align-items: start;
    margin-bottom: clamp(38px, 5vw, 60px);
}

.section-heading .eyebrow {
    margin: 6px 0 0;
}

h2 {
    font-size: clamp(24px, 2.8vw, 36px);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-heading > div > p {
    max-width: 600px;
    margin: 17px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background:
        radial-gradient(circle at center, rgb(29 64 60 / 38%), transparent 45%),
        var(--surface);
}

.video-frame::before,
.video-frame::after {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    border-color: var(--accent);
    border-style: solid;
    content: "";
    pointer-events: none;
}

.video-frame::before {
    top: 12px;
    left: 12px;
    border-width: 1px 0 0 1px;
}

.video-frame::after {
    right: 12px;
    bottom: 12px;
    border-width: 0 1px 1px 0;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.text-link {
    display: block;
    width: max-content;
    margin: 18px 0 0 auto;
    color: var(--text-soft);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.system {
    position: relative;
}

.pipeline {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.pipeline li {
    display: grid;
    grid-template-columns: minmax(70px, 0.35fr) minmax(0, 1.65fr);
    align-items: start;
    gap: clamp(20px, 5vw, 70px);
    padding: 31px 0 33px;
    border-bottom: 1px solid var(--line);
}

.pipeline__number {
    color: var(--accent);
    font-size: 10px;
}

.pipeline h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.pipeline p {
    max-width: 650px;
    margin: 9px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 25px 36px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--text-soft);
}

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

    .hero-visual {
        width: min(100%, 720px);
        justify-self: center;
    }
}

@media (max-width: 700px) {
    .hero {
        gap: 54px;
        padding-block: 68px 92px;
    }

    h1 {
        font-size: clamp(47px, 14vw, 70px);
        letter-spacing: -0.06em;
    }

    .hero__lede {
        font-size: 14px;
    }

    .hero__specs {
        grid-template-columns: 1fr 1fr;
        gap: 20px 30px;
        margin-top: 43px;
    }

    .hero__specs div:last-child {
        grid-column: 1 / -1;
    }

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

    .section-heading .eyebrow {
        margin: 0;
    }

    .pipeline li {
        grid-template-columns: 42px 1fr;
    }

    .button {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
    }
}

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

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