:root {
    --black: #070a0d;
    --navy: #0c1219;
    --panel: #101923;

    --cyan: #58e6ff;
    --lime: #c7ff4a;

    --white: #f2f5f5;
    --muted: #82909a;

    --line: rgba(242, 245, 245, 0.11);

    --display: "Instrument Sans", sans-serif;
    --mono: "Space Mono", monospace;
}


/* ============================================================
   RESET
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;

    background: var(--black);
    color: var(--white);

    font-family: var(--display);

    overflow-x: hidden;
}

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


/* ============================================================
   GLOBAL
   ============================================================ */

.site-header,
.hero,
.tools,
.workspace,
.utility-strip,
.final,
.site-footer {
    width: min(1260px, calc(100% - 56px));
    margin-inline: auto;
}

.eyebrow,
.hero-label,
.header-meta,
.section-number,
.tool-index,
.tool-arrow,
.strip-label,
.site-footer,
.window-title,
.window-state,
.window-bottom,
.mini-heading,
.mini-content small {
    font-family: var(--mono);
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}

.brand {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.09em;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--muted);

    font-size: 0.57rem;
    letter-spacing: 0.08em;
}

.live-dot {
    width: 6px;
    height: 6px;

    background: var(--cyan);
    border-radius: 50%;

    box-shadow:
        0 0 12px rgba(88, 230, 255, 0.8);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    min-height: 760px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 90px 0;
}

.hero-label {
    position: absolute;
    top: 50%;
    left: 0;

    color: var(--muted);

    font-size: 0.58rem;
    letter-spacing: 0.08em;

    transform:
        translateY(-50%)
        rotate(-90deg);
}

.hero-content {
    width: 75%;
    padding-left: 8%;
}

.hero h1 {
    margin-top: 25px;

    font-size: clamp(5rem, 13vw, 11rem);
    font-weight: 700;
    line-height: 0.75;
    letter-spacing: -0.085em;
}

.hero h1 span {
    display: block;

    margin-left: 7vw;

    color: transparent;

    -webkit-text-stroke: 1px var(--white);
}

.hero h1 em {
    display: block;

    margin-left: 14vw;

    color: var(--cyan);

    font-style: normal;
}

.hero-description {
    max-width: 470px;

    margin-top: 42px;

    color: var(--muted);

    font-size: 0.98rem;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.button {
    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button-primary {
    background: var(--lime);
    color: var(--black);
}

.button-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.button span {
    font-size: 0.9rem;
}

.scroll-link {
    color: var(--muted);

    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    transition: color 0.2s ease;
}

.scroll-link span {
    margin-left: 8px;

    color: var(--cyan);
}

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


/* ============================================================
   HERO CLOCK
   ============================================================ */

.hero-clock {
    position: absolute;
    right: 4%;
    bottom: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.clock-ring {
    width: 170px;
    height: 170px;

    position: relative;

    border: 1px solid rgba(88, 230, 255, 0.32);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(88, 230, 255, 0.07),
            transparent 65%
        );
}

.clock-ring::before {
    content: "";

    position: absolute;
    inset: 13px;

    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.clock-mark {
    width: 5px;
    height: 5px;

    position: absolute;

    background: var(--cyan);
    border-radius: 50%;
}

.mark-12 {
    top: 12px;
    left: 50%;

    transform: translateX(-50%);
}

.mark-3 {
    top: 50%;
    right: 12px;

    transform: translateY(-50%);
}

.mark-6 {
    bottom: 12px;
    left: 50%;

    transform: translateX(-50%);
}

.mark-9 {
    top: 50%;
    left: 12px;

    transform: translateY(-50%);
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;

    width: 1px;

    transform-origin: bottom;

    background: var(--white);
}

.clock-hand.hour {
    height: 42px;

    transform: translateX(-50%) rotate(38deg);
}

.clock-hand.minute {
    height: 58px;

    background: var(--cyan);

    transform: translateX(-50%) rotate(135deg);
}

.clock-center {
    width: 8px;
    height: 8px;

    position: absolute;
    top: 50%;
    left: 50%;

    background: var(--lime);
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.clock-caption {
    color: var(--muted);

    font-family: var(--mono);
    font-size: 0.52rem;
    letter-spacing: 0.08em;
}


/* ============================================================
   TOOLS
   ============================================================ */

.tools {
    padding: 130px 0;

    border-top: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: 90px 1fr;
}

.section-number {
    color: var(--muted);

    font-size: 0.6rem;
}

.tools h2 {
    margin-top: 22px;

    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.8;
    letter-spacing: -0.085em;
}

.tools h2 span {
    display: block;

    color: var(--cyan);
}

.tool-list {
    margin-top: 80px;

    border-top: 1px solid var(--line);
}

.tool-row {
    min-height: 125px;

    display: grid;
    grid-template-columns: 70px 70px 1fr 50px;
    align-items: center;
    gap: 25px;

    border-bottom: 1px solid var(--line);

    transition:
        background 0.25s ease,
        padding 0.25s ease;
}

.tool-row:hover {
    padding-left: 12px;

    background:
        linear-gradient(
            90deg,
            rgba(88, 230, 255, 0.05),
            transparent
        );
}

.tool-index {
    color: var(--muted);

    font-size: 0.58rem;
}

.tool-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);

    color: var(--cyan);

    font-family: var(--mono);
    font-size: 0.9rem;
}

.tool-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.tool-name h3 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.055em;
}

.tool-name p {
    max-width: 380px;

    color: var(--muted);

    font-size: 0.76rem;
    line-height: 1.65;
}

.tool-arrow {
    color: var(--cyan);

    font-size: 0.85rem;
}


/* ============================================================
   WORKSPACE
   ============================================================ */

.workspace {
    padding: 130px 0;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;

    align-items: center;

    border-top: 1px solid var(--line);
}

.workspace-visual {
    padding: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(88, 230, 255, 0.06),
            transparent 55%
        );
}

.app-window {
    background: var(--navy);

    border: 1px solid var(--line);

    box-shadow:
        18px 18px 0 rgba(199, 255, 74, 0.045);
}

.window-top {
    min-height: 48px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}

.window-title,
.window-state,
.window-bottom {
    color: var(--muted);

    font-size: 0.52rem;
    letter-spacing: 0.08em;
}

.window-state {
    color: var(--cyan);
}

.window-body {
    min-height: 330px;

    display: grid;
    grid-template-columns: 58px 1fr;
}

.mini-sidebar {
    padding: 18px 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    border-right: 1px solid var(--line);
}

.mini-sidebar span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--muted);

    font-family: var(--mono);
    font-size: 0.62rem;
}

.mini-sidebar .active {
    background: var(--cyan);
    color: var(--black);
}

.mini-content {
    padding: 35px;
}

.mini-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--white);

    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.mini-content small {
    color: var(--muted);

    font-size: 0.48rem;
}

.mini-lines {
    margin-top: 38px;

    display: grid;
    gap: 12px;
}

.mini-lines i {
    height: 7px;

    display: block;

    background: rgba(242, 245, 245, 0.1);
}

.mini-lines i:nth-child(1) {
    width: 90%;
}

.mini-lines i:nth-child(2) {
    width: 70%;
}

.mini-lines i:nth-child(3) {
    width: 82%;
}

.mini-lines i:nth-child(4) {
    width: 54%;
}

.mini-card {
    margin-top: 45px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    border: 1px solid rgba(88, 230, 255, 0.18);
}

.mini-card strong {
    color: var(--cyan);

    font-family: var(--mono);
    font-size: 0.58rem;
}

.mini-card span {
    color: var(--muted);

    font-size: 0.72rem;
}

.window-bottom {
    min-height: 42px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--line);
}

.workspace-copy {
    max-width: 460px;
}

.workspace-copy h2 {
    margin-top: 25px;

    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.82;
    letter-spacing: -0.075em;
}

.workspace-copy h2 span {
    display: block;

    color: var(--cyan);
}

.workspace-copy p:last-child {
    margin-top: 34px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.8;
}


/* ============================================================
   UTILITY STRIP
   ============================================================ */

.utility-strip {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.strip-label {
    color: var(--muted);

    font-size: 0.55rem;
    letter-spacing: 0.08em;
}

.strip-items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.strip-items span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.strip-items b {
    color: var(--cyan);

    font-family: var(--mono);
    font-size: 0.65rem;
}


/* ============================================================
   FINAL
   ============================================================ */

.final {
    min-height: 700px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;

    text-align: center;
}

.final::before {
    content: "5";

    position: absolute;

    color: rgba(88, 230, 255, 0.025);

    font-family: var(--display);
    font-size: 35rem;
    font-weight: 700;
    line-height: 1;

    pointer-events: none;
}

.final > * {
    position: relative;
    z-index: 1;
}

.final h2 {
    margin-top: 25px;

    font-size: clamp(4.5rem, 11vw, 10rem);
    line-height: 0.76;
    letter-spacing: -0.09em;
}

.final h2 span {
    display: block;

    color: var(--lime);
}

.final-text {
    margin-top: 30px;

    color: var(--muted);

    font-size: 0.9rem;
}

.final .button {
    margin-top: 32px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    min-height: 100px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer > :nth-child(2) {
    text-align: center;
}

.site-footer > :last-child {
    text-align: right;

    transition: color 0.2s ease;
}

.site-footer > :last-child:hover {
    color: var(--cyan);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 950px) {

    .site-header,
    .hero,
    .tools,
    .workspace,
    .utility-strip,
    .final,
    .site-footer {
        width: min(100% - 40px, 1260px);
    }

    .hero-content {
        width: 85%;
        padding-left: 6%;
    }

    .hero-clock {
        right: 0;
    }

    .workspace {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .utility-strip {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 25px;
    }

    .strip-items {
        justify-content: flex-start;
    }
}


@media (max-width: 650px) {

    .site-header,
    .hero,
    .tools,
    .workspace,
    .utility-strip,
    .final,
    .site-footer {
        width: calc(100% - 28px);
    }

    .site-header {
        height: 72px;
    }

    .header-meta {
        display: none;
    }

    .hero {
        min-height: 680px;

        display: block;

        padding: 70px 0;
    }

    .hero-label {
        position: static;

        transform: none;

        font-size: 0.55rem;
    }

    .hero-content {
        width: 100%;

        margin-top: 55px;
        padding-left: 3%;
    }

    .hero h1 {
        font-size: clamp(4rem, 20vw, 7rem);
    }

    .hero h1 span {
        margin-left: 4vw;
    }

    .hero h1 em {
        margin-left: 8vw;
    }

    .hero-description {
        margin-top: 35px;
    }

    .hero-clock {
        right: 8px;
        bottom: 35px;
    }

    .clock-ring {
        width: 115px;
        height: 115px;
    }

    .clock-ring::before {
        inset: 9px;
    }

    .clock-hand.hour {
        height: 29px;
    }

    .clock-hand.minute {
        height: 39px;
    }

    .hero-clock .clock-caption {
        display: none;
    }

    .tools {
        padding: 90px 0;
    }

    .section-head {
        display: block;
    }

    .section-number {
        margin-bottom: 45px;
    }

    .tools h2 {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

    .tool-list {
        margin-top: 60px;
    }

    .tool-row {
        min-height: 155px;

        grid-template-columns: 40px 48px 1fr 20px;
        gap: 12px;
    }

    .tool-name {
        display: block;
    }

    .tool-name h3 {
        font-size: 1.6rem;
    }

    .tool-name p {
        margin-top: 7px;

        font-size: 0.67rem;
    }

    .workspace {
        padding: 90px 0;
    }

    .workspace-visual {
        padding: 12px;
    }

    .window-body {
        min-height: 280px;
    }

    .mini-content {
        padding: 25px 18px;
    }

    .workspace-copy h2 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .utility-strip {
        min-height: 220px;
        padding: 35px 0;
    }

    .strip-items {
        gap: 12px;
    }

    .strip-items span {
        font-size: 0.68rem;
    }

    .final {
        min-height: 580px;
    }

    .final h2 {
        font-size: clamp(4rem, 19vw, 6.5rem);
    }

    .final::before {
        font-size: 70vw;
    }

    .site-footer {
        min-height: 130px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 14px;
    }

    .site-footer > :nth-child(2),
    .site-footer > :last-child {
        text-align: left;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}