:root {

    --secondary: #0a323f;
    --secondary-light: #007c85;
    --text: #232323;
    --light-bg: #dbefe8;
    --primary: #effe43;

    --teal-950: #051f28;
    --teal-900: #082a35;
    --teal-800: #0a323f;
    --teal-700: #0d4150;
    --teal-600: #0f5160;

    --ink: #232323;
    --ink-soft: #4a5559;
    --muted: #5b6b6f;
    --line: #e4ebe9;
    --surface: #ffffff;
    --surface-2: #f6faf8;

    --on-dark: #eaf4f1;
    --on-dark-soft: #b8ccc9;
    --on-dark-faint: rgba(234, 244, 241, 0.62);

    --pos: #5fcabf;

    --r-xs: 8px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --s1: 8px;  --s2: 16px;  --s3: 24px;  --s4: 32px;
    --s5: 40px; --s6: 48px;  --s7: 64px;  --s8: 80px;

    --sh-sm: 0 1px 2px rgba(10, 50, 63, 0.06), 0 1px 1px rgba(10, 50, 63, 0.04);
    --sh-md: 0 8px 24px -8px rgba(10, 50, 63, 0.18), 0 2px 6px rgba(10, 50, 63, 0.06);
    --sh-lg: 0 30px 60px -22px rgba(5, 31, 40, 0.45), 0 10px 24px -12px rgba(5, 31, 40, 0.30);
    --sh-glass: 0 24px 60px -24px rgba(5, 20, 26, 0.55), inset 0 1px 0 rgba(255,255,255,0.10);

    --ring: 0 0 0 3px rgba(0, 124, 133, 0.32);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-ui);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--ink);
    background: var(--teal-950);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }
::selection { background: rgba(0,124,133,0.22); }

.shell {
    display: grid;
    grid-template-columns: 1.42fr 1fr;
    min-height: 100vh;
    min-height: 100dvh;
}

.brand {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 12% 8%, #0f4655 0%, rgba(15,70,85,0) 55%),
        radial-gradient(120% 110% at 88% 95%, #0b3a47 0%, rgba(11,58,71,0) 60%),
        linear-gradient(155deg, #0a323f 0%, #07262f 60%, #051f28 100%);
    color: var(--on-dark);
    padding: clamp(40px, 4.6vw, 72px);
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.brand .mesh, .brand .orb, .brand .grid-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.brand .mesh {
    background:
        radial-gradient(40% 38% at 20% 22%, rgba(0,124,133,0.34), transparent 70%),
        radial-gradient(36% 34% at 78% 30%, rgba(15,81,96,0.40), transparent 72%),
        radial-gradient(46% 44% at 60% 86%, rgba(0,124,133,0.22), transparent 70%);
    filter: blur(8px);
    animation: meshDrift 26s ease-in-out infinite alternate;
}
@keyframes meshDrift {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(-3%, 2%, 0) scale(1.06); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.03); }
}
.orb { z-index: -1; }
.orb i {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.5;
}
.orb .o1 {
    width: 360px; height: 360px; top: -90px; left: -60px;
    background: radial-gradient(circle, rgba(0,124,133,0.55), transparent 68%);
    animation: float1 22s var(--ease) infinite alternate;
}
.orb .o2 {
    width: 300px; height: 300px; bottom: -80px; right: 8%;
    background: radial-gradient(circle, rgba(219,239,232,0.16), transparent 70%);
    animation: float2 19s var(--ease) infinite alternate;
}
@keyframes float1 { to { transform: translate3d(40px, 50px, 0); } }
@keyframes float2 { to { transform: translate3d(-46px, -34px, 0); } }
.grid-overlay {
    background-image:
        linear-gradient(rgba(234,244,241,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234,244,241,0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(120% 100% at 30% 20%, #000 35%, transparent 88%);
            mask-image: radial-gradient(120% 100% at 30% 20%, #000 35%, transparent 88%);
}

.brand-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo .mark {
    width: 38px; height: 38px; border-radius: 11px;
    display: grid; place-items: center;
    background: linear-gradient(150deg, #0f5160, #0a323f);
    border: 1px solid rgba(234,244,241,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), var(--sh-sm);
}
.logo .mark svg { width: 20px; height: 20px; }
.logo .name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: #fff; }
.logo .name span { color: var(--secondary-light); }
.logo .name small { display: block; font-family: var(--font-ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-faint); margin-top: 1px; }

.topright {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 500; color: var(--on-dark-soft);
    padding: 7px 13px; border-radius: 999px;
    border: 1px solid rgba(234,244,241,0.12);
    background: rgba(234,244,241,0.04);
    backdrop-filter: blur(6px);
}

.topright .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(239,254,67,0.18);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.7; } }

.brand-hero { margin-top: auto; padding-top: var(--s7); max-width: none; width: 100%; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
    color: var(--on-dark-soft);
    padding: 6px 13px 6px 9px; border-radius: 999px;
    background: rgba(0,124,133,0.16);
    border: 1px solid rgba(0,124,133,0.34);
}
.eyebrow svg { width: 14px; height: 14px; color: var(--secondary-light); }
h1.headline {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 20px 0 0;
}
h1.headline em { font-style: normal; color: var(--secondary-light); }
.subhead {
    margin: 18px 0 0;
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 1.62;
    color: var(--on-dark-soft);
    max-width: 540px;
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 500; color: var(--on-dark);
    padding: 8px 13px; border-radius: 999px;
    background: rgba(234,244,241,0.05);
    border: 1px solid rgba(234,244,241,0.11);
}
.pill svg { width: 14px; height: 14px; color: var(--secondary-light); }

.dash-wrap { position: relative; margin-top: 34px; max-width: none; width: 100%; }
.dash {
    position: relative;
    border-radius: var(--r-xl);
    background: linear-gradient(165deg, rgba(234,244,241,0.10), rgba(234,244,241,0.025));
    border: 1px solid rgba(234,244,241,0.13);
    box-shadow: var(--sh-glass);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    padding: 22px;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-title { display: flex; align-items: center; gap: 10px; }
.dash-title .ico {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(0,124,133,0.22); border: 1px solid rgba(0,124,133,0.32);
}
.dash-title .ico svg { width: 17px; height: 17px; color: var(--secondary-light); }
.dash-title b { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: #fff; letter-spacing: -0.01em; }
.dash-title span { display: block; font-size: 11.5px; color: var(--on-dark-faint); margin-top: 1px; }
.dash-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(5,20,26,0.4); border: 1px solid rgba(234,244,241,0.10); }
.dash-seg button { border: 0; background: transparent; color: var(--on-dark-soft); font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 6px; }
.dash-seg button.is-active { background: rgba(234,244,241,0.10); color: #fff; }

.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; }

.chart-card {
    border-radius: var(--r-md);
    background: rgba(5,20,26,0.34);
    border: 1px solid rgba(234,244,241,0.10);
    padding: 16px 16px 8px;
}
.chart-card .ch-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4px; }
.ch-top .v { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: #fff; letter-spacing: -0.02em; }
.ch-top .v small { font-size: 12px; font-weight: 500; color: var(--on-dark-faint); }
.ch-top .trend { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--pos); }
.ch-label { font-size: 11px; color: var(--on-dark-faint); margin-bottom: 8px; letter-spacing: 0.02em; }
.chart-svg { width: 100%; height: 92px; }
.chart-line { fill: none; stroke: var(--secondary-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease-out) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-area { fill: url(#chArea); opacity: 0; animation: fadein 1.2s ease 1.4s forwards; }
@keyframes fadein { to { opacity: 1; } }
.chart-x { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--on-dark-faint); padding: 4px 2px 2px; }

.ring-col { display: flex; flex-direction: column; gap: 12px; }
.ring-card {
    display: flex; align-items: center; gap: 12px;
    border-radius: var(--r-sm);
    background: rgba(5,20,26,0.30);
    border: 1px solid rgba(234,244,241,0.09);
    padding: 11px 13px;
}
.ring { width: 46px; height: 46px; flex: none; position: relative; }
.ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: rgba(234,244,241,0.12); stroke-width: 4.5; }
.ring .fill { fill: none; stroke: var(--secondary-light); stroke-width: 4.5; stroke-linecap: round;
    stroke-dasharray: 126; stroke-dashoffset: 126; animation: ringdraw 1.8s var(--ease-out) 0.6s forwards; }
.ring[data-pct="76"] .fill { --target: 30.2; }
.ring[data-pct="92"] .fill { --target: 10.1; }
@keyframes ringdraw { to { stroke-dashoffset: var(--target, 0); } }
.ring .pctlabel {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 11px; color: #fff;
}
.ring-card .rt { flex: 1; min-width: 0; }
.ring-card .rt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: #fff; letter-spacing: -0.01em; }
.ring-card .rt span { font-size: 11px; color: var(--on-dark-faint); }

.recon {
    margin-top: 14px;
    border-radius: var(--r-md);
    background: rgba(5,20,26,0.30);
    border: 1px solid rgba(234,244,241,0.09);
    padding: 14px 16px;
}
.recon .rtop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.recon .rtop .lab { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #fff; }
.recon .rtop .lab svg { width: 15px; height: 15px; color: var(--secondary-light); }
.recon .rtop .matched { font-size: 12px; font-weight: 600; color: var(--pos); }
.meter { height: 8px; border-radius: 99px; background: rgba(234,244,241,0.10); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--secondary-light), #1ea7a3); transform-origin: left; animation: grow 1.6s var(--ease-out) 0.6s both; }
@keyframes grow { from { transform: scaleX(0); } }
.recon .rfoot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--on-dark-faint); }

.progress-wrap { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prog {
    border-radius: var(--r-md);
    background: rgba(5,20,26,0.30);
    border: 1px solid rgba(234,244,241,0.09);
    padding: 13px 14px;
}
.prog .ptop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.prog .ptop span { font-size: 12px; color: var(--on-dark-soft); font-weight: 500; }
.prog .ptop b { font-size: 12.5px; color: #fff; font-weight: 600; }
.bar { height: 7px; border-radius: 99px; background: rgba(234,244,241,0.10); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--secondary-light), #1ea7a3); transform-origin: left; animation: grow 1.6s var(--ease-out) 0.6s both; }

.float-card {
    position: absolute;
    top: -22px; right: 14px;
    display: flex; align-items: center; gap: 11px;
    padding: 12px 15px;
    border-radius: var(--r-md);
    background: rgba(8,34,42,0.78);
    border: 1px solid rgba(234,244,241,0.16);
    box-shadow: 0 22px 44px -20px rgba(5,20,26,0.8), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    animation: bob 6s ease-in-out infinite;
    will-change: transform;
    z-index: 2;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.float-card .fi {
    width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
    background: rgba(0,124,133,0.22); border: 1px solid rgba(0,124,133,0.32);
}
.float-card .fi svg { width: 17px; height: 17px; color: var(--secondary-light); }
.float-card .ft b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; letter-spacing: -0.01em; line-height: 1.15; }
.float-card .ft span { font-size: 10.5px; color: var(--on-dark-soft); }

.ai-insight {
    display: flex; align-items: center; gap: 10px;
    margin-top: 14px; padding: 11px 14px;
    border-radius: var(--r-sm);
    background: rgba(0,124,133,0.12);
    border: 1px solid rgba(0,124,133,0.26);
    font-size: 12px; color: var(--on-dark);
}
.ai-insight svg { width: 15px; height: 15px; flex: none; color: var(--secondary-light); }
.ai-insight b { font-weight: 600; color: #fff; }

.trust {
    margin-top: 28px;
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px;
}
.trust .who { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--on-dark); font-weight: 600; }
.avatars { display: inline-flex; }
.avatars i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0a323f; margin-left: -8px; background: linear-gradient(135deg, #0f5160, #007c85); }
.avatars i:first-child { margin-left: 0; }
.trust .badges { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
    color: var(--on-dark-soft);
    padding: 6px 11px; border-radius: 8px;
    background: rgba(234,244,241,0.05);
    border: 1px solid rgba(234,244,241,0.11);
}
.badge svg { width: 13px; height: 13px; color: var(--secondary-light); }

.auth {
    position: relative;
    display: flex; flex-direction: column;
    background:
        radial-gradient(90% 60% at 100% 0%, rgba(219,239,232,0.55), transparent 60%),
        linear-gradient(180deg, #fbfdfc 0%, #f2f8f5 100%);
    padding: clamp(32px, 4vw, 72px);
    overflow: hidden;
}
.auth::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(10,50,63,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,50,63,0.022) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(110% 80% at 80% 0%, #000 0%, transparent 70%);
            mask-image: radial-gradient(110% 80% at 80% 0%, #000 0%, transparent 70%);
    pointer-events: none;
}

.auth-inner {
    position: relative;
    margin: auto 0;
    width: 100%;
    max-width: none;
    display: flex; flex-direction: column;
}

.auth-card {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    animation: rise 0.7s var(--ease-out) both;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card-logo {
    display: inline-flex; align-items: center; gap: 11px; margin-bottom: 22px;
}
.card-logo .mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(150deg, #0f5160, #0a323f);
    box-shadow: var(--sh-md);
}
.card-logo .mark svg { width: 21px; height: 21px; }
.card-logo b { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--secondary); letter-spacing: -0.01em; }
.card-logo b span { color: var(--secondary-light); }

.secure-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--secondary-light);
    padding: 5px 10px; border-radius: 999px;
    background: var(--light-bg);
    border: 1px solid rgba(0,124,133,0.18);
    margin-bottom: 14px;
}
.secure-tag svg { width: 12px; height: 12px; }

h2.welcome { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--secondary); margin: 0; }
.welcome-sub { margin: 7px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.notice {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 20px; padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 13px; line-height: 1.45;
    background: var(--light-bg); border: 1px solid rgba(0,124,133,0.28); color: var(--secondary);
}
.notice svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--secondary-light); }

.alert {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 20px; padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 13px; line-height: 1.45;
    background: #fdeceb; border: 1px solid #f3c9c6; color: #8d2b25;
}
.alert svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.alert strong { font-weight: 600; }

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

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.field { position: relative; margin-bottom: 16px; }
.field .control {
    position: relative;
    display: flex; align-items: center;
    border: 1.5px solid var(--line);
    background: rgba(255,255,255,0.85);
    border-radius: var(--r-md);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field .control:focus-within {
    border-color: var(--secondary-light);
    box-shadow: var(--ring);
    background: #fff;
}
.field .lead {
    display: grid; place-items: center; width: 44px; height: 52px; flex: none; color: var(--muted);
    transition: color 0.25s var(--ease);
}
.field .control:focus-within .lead { color: var(--secondary-light); }
.field .lead svg { width: 17px; height: 17px; }
.field input {
    flex: 1; min-width: 0;
    border: 0; outline: none; background: transparent;
    font-family: inherit; font-size: 14.5px; color: var(--ink);
    height: 52px;
    padding: 18px 14px 6px 0;
}
.field.has-lead input { padding-left: 0; }
.field:not(.has-lead) input { padding-left: 16px; }
.field input::placeholder { color: transparent; }

.field .float {
    position: absolute;
    left: 44px; top: 50%; transform: translateY(-50%);
    font-size: 14.5px; color: var(--muted);
    pointer-events: none;
    transition: top 0.2s var(--ease), font-size 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.field:not(.has-lead) .float { left: 16px; }
.field input:focus ~ .float,
.field input:not(:placeholder-shown) ~ .float {
    top: 13px; transform: translateY(0);
    font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
    color: var(--secondary-light);
}
.field .trail {
    display: grid; place-items: center; width: 46px; height: 52px; flex: none;
    border: 0; background: transparent; color: var(--muted);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    transition: color 0.2s var(--ease);
}
.field .trail:hover { color: var(--secondary); }
.field .trail:focus-visible { outline: none; box-shadow: var(--ring); color: var(--secondary); }
.field .trail svg { width: 18px; height: 18px; }
.field .trail .eye-off { display: none; }
.field .trail[aria-pressed="true"] .eye-on { display: none; }
.field .trail[aria-pressed="true"] .eye-off { display: block; }

.field.is-error .control { border-color: #d9534f; background: #fff; }
.field.is-error .control:focus-within { box-shadow: 0 0 0 3px rgba(217,83,79,0.22); }
.field.is-error .lead { color: #d9534f; }
.field-msg { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #c0413d; margin: 6px 2px 0; font-weight: 500; }
.field-msg svg { width: 13px; height: 13px; flex: none; }

.field-help { font-size: 11.5px; color: var(--muted); margin: 6px 2px 0; }

.caps-hint {
    display: none; align-items: center; gap: 5px;
    font-size: 11.5px; color: #8a5e0f; font-weight: 500;
    margin: 6px 2px 0;
}
.caps-hint.show { display: flex; }
.caps-hint svg { width: 13px; height: 13px; }

.pw-strength { display: flex; align-items: center; gap: 9px; margin: 8px 2px 0; }
.pw-strength[hidden] { display: none; }
.pw-strength__bar { flex: 1; height: 5px; border-radius: 99px; background: #e4ebea; overflow: hidden; }
.pw-strength__bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 0.3s var(--ease), background 0.3s var(--ease); }
.pw-strength__label { font-size: 11px; font-weight: 600; color: var(--muted); min-width: 56px; text-align: right; }
.pw-strength[data-level="1"] .pw-strength__bar i { width: 25%; background: #e11d48; }
.pw-strength[data-level="1"] .pw-strength__label { color: #e11d48; }
.pw-strength[data-level="2"] .pw-strength__bar i { width: 50%; background: #f59e0b; }
.pw-strength[data-level="2"] .pw-strength__label { color: #b45309; }
.pw-strength[data-level="3"] .pw-strength__bar i { width: 75%; background: #007c85; }
.pw-strength[data-level="3"] .pw-strength__label { color: var(--secondary-light); }
.pw-strength[data-level="4"] .pw-strength__bar i { width: 100%; background: #059669; }
.pw-strength[data-level="4"] .pw-strength__label { color: #059669; }

.field-top { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 7px; }
.field-top .l { font-size: 12.5px; font-weight: 600; color: var(--secondary); letter-spacing: 0.01em; }
.field-top a { font-size: 12.5px; font-weight: 600; color: var(--secondary-light); }
.field-top a:hover { text-decoration: underline; }

.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; }
.check { display: inline-flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 13px; color: var(--ink-soft); user-select: none; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
    width: 20px; height: 20px; border-radius: 6px; flex: none; margin-top: 1px;
    border: 2px solid #9bb0ad; background: #fff;
    box-shadow: inset 0 1px 2px rgba(10,50,63,0.08);
    display: grid; place-items: center;
    transition: all 0.2s var(--ease);
}
.check:hover .box { border-color: var(--secondary-light); }
.check .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.6); transition: all 0.2s var(--ease); }

.check input:checked + .box { background: var(--secondary-light); border-color: var(--secondary-light); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { box-shadow: var(--ring); }
.check a { color: var(--secondary); font-weight: 600; }
.check a:hover { color: var(--secondary-light); text-decoration: underline; }
.check.is-error .box { border-color: #d9534f; }

.cta {
    position: relative;
    width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 54px;
    border: 0; border-radius: var(--r-md);
    background: var(--primary);
    color: var(--secondary);
    font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
    box-shadow: 0 12px 28px -10px rgba(239,254,67,0.55), 0 2px 6px rgba(10,50,63,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: transform 0.18s var(--ease), box-shadow 0.3s var(--ease), filter 0.2s var(--ease);
    overflow: hidden;
}
.cta svg { width: 18px; height: 18px; }
.cta::before {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s var(--ease);
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -10px rgba(239,254,67,0.6), 0 4px 10px rgba(10,50,63,0.2), inset 0 1px 0 rgba(255,255,255,0.5); filter: saturate(1.05); }
.cta:hover::before { left: 130%; }
.cta:active { transform: translateY(0); }
.cta:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(10,50,63,0.25), 0 12px 28px -10px rgba(239,254,67,0.55); }
.cta .spin { display: none; width: 18px; height: 18px; }
.cta.is-loading { cursor: progress; pointer-events: none; }
.cta.is-loading .label, .cta.is-loading .arrow { display: none; }
.cta.is-loading .spin { display: block; animation: rot 0.7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.signup { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 22px; }
.signup a { color: var(--secondary); font-weight: 600; }
.signup a:hover { color: var(--secondary-light); text-decoration: underline; }

.ai-line {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 11.5px; color: var(--muted); font-weight: 500;
}
.ai-line svg { width: 14px; height: 14px; color: var(--secondary-light); }

.auth-footer {
    margin-top: 24px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-size: 11.5px; color: var(--muted);
}
.auth-footer a { color: var(--ink-soft); font-weight: 500; }
.auth-footer a:hover { color: var(--secondary); }
.auth-footer .lk { display: inline-flex; gap: 16px; }

@media (max-width: 1024px) {
    .shell { grid-template-columns: 1fr; }
    .brand { display: none; }
    .auth {
        padding: 40px 24px;
        min-height: 100vh;
        min-height: 100dvh;
        justify-content: center;
    }
    .auth-inner { max-width: 460px; margin: auto; }
}
@media (max-width: 560px) {
    .auth { padding: 24px 16px; }
    .auth-inner { max-width: 100%; }
    .grid-2 { grid-template-columns: 1fr; }
    .row-between { flex-wrap: wrap; }
}

@media (min-width: 1025px) {
    html:has(body.lock) { height: 100%; overflow: hidden; }
    body.lock { height: 100%; overflow: hidden; }
    body.lock .shell { height: 100vh; height: 100dvh; }
    body.lock .brand,
    body.lock .auth {
        height: 100vh; height: 100dvh;
        min-height: 0;
    }

    body.lock .brand { overflow: hidden; }

    body.lock .auth { overflow-y: auto; overflow-x: hidden; }

    body.lock .brand { padding: clamp(22px, 3.4vh, 56px) clamp(34px, 4vw, 64px); }
    body.lock .auth { padding: clamp(22px, 3.4vh, 48px) clamp(28px, 3vw, 56px); }

    body.lock .brand-hero { padding-top: clamp(12px, 2vh, 36px); }
    body.lock h1.headline { font-size: clamp(26px, 4vh, 48px); margin-top: clamp(8px, 1.6vh, 20px); }
    body.lock .subhead { margin-top: clamp(8px, 1.4vh, 18px); font-size: clamp(13px, 1.65vh, 16.5px); line-height: 1.55; }
    body.lock .pills { margin-top: clamp(10px, 1.8vh, 26px); gap: 7px; }
    body.lock .trust { margin-top: clamp(12px, 2vh, 28px); }

    body.lock .dash-wrap { margin-top: clamp(12px, 2.2vh, 34px); }
    body.lock .dash { padding: clamp(12px, 1.8vh, 22px); }
    body.lock .dash-head { margin-bottom: clamp(8px, 1.4vh, 18px); }
    body.lock .dash-grid { gap: 10px; }
    body.lock .chart-card { padding: clamp(10px, 1.4vh, 16px) clamp(10px, 1.4vh, 16px) 6px; }
    body.lock .chart-svg { height: clamp(44px, 8vh, 92px); }
    body.lock .ch-top .v { font-size: clamp(17px, 2.4vh, 24px); }
    body.lock .ring { width: clamp(38px, 6vh, 46px); height: clamp(38px, 6vh, 46px); }
    body.lock .ring svg { width: 100%; height: 100%; }
    body.lock .ring-card { padding: clamp(7px, 1.1vh, 11px) 12px; }
    body.lock .recon { margin-top: clamp(8px, 1.4vh, 14px); padding: clamp(9px, 1.4vh, 14px) 14px; }
    body.lock .progress-wrap { margin-top: clamp(8px, 1.4vh, 14px); gap: 12px; }
    body.lock .prog { padding: clamp(9px, 1.3vh, 13px) 14px; }
    body.lock .ai-insight { margin-top: clamp(8px, 1.4vh, 14px); padding: clamp(8px, 1.2vh, 11px) 14px; }

    body.lock .auth-inner { margin: auto 0; }
    body.lock .auth-form { margin-top: clamp(14px, 1.8vh, 22px); }
    body.lock .auth .field { margin-bottom: clamp(10px, 1.4vh, 16px); }
    body.lock .auth .field-top { margin-bottom: clamp(4px, 0.8vh, 7px); }
    body.lock .auth .row-between { margin: clamp(2px, 0.6vh, 4px) 0 clamp(14px, 1.8vh, 22px); }
    body.lock .auth .card-logo { margin-bottom: clamp(12px, 1.8vh, 22px); }
    body.lock .auth .ai-line { margin-top: clamp(14px, 1.8vh, 22px); padding-top: clamp(12px, 1.4vh, 18px); }
}

@media (min-width: 1025px) and (max-height: 760px) {
    body.lock .progress-wrap,
    body.lock .ai-insight { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
    .chart-line { stroke-dashoffset: 0; }
    .chart-area { opacity: 1; }
    .bar i, .meter i { transform: none; }
    .ring .fill { stroke-dashoffset: var(--target, 0); }
    .float-card { transform: none; }
    .auth-card { opacity: 1; transform: none; }
}
