/* =========================================================
   GAPSOE AI LOGIN
   Matched to the supplied desktop reference
   ========================================================= */

:root {
    --page-bg: #eef1f5;
    --shell-bg: #ffffff;
    --panel-bg: #ffffff;
    --card-bg: rgba(255,255,255,.92);

    --text: #111827;
    --muted: #687386;
    --muted-2: #8a94a7;

    --border: #e1e5ec;
    --border-soft: #e9ecf2;
    --input-bg: #ffffff;

    --purple: #6b45f5;
    --purple-2: #7e4ff8;
    --purple-3: #5e39e8;
    --purple-soft: #f3f0ff;

    --blue: #3388f5;
    --green: #26c876;

    --shadow-shell: 0 14px 38px rgba(37, 43, 72, .12);
    --shadow-card: 0 13px 32px rgba(33, 39, 69, .08);
    --shadow-node: 0 8px 22px rgba(38, 43, 68, .11);

    --hero-glow: rgba(112, 75, 246, .11);
    --hero-dot: rgba(105, 73, 242, .11);
}

html[data-theme="dark"] {
    --page-bg: #070f20;
    --shell-bg: #081326;
    --panel-bg: #081326;
    --card-bg: rgba(14, 27, 47, .78);

    --text: #ffffff;
    --muted: #b2bbca;
    --muted-2: #8793a8;

    --border: #2b3950;
    --border-soft: #213048;
    --input-bg: #101b2d;

    --purple: #7449ff;
    --purple-2: #8a58ff;
    --purple-3: #6840f2;
    --purple-soft: #18143b;

    --blue: #4394ff;
    --green: #3bd68d;

    --shadow-shell: 0 20px 52px rgba(0,0,0,.35);
    --shadow-card: 0 16px 38px rgba(0,0,0,.22);
    --shadow-node: 0 10px 26px rgba(0,0,0,.26);

    --hero-glow: rgba(111, 71, 255, .25);
    --hero-dot: rgba(112, 74, 245, .10);
}

* {
    box-sizing: border-box;
}

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

html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    transition:
        background-color .24s ease,
        color .24s ease;
}

button,
input {
    font: inherit;
}

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

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

/* =========================================================
   PAGE / SHELL
   ========================================================= */

.auth-page {
    min-height: 100vh;
    padding: 18px;
    display: grid;
    place-items: center;
}

.auth-shell {
    position: relative;
    width: min(1460px, 100%);
    min-height: min(880px, calc(100vh - 36px));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(470px, .98fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--shell-bg);
    box-shadow: var(--shadow-shell);
    transition:
        background-color .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}

.auth-header {
    position: absolute;
    inset: 0 0 auto 0;
    height: 88px;
    z-index: 50;
    pointer-events: none;
}

.brand {
    position: absolute;
    top: 28px;
    left: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.brand-mark {
    width: 52px;
    height: 52px;
    color: #6d47f4;
    display: grid;
    place-items: center;
}


.brand-mark svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark {
    filter: drop-shadow(0 8px 14px rgba(107,69,245,.14));
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 5px 8px rgba(107,69,245,.16));
}

.brand-name {
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.7px;
    color: var(--text);
}

.brand-name b {
    color: #7045f5;
    font-weight: 800;
}

.theme-toggle {
    position: absolute;
    top: 30px;
    right: 30px;
    min-width: 162px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    pointer-events: auto;
}

.theme-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.theme-mode-icon {
    width: 19px;
    height: 19px;
}

.moon-icon {
    display: none;
}

html[data-theme="dark"] .sun-icon {
    display: none;
}

html[data-theme="dark"] .moon-icon {
    display: block;
}

.switch-track {
    position: relative;
    width: 46px;
    height: 25px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 999px;
    background: linear-gradient(135deg, #6943ef, #7c4ff7);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.12),
        0 5px 12px rgba(105,67,239,.18);
}

.switch-thumb {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.20);
    transition: transform .22s ease;
}

html[data-theme="dark"] .switch-thumb {
    transform: translateX(-21px);
}

/* =========================================================
   LEFT HERO
   ========================================================= */

.hero-panel {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    padding: 125px 36px 34px 38px;
    background:
        radial-gradient(circle at 34% 47%, var(--hero-glow) 0 1%, transparent 31%),
        linear-gradient(180deg, var(--panel-bg) 0%, var(--panel-bg) 100%);
    border-right: 1px solid var(--border-soft);
    transition:
        background-color .24s ease,
        border-color .24s ease;
}

.hero-panel::after {
    content: "";
    position: absolute;
    left: -40px;
    right: -10px;
    bottom: -55px;
    height: 185px;
    background-image: radial-gradient(circle, var(--hero-dot) 1.1px, transparent 1.1px);
    background-size: 15px 15px;
    mask-image: linear-gradient(to top, #000 5%, transparent 84%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 5;
    max-width: 520px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(39px, 3.65vw, 56px);
    line-height: 1.06;
    letter-spacing: -2.6px;
    font-weight: 800;
}

.hero-copy h1 span {
    background: linear-gradient(90deg, #4879f7 0%, #7248f3 61%, #834ef5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.64;
    letter-spacing: -.10px;
}

.channel-network {
    position: relative;
    z-index: 4;
    width: 430px;
    height: 210px;
    margin: 24px 0 8px 0;
}

.network-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.network-lines path {
    fill: none;
    stroke: rgba(117, 82, 242, .22);
    stroke-width: 1.25;
    stroke-dasharray: 3.5 6;
}

html[data-theme="dark"] .network-lines path {
    stroke: rgba(135, 99, 255, .30);
}

.channel-node {
    position: absolute;
    z-index: 6;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--panel-bg);
    box-shadow: var(--shadow-node);
}

.channel-node svg {
    width: 35px;
    height: 35px;
    overflow: visible;
}

.node-whatsapp {
    left: 50px;
    top: 23px;
    color: #25d366;
}

.node-facebook {
    right: 48px;
    top: 5px;
    color: #1877f2;
}

.node-instagram {
    left: 39px;
    bottom: 12px;
    color: #e4307f;
}

.node-web {
    right: 30px;
    bottom: 11px;
    color: #7048f4;
}

.bot-stage {
    position: absolute;
    left: 50%;
    top: 51%;
    width: 180px;
    height: 178px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
}

.bot-halo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.halo-one {
    width: 148px;
    height: 148px;
    background: radial-gradient(circle, rgba(126,83,255,.24), rgba(126,83,255,.08) 56%, transparent 71%);
    box-shadow: 0 0 0 1px rgba(126,83,255,.06);
}

.halo-two {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 50% 40%, #baa8ff 0%, #8b67ff 38%, #7247ef 76%, #6540dd 100%);
    box-shadow:
        0 14px 25px rgba(99, 61, 223, .25),
        0 0 0 12px rgba(115,76,245,.055);
}

.hero-bot {
    position: relative;
    z-index: 3;
    width: 94px;
    height: 90px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 9px 12px rgba(64,35,153,.18));
}

.hero-bot svg {
    width: 100%;
    height: 100%;
}

.bot-platform {
    position: absolute;
    z-index: 2;
    bottom: 6px;
    width: 142px;
    height: 27px;
    border-radius: 50%;
    background: linear-gradient(180deg, #9d82ff, #6840da);
    box-shadow: 0 10px 18px rgba(76,45,171,.24);
}

.bot-platform.small {
    z-index: 1;
    bottom: -2px;
    width: 164px;
    height: 31px;
    opacity: .48;
    filter: blur(.2px);
}

.feature-grid {
    position: relative;
    z-index: 5;
    width: min(100%, 575px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.feature-card {
    min-height: 103px;
    padding: 16px 15px;
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 8px 18px rgba(34,40,68,.055);
    transition:
        border-color .24s ease,
        background-color .24s ease;
}

html[data-theme="dark"] .feature-card {
    background: rgba(8,20,38,.72);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.feature-icon svg {
    width: 25px;
    height: 25px;
    overflow: visible;
}

.feature-icon.purple {
    color: #7250f5;
    background: linear-gradient(145deg, #f4f0ff, #e9e1ff);
}

.feature-icon.blue {
    color: #338af3;
    background: linear-gradient(145deg, #eef7ff, #dfeeff);
}

.feature-icon.green {
    color: #27c679;
    background: linear-gradient(145deg, #ecfff5, #dff9ec);
}

.feature-icon.violet {
    color: #6f46f5;
    background: linear-gradient(145deg, #f3efff, #e6defe);
}

html[data-theme="dark"] .feature-icon.purple,
html[data-theme="dark"] .feature-icon.violet {
    background: rgba(113,76,244,.14);
}

html[data-theme="dark"] .feature-icon.blue {
    background: rgba(51,138,243,.13);
}

html[data-theme="dark"] .feature-icon.green {
    background: rgba(39,198,121,.13);
}


.feature-icon {
    box-shadow:
        0 5px 12px rgba(66,50,130,.08),
        inset 0 0 0 1px rgba(255,255,255,.55);
}

html[data-theme="dark"] .feature-icon {
    box-shadow:
        0 5px 12px rgba(0,0,0,.18),
        inset 0 0 0 1px rgba(255,255,255,.03);
}

.feature-card strong {
    margin-top: 2px;
}

.feature-card strong {
    display: block;
    margin-top: 1px;
    font-size: 12.3px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.15px;
}

.feature-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.security-line {
    position: absolute;
    z-index: 5;
    left: 42px;
    bottom: 31px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
}

.security-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #7651f5;
}

.security-icon svg {
    width: 25px;
    height: 25px;
}


.channel-node {
    box-shadow:
        0 10px 26px rgba(38,43,68,.13),
        inset 0 0 0 1px rgba(255,255,255,.45);
}

html[data-theme="dark"] .channel-node {
    box-shadow:
        0 12px 28px rgba(0,0,0,.30),
        inset 0 0 0 1px rgba(255,255,255,.03);
}

.node-whatsapp {
    background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,.96), rgba(239,255,246,.95)),
        var(--panel-bg);
}

.node-facebook {
    background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,.96), rgba(239,247,255,.95)),
        var(--panel-bg);
}

.node-instagram {
    background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,.96), rgba(255,241,248,.95)),
        var(--panel-bg);
}

.node-web {
    background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,.96), rgba(244,240,255,.95)),
        var(--panel-bg);
}

html[data-theme="dark"] .node-whatsapp,
html[data-theme="dark"] .node-facebook,
html[data-theme="dark"] .node-instagram,
html[data-theme="dark"] .node-web {
    background: #0b1729;
}

/* =========================================================
   RIGHT LOGIN PANEL
   ========================================================= */

.login-panel {
    min-width: 0;
    min-height: 100%;
    padding: 114px 33px 36px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 72% 11%, rgba(111,70,246,.035), transparent 30%),
        var(--panel-bg);
    transition: background-color .24s ease;
}

.login-card {
    width: min(100%, 480px);
    padding: 34px 36px 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
    transition:
        background-color .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}

.login-title {
    margin-bottom: 26px;
}

.login-title h2 {
    margin: 0 0 7px;
    font-size: 27px;
    line-height: 1.2;
    letter-spacing: -.9px;
    font-weight: 800;
}

.login-title p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.form-alert {
    margin: -8px 0 17px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    line-height: 1.45;
}

.form-alert.error {
    color: #c33a4b;
    border: 1px solid rgba(221,73,92,.22);
    background: rgba(221,73,92,.07);
}

.form-alert.success {
    color: #13855e;
    border: 1px solid rgba(31,177,121,.22);
    background: rgba(31,177,121,.07);
}

.login-tabs {
    height: 44px;
    margin-bottom: 23px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(246,247,251,.55);
}

html[data-theme="dark"] .login-tabs {
    background: rgba(8,18,34,.48);
}

.login-tab {
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 12.4px;
    font-weight: 600;
    transition: .18s ease;
}

.login-tab.active {
    color: var(--purple);
    background: linear-gradient(180deg, rgba(110,68,246,.12), rgba(110,68,246,.045));
    box-shadow: inset 0 0 0 1px rgba(113,69,247,.56);
}

.login-mode {
    display: none;
}

.login-mode.active {
    display: block;
}

.field {
    margin-bottom: 17px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 11.3px;
    line-height: 1;
    font-weight: 700;
}

.control {
    position: relative;
}

.control-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    color: #929bad;
    pointer-events: none;
}

.control-icon svg {
    width: 19px;
    height: 19px;
}

.control input {
    width: 100%;
    height: 45px;
    padding: 0 42px;
    outline: none;
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 12px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .24s ease;
}

.control input::placeholder {
    color: #9ea7b7;
}

.control input:focus {
    border-color: rgba(111,69,246,.64);
    box-shadow: 0 0 0 3px rgba(111,69,246,.085);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    padding: 0;
    color: #8f99aa;
    background: transparent;
    cursor: pointer;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.eye-closed {
    display: none;
}

.password-toggle.showing .eye-open {
    display: none;
}

.password-toggle.showing .eye-closed {
    display: block;
}

.login-meta {
    margin-top: -2px;
    margin-bottom: 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11.5px;
    cursor: pointer;
}

.remember input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--purple);
}

.login-meta a {
    color: var(--purple);
    font-size: 11.5px;
    font-weight: 600;
}

.sign-in-btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(90deg, #603be9 0%, #7044f3 48%, #8052f7 100%);
    box-shadow: 0 8px 15px rgba(102,64,235,.18);
    font-size: 12.8px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        filter .16s ease;
}

.sign-in-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.025);
    box-shadow: 0 10px 18px rgba(102,64,235,.24);
}

.or-divider {
    margin: 25px 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 10.7px;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.social-btn {
    height: 43px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    background: var(--input-bg);
    cursor: pointer;
    font-size: 11.3px;
    font-weight: 600;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background-color .24s ease;
}

.social-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(109,69,245,.42);
}

.google-g {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    background: conic-gradient(
        from -45deg,
        #4285f4 0 25%,
        #34a853 0 40%,
        #fbbc05 0 65%,
        #ea4335 0 85%,
        #4285f4 0
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.facebook-f {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #1877f2;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.microsoft-mark {
    width: 15px;
    height: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5px;
}

.microsoft-mark i:nth-child(1) { background: #f35325; }
.microsoft-mark i:nth-child(2) { background: #81bc06; }
.microsoft-mark i:nth-child(3) { background: #05a6f0; }
.microsoft-mark i:nth-child(4) { background: #ffba08; }

.trial-box {
    margin-top: 21px;
    min-height: 110px;
    padding: 16px 16px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 15px;
    align-items: center;
    border: 1px solid rgba(113,69,247,.36);
    border-radius: 10px;
    background:
        linear-gradient(115deg, rgba(110,69,245,.075), rgba(110,69,245,.015)),
        var(--input-bg);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background-color .24s ease;
}

.trial-box:hover {
    transform: translateY(-1px);
    border-color: rgba(113,69,247,.56);
}

.trial-rocket {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #6d49f5;
    background: var(--purple-soft);
}

.trial-rocket svg {
    width: 42px;
    height: 42px;
}

.trial-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 12.1px;
    line-height: 1.3;
    font-weight: 700;
}

.trial-content small {
    display: block;
    color: var(--muted);
    font-size: 10.3px;
    line-height: 1.55;
}

.trial-content em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--purple);
    font-size: 10.7px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
}

.trial-content em span {
    font-size: 15px;
    line-height: .7;
}

.otp-copy {
    margin: -3px 0 17px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .auth-shell {
        grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
    }

    .hero-panel {
        padding-left: 30px;
        padding-right: 25px;
    }

    .hero-copy h1 {
        font-size: 43px;
    }

    .channel-network {
        transform: scale(.92);
        transform-origin: left center;
        margin-right: -35px;
    }

    .feature-grid {
        gap: 9px;
    }

    .feature-card {
        padding: 14px 12px;
    }

    .login-panel {
        padding-left: 26px;
        padding-right: 26px;
    }
}

@media (max-width: 960px) {
    .auth-page {
        padding: 0;
    }

    .auth-shell {
        width: 100%;
        min-height: 100vh;
        grid-template-columns: 1fr;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .auth-header {
        height: 82px;
    }

    .brand {
        top: 22px;
        left: 24px;
    }

    .theme-toggle {
        top: 24px;
        right: 24px;
    }

    .hero-panel {
        min-height: 700px;
        padding: 118px 34px 85px;
        border-right: 0;
        border-bottom: 1px solid var(--border-soft);
    }

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

    .hero-copy h1 {
        font-size: 52px;
    }

    .channel-network {
        width: 430px;
        transform: none;
    }

    .feature-grid {
        width: min(100%, 610px);
    }

    .security-line {
        left: 38px;
        bottom: 28px;
    }

    .login-panel {
        min-height: 690px;
        padding: 55px 24px;
    }

    .login-card {
        width: min(100%, 520px);
    }
}

@media (max-width: 620px) {
    .brand {
        left: 18px;
    }

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

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

    .theme-toggle {
        right: 16px;
        min-width: 48px;
    }

    .theme-label {
        display: none;
    }

    .hero-panel {
        min-height: auto;
        padding: 110px 20px 35px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 10vw, 46px);
        letter-spacing: -1.9px;
    }

    .hero-copy p {
        font-size: 13.5px;
    }

    .desktop-break {
        display: none;
    }

    .channel-network {
        width: 100%;
        max-width: 430px;
        transform: scale(.86);
        transform-origin: left center;
        margin-bottom: -12px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-card {
        min-height: 88px;
    }

    .security-line {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 24px;
    }

    .login-panel {
        min-height: auto;
        padding: 32px 14px 48px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .social-row {
        grid-template-columns: 1fr;
    }

    .trial-box {
        grid-template-columns: 50px 1fr;
    }

    .trial-rocket {
        width: 50px;
        height: 50px;
    }
}
