:root {
    --bg: #07090d;
    --bg-elev: #11151d;
    --surface: #151b26;
    --surface-alt: #1b2332;
    --text: #f0f4f9;
    --muted: #a7b4c7;
    --accent: #f1a208;
    --accent-2: #ef6f3a;
    --success: #2eaf7d;
    --danger: #d95757;
    --line: #2b3445;
    --shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --container: 1160px;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("/fonts/barlow-condensed-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(241, 162, 8, 0.18), transparent),
        radial-gradient(900px 560px at 0% 15%, rgba(239, 111, 58, 0.12), transparent),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(var(--container), calc(100% - 2.4rem));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 0.8rem;
    top: -3rem;
    z-index: 1000;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: #1a1a1a;
    font-weight: 700;
}

.skip-link:focus {
    top: 0.8rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(7, 9, 13, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-top-banner {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(241, 162, 8, 0.2);
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(24, 32, 47, 0.96));
}

.site-top-banner-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.32rem 0;
}

.site-top-banner p {
    margin: 0;
    color: #dde7f4;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-top-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(130deg, rgba(241, 162, 8, 0.92), rgba(239, 111, 58, 0.92));
    color: #151515;
    border: 1px solid rgba(241, 162, 8, 0.45);
    font-weight: 800;
    font-size: 0.76rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-top-banner a:hover,
.site-top-banner a:focus-visible {
    filter: brightness(1.05);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.75rem 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    color: #111;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.72rem;
}

.top-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    min-width: 52px;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hamburger-bars {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.hamburger-bars span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--text);
}

.top-nav a {
    padding: 0.56rem 0.72rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.22s ease, background-color 0.22s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.top-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(241, 162, 8, 0.18);
    border: 1px solid rgba(241, 162, 8, 0.38);
}

.top-nav .cta-nav {
    background: linear-gradient(130deg, var(--accent), var(--accent-2));
    color: #111;
    font-weight: 800;
    margin-left: 0.5rem;
}

main {
    padding-bottom: 3rem;
}

.hero {
    position: relative;
    min-height: clamp(540px, 85vh, 760px);
    border-radius: var(--radius-xl);
    overflow: clip;
    margin: 1rem auto 3.2rem;
    box-shadow: var(--shadow);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(5, 7, 10, 0.8), rgba(5, 7, 10, 0.2)),
        var(--hero-image, url("/uploads/demo/hero/hero-main.jpg"))
            center/cover no-repeat;
    transform-origin: center;
    animation: heroZoom 12s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 12, 0), rgba(6, 8, 12, 0.7) 95%);
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 6vw, 5rem);
    max-width: 760px;
}

.overline {
    font-family: "Barlow Condensed", sans-serif;
    color: var(--accent);
    letter-spacing: 0.12em;
    font-size: 0.88rem;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: "Barlow Condensed", sans-serif;
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin: 0 0 0.9rem;
}

h1 {
    font-size: clamp(2.3rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

h3 {
    font-size: clamp(1.2rem, 2.6vw, 1.85rem);
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.74rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(130deg, var(--accent), var(--accent-2));
    color: #121212;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(241, 162, 8, 0.38);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn.is-loading {
    cursor: wait;
}

.btn.is-loading::before {
    content: "";
    width: 0.92rem;
    height: 0.92rem;
    margin-right: 0.4rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: buttonSpinner 0.7s linear infinite;
}

@keyframes buttonSpinner {
    to {
        transform: rotate(360deg);
    }
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.section {
    margin-block: clamp(2.3rem, 6vw, 4.4rem);
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.4rem;
}

.section-header p {
    max-width: 56ch;
}

.kpi-grid,
.card-grid {
    display: grid;
    gap: 1rem;
}

.kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.kpi {
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

.kpi strong {
    display: block;
    font-size: 1.8rem;
    color: var(--text);
}

.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.8rem;
    background: linear-gradient(130deg, rgba(241, 162, 8, 0.28), rgba(239, 111, 58, 0.22));
    border: 1px solid rgba(241, 162, 8, 0.3);
    font-size: 1.2rem;
}

.split {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    position: relative;
    background: #0e121a;
}

.media-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chip {
    display: inline-flex;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    caption-side: top;
    text-align: left;
    padding: 0.75rem 0.94rem;
    color: var(--muted);
    font-size: 0.86rem;
}

th,
td {
    padding: 0.86rem 0.94rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
    color: var(--text);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

tr:last-child td {
    border-bottom: 0;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.plan .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.plan.popular {
    border-color: rgba(241, 162, 8, 0.5);
    transform: translateY(-4px);
}

.plan ul,
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.44rem;
    color: var(--muted);
}

.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.56rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--accent);
}

.before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.before-after figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.before-after figcaption {
    font-size: 0.8rem;
    text-align: center;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.35);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.blog-card {
    background: linear-gradient(180deg, #121724, #191f2d);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .content {
    padding: 1rem;
}

.notice {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.notice-success {
    border-color: rgba(46, 175, 125, 0.55);
    background: rgba(46, 175, 125, 0.18);
}

.notice-error {
    border-color: rgba(217, 87, 87, 0.65);
    background: rgba(217, 87, 87, 0.2);
    color: #ffe2e2;
}

.notice-error-list {
    margin-top: 0.45rem;
}

.flash {
    margin: 0;
    border-radius: var(--radius-md);
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.flash-success {
    border-color: rgba(46, 175, 125, 0.5);
    background: rgba(46, 175, 125, 0.16);
}

.flash-error {
    border-color: rgba(217, 87, 87, 0.45);
    background: rgba(217, 87, 87, 0.15);
}

.site-form {
    display: grid;
    gap: 0.9rem;
}

.site-form label {
    display: block;
    margin-bottom: 0.32rem;
    font-weight: 700;
}

.site-form input,
.site-form textarea,
.site-form select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: #0f1521;
    color: var(--text);
    padding: 0.66rem 0.7rem;
}

.site-form input[type="checkbox"] {
    width: auto;
}

.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.consent-line label {
    margin: 0;
    font-weight: 600;
}

.consent-line input[type="checkbox"] {
    margin-top: 0.25rem;
}

.site-form .form-error-message {
    color: #ffc9c9;
    margin-top: 0.2rem;
}

.site-form [aria-invalid="true"] {
    border-color: rgba(217, 87, 87, 0.9);
    box-shadow: 0 0 0 2px rgba(217, 87, 87, 0.22);
}

.site-form ul {
    margin: 0.25rem 0 0;
    padding-left: 1rem;
    color: #ffb7b7;
}

.contact-thread .card {
    display: grid;
    gap: 1.1rem;
    max-width: 980px;
    margin-inline: auto;
    padding: 1.15rem;
}

.thread-stream {
    display: grid;
    gap: 0.85rem;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.95), rgba(14, 21, 34, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    padding: 0.9rem;
    min-height: 240px;
}

.thread-bubble {
    position: relative;
    border-radius: 14px;
    padding: 0.78rem 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    width: fit-content;
    max-width: min(86%, 700px);
}

.thread-bubble.is-client {
    justify-self: end;
    background: linear-gradient(155deg, rgba(241, 162, 8, 0.3), rgba(239, 111, 58, 0.24));
    border-color: rgba(241, 162, 8, 0.55);
}

.thread-bubble.is-admin {
    justify-self: start;
    background: linear-gradient(150deg, rgba(24, 34, 53, 0.92), rgba(20, 32, 49, 0.88));
    border-color: rgba(151, 169, 198, 0.38);
}

.thread-bubble.is-client::after,
.thread-bubble.is-admin::after {
    content: "";
    position: absolute;
    bottom: 12px;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}

.thread-bubble.is-client::after {
    right: -5px;
    background: rgba(239, 111, 58, 0.78);
    border-right: 1px solid rgba(241, 162, 8, 0.55);
    border-top: 1px solid rgba(241, 162, 8, 0.55);
}

.thread-bubble.is-admin::after {
    left: -5px;
    background: rgba(20, 32, 49, 0.95);
    border-left: 1px solid rgba(151, 169, 198, 0.38);
    border-bottom: 1px solid rgba(151, 169, 198, 0.38);
}

.thread-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
}

.thread-meta strong {
    font-weight: 800;
}

.thread-meta time {
    color: rgba(240, 244, 249, 0.78);
    font-size: 0.78rem;
    white-space: nowrap;
}

.thread-bubble p {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.5;
}

.thread-reply-block {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    display: grid;
    gap: 0.65rem;
}

.thread-form {
    display: grid;
    gap: 0.8rem;
}

.thread-input {
    display: grid;
    gap: 0.38rem;
}

.thread-input textarea {
    width: 100%;
    min-height: 145px;
    border-radius: 12px;
    border: 1px solid rgba(241, 162, 8, 0.35);
    background: #0b1220;
    color: var(--text);
    padding: 0.78rem 0.82rem;
    resize: vertical;
    line-height: 1.45;
}

.thread-input textarea:focus {
    outline: 2px solid rgba(241, 162, 8, 0.35);
    border-color: rgba(241, 162, 8, 0.7);
}

.thread-help {
    color: rgba(240, 244, 249, 0.76);
    font-size: 0.82rem;
}

@media (max-width: 700px) {
    .contact-thread .card {
        padding: 0.9rem;
    }

    .thread-bubble {
        max-width: 100%;
    }

    .thread-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

.honeypot-field {
    position: absolute;
    left: -200vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    width: min(960px, calc(100% - 1.6rem));
    background: rgba(13, 18, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    z-index: 150;
    box-shadow: var(--shadow);
}

.cookie-banner p {
    margin-bottom: 0.7rem;
}

.cookie-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.cookie-dialog {
    border: 0;
    border-radius: var(--radius-lg);
    background: #111825;
    color: var(--text);
    width: min(460px, calc(100% - 1rem));
}

.cookie-dialog::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.cookie-form {
    display: grid;
    gap: 0.8rem;
}

.cookie-form label {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.legal-content {
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 4vw, 2rem);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.5fr 1fr 1fr;
}

.site-footer h2 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.site-footer li {
    margin-bottom: 0.45rem;
}

.site-footer a {
    color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--text);
}

.login-page {
    display: grid;
    place-items: center;
    min-height: 90vh;
    padding: 1rem;
}

.login-form {
    width: min(460px, 100%);
    padding: 1.4rem;
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
}

.login-form label {
    display: block;
    margin: 0.5rem 0 0.3rem;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #0f1521;
    color: var(--text);
    padding: 0.65rem 0.7rem;
}

.password-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
}

.password-toggle {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text);
    padding: 0.45rem 0.6rem;
    cursor: pointer;
}

.remember-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    color: var(--muted);
}

.remember-line input {
    width: auto;
}

.login-submit {
    margin-top: 0.9rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.72rem;
    font-weight: 800;
    background: linear-gradient(130deg, var(--accent), var(--accent-2));
    color: #151515;
    cursor: pointer;
}

.login-submit:disabled {
    cursor: wait;
    opacity: 0.9;
}

.login-submit.is-loading::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid rgba(21, 21, 21, 0.35);
    border-top-color: #151515;
    border-radius: 50%;
    animation: loginSpinner 0.7s linear infinite;
}

@keyframes loginSpinner {
    to {
        transform: rotate(360deg);
    }
}

.login-error {
    color: #ffd7d7;
    background: rgba(217, 87, 87, 0.2);
    border: 1px solid rgba(217, 87, 87, 0.42);
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
}

:focus-visible {
    outline: 3px solid rgba(241, 162, 8, 0.6);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .site-header .container {
        position: relative;
    }

    .nav-wrap {
        align-items: center;
    }

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

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

    .site-top-banner a {
        min-height: 34px;
        padding-inline: 0.8rem;
        font-size: 0.74rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .top-nav {
        display: none;
        width: min(340px, calc(100% - 0.5rem));
        justify-content: center;
        background: rgba(7, 9, 13, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-md);
        padding: 0.65rem;
        margin-top: 0.55rem;
        position: absolute;
        right: 0;
        top: calc(100% - 0.2rem);
        z-index: 120;
        box-shadow: var(--shadow);
    }

    .top-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.42rem;
    }

    .top-nav a {
        display: block;
        text-align: center;
        font-size: 0.98rem;
        padding: 0.78rem 0.8rem;
        min-height: 48px;
    }

    .top-nav .cta-nav {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .nav-wrap {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.7rem;
    }

    .hero {
        margin-top: 0.6rem;
        border-radius: var(--radius-lg);
    }

    .hero-content {
        padding: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .hero::before {
        transform: none !important;
    }
}
