:root {
    --bg: #08100b;
    --panel: #101913;
    --panel-2: #142019;
    --line: rgba(125, 255, 178, .18);
    --line-strong: rgba(125, 255, 178, .48);
    --phos: #7dffb2;
    --phos-soft: #b9ffd6;
    --phos-dim: #55a97c;
    --amber: #ffc46b;
    --red: #ff6b6b;
    --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 520px at 50% -8%, rgba(125, 255, 178, .08), transparent 65%),
        linear-gradient(rgba(125, 255, 178, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 255, 178, .035) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
    color: var(--phos);
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.7;
}

body::before {
    position: fixed;
    z-index: 9000;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0 2px,
        rgba(0, 0, 0, .3) 3px,
        rgba(0, 0, 0, 0) 4px
    );
    content: "";
    opacity: .5;
    pointer-events: none;
}

body::after {
    position: fixed;
    z-index: 9001;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .55) 100%);
    content: "";
    pointer-events: none;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 9500;
    padding: 10px 14px;
    background: var(--phos);
    color: #04120a;
    font-size: 12px;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

/* header */

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(8, 16, 11, .9);
    backdrop-filter: blur(6px);
}

.nav-wrap {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-badge {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: rgba(125, 255, 178, .12);
    box-shadow: 0 0 18px rgba(125, 255, 178, .12), inset 0 0 12px rgba(125, 255, 178, .12);
    color: var(--phos);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.brand-text {
    color: var(--phos-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.45;
}

.brand-text small {
    display: block;
    color: var(--phos-dim);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .18em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 30px);
}

.main-nav a {
    padding: 8px 10px;
    color: var(--phos-soft);
    font-size: 11px;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .16s ease, color .16s ease;
}

.main-nav a:hover {
    background: rgba(125, 255, 178, .12);
    color: var(--phos);
}

.main-nav .nav-cta {
    border: 1px solid var(--line-strong);
    color: var(--phos);
}

.main-nav .nav-cta:hover {
    background: var(--phos);
    color: #04120a;
}

/* hero */

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 84px;
}

.prompt-line {
    margin-bottom: 22px;
    color: var(--amber);
    font-size: 12px;
    letter-spacing: .16em;
}

.caret {
    display: inline-block;
    width: 9px;
    height: 1em;
    margin-left: 8px;
    background: var(--phos);
    vertical-align: text-bottom;
    animation: blink 1.1s steps(1, end) infinite;
}

.hero h1 {
    max-width: 620px;
    margin-bottom: 22px;
    color: #eafff2;
    font-size: clamp(34px, 5.2vw, 58px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero h1 .hl {
    color: var(--phos);
    text-shadow: 0 0 18px rgba(125, 255, 178, .45);
}

.lead {
    max-width: 500px;
    margin-bottom: 24px;
    color: #a8c7b7;
    font-size: 14px;
    line-height: 1.85;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.chips span {
    padding: 4px 9px;
    border: 1px solid var(--line);
    background: rgba(125, 255, 178, .06);
    color: var(--phos-dim);
    font-size: 10px;
    letter-spacing: .18em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.btn-solid {
    background: var(--phos);
    color: #04120a;
    box-shadow: 0 0 24px rgba(125, 255, 178, .28);
}

.btn-solid:hover {
    background: var(--phos-soft);
    box-shadow: 0 0 32px rgba(125, 255, 178, .45);
}

.btn-ghost {
    color: var(--phos);
}

.btn-ghost:hover {
    background: rgba(125, 255, 178, .14);
}

/* monitor */

.monitor-wrap {
    position: relative;
}

.monitor {
    position: relative;
    padding: 20px 20px 16px;
    border: 1px solid #33443a;
    border-radius: 14px;
    background: linear-gradient(180deg, #2b372f, #18211b 55%, #101713);
    box-shadow:
        0 32px 60px rgba(0, 0, 0, .6),
        inset 0 1px 0 rgba(255, 255, 255, .09);
}

.monitor-screen {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 3;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    padding: clamp(14px, 3vw, 26px);
    border: 1px solid #3f5c4b;
    border-radius: 12px / 16px;
    background: radial-gradient(ellipse at center, #0e2f1d 0%, #061109 78%);
    box-shadow:
        inset 0 0 70px rgba(0, 0, 0, .8),
        inset 0 0 26px rgba(125, 255, 178, .14);
}

.monitor-screen::after {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0 2px,
        rgba(0, 0, 0, .35) 3px
    );
    content: "";
    pointer-events: none;
}

.screen-line {
    margin: 0;
    color: var(--phos);
    font-size: clamp(9px, 1.5vw, 13px);
    letter-spacing: .16em;
    line-height: 1.9;
    text-shadow: 0 0 10px rgba(125, 255, 178, .55);
}

.screen-line.dim {
    color: var(--phos-dim);
    text-shadow: none;
}

.screen-line.blank {
    line-height: 1;
}

.screen-caret {
    display: inline-block;
    width: 8px;
    height: .8em;
    margin-left: 6px;
    background: var(--phos);
    vertical-align: -1px;
    animation: blink 1.1s steps(1, end) infinite;
}

.monitor-stripe {
    display: flex;
    height: 6px;
    margin: 14px 4px 0;
    overflow: hidden;
}

.monitor-stripe i {
    flex: 1;
}

.monitor-stripe i:nth-child(1) { background: #d6001c; }
.monitor-stripe i:nth-child(2) { background: #ffd400; }
.monitor-stripe i:nth-child(3) { background: #00a651; }
.monitor-stripe i:nth-child(4) { background: #00a0e3; }
.monitor-stripe i:nth-child(5) { background: #e6007e; }

.monitor-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 4px;
}

.monitor-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--phos);
    box-shadow: 0 0 12px rgba(125, 255, 178, .9);
}

.monitor-brand {
    color: #8ba192;
    font-size: 9px;
    letter-spacing: .3em;
}

.monitor-base {
    width: 62%;
    height: 16px;
    margin: 0 auto;
    border: 1px solid #2c3a32;
    border-top: none;
    background: linear-gradient(#1b251f, #0d1410);
}

/* ticker */

.ticker {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(125, 255, 178, .05);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: slide 42s linear infinite;
}

.ticker-track span {
    padding: 12px 0;
    color: var(--phos-dim);
    font-size: 10px;
    letter-spacing: .3em;
    white-space: nowrap;
}

/* sections */

.section {
    padding: 84px 0;
}

.section-shop {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(125, 255, 178, .03);
}

.section-head {
    max-width: 720px;
    margin-bottom: 42px;
}

.kicker {
    margin-bottom: 14px;
    color: var(--amber);
    font-size: 11px;
    letter-spacing: .26em;
}

.section h2 {
    margin-bottom: 12px;
    color: #eafff2;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.15;
    text-transform: uppercase;
}

.section-sub {
    margin: 0;
    color: #94ad9f;
    font-size: 13px;
    line-height: 1.85;
}

/* log */

.log-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.log-item {
    display: grid;
    grid-template-columns: 72px 1fr 120px;
    align-items: start;
    gap: 22px;
    padding: 26px 18px 26px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color .18s ease, padding-left .18s ease;
}

.log-item:hover {
    padding-left: 14px;
    background: rgba(125, 255, 178, .05);
}

.log-index {
    color: var(--phos-dim);
    font-size: 12px;
    letter-spacing: .18em;
}

.log-body h3 {
    margin-bottom: 8px;
    color: var(--phos-soft);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
}

.log-body p {
    max-width: 640px;
    margin: 0;
    color: #94ad9f;
    font-size: 13px;
    line-height: 1.85;
}

.log-tag {
    justify-self: end;
    padding: 3px 8px;
    border: 1px solid var(--line);
    color: var(--phos-dim);
    font-size: 9px;
    letter-spacing: .18em;
}

/* micros */

.micro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.micro-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.micro-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.tape {
    position: relative;
    display: flex;
    aspect-ratio: 16 / 9;
    flex-direction: column;
    justify-content: space-between;
    margin: 16px 16px 0;
    padding: 12px;
    border: 1px solid #33443a;
    border-radius: 6px;
    background: linear-gradient(180deg, #1d2823, #131b17);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.tape::before {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(125, 255, 178, .1);
    border-radius: 3px;
    content: "";
    pointer-events: none;
}

.tape-label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    background: var(--tape);
    color: #0a0f0c;
}

.tape-label b {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
}

.tape-label i {
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .1em;
}

.tape-window {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    height: 46%;
    border: 1px solid rgba(125, 255, 178, .16);
    border-radius: 3px;
    background: rgba(4, 10, 7, .75);
}

.tape-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border: 1px solid rgba(125, 255, 178, .16);
    border-radius: 3px;
    background: rgba(4, 10, 7, .75);
    object-fit: cover;
}

.photo-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px 0;
}

.photo-thumb {
    width: 48px;
    height: 34px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(125, 255, 178, .22);
    border-radius: 3px;
    background: rgba(4, 10, 7, .75);
    cursor: pointer;
    opacity: .55;
    transition: opacity .15s ease, border-color .15s ease;
}

.photo-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-thumb:hover,
.photo-thumb.is-active {
    border-color: var(--phos);
    opacity: 1;
}

.tape-window i {
    display: block;
    width: 26%;
    aspect-ratio: 1;
    border: 2px solid rgba(125, 255, 178, .35);
    border-radius: 50%;
    background: radial-gradient(circle, #0b1a12 0 28%, #16241c 30% 100%);
}

.micro-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 22px;
}

.micro-kicker {
    margin-bottom: 8px;
    color: var(--amber);
    font-size: 9px;
    letter-spacing: .2em;
}

.micro-info h3 {
    margin-bottom: 10px;
    color: #eafff2;
    font-size: 21px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.micro-info > p {
    margin-bottom: 16px;
    color: #94ad9f;
    font-size: 12px;
    line-height: 1.8;
}

.specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.specs li {
    padding: 3px 7px;
    border: 1px solid var(--line);
    color: var(--phos-dim);
    font-size: 9px;
    letter-spacing: .12em;
}

.micro-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.price {
    color: var(--phos);
    font-size: 10px;
    letter-spacing: .16em;
    line-height: 1.35;
    text-transform: uppercase;
}

.price small {
    display: block;
    color: #6f8b7c;
    font-size: 8px;
    letter-spacing: .2em;
}

.btn-small {
    min-height: 36px;
    padding: 0 14px;
    font-size: 10px;
}

.btn-small:hover {
    background: var(--phos);
    color: #04120a;
}

.btn-proposal {
    border-color: #d3a66d;
    background: #d3a66d;
    color: #101713;
    font-weight: 700;
    letter-spacing: .08em;
}

.btn-proposal:hover {
    border-color: #e8bd7f;
    background: #e8bd7f;
    color: #101713;
}

.shop-note {
    margin: 26px 0 0;
    color: #6f8b7c;
    font-size: 11px;
    letter-spacing: .06em;
}

/* contato */

.contact-box {
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(rgba(125, 255, 178, .05), rgba(125, 255, 178, .02)),
        var(--panel-2);
    box-shadow: inset 0 0 60px rgba(125, 255, 178, .06);
}

.contact-box h2 {
    margin-bottom: 12px;
}

.contact-box > p:not(.prompt-line):not(.contact-slot) {
    max-width: 560px;
    margin-bottom: 24px;
    color: #94ad9f;
    font-size: 13px;
    line-height: 1.85;
}

.contact-slot {
    display: inline-block;
    margin: 0;
    padding: 10px 14px;
    border: 1px dashed var(--line-strong);
    color: var(--phos);
    font-size: 11px;
    letter-spacing: .2em;
}

/* footer */

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(4, 10, 7, .6);
}

.footer-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-inner span {
    color: #6f8b7c;
    font-size: 9px;
    letter-spacing: .2em;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .monitor {
        max-width: 460px;
        margin: 0 auto;
    }

    .micro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .log-item {
        grid-template-columns: 52px 1fr;
    }

    .log-tag {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 36px, 480px);
    }

    .nav-wrap {
        min-height: 74px;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .brand-text {
        font-size: 10px;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }

    .main-nav a {
        padding: 6px 8px;
        font-size: 10px;
        letter-spacing: .12em;
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .lead {
        font-size: 13px;
    }

    .section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .log-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-right: 0;
    }

    .log-index {
        margin-bottom: 2px;
    }

    .log-tag {
        grid-column: 1;
    }

    .micro-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        min-height: 0;
        flex-wrap: wrap;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ticker-track,
    .caret,
    .screen-caret {
        animation: none;
    }

    .micro-card,
    .log-item,
    .btn {
        transition: none;
    }
}
