:root {
    --brand: #4f46e5;
    --brand-dark: #3730a3;
    --ink: #09090b;
    --paper: #fafafa;
    --muted: #62626b;
    --line: #e4e4e7;
    --green: #10b981;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100svh;
    overflow: hidden;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    background-color: var(--paper);
    background-image: radial-gradient(#d4d4d8 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-font-smoothing: antialiased;
}

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

.page-glow {
    position: fixed;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.16;
    pointer-events: none;
}

.page-glow--one {
    top: -15rem;
    right: -7rem;
    background: var(--brand);
}

.page-glow--two {
    bottom: -18rem;
    left: -10rem;
    background: var(--green);
    opacity: 0.09;
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 48px));
    min-height: 100svh;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.site-header {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(212, 212, 216, 0.82);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    grid-auto-flow: column;
    gap: 0;
    color: #fff;
    background: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 9px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.82);
    font-family: "Sora", sans-serif;
    font-size: 22px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-mark {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.82);
}

.brand-cursor {
    color: var(--brand);
    animation: blink 1.1s steps(1) infinite;
}

.brand-name {
    font-family: "Sora", sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.brand-name span {
    color: var(--brand);
}

.build-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #3f3f46;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.build-pill__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
    animation: pulse 1.8s ease-in-out infinite;
}

.hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.75fr);
    gap: clamp(48px, 7vw, 100px);
    align-items: center;
    padding: 42px 0 30px;
}

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

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eyebrow__line {
    width: 46px;
    height: 2px;
    background: var(--brand);
}

h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

h1 span {
    display: block;
    margin-top: 8px;
    color: var(--green);
    text-shadow: 0 0 28px rgba(16, 185, 129, 0.18);
}

.lead {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.7;
}

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

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.service-list span {
    padding: 8px 12px;
    color: #52525b;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 690px;
    margin-top: 28px;
}

.contact-button {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.contact-button small {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.64;
}

.contact-button__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.contact-button__icon svg {
    width: 20px;
    height: 20px;
}

.contact-button--primary {
    color: #fff;
    background: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 rgba(79, 70, 229, 0.24);
}

.contact-button--primary:hover {
    box-shadow: 7px 7px 0 rgba(79, 70, 229, 0.2);
}

.contact-button--primary .contact-button__icon {
    color: #fff;
    background: var(--brand);
}

.contact-button--secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.86);
    border: 2px solid #d4d4d8;
}

.contact-button--secondary:hover {
    border-color: rgba(79, 70, 229, 0.7);
    box-shadow: 0 16px 35px -22px rgba(79, 70, 229, 0.8);
}

.contact-button--secondary .contact-button__icon {
    color: var(--brand);
    background: rgba(79, 70, 229, 0.1);
}

.microcopy {
    margin: 14px 0 0;
    color: #71717a;
    font-size: 12px;
}

.build-card {
    width: 100%;
    max-width: 470px;
    justify-self: end;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 14px;
    box-shadow: 11px 11px 0 rgba(0, 0, 0, 0.82);
    transform: rotate(1.3deg);
}

.terminal-bar {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-bottom: 1px solid #3f3f46;
}

.terminal-bar > span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.terminal-bar > span:nth-child(1) { background: #ef4444; }
.terminal-bar > span:nth-child(2) { background: #eab308; }
.terminal-bar > span:nth-child(3) { background: var(--green); }

.terminal-bar p {
    margin: 0 0 0 auto;
    color: #71717a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.terminal-content {
    padding: 34px;
}

.terminal-label {
    margin: 0 0 12px;
    color: #34d399;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.terminal-content h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.terminal-cursor {
    color: var(--brand);
    animation: blink 1.1s steps(1) infinite;
}

.status-list {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.status-list > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    color: #71717a;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.status-icon--done {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(16, 185, 129, 0.09);
}

.status-icon--active::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.16);
    animation: pulse 1.8s ease-in-out infinite;
}

.status-list p {
    margin: 0;
}

.status-list strong,
.status-list small {
    display: block;
}

.status-list strong {
    font-size: 14px;
}

.status-list small {
    margin-top: 3px;
    color: #8f8f99;
    font-size: 12px;
}

.quote-box {
    margin-top: 32px;
    padding: 18px 20px;
    background: linear-gradient(105deg, rgba(79, 70, 229, 0.22), rgba(16, 185, 129, 0.07));
    border: 1px solid rgba(99, 102, 241, 0.42);
    border-radius: 10px;
}

.quote-box span,
.quote-box strong {
    display: block;
}

.quote-box span {
    margin-bottom: 5px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.quote-box strong {
    font-size: 16px;
}

.site-footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #71717a;
    border-top: 1px solid rgba(212, 212, 216, 0.82);
    font-size: 11px;
}

.site-footer p {
    margin: 0;
}

@keyframes blink {
    0%, 48% { opacity: 1; }
    49%, 100% { opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.82); opacity: 0.72; }
}

@media (max-width: 980px) {
    body {
        overflow-y: auto;
    }

    .site-shell {
        min-height: 100svh;
        width: min(100% - 34px, 760px);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 38px 0 28px;
    }

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

    .build-card {
        display: none;
    }
}

@media (max-width: 640px) {
    body {
        overflow-y: auto;
    }

    .site-shell {
        width: min(100% - 28px, 560px);
    }

    .site-header {
        height: 78px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 18px;
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.82);
    }

    .brand-name {
        font-size: 20px;
    }

    .build-pill {
        width: 38px;
        height: 38px;
        justify-content: center;
        padding: 0;
        font-size: 0;
    }

    .hero {
        align-content: center;
        padding: 28px 0 20px;
    }

    .eyebrow {
        margin-bottom: 16px;
        font-size: 10px;
    }

    .eyebrow__line {
        width: 34px;
    }

    h1 {
        font-size: clamp(38px, 12.5vw, 53px);
    }

    .lead {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.55;
    }

    .service-list {
        margin-top: 18px;
    }

    .service-list span {
        padding: 7px 9px;
        font-size: 11px;
    }

    .contact-actions {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .contact-button {
        min-height: 64px;
        padding: 10px 14px;
        font-size: 15px;
    }

    .contact-button__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .microcopy {
        display: none;
    }

    .site-footer {
        min-height: 48px;
        justify-content: center;
        text-align: center;
    }

    .site-footer p:last-child {
        display: none;
    }
}

@media (max-height: 760px) and (min-width: 981px) {
    .site-header {
        height: 78px;
    }

    .hero {
        padding: 24px 0 18px;
    }

    h1 {
        font-size: clamp(42px, 4.2vw, 62px);
    }

    .lead {
        margin-top: 18px;
        line-height: 1.55;
    }

    .service-list {
        margin-top: 17px;
    }

    .contact-actions {
        margin-top: 20px;
    }

    .microcopy {
        display: none;
    }

    .terminal-content {
        padding: 27px 30px;
    }

    .status-list {
        gap: 15px;
        margin-top: 24px;
    }

    .quote-box {
        margin-top: 24px;
    }

    .site-footer {
        min-height: 46px;
    }
}

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