/* =========================================================
   SkVision — shared system
   ========================================================= */

:root {
    --ink: #0a0f10;
    --ink-soft: #121a1b;
    --ink-3: #1b2626;
    --paper: #f3f4ef;
    --paper-2: #eceee8;
    --surface: #fbfcf8;
    --surface-mint: #e8f1ec;
    --white: #fbfcf8;
    --text: #101817;
    --muted: #66716d;
    --muted-light: #96a5a0;
    --line: #d7dcd5;
    --line-dark: rgba(204, 226, 218, 0.16);
    --accent: #74f5d3;
    --accent-deep: #159d7e;
    --accent-ink: #0b6856;
    --accent-soft: #d8f7ed;
    --amber: #ffb65e;
    --danger: #e65f58;
    --font-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-display: "Bahnschrift", "DIN Alternate", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
    --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    --container: 1240px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow: 0 24px 70px rgba(12, 24, 21, .1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-sans);
}

img,
svg {
    display: block;
}

button,
input {
    font: inherit;
}

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

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

button {
    color: inherit;
}

p,
h1,
h2,
h3,
h4 {
    margin: 0;
}

::selection {
    color: var(--ink);
    background: var(--accent);
}

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

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.mono {
    font-family: var(--font-mono);
}

.button {
    min-height: 52px;
    padding: 0 23px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .01em;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s var(--ease);
}

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

.button .icon {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.button:hover .icon {
    transform: translateX(3px);
}

.button-sm {
    min-height: 42px;
    padding-inline: 17px;
    font-size: 13px;
}

.button-accent {
    color: #06120f;
    background: var(--accent);
    border-color: var(--accent);
}

.button-accent:hover {
    background: #9affdf;
    border-color: #9affdf;
}

.button-primary {
    color: #06120f;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(21, 157, 126, .12);
}

.button-primary:hover {
    background: #9affdf;
    border-color: #9affdf;
    box-shadow: 0 14px 34px rgba(21, 157, 126, .18);
}

.button-light {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

.button-light:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.button-dark {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

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

.button-ghost-light {
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .22);
    background: transparent;
}

.button-ghost-light:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .04);
}

.button-block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 650;
}

.text-link > .icon {
    width: 17px;
    height: 17px;
}

.light-link {
    color: #4d5b56;
}

.round-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: .7;
    transition: background .25s ease, color .25s ease, opacity .25s ease;
}

.round-arrow .icon {
    width: 16px;
    height: 16px;
}

.light-link:hover .round-arrow {
    color: var(--ink);
    background: var(--accent);
    border-color: var(--accent);
    opacity: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow i {
    width: 19px;
    height: 1px;
    background: currentColor;
    position: relative;
}

.eyebrow i::after {
    content: "";
    position: absolute;
    right: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    border: 1px solid currentColor;
    background: var(--paper);
    transform: rotate(45deg);
}

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

.eyebrow.light i::after {
    background: var(--ink);
}

.eyebrow.dark {
    color: #57635f;
}

[data-reveal] {
    transform: translateY(22px);
    transition: transform .75s var(--ease) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    transform: none;
}

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    [data-reveal] {
        transform: none;
    }
}

/* =========================================================
   Brand / header
   ========================================================= */

.brand-link {
    display: inline-flex;
    align-items: center;
}

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

.brand-lockup-image {
    gap: 11px;
}

.brand-image {
    width: auto;
    height: 40px;
    max-width: 51px;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(20, 53, 110, .08);
    mix-blend-mode: multiply;
}

.site-header .brand-image,
.auth-header .brand-image {
    height: 38px;
    max-width: 49px;
}

.workspace-sidebar .brand-image {
    height: 36px;
    max-width: 46px;
}

.site-footer .brand-image {
    height: 44px;
    max-width: 56px;
    box-shadow: none;
    mix-blend-mode: normal;
}

.brand-mark {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.brand-word {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-word strong {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.03em;
}

.brand-word small {
    margin-top: 5px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .18em;
    opacity: .55;
}

.site-header {
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--text);
    background: rgba(250, 252, 248, .76);
    border-bottom: 1px solid rgba(18, 35, 30, .09);
    backdrop-filter: blur(18px);
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.is-scrolled {
    position: fixed;
    background: rgba(251, 252, 248, .94);
    border-color: rgba(18, 35, 30, .1);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1380px, calc(100% - 64px));
    height: 82px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
}

.primary-nav a {
    position: relative;
    font-size: 15px;
    color: #52615b;
    transition: color .2s ease;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 1px;
    background: var(--accent);
    transition: right .3s var(--ease);
}

.primary-nav a:hover {
    color: var(--accent-ink);
}

.primary-nav a:hover::after {
    right: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-login {
    color: #52615b;
    font-size: 15px;
}

.header-login .icon {
    width: 17px;
    height: 17px;
}

.header-login:hover {
    color: var(--accent-ink);
}

.site-header .brand-mark {
    color: var(--accent-deep);
}

.site-header .button-light {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.site-header .button-light:hover {
    color: var(--ink);
    background: var(--accent);
    border-color: var(--accent);
}

.menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    display: none;
    place-items: center;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 1px;
    background: currentColor;
    grid-area: 1 / 1;
    transition: transform .25s ease;
}

.menu-toggle span:first-child {
    transform: translateY(-4px);
}

.menu-toggle span:last-child {
    transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
}

/* =========================================================
   Home / hero
   ========================================================= */

.home-page {
    background: var(--paper);
}

.hero {
    min-height: 900px;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 44%, rgba(45, 164, 135, .16), transparent 37%),
        linear-gradient(135deg, #f9fbf7 0%, #eaf3ee 58%, #e1eee8 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .7;
    background-image:
        linear-gradient(rgba(36, 91, 76, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 91, 76, .075) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-grid::before,
.hero-grid::after {
    content: "";
    position: absolute;
    background: rgba(21, 157, 126, .28);
}

.hero-grid::before {
    width: 1px;
    height: 120px;
    left: 9%;
    top: 0;
}

.hero-grid::after {
    width: 180px;
    height: 1px;
    right: 3%;
    bottom: 140px;
}

.hero-glow {
    position: absolute;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(21, 157, 126, .17);
    border-radius: 50%;
    right: -250px;
    top: 40px;
    box-shadow:
        0 0 0 80px rgba(21, 157, 126, .028),
        0 0 0 160px rgba(21, 157, 126, .014);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    gap: 70px;
    align-items: center;
}

.hero-copy {
    padding-top: 16px;
    animation: hero-copy-in .85s var(--ease) both;
}

@keyframes hero-copy-in {
    from { transform: translateY(22px); }
    to { transform: none; }
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 31px;
    color: #73817b;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .13em;
}

.signal-pulse {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(116, 245, 211, .32);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.signal-pulse i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: signal 2.2s ease-in-out infinite;
}

.kicker-index {
    margin-left: 6px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    opacity: .65;
}

@keyframes signal {
    0%, 100% { opacity: .4; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero h1 {
    max-width: 670px;
    font-family: var(--font-display);
    font-size: clamp(52px, 5.7vw, 86px);
    font-weight: 550;
    line-height: 1.05;
    letter-spacing: -.05em;
}

.hero h1 span {
    display: block;
    color: var(--accent-deep);
}

.hero-lede {
    max-width: 535px;
    margin-top: 32px;
    color: #63716b;
    font-size: 17px;
    line-height: 1.95;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.hero-metrics {
    display: flex;
    gap: 44px;
    margin-top: 68px;
    padding-top: 28px;
    border-top: 1px solid rgba(18, 48, 39, .14);
}

.hero-metrics > div {
    display: flex;
    flex-direction: column;
}

.hero-metrics strong {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.hero-metrics strong small {
    color: var(--accent-ink);
    font-size: 13px;
    font-weight: 500;
}

.hero-metrics > div > span {
    margin-top: 4px;
    color: #7b8883;
    font-size: 12px;
    letter-spacing: .06em;
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 610px);
    padding: 16px 0 26px;
    animation: hero-visual-in 1s var(--ease) .12s both;
}

@keyframes hero-visual-in {
    from { transform: translateY(20px) scale(.985); }
    to { transform: none; }
}

.console-shadow {
    position: absolute;
    inset: 18% 4% 4% 5%;
    background: rgba(33, 181, 149, .16);
    filter: blur(60px);
}

.inspection-console {
    position: relative;
    padding: 0 18px 18px;
    color: #dffcf3;
    border: 1px solid rgba(129, 184, 169, .24);
    background: linear-gradient(155deg, rgba(18, 29, 29, .96), rgba(9, 16, 17, .98));
    box-shadow:
        0 45px 100px rgba(0, 0, 0, .4),
        inset 0 1px rgba(255, 255, 255, .04);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.inspection-console::before,
.inspection-console::after {
    content: "";
    position: absolute;
    width: 44px;
    height: 1px;
    top: 50%;
    background: var(--accent);
    opacity: .4;
}

.inspection-console::before {
    left: -23px;
}

.inspection-console::after {
    right: -23px;
}

.console-head {
    height: 53px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    color: rgba(218, 244, 236, .49);
}

.console-id {
    display: flex;
    align-items: center;
    gap: 9px;
}

.console-id i {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.console-live {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
}

.console-live b {
    width: 24px;
    height: 9px;
    display: block;
    border: 1px solid rgba(116, 245, 211, .4);
    position: relative;
}

.console-live b::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: var(--accent);
    animation: live-bar 1.8s steps(3) infinite;
}

@keyframes live-bar {
    0%, 60% { transform: scaleX(1); transform-origin: left; }
    61%, 100% { transform: scaleX(.45); transform-origin: left; }
}

.console-stage {
    position: relative;
    height: 470px;
    overflow: hidden;
    border: 1px solid rgba(143, 190, 179, .13);
    background:
        radial-gradient(circle at 50% 60%, rgba(43, 113, 99, .13), transparent 52%),
        #070d0e;
}

.stage-grid {
    position: absolute;
    inset: 0;
    opacity: .48;
    background-image:
        linear-gradient(rgba(133, 183, 172, .09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133, 183, 172, .09) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.stage-mark {
    position: absolute;
    z-index: 2;
    width: 18px;
    height: 18px;
    border-color: rgba(116, 245, 211, .55);
    border-style: solid;
}

.mark-tl { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.mark-tr { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.mark-bl { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; }
.mark-br { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }

.part-graphic {
    position: absolute;
    z-index: 2;
    inset: 8% 5% 6%;
    width: 90%;
    height: 86%;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .4));
}

.scan-beam {
    position: absolute;
    z-index: 4;
    left: 3%;
    right: 3%;
    top: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(116, 245, 211, .85), transparent);
    box-shadow: 0 0 18px rgba(116, 245, 211, .7);
    animation: scan 4.2s var(--ease) infinite;
}

.scan-beam::after {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 2px;
    height: 60px;
    background: linear-gradient(180deg, rgba(116, 245, 211, .13), transparent);
}

@keyframes scan {
    0%, 10% { transform: translateY(0); opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    90%, 100% { transform: translateY(230px); opacity: 0; }
}

.reticle {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 27%;
    width: 85px;
    height: 85px;
    transform: translate(-50%, -50%);
}

.reticle i {
    position: absolute;
    background: var(--accent);
    opacity: .6;
}

.reticle i:nth-child(1) {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}

.reticle i:nth-child(2) {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}

.reticle span {
    position: absolute;
    inset: 25px;
    border: 1px solid rgba(116, 245, 211, .45);
    border-radius: 50%;
}

.measure-tag {
    position: absolute;
    z-index: 6;
    min-width: 120px;
    padding: 9px 12px;
    border-left: 1px solid var(--accent);
    background: rgba(8, 19, 18, .82);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
}

.measure-tag span {
    display: block;
    color: rgba(207, 240, 230, .42);
    font-size: 9px;
    letter-spacing: .09em;
}

.measure-tag strong {
    display: block;
    margin-top: 2px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
}

.tag-one {
    top: 29%;
    right: 4%;
}

.tag-two {
    bottom: 20%;
    left: 5%;
}

.stage-coordinate {
    position: absolute;
    z-index: 5;
    right: 17px;
    bottom: 12px;
    color: rgba(185, 221, 212, .33);
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .06em;
}

.console-data {
    display: grid;
    grid-template-columns: 1.15fr .8fr .8fr;
    padding-top: 17px;
}

.console-data > div {
    padding: 0 17px;
    border-left: 1px solid rgba(158, 199, 189, .12);
}

.console-data > div:first-child {
    padding-left: 3px;
    border-left: 0;
}

.console-data span {
    display: block;
    color: rgba(210, 240, 232, .35);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
}

.console-data strong {
    display: block;
    margin-top: 3px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
}

.console-data strong:first-of-type {
    color: var(--accent);
}

.console-data strong small {
    margin-left: 3px;
    color: rgba(255, 255, 255, .4);
    font-size: 11px;
}

.data-bar {
    display: block;
    height: 2px;
    margin-top: 7px;
    background: rgba(255, 255, 255, .08);
}

.data-bar b {
    display: block;
    height: 100%;
    background: var(--accent);
}

.hero-note {
    position: absolute;
    z-index: 7;
    right: -32px;
    bottom: 49px;
    width: 139px;
    height: 139px;
    color: #34433e;
    border: 1px solid rgba(24, 77, 62, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: .06em;
}

.hero-note .note-cross {
    color: var(--accent-deep);
    font-family: var(--font-mono);
    font-size: 19px;
    align-self: flex-start;
    margin-top: 30px;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(31, 73, 61, .45);
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .17em;
}

.hero-scroll i {
    width: 1px;
    height: 28px;
    background: linear-gradient(var(--accent), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(.35); transform-origin: top; opacity: .2; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* =========================================================
   Marquee / sections
   ========================================================= */

.capability-marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    color: #08110f;
    background: var(--accent);
    border-block: 1px solid #08110f;
}

.marquee-track {
    width: max-content;
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 13px 34px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: .14em;
}

.marquee-track i {
    font-family: var(--font-mono);
    font-style: normal;
    font-weight: 400;
    opacity: .45;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

.section {
    padding: 140px 0;
}

.capability-section,
.about-section {
    background: var(--paper);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 68px;
}

.section-heading h2,
.about-intro h2,
.platform-copy h2 {
    margin-top: 23px;
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 520;
    line-height: 1.19;
    letter-spacing: -.045em;
}

.section-heading > p {
    padding-bottom: 5px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.95;
}

/* Capabilities */

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.cap-card {
    min-height: 500px;
    padding: 25px 26px 25px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .18);
    transition: background .35s ease, transform .35s var(--ease);
}

.cap-card:hover {
    background: var(--white);
    transform: translateY(-6px);
}

.cap-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cap-number {
    color: #87918d;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
}

.cap-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #48534f;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cap-visual {
    height: 190px;
    margin: 34px 0 30px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(27, 48, 43, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 48, 43, .055) 1px, transparent 1px),
        #eceee8;
    background-size: 20px 20px;
}

.cap-card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.025em;
}

.cap-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.cap-meta {
    display: block;
    margin-top: 28px;
    color: #7d8984;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .1em;
}

.visual-locate {
    display: grid;
    place-items: center;
}

.locate-ring {
    position: absolute;
    border: 1px solid rgba(21, 157, 126, .3);
    border-radius: 50%;
}

.ring-a {
    width: 120px;
    height: 120px;
}

.ring-b {
    width: 74px;
    height: 74px;
    border-style: dashed;
    animation: spin 14s linear infinite;
}

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

.locate-cross {
    width: 154px;
    height: 1px;
    background: rgba(21, 157, 126, .25);
    position: absolute;
}

.locate-cross::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 154px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(21, 157, 126, .25);
}

.locate-chip {
    width: 29px;
    height: 29px;
    position: relative;
    z-index: 2;
    border: 1px solid #65726e;
    background: #ced4cf;
    transform: rotate(45deg);
    box-shadow: inset 0 0 0 7px #eceee8;
}

.visual-inspect {
    padding: 26px;
}

.inspect-sheet {
    position: absolute;
    inset: 24px;
    background:
        linear-gradient(135deg, #c7ceca, #8f9d98 40%, #dde1dc 65%, #a8b3af);
    transform: skewY(-5deg) rotate(-2deg);
    box-shadow: 18px 20px 36px rgba(37, 57, 51, .2);
}

.inspect-sheet::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .32);
}

.defect {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 4px;
    border-radius: 50%;
    background: #36423f;
    transform: rotate(-16deg);
}

.defect-a {
    left: 40%;
    top: 45%;
}

.defect-b {
    left: 62%;
    top: 64%;
    width: 16px;
    height: 3px;
}

.inspect-box {
    position: absolute;
    z-index: 4;
    left: 34%;
    top: 31%;
    width: 40%;
    height: 38%;
    border: 1px solid var(--accent-deep);
    box-shadow: 0 0 0 4px rgba(21, 157, 126, .07);
}

.inspect-box::before,
.inspect-box::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--accent-deep);
    border-style: solid;
}

.inspect-box::before {
    left: -1px;
    top: -1px;
    border-width: 2px 0 0 2px;
}

.inspect-box::after {
    right: -1px;
    bottom: -1px;
    border-width: 0 2px 2px 0;
}

.visual-measure {
    padding: 40px;
    display: grid;
    place-items: center;
}

.measure-object {
    width: 100px;
    height: 100px;
    border: 1px solid #6f7c78;
    transform: rotate(45deg) skew(-6deg, -6deg);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .45), rgba(82, 102, 96, .14));
    box-shadow: inset 0 0 0 14px #eceee8;
}

.measure-line {
    position: absolute;
    border-color: var(--accent-deep);
    border-style: solid;
}

.line-v {
    height: 150px;
    left: 30%;
    top: 10%;
    border-width: 0 0 0 1px;
}

.line-v::before,
.line-v::after {
    content: "";
    position: absolute;
    left: -4px;
    width: 9px;
    height: 1px;
    background: var(--accent-deep);
}

.line-v::before { top: 0; }
.line-v::after { bottom: 0; }

.line-h {
    width: 155px;
    top: 80%;
    left: 25%;
    border-width: 1px 0 0;
}

.measure-value {
    position: absolute;
    left: 31%;
    top: 47%;
    padding: 2px 4px;
    color: var(--accent-deep);
    background: #eceee8;
    font-family: var(--font-mono);
    font-size: 8.5px;
    writing-mode: vertical-rl;
}

.visual-trace {
    display: grid;
    place-items: center;
    background:
        linear-gradient(rgba(116, 245, 211, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 245, 211, .05) 1px, transparent 1px),
        #101817;
    background-size: 20px 20px;
}

.trace-line {
    width: 72%;
    height: 1px;
    background: rgba(116, 245, 211, .3);
}

.trace-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
    background: #101817;
    transform: rotate(45deg);
}

.node-a { left: 21%; top: calc(50% - 4px); }
.node-b { left: calc(50% - 4px); top: calc(50% - 4px); }
.node-c { right: 21%; top: calc(50% - 4px); }

.trace-node::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 27px;
    left: 3px;
    top: -31px;
    background: rgba(116, 245, 211, .28);
}

.trace-code {
    position: absolute;
    bottom: 28px;
    color: rgba(116, 245, 211, .54);
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .1em;
}

.dark-card {
    color: var(--white);
    background: var(--ink);
    border-color: rgba(255, 255, 255, .1);
}

.dark-card:hover {
    background: #0f1718;
}

.dark-card .cap-number,
.dark-card .cap-meta {
    color: rgba(255, 255, 255, .36);
}

.dark-card .cap-icon {
    stroke: var(--accent);
}

.dark-card p {
    color: rgba(255, 255, 255, .46);
}

/* Solutions */

.solutions-section {
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(116, 245, 211, .12), transparent 36%),
        #e6eee9;
    position: relative;
    overflow: hidden;
}

.solutions-section::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(21, 157, 126, .13);
    border-radius: 50%;
    right: -360px;
    top: -220px;
    box-shadow: 0 0 0 100px rgba(21, 157, 126, .025);
}

.solutions-section .eyebrow.light,
.contact-section .eyebrow.light {
    color: var(--accent-ink);
}

.solutions-section .eyebrow.light i::after,
.contact-section .eyebrow.light i::after {
    background: #e6eee9;
}

.solution-header {
    display: grid;
    grid-template-columns: 1fr .55fr;
    gap: 90px;
    align-items: end;
    margin-bottom: 75px;
}

.solution-header h2 {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: clamp(42px, 4.6vw, 66px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.05em;
}

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

.solution-copy p {
    max-width: 310px;
    color: #66736e;
    font-size: 13px;
}

.round-link {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(21, 77, 62, .24);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all .25s ease;
}

.round-link:hover {
    color: var(--ink);
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(45deg);
}

.solution-list {
    border-top: 1px solid rgba(23, 55, 45, .16);
}

.solution-row {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1.2fr 1.05fr .74fr 40px;
    gap: 30px;
    align-items: center;
    min-height: 150px;
    padding: 28px 14px;
    border-bottom: 1px solid rgba(23, 55, 45, .16);
    transition: background .35s ease, padding .35s var(--ease);
}

.solution-row:hover {
    padding-inline: 25px;
    background: rgba(255, 255, 255, .58);
}

.solution-index {
    color: #82908a;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .09em;
}

.solution-title h3 {
    font-size: 22px;
    font-weight: 520;
    letter-spacing: -.02em;
}

.solution-title span {
    display: block;
    margin-top: 8px;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
}

.solution-row > p {
    color: #65726d;
    font-size: 13.5px;
    line-height: 1.8;
}

.solution-specs {
    display: flex;
    gap: 34px;
}

.solution-specs span {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 17px;
}

.solution-specs small {
    margin-bottom: 5px;
    color: #89948f;
    font-family: var(--font-sans);
    font-size: 10px;
}

.solution-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(26, 65, 53, .2);
    display: grid;
    place-items: center;
    opacity: .5;
    transition: all .25s ease;
}

.solution-arrow .icon {
    width: 16px;
    height: 16px;
}

.solution-row:hover .solution-arrow {
    color: var(--ink);
    background: var(--accent);
    border-color: var(--accent);
    opacity: 1;
}

/* Platform */

.platform-section {
    overflow: hidden;
    background: var(--paper-2);
}

.platform-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: center;
}

.platform-copy > p {
    margin-top: 27px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}

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

.platform-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: #4d5955;
}

.platform-list li span {
    color: #929b97;
    font-family: var(--font-mono);
    font-size: 9px;
}

.studio-window {
    position: relative;
    color: #d8efe8;
    background: #0a1112;
    border: 1px solid #293736;
    box-shadow: 26px 30px 0 rgba(38, 58, 52, .08), var(--shadow);
}

.studio-window::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 70px;
    bottom: -35px;
    width: 1px;
    background: rgba(21, 157, 126, .22);
}

.studio-titlebar {
    height: 46px;
    padding-inline: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(188, 219, 210, .12);
    color: rgba(216, 239, 232, .46);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .06em;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.window-dots i:first-child {
    background: var(--accent);
}

.studio-version {
    margin-left: auto;
}

.studio-toolbar {
    height: 43px;
    padding-inline: 15px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid rgba(188, 219, 210, .1);
}

.studio-tool {
    position: relative;
    color: rgba(216, 239, 232, .28);
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .1em;
}

.studio-tool.active {
    color: var(--accent);
}

.studio-tool.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 1px;
    background: var(--accent);
}

.toolbar-spacer {
    flex: 1;
}

.studio-running {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 8.5px;
}

.studio-running i,
.ok-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 9px var(--accent);
}

.studio-body {
    display: grid;
    grid-template-columns: 140px 1fr 150px;
    height: 460px;
}

.studio-tree {
    padding: 20px 15px;
    border-right: 1px solid rgba(188, 219, 210, .1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tree-title {
    margin-bottom: 2px;
    color: rgba(216, 239, 232, .26);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
}

.tree-title.second {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(188, 219, 210, .08);
}

.tree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(216, 239, 232, .4);
    font-size: 10px;
}

.tree-item i {
    width: 5px;
    height: 5px;
    border: 1px solid currentColor;
}

.tree-item.active {
    color: var(--accent);
}

.tree-param {
    display: flex;
    justify-content: space-between;
    color: rgba(216, 239, 232, .3);
    font-size: 8.5px;
}

.tree-param b {
    color: rgba(216, 239, 232, .56);
    font-family: var(--font-mono);
    font-weight: 400;
}

.studio-canvas {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.canvas-toolbar,
.canvas-status {
    height: 37px;
    padding-inline: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(216, 239, 232, .28);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .08em;
}

.canvas-toolbar {
    border-bottom: 1px solid rgba(188, 219, 210, .08);
}

.canvas-status {
    border-top: 1px solid rgba(188, 219, 210, .08);
}

.canvas-status span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.canvas-status b {
    color: var(--accent);
    font-weight: 400;
}

.canvas-view {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #070c0d;
}

.canvas-grid {
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image:
        linear-gradient(rgba(129, 177, 166, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 177, 166, .08) 1px, transparent 1px);
    background-size: 22px 22px;
}

.canvas-part {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 170px;
    height: 145px;
    transform: translate(-50%, -46%) rotate(-8deg);
    border: 1px solid rgba(185, 211, 204, .55);
    background: linear-gradient(145deg, #77847f, #202c2a 50%, #8e9a95);
    box-shadow: 20px 25px 35px rgba(0, 0, 0, .42), inset 0 0 0 7px rgba(255, 255, 255, .07);
}

.canvas-part::before,
.canvas-part::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(211, 230, 225, .5);
    background: #34413f;
    box-shadow: inset 0 0 0 8px #101817;
}

.canvas-part::before {
    left: 24px;
    top: 25px;
}

.canvas-part::after {
    right: 24px;
    bottom: 22px;
}

.part-hole {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    right: 40px;
    top: 30px;
    box-shadow: inset 0 0 12px rgba(116, 245, 211, .15);
}

.part-edge {
    position: absolute;
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    background: rgba(116, 245, 211, .45);
    transform: skewX(17deg);
}

.canvas-box {
    position: absolute;
    width: 38%;
    height: 48%;
    left: 35%;
    top: 26%;
    border: 1px solid var(--accent);
}

.canvas-box::before,
.canvas-box::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--accent);
    border-style: solid;
}

.canvas-box::before {
    left: -1px;
    top: -1px;
    border-width: 2px 0 0 2px;
}

.canvas-box::after {
    right: -1px;
    bottom: -1px;
    border-width: 0 2px 2px 0;
}

.canvas-axis {
    position: absolute;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 8.5px;
}

.axis-x {
    right: 16px;
    bottom: 14px;
}

.axis-y {
    left: 16px;
    top: 14px;
}

.canvas-tip {
    position: absolute;
    padding: 4px 6px;
    color: var(--accent);
    background: rgba(10, 25, 22, .9);
    border-left: 1px solid var(--accent);
    font-family: var(--font-mono);
    font-size: 7.5px;
}

.tip-a {
    right: 9%;
    top: 23%;
}

.tip-b {
    left: 10%;
    bottom: 18%;
}

.studio-inspector {
    padding: 20px 16px;
    border-left: 1px solid rgba(188, 219, 210, .1);
    display: flex;
    flex-direction: column;
}

.inspector-label {
    color: rgba(216, 239, 232, .28);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.studio-inspector > strong {
    margin-top: 9px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 450;
    letter-spacing: -.04em;
}

.studio-inspector > strong small {
    font-size: 12px;
}

.inspector-sub {
    margin-top: 2px;
    color: rgba(216, 239, 232, .26);
    font-family: var(--font-mono);
    font-size: 7.5px;
    letter-spacing: .1em;
}

.inspector-chart {
    height: 95px;
    margin: 24px 0 27px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    border-bottom: 1px solid rgba(188, 219, 210, .13);
}

.inspector-chart i {
    flex: 1;
    background: rgba(116, 245, 211, .17);
}

.inspector-chart i.hot {
    background: var(--accent);
}

.result-pass {
    margin-top: 9px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 23px;
    letter-spacing: .04em;
}

/* About */

.about-section {
    border-top: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 120px;
}

.about-body {
    padding-top: 32px;
}

.about-body > p {
    color: #4f5a56;
    font-size: 15px;
    line-height: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 44px 0 38px;
    border-block: 1px solid var(--line);
}

.about-stats span {
    padding: 23px 0;
    display: flex;
    flex-direction: column;
}

.about-stats span + span {
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.about-stats strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 520;
}

.about-stats small {
    margin-top: 4px;
    color: #88928e;
    font-size: 11px;
}

/* Contact */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 135px 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 100%, rgba(21, 157, 126, .14), transparent 38%),
        #f1f5f1;
}

.contact-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43, 102, 84, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 102, 84, .07) 1px, transparent 1px);
    background-size: 82px 82px;
    mask-image: radial-gradient(circle at 30% 50%, black, transparent 65%);
}

.contact-orb {
    position: absolute;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(21, 157, 126, .2);
    border-radius: 50%;
    left: -290px;
    bottom: -270px;
    box-shadow:
        0 0 0 60px rgba(21, 157, 126, .025),
        0 0 0 120px rgba(21, 157, 126, .014);
}

.contact-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 120px;
    align-items: center;
}

.contact-inner h2 {
    margin-top: 28px;
    font-family: var(--font-display);
    font-size: clamp(48px, 5.5vw, 78px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.05em;
}

.contact-inner h2 span {
    color: var(--accent-deep);
}

.contact-side > p {
    color: #65716c;
    font-size: 14px;
    line-height: 1.95;
}

.contact-actions {
    margin-top: 34px;
    display: flex;
    gap: 12px;
}

.contact-details {
    margin-top: 44px;
    padding-top: 25px;
    display: flex;
    gap: 50px;
    border-top: 1px solid rgba(22, 58, 47, .14);
    color: #4c5a55;
    font-size: 13.5px;
}

.contact-details span {
    display: flex;
    flex-direction: column;
}

.contact-details small {
    margin-bottom: 4px;
    color: #8c9893;
    font-size: 10px;
    letter-spacing: .08em;
}

.contact-section .button-ghost-light {
    color: #42514b;
    border-color: rgba(24, 63, 51, .24);
    background: transparent;
}

.contact-section .button-ghost-light:hover {
    color: var(--accent-ink);
    border-color: var(--accent-deep);
    background: rgba(255, 255, 255, .6);
}

/* Footer */

.site-footer {
    color: rgba(255, 255, 255, .6);
    background: #070b0c;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-main {
    padding: 75px 0 65px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
}

.site-footer .brand-lockup {
    color: var(--white);
}

.footer-brand > p {
    margin-top: 25px;
    color: rgba(255, 255, 255, .38);
    font-size: 12px;
    line-height: 1.9;
}

.footer-status {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(116, 245, 211, .5);
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .11em;
}

.footer-status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-label {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .3);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .13em;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 18px 0 23px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .24);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .05em;
}

.footer-coordinate {
    color: rgba(116, 245, 211, .42);
}

/* =========================================================
   Auth
   ========================================================= */

.auth-body {
    min-height: 100vh;
    color: var(--text);
    background: var(--white);
}

.auth-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
}

.auth-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #687670;
    font-size: 13px;
    transition: color .2s ease;
}

.auth-back:hover {
    color: var(--accent-ink);
}

.auth-header .brand-mark {
    color: var(--accent-deep);
}

.auth-back .icon {
    width: 16px;
    height: 16px;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 57% 43%;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 150px 11% 74px;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 35%, rgba(58, 179, 150, .18), transparent 42%),
        linear-gradient(145deg, #f5faf6, #dfece6);
}

.auth-visual .eyebrow.light {
    color: var(--accent-ink);
}

.auth-visual .eyebrow.light i::after {
    background: #e8f2ed;
}

.auth-grid {
    position: absolute;
    inset: 0;
    opacity: .7;
    background-image:
        linear-gradient(rgba(23, 107, 85, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 107, 85, .075) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.auth-orbit {
    position: absolute;
    border: 1px solid rgba(21, 157, 126, .23);
    border-radius: 50%;
}

.auth-orbit-one {
    width: 660px;
    height: 660px;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow:
        0 0 0 70px rgba(21, 157, 126, .028),
        0 0 0 140px rgba(21, 157, 126, .014);
}

.auth-orbit-two {
    width: 390px;
    height: 390px;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    border-style: dashed;
    animation: spin 40s linear infinite;
}

.auth-core {
    position: absolute;
    width: 220px;
    height: 220px;
    left: 50%;
    top: 132px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
}

.core-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(21, 157, 126, .36);
    border-radius: 50%;
}

.core-ring::before,
.core-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(21, 157, 126, .2);
}

.core-ring::before {
    inset: 28px;
}

.core-ring::after {
    inset: 68px;
    background: rgba(116, 245, 211, .16);
}

.core-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 35px rgba(116, 245, 211, .8);
}

.core-axis {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(21, 157, 126, .32), transparent);
}

.core-axis-x {
    width: 460px;
    height: 1px;
}

.core-axis-y {
    width: 460px;
    height: 1px;
    transform: rotate(90deg);
}

.auth-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.auth-copy h1 {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: clamp(46px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.05em;
}

.auth-copy h1 em {
    color: var(--accent-deep);
    font-style: normal;
}

.auth-copy p {
    margin-top: 26px;
    color: #62706a;
    font-size: 13px;
    line-height: 1.95;
}

.auth-readout {
    position: absolute;
    z-index: 2;
    right: 45px;
    top: 118px;
    display: flex;
    flex-direction: column;
    padding-left: 13px;
    border-left: 1px solid var(--accent-deep);
    font-family: var(--font-mono);
}

.auth-readout span,
.auth-readout small {
    color: #7f8c87;
    font-size: 8px;
    letter-spacing: .11em;
}

.auth-readout strong {
    margin-block: 3px;
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
}

.auth-form-side {
    min-width: 0;
    padding: 128px 8% 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    position: relative;
}

.auth-form-wrap {
    width: min(100%, 440px);
    margin-inline: auto;
}

.auth-form-head h2 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: 39px;
    font-weight: 520;
    line-height: 1.2;
    letter-spacing: -.045em;
}

.auth-form-head p {
    margin-top: 13px;
    color: var(--muted);
    font-size: 14px;
}

.form-alert {
    margin-top: 24px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11.5px;
    line-height: 1.6;
}

.form-alert.error {
    color: #8c2c28;
    background: #fbeae8;
    border-left: 2px solid var(--danger);
}

.form-alert.info {
    color: #266354;
    background: #e9f8f3;
    border-left: 2px solid var(--accent-deep);
}

.form-alert .icon {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

.alert-mark {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 9px;
    flex: none;
}

.auth-form {
    margin-top: 30px;
}

.auth-form.compact {
    margin-top: 24px;
}

.field {
    display: block;
    margin-bottom: 19px;
}

.field > span:first-child {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 8px;
    color: #43504c;
    font-size: 12.5px;
    font-weight: 600;
}

.field > span small {
    color: #9ba39f;
    font-size: 10px;
    font-weight: 400;
}

.field-control {
    position: relative;
    display: flex;
    align-items: center;
    height: 49px;
    border: 1px solid #d9ded9;
    background: #fbfcf9;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field-control:focus-within {
    border-color: var(--accent-deep);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(21, 157, 126, .07);
}

.field-control > .icon {
    width: 17px;
    height: 17px;
    margin-left: 15px;
    color: #98a29e;
}

.field-control input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 14px;
}

.field-control input::placeholder {
    color: #aeb6b2;
}

.field-error {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    color: #b3423b;
    font-size: 10.5px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.password-toggle {
    width: 42px;
    height: 100%;
    padding: 0;
    border: 0;
    display: grid;
    place-items: center;
    background: transparent;
    cursor: pointer;
}

.eye-shape {
    width: 16px;
    height: 10px;
    border: 1px solid #89948f;
    border-radius: 50% 50% 45% 45%;
    position: relative;
}

.eye-shape::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    left: 5px;
    top: 2px;
    border-radius: 50%;
    background: #89948f;
}

.password-toggle.is-visible .eye-shape {
    border-color: var(--accent-deep);
    background: rgba(21, 157, 126, .12);
}

.form-line {
    margin: 2px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #646f6b;
    font-size: 11.5px;
    cursor: pointer;
}

.check-label input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--accent-deep);
}

.form-hint {
    color: #98a19d;
    font-size: 10.5px;
}

.terms-check {
    align-items: flex-start;
    line-height: 1.7;
    margin: 4px 0;
}

.terms-check input {
    margin-top: 4px;
}

.validation-summary {
    margin-bottom: 12px;
    color: #a63832;
    font-size: 10px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 16px;
}

.demo-card {
    position: relative;
    margin-top: 24px;
    padding: 14px 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 16px;
    background: #eff7f3;
    border: 1px dashed #bdd9d0;
}

.demo-card > div {
    display: flex;
    flex-direction: column;
}

.demo-label {
    color: #7b928a;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
}

.demo-card strong {
    color: #2a4d44;
    font-size: 12px;
    font-weight: 600;
}

.demo-fill {
    padding: 6px 10px;
    border: 1px solid #b7d3ca;
    color: #24705d;
    background: transparent;
    font-size: 11px;
    cursor: pointer;
}

.demo-fill:hover {
    background: #dff3ec;
}

.demo-credentials {
    grid-column: 1 / -1;
    color: #71877f;
    font-family: var(--font-mono);
    font-size: 9.5px;
}

.auth-switch {
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid #e4e7e2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8b9590;
    font-size: 11.5px;
}

.auth-switch a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-deep);
    font-weight: 600;
}

.auth-switch .icon {
    width: 13px;
    height: 13px;
}

.auth-footnote {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 24px;
    display: flex;
    justify-content: space-between;
    color: #a0a8a4;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .04em;
}

.auth-footnote span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-footnote .icon {
    width: 12px;
    height: 12px;
    color: var(--accent-deep);
}

/* Error */

.error-page {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.error-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(116, 245, 211, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 245, 211, .06) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(circle at center, black, transparent 70%);
}

.error-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 40px;
    text-align: center;
}

.error-content .eyebrow {
    justify-content: center;
}

.error-code {
    display: block;
    margin-top: 20px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: clamp(110px, 18vw, 200px);
    font-weight: 450;
    line-height: .9;
    letter-spacing: -.08em;
}

.error-content h1 {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 500;
}

.error-content p {
    margin-top: 10px;
    color: rgba(255, 255, 255, .42);
}

.error-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* =========================================================
   Workspace shell
   ========================================================= */

.workspace-body {
    min-height: 100vh;
    color: #1b2522;
    background: #eef0eb;
}

.workspace-shell {
    min-height: 100vh;
}

.workspace-sidebar {
    position: fixed;
    z-index: 40;
    inset: 0 auto 0 0;
    width: 265px;
    padding: 0 20px 18px;
    display: flex;
    flex-direction: column;
    color: #46534e;
    background:
        linear-gradient(180deg, rgba(116, 245, 211, .08), transparent 24%),
        #fbfcf9;
    border-right: 1px solid #dce2dc;
}

.sidebar-head {
    height: 83px;
    padding-inline: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    border-bottom: 1px solid #e1e6e0;
}

.workspace-sidebar .brand-mark {
    width: 31px;
    height: 31px;
    color: var(--accent-deep);
}

.workspace-sidebar .brand-word strong {
    font-size: 18px;
}

.workspace-sidebar .brand-word small {
    font-size: 8px;
}

.sidebar-close,
.sidebar-open {
    display: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    place-items: center;
    background: transparent;
    cursor: pointer;
}

.workspace-badge {
    margin: 19px 1px 8px;
    padding: 12px;
    display: grid;
    grid-template-columns: 33px 1fr 8px;
    align-items: center;
    gap: 10px;
    border: 1px solid #dce7e1;
    background: #f0f6f2;
}

.workspace-avatar,
.profile-avatar {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--accent);
    font-family: var(--font-display);
    font-size: 14px;
}

.workspace-badge > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.workspace-badge small {
    color: #85928c;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
}

.workspace-badge strong {
    overflow: hidden;
    color: #2c3934;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.workspace-nav {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-caption {
    margin: 15px 10px 5px;
    color: #99a39e;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .14em;
}

.workspace-nav a {
    height: 40px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #63706a;
    font-size: 13px;
    border-left: 2px solid transparent;
    transition: all .2s ease;
}

.workspace-nav a .icon {
    width: 15px;
    height: 15px;
}

.workspace-nav a:hover {
    color: var(--accent-ink);
    background: #f0f5f1;
}

.workspace-nav a.active {
    color: var(--accent-ink);
    background: #e4f4ed;
    border-left-color: var(--accent-deep);
}

.nav-external {
    width: 12px !important;
    height: 12px !important;
    margin-left: auto;
    opacity: .4;
}

.sidebar-storage {
    margin-top: auto;
    padding: 16px 11px 18px;
    border-top: 1px solid #e1e6e0;
    border-bottom: 1px solid #e1e6e0;
}

.storage-title {
    display: flex;
    justify-content: space-between;
    color: #6d7974;
    font-size: 10px;
}

.storage-title strong {
    color: #8d9893;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
}

.storage-track {
    height: 2px;
    margin: 11px 0 8px;
    background: #dfe7e2;
}

.storage-track i {
    display: block;
    height: 100%;
    min-width: 2px;
    background: var(--accent);
}

.sidebar-storage small {
    color: #96a19c;
    font-size: 9.5px;
}

.sidebar-profile {
    position: relative;
    margin-top: 16px;
    padding: 4px 3px;
    display: grid;
    grid-template-columns: 32px 1fr 28px;
    align-items: center;
    gap: 9px;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    color: var(--accent-ink);
    background: #d9eee6;
    font-size: 12px;
}

.profile-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-copy strong {
    overflow: hidden;
    color: #33403b;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-copy small {
    overflow: hidden;
    color: #929d98;
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-menu {
    width: 27px;
    height: 27px;
    padding: 0;
    border: 0;
    display: grid;
    place-items: center;
    color: #75827c;
    background: transparent;
    cursor: pointer;
}

.profile-menu .icon {
    width: 16px;
    height: 16px;
}

.profile-popover {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 52px;
    padding: 6px;
    display: none;
    color: #4b5953;
    background: #ffffff;
    border: 1px solid #dfe5df;
    box-shadow: 0 18px 45px rgba(26, 52, 43, .14);
}

.profile-popover.is-open {
    display: block;
}

.profile-popover a,
.profile-popover button {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    background: transparent;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
}

.profile-popover a:hover,
.profile-popover button:hover {
    color: var(--accent-ink);
    background: #eef7f2;
}

.profile-popover .icon {
    width: 14px;
    height: 14px;
}

.workspace-content {
    min-height: 100vh;
    margin-left: 265px;
}

.workspace-topbar {
    position: sticky;
    z-index: 30;
    top: 0;
    height: 76px;
    padding: 0 35px;
    display: flex;
    align-items: center;
    gap: 22px;
    background: rgba(250, 251, 248, .88);
    border-bottom: 1px solid #dde1db;
    backdrop-filter: blur(16px);
}

.workspace-search {
    width: min(380px, 42vw);
    height: 37px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #dfe3de;
    background: #f5f6f2;
    transition: all .2s ease;
}

.workspace-search:focus-within {
    border-color: #b6cec6;
    background: var(--white);
}

.workspace-search .icon {
    width: 15px;
    height: 15px;
    color: #9aa39f;
}

.workspace-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #3a4642;
    font-size: 12px;
}

.workspace-search input::placeholder {
    color: #9ca6a1;
}

.workspace-search kbd {
    padding: 2px 4px;
    color: #a0a9a4;
    background: #ebeee9;
    font-family: var(--font-mono);
    font-size: 7.5px;
    letter-spacing: .05em;
}

.topbar-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 23px;
    color: #8d9792;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .05em;
}

.topbar-signal {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4e7c6e;
}

.topbar-signal i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #28aa85;
}

.workspace-main {
    width: min(1350px, 100%);
    padding: 44px 44px 70px;
    position: relative;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 28px;
    top: 94px;
    max-width: 430px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f5e4e;
    background: #e5f7f0;
    border: 1px solid #b7dfd1;
    box-shadow: 0 16px 40px rgba(14, 49, 38, .12);
    font-size: 12px;
    animation: toast-in .35s var(--ease);
}

.toast.error {
    color: #8f3c36;
    background: #fcefed;
    border-color: #ebc8c4;
}

.toast > .icon {
    width: 16px;
    height: 16px;
}

.toast button {
    margin-left: 8px;
    padding: 2px;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    opacity: .55;
}

.toast button .icon {
    width: 13px;
    height: 13px;
}

.toast-error-mark {
    width: 16px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 9.5px;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}

/* Workspace heading and stats */

.workspace-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.workspace-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a9691;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .12em;
}

.workspace-eyebrow i {
    width: 17px;
    height: 1px;
    background: var(--accent-deep);
    position: relative;
}

.workspace-eyebrow i::after {
    content: "";
    position: absolute;
    right: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    border: 1px solid var(--accent-deep);
    background: #eef0eb;
    transform: rotate(45deg);
}

.workspace-heading h1 {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 520;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.workspace-heading p {
    margin-top: 7px;
    color: #7a8580;
    font-size: 13px;
}

.heading-actions {
    display: flex;
    gap: 8px;
    flex: none;
}

.workspace-button {
    min-height: 39px;
    padding: 0 16px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.workspace-button .icon {
    width: 15px;
    height: 15px;
}

.workspace-button.primary {
    color: #07120f;
    background: var(--accent);
    border-color: #5ee2c1;
}

.workspace-button.primary:hover {
    background: #9bffe3;
    border-color: #9bffe3;
}

.workspace-button.secondary {
    color: #47534f;
    background: #f8f9f6;
    border-color: #d8ddd7;
}

.workspace-button.secondary:hover {
    color: #182420;
    border-color: #b9c5bf;
    background: #fff;
}

.breadcrumb {
    margin-top: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #95a09b;
    font-size: 10.5px;
}

.breadcrumb a {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .2s ease;
}

.breadcrumb a:hover {
    color: #247860;
}

.breadcrumb .icon {
    width: 12px;
    height: 12px;
}

.breadcrumb .crumb-separator {
    width: 10px;
    height: 10px;
    opacity: .5;
}

.breadcrumb .current {
    color: #5c6863;
}

.workspace-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 29px;
}

.workspace-stats article {
    min-height: 86px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #f8f9f6;
    border: 1px solid #dde1db;
}

.stat-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #5c7069;
    background: #e8ece7;
}

.stat-icon.accent {
    color: #1b705b;
    background: #dcf5ec;
}

.stat-icon .icon {
    width: 16px;
    height: 16px;
}

.workspace-stats article > div {
    display: flex;
    flex-direction: column;
}

.workspace-stats strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.workspace-stats article > div span {
    color: #7d8883;
    font-size: 10px;
}

.workspace-stats small {
    margin-left: auto;
    color: #a3aca8;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .08em;
}

.content-block {
    margin-top: 24px;
    padding: 24px;
    background: rgba(250, 251, 248, .74);
    border: 1px solid #dde1db;
}

.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.block-head > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.block-head h2 {
    font-size: 16px;
    font-weight: 600;
}

.block-head > div span {
    color: #9aa39f;
    font-size: 10px;
}

.block-signal {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7d948c;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .08em;
}

.block-signal i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #32aa88;
}

.block-note {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #94a09a;
    font-size: 10px;
}

.block-note .icon {
    width: 12px;
    height: 12px;
    color: #47977f;
}

.folder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.folder-card {
    min-width: 0;
    min-height: 80px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e1e5df;
    transition: all .25s var(--ease);
}

.folder-card:hover {
    border-color: #b7ccc4;
    box-shadow: 0 10px 28px rgba(25, 61, 50, .06);
    transform: translateY(-2px);
}

.folder-shape {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    color: #3d7868;
    background: #e5f2ed;
}

.folder-shape .icon {
    width: 18px;
    height: 18px;
}

.folder-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.folder-info strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.folder-info small {
    margin-top: 3px;
    overflow: hidden;
    color: #909a96;
    font-size: 9.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.folder-go {
    margin-left: auto;
    color: #a3ada8;
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: all .2s ease;
}

.folder-go .icon {
    width: 14px;
    height: 14px;
}

.folder-card:hover .folder-go {
    color: #2e8a71;
    opacity: 1;
    transform: none;
}

.files-block {
    padding-bottom: 13px;
}

.file-table-head,
.file-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) 75px minmax(100px, .8fr) 80px 95px 91px;
    align-items: center;
    gap: 14px;
}

.file-table-head {
    padding: 0 12px 10px;
    color: #9ba49f;
    border-bottom: 1px solid #e0e4df;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .07em;
}

.file-row {
    min-height: 65px;
    padding: 8px 12px;
    border-bottom: 1px solid #e7eae5;
    transition: background .2s ease;
}

.file-row:last-child {
    border-bottom: 0;
}

.file-row:hover {
    background: #f4f6f2;
}

.file-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    position: relative;
    width: 34px;
    height: 38px;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5a6d66;
    background: #e8ece7;
    border: 1px solid #dbe0da;
}

.file-icon .icon {
    width: 14px;
    height: 14px;
}

.file-icon small {
    margin-top: 2px;
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: .02em;
}

.file-icon.pdf {
    color: #a3463e;
    background: #f9eae7;
    border-color: #f2d9d5;
}

.file-icon.image {
    color: #38796a;
    background: #e4f2ed;
    border-color: #d4e9e2;
}

.file-icon.text {
    color: #756332;
    background: #f4eedc;
    border-color: #e9e0c6;
}

.file-icon.word {
    color: #315e93;
    background: #e8eef8;
    border-color: #d6e1f2;
}

.file-icon.excel {
    color: #32734d;
    background: #e6f2ea;
    border-color: #d3e7da;
}

.file-name > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.file-name strong {
    overflow: hidden;
    color: #2b3733;
    font-size: 12.5px;
    font-weight: 550;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-name small {
    margin-top: 2px;
    color: #9ba49f;
    font-size: 10px;
}

.file-category {
    color: #6d7c76;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .05em;
}

.file-location,
.file-size,
.file-date {
    overflow: hidden;
    color: #7b8782;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-date {
    font-family: var(--font-mono);
    font-size: 9.5px;
}

.file-actions {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    opacity: .36;
    transition: opacity .2s ease;
}

.file-row:hover .file-actions {
    opacity: 1;
}

.file-actions form {
    display: contents;
}

.icon-button {
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid transparent;
    display: grid;
    place-items: center;
    color: #64736d;
    background: transparent;
    cursor: pointer;
    transition: all .2s ease;
}

.icon-button .icon {
    width: 13px;
    height: 13px;
}

.icon-button:hover {
    color: #1d6d57;
    background: #e5f2ed;
    border-color: #cee6de;
}

.icon-button.danger:hover {
    color: #ac4039;
    background: #faeae8;
    border-color: #f0d1ce;
}

.empty-state {
    min-height: 250px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed #d7ddd6;
    background: rgba(255, 255, 255, .34);
}

.empty-visual {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    color: #4d8877;
    position: relative;
}

.empty-ring {
    position: absolute;
    inset: 0;
    border: 1px solid #d8e7e1;
    border-radius: 50%;
}

.empty-ring::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px dashed #bcd4cb;
    border-radius: 50%;
}

.empty-visual .icon {
    width: 20px;
    height: 20px;
}

.empty-state h3 {
    font-size: 15px;
    font-weight: 600;
}

.empty-state p {
    margin: 6px 0 18px;
    color: #909b96;
    font-size: 11px;
}

/* Dialogs */

.workspace-dialog {
    width: min(440px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    color: var(--text);
    background: #fbfcf9;
    box-shadow: 0 30px 90px rgba(10, 26, 21, .24);
}

.workspace-dialog::backdrop {
    background: rgba(5, 12, 11, .56);
    backdrop-filter: blur(4px);
}

.workspace-dialog[open] {
    animation: dialog-in .28s var(--ease);
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.workspace-dialog > form {
    padding: 26px;
}

.upload-dialog {
    width: min(510px, calc(100vw - 32px));
}

.dialog-head {
    display: grid;
    grid-template-columns: 42px 1fr 30px;
    align-items: center;
    gap: 13px;
}

.dialog-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #226d58;
    background: #e0f4ed;
}

.dialog-icon .icon {
    width: 19px;
    height: 19px;
}

.dialog-head h2 {
    margin-top: 2px;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 520;
    letter-spacing: -.035em;
}

.dialog-close {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    display: grid;
    place-items: center;
    color: #8e9994;
    background: transparent;
    cursor: pointer;
}

.dialog-close:hover {
    color: #33413c;
}

.dialog-close .icon {
    width: 16px;
    height: 16px;
}

.dialog-copy {
    margin: 17px 0 20px;
    color: #818d87;
    font-size: 12px;
}

.workspace-field {
    display: block;
}

.workspace-field span {
    display: block;
    margin-bottom: 7px;
    color: #55615c;
    font-size: 11px;
    font-weight: 600;
}

.workspace-field input {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid #d8ded8;
    outline: 0;
    background: #fff;
    font-size: 11px;
}

.workspace-field input:focus {
    border-color: #54a890;
    box-shadow: 0 0 0 3px rgba(21, 157, 126, .07);
}

.dialog-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.drop-zone {
    min-height: 180px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed #b9cfc7;
    background:
        linear-gradient(rgba(21, 157, 126, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 157, 126, .025) 1px, transparent 1px),
        #f7faf7;
    background-size: 18px 18px;
    cursor: pointer;
    transition: all .2s ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
    border-color: #4aa68e;
    background-color: #f0faf6;
}

.drop-zone input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.drop-visual {
    width: 43px;
    height: 43px;
    margin-bottom: 13px;
    display: grid;
    place-items: center;
    color: #286f5c;
    background: #e1f2ec;
    border-radius: 50%;
}

.drop-visual .icon {
    width: 19px;
    height: 19px;
}

.drop-zone strong {
    font-size: 11px;
    font-weight: 600;
}

.drop-zone small {
    margin-top: 5px;
    color: #929d98;
    font-size: 10.5px;
}

.upload-target {
    margin-top: 12px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #87928d;
    background: #eef2ed;
    font-size: 10px;
}

.upload-target .icon {
    width: 13px;
    height: 13px;
    color: #53887a;
}

.upload-target strong {
    color: #4d5c56;
    font-weight: 600;
}

/* Preview */

.preview-breadcrumb {
    margin-top: 0;
}

.preview-heading {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.preview-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.preview-title h1 {
    max-width: 630px;
    margin-top: 5px;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 520;
    line-height: 1.3;
    letter-spacing: -.03em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.preview-title p {
    margin-top: 4px;
    color: #8b9691;
    font-size: 10px;
}

.file-icon.large {
    width: 46px;
    height: 53px;
    flex: none;
}

.file-icon.large .icon {
    width: 18px;
    height: 18px;
}

.preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 278px;
    gap: 14px;
    margin-top: 27px;
}

.document-viewer {
    min-width: 0;
    background: #fbfcf9;
    border: 1px solid #dce1da;
}

.viewer-head,
.viewer-foot {
    height: 42px;
    padding-inline: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8c9892;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .07em;
}

.viewer-head {
    border-bottom: 1px solid #e2e6e0;
}

.viewer-head span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.viewer-head i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #29a683;
}

.viewer-foot {
    border-top: 1px solid #e2e6e0;
}

.viewer-foot span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.viewer-foot .icon {
    width: 12px;
    height: 12px;
    color: #408674;
}

.viewer-content {
    min-height: 610px;
    background:
        linear-gradient(rgba(24, 46, 39, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 46, 39, .035) 1px, transparent 1px),
        #f0f2ed;
    background-size: 24px 24px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.image-preview {
    width: 100%;
    min-height: 610px;
    padding: 24px;
    display: grid;
    place-items: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 650px;
    object-fit: contain;
    box-shadow: 0 16px 40px rgba(20, 41, 34, .13);
}

.pdf-preview {
    width: 100%;
    min-height: 610px;
    border: 0;
    background: #fff;
}

.media-preview {
    width: 100%;
    max-height: 650px;
    margin: auto;
    background: #07100e;
}

.unsupported-preview {
    position: relative;
    width: 100%;
    min-height: 610px;
    padding: 50px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.unsupported-grid {
    position: absolute;
    inset: 0;
    opacity: .55;
    background-image:
        linear-gradient(rgba(23, 71, 57, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 71, 57, .06) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.unsupported-icon {
    position: relative;
    width: 76px;
    height: 88px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    color: #4b7e6f;
    border: 1px solid #a9c6bc;
    background: rgba(255, 255, 255, .4);
}

.unsupported-icon::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 1px;
    left: -30px;
    top: 50%;
    background: #b1cbc2;
}

.unsupported-icon::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 1px;
    right: -30px;
    top: 50%;
    background: #b1cbc2;
}

.unsupported-icon .icon {
    width: 28px;
    height: 28px;
}

.unsupported-preview h3 {
    position: relative;
    margin-top: 13px;
    font-size: 18px;
    font-weight: 550;
}

.unsupported-preview p {
    position: relative;
    max-width: 420px;
    margin: 9px 0 22px;
    color: #7c8b84;
    font-size: 12px;
}

.audio-preview audio {
    position: relative;
    width: min(100%, 450px);
    margin-top: 20px;
}

.document-meta {
    padding: 20px;
    background: #fbfcf9;
    border: 1px solid #dce1da;
}

.meta-head {
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e3e7e1;
    font-size: 11px;
    font-weight: 600;
}

.document-meta dl {
    margin: 0;
}

.document-meta dl > div {
    padding: 13px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #eceeea;
    font-size: 10.5px;
}

.document-meta dt {
    color: #919c96;
}

.document-meta dd {
    margin: 0;
    color: #4e5b55;
    text-align: right;
    word-break: break-all;
}

.meta-private {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2a7d66;
}

.meta-private i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2da982;
}

.meta-actions {
    margin-top: 19px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.meta-actions .workspace-button {
    width: 100%;
}

.meta-actions form {
    width: 100%;
}

.delete-file-button {
    width: 100%;
    min-height: 37px;
    border: 1px solid #ead9d6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #9b4a43;
    background: #fff;
    font-size: 11px;
    cursor: pointer;
}

.delete-file-button:hover {
    background: #faf0ee;
    border-color: #e0b8b3;
}

.delete-file-button .icon {
    width: 13px;
    height: 13px;
}

.meta-note {
    margin-top: 20px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #7e8e87;
    background: #eff5f1;
    border-left: 2px solid #7bbba8;
}

.meta-note .icon {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    color: #4e8c7b;
}

.meta-note p {
    font-size: 10px;
    line-height: 1.7;
}

.sidebar-scrim {
    position: fixed;
    z-index: 35;
    inset: 0;
    display: none;
    background: rgba(3, 9, 8, .55);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
        gap: 40px;
    }

    .hero-note {
        right: -8px;
        width: 118px;
        height: 118px;
        font-size: 11px;
    }

    .console-stage {
        height: 420px;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cap-card {
        min-height: 470px;
    }

    .solution-row {
        grid-template-columns: 55px 1.2fr .9fr .8fr 36px;
        gap: 22px;
    }

    .platform-grid {
        gap: 50px;
    }

    .studio-body {
        grid-template-columns: 120px 1fr 130px;
    }

    .auth-shell {
        grid-template-columns: 52% 48%;
    }

    .auth-visual {
        padding-inline: 8%;
    }

    .auth-form-side {
        padding-inline: 6%;
    }

    .folder-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .file-table-head,
    .file-row {
        grid-template-columns: minmax(230px, 1.7fr) 70px minmax(90px, .8fr) 70px 78px;
    }

    .file-date {
        display: none;
    }
}

@media (max-width: 960px) {
    .container {
        width: min(var(--container), calc(100% - 44px));
    }

    .header-inner {
        width: calc(100% - 40px);
        height: 74px;
    }

    .primary-nav {
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        padding: 22px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        background: rgba(251, 252, 248, .98);
        border-bottom: 1px solid #dfe5df;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .header-login {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

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

    .hero-visual {
        width: min(100%, 640px);
        margin: 10px auto 30px;
        justify-self: center;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 100px 0;
    }

    .section-heading,
    .solution-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-heading > p {
        max-width: 520px;
    }

    .solution-copy {
        max-width: 500px;
    }

    .solution-row {
        grid-template-columns: 55px 1fr auto;
        gap: 15px 22px;
        padding-block: 24px;
    }

    .solution-row > p {
        grid-column: 2 / 4;
    }

    .solution-specs {
        grid-column: 2 / 3;
    }

    .solution-arrow {
        grid-column: 3;
        grid-row: 1;
    }

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

    .studio-window {
        max-width: 720px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-side {
        max-width: 580px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 420px;
        padding: 115px 8% 50px;
    }

    .auth-copy h1 {
        font-size: 48px;
    }

    .auth-copy p {
        display: none;
    }

    .auth-core {
        top: 20px;
        right: -40px;
        left: auto;
        transform: none;
        opacity: .55;
    }

    .auth-orbit-one {
        left: auto;
        right: -90px;
        top: -230px;
        transform: none;
    }

    .auth-orbit-two {
        left: auto;
        right: -50px;
        top: -115px;
        transform: none;
    }

    .auth-readout {
        display: none;
    }

    .auth-form-side {
        padding: 55px 8% 75px;
    }

    .auth-header {
        position: absolute;
        padding-inline: 28px;
    }

    .workspace-sidebar {
        width: 265px;
        transform: translateX(-100%);
        transition: transform .3s var(--ease);
    }

    .workspace-sidebar.is-open {
        transform: none;
    }

    .sidebar-close,
    .sidebar-open {
        display: grid;
    }

    .workspace-content {
        margin-left: 0;
    }

    .workspace-topbar {
        padding-inline: 22px;
    }

    .sidebar-scrim.is-open {
        display: block;
    }

    .workspace-main {
        padding: 36px 28px 60px;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 30px);
    }

    .header-inner {
        width: calc(100% - 26px);
    }

    .brand-word strong {
        font-size: 18px;
    }

    .brand-image,
    .site-header .brand-image,
    .auth-header .brand-image {
        height: 34px;
        max-width: 44px;
        border-radius: 8px;
    }

    .site-footer .brand-image {
        height: 40px;
        max-width: 51px;
    }

    .brand-word small {
        font-size: 8px;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
    }

    .header-actions .button {
        display: none;
    }

    .hero {
        padding: 112px 0 55px;
    }

    .hero-kicker {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 10px;
    }

    .kicker-index {
        display: none;
    }

    .hero h1 {
        font-size: clamp(44px, 13vw, 64px);
    }

    .hero-lede {
        margin-top: 23px;
        font-size: 14px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        margin-top: 30px;
    }

    .hero-metrics {
        gap: 0;
        justify-content: space-between;
        margin-top: 48px;
    }

    .hero-metrics strong {
        font-size: 24px;
    }

    .hero-visual {
        width: calc(100% + 6px);
        margin-top: 26px;
    }

    .inspection-console {
        padding-inline: 11px;
    }

    .console-stage {
        height: min(80vw, 380px);
    }

    .tag-one {
        display: none;
    }

    .tag-two {
        bottom: 14%;
        left: 3%;
    }

    .console-data > div {
        padding-inline: 10px;
    }

    .console-data strong {
        font-size: 14px;
    }

    .hero-note {
        display: none;
    }

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

    .cap-card {
        min-height: 460px;
    }

    .section {
        padding: 80px 0;
    }

    .section-heading h2,
    .about-intro h2,
    .platform-copy h2 {
        font-size: 36px;
    }

    .solution-row {
        grid-template-columns: 40px 1fr;
        padding-inline: 0;
    }

    .solution-row:hover {
        padding-inline: 10px;
    }

    .solution-row > p,
    .solution-specs {
        grid-column: 2;
    }

    .solution-arrow {
        display: none;
    }

    .solution-specs {
        flex-wrap: wrap;
    }

    .solution-title h3 {
        font-size: 18px;
    }

    .studio-window {
        margin-inline: -15px;
        box-shadow: 0 24px 60px rgba(12, 24, 21, .15);
    }

    .studio-body {
        grid-template-columns: 95px 1fr;
        height: 390px;
    }

    .studio-inspector {
        display: none;
    }

    .studio-tree {
        padding-inline: 10px;
    }

    .canvas-part {
        width: 130px;
        height: 110px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stats span + span {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .contact-section {
        padding: 90px 0;
    }

    .contact-inner h2 {
        font-size: 45px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-details {
        flex-direction: column;
        gap: 18px;
    }

    .footer-main {
        padding-block: 55px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-links > div:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .auth-header {
        height: 72px;
        padding-inline: 18px;
    }

    .auth-visual {
        min-height: 330px;
        padding: 100px 22px 35px;
    }

    .auth-copy h1 {
        font-size: 40px;
    }

    .auth-core {
        transform: scale(.7);
        transform-origin: top right;
    }

    .auth-form-side {
        padding: 42px 20px 72px;
    }

    .auth-footnote {
        left: 20px;
        right: 20px;
    }

    .auth-footnote span:last-child {
        display: none;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-form-head h2 {
        font-size: 32px;
    }

    .workspace-topbar {
        height: 64px;
        padding-inline: 14px;
        gap: 10px;
    }

    .workspace-search {
        width: auto;
        flex: 1;
    }

    .workspace-search kbd,
    .topbar-signal {
        display: none;
    }

    .topbar-date {
        font-size: 8.5px;
    }

    .workspace-main {
        padding: 26px 15px 50px;
    }

    .workspace-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .heading-actions {
        width: 100%;
    }

    .heading-actions .workspace-button {
        flex: 1;
    }

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

    .workspace-stats article {
        min-height: 68px;
    }

    .content-block {
        padding: 16px;
    }

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

    .file-table-head {
        display: none;
    }

    .file-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding: 12px 4px;
    }

    .file-category,
    .file-location,
    .file-size,
    .file-date {
        display: none;
    }

    .file-actions {
        opacity: 1;
    }

    .file-actions .icon-button:nth-child(2) {
        display: none;
    }

    .preview-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .preview-title h1 {
        max-width: calc(100vw - 100px);
        font-size: 21px;
    }

    .preview-heading .heading-actions {
        flex-wrap: wrap;
    }

    .preview-heading .workspace-button {
        flex: 1;
    }

    .preview-layout {
        grid-template-columns: 1fr;
    }

    .viewer-content,
    .image-preview,
    .pdf-preview,
    .unsupported-preview {
        min-height: 440px;
    }

    .document-meta {
        padding: 16px;
    }

    .toast {
        right: 14px;
        left: 14px;
        top: 76px;
    }

    .workspace-dialog > form {
        padding: 20px;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero-metrics > div > span {
        font-size: 10.5px;
    }

    .hero-metrics strong {
        font-size: 21px;
    }

    .console-stage {
        height: 330px;
    }

    .console-data span {
        font-size: 8.5px;
    }

    .section-heading h2,
    .about-intro h2,
    .platform-copy h2 {
        font-size: 31px;
    }

    .auth-copy h1 {
        font-size: 35px;
    }

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

    .footer-links > div:last-child {
        grid-column: auto;
    }
}
