/* =========================================================
   Link Core IT — public site styles (Inter + Outfit, violet theme)
   Change colours and fonts in :root — the whole site follows.
   ========================================================= */

:root {
    --night: #1B1546;       /* deep ink-violet (few dark spots only) */
    --night-2: #2A2266;
    --blue: #5B47FB;        /* main brand violet */
    --blue-dark: #4632E8;
    --violet: #8B5CF6;
    --aqua: #14B8A6;
    --pink: #F43F75;
    --orange: #FF7A45;      /* coral accent */
    --green: #10B981;

    --ink: #15132B;         /* main text */
    --muted: #5F6179;       /* secondary text */
    --line: #E9E7F4;
    --tint: #F6F4FF;        /* soft lavender background */
    --white: #FFFFFF;

    --grad: linear-gradient(120deg, #5B47FB 0%, #7B5CFF 100%);
    --shadow: 0 18px 44px -22px rgba(40, 28, 120, .28);
    --shadow-lg: 0 36px 70px -30px rgba(30, 20, 90, .45);

    --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-head: 'Outfit', 'Inter', system-ui, sans-serif;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
a  { color: var(--blue); }
.muted { color: var(--muted); }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; margin: -1px; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: .65rem 1.2rem; border-radius: var(--radius-sm);
    font: 700 .95rem var(--font); text-decoration: none; white-space: nowrap;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s;
}
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; border-radius: 8px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 71, 251, .7); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(91, 71, 251, .8); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(30, 22, 80, .2); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(124, 92, 255, .8); }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo-text span { color: var(--blue); margin-left: 1px; }
.logo-light { color: #fff; }
.logo-light .logo-text span { color: #8FA6FF; }

.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav > a:hover { color: var(--blue); }
.nav-auth { display: flex; gap: 10px; margin-left: 6px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--night);
    color: #fff;
    padding: 84px 0 150px;
}
/* soft coloured light + faint grid behind the hero */
.hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 20%, rgba(124, 92, 255, .55), transparent 70%),
        radial-gradient(520px 380px at 10% 90%, rgba(91, 71, 251, .5), transparent 70%),
        radial-gradient(300px 200px at 55% 0%, rgba(25, 195, 230, .25), transparent 70%);
}
.hero-glow::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-glow.small { opacity: .7; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px 7px 12px; border-radius: 40px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
    font-size: .875rem; font-weight: 600; color: #DCE3FF; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 185, 129, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(18, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 185, 129, 0); } }

.hero h1 { color: #fff; }
.grad {
    background: linear-gradient(100deg, #7FA0FF 0%, #B98BFF 50%, #5FE0F5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.2rem; color: #C2CBEF; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; font-size: .92rem; color: #C2CBEF; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
    content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* hero mock-up */
.hero-visual { position: relative; padding: 20px 10px 30px 30px; }
.mock {
    background: #fff; color: var(--ink);
    border-radius: var(--radius-lg); padding: 18px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.mock-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; }
.dots i:nth-child(2) { background: #FFC542; }
.dots i:nth-child(3) { background: #36D399; }
.mock-search { flex: 1; font-size: .82rem; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 30px; padding: 7px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.mock-chips span { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--tint); color: var(--muted); }
.mock-chips .on { background: var(--blue); color: #fff; }
.mock-rows { display: grid; gap: 8px; }
.mock-row {
    display: grid; grid-template-columns: 36px 1fr auto auto auto; align-items: center; gap: 12px;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem;
}
.mock-row:first-child { border-color: #C9D5FF; background: #F7F9FF; }
.mock-fav { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.mock-row:nth-child(2) .mock-fav { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.mock-row:nth-child(3) .mock-fav { background: linear-gradient(135deg, var(--aqua), var(--blue)); }
.mock-row:nth-child(4) .mock-fav { background: linear-gradient(135deg, var(--green), var(--aqua)); }
.mock-domain { font-weight: 700; line-height: 1.25; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-domain small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.mock-price { font-weight: 800; }
.mock-btn { font-size: .75rem; font-weight: 700; color: #fff; background: var(--grad); padding: 6px 12px; border-radius: 8px; }

.float {
    position: absolute; background: #fff; color: var(--ink);
    border-radius: 14px; box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}
.float-order { left: -10px; bottom: -6px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.float-order b { display: block; font-size: .9rem; }
.float-order small { color: var(--muted); font-size: .78rem; }
.float-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-icon.ok { background: var(--green); }
.float-wallet { right: -6px; top: -8px; padding: 12px 16px; min-width: 170px; animation-delay: -3s; }
.float-wallet small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; }
.float-wallet b { font-size: 1.25rem; letter-spacing: -0.02em; }
.float-wallet .bar { display: block; height: 6px; border-radius: 6px; background: var(--tint); margin-top: 8px; overflow: hidden; }
.float-wallet .bar i { display: block; width: 68%; height: 100%; background: var(--grad); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Promise strip (overlaps the hero) ---------- */
.promise { position: relative; margin-top: -78px; z-index: 2; }
.promise-card {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border: 1px solid var(--line);
}
.promise-card div { padding: 26px 28px; }
.promise-card div + div { border-left: 1px solid var(--line); }
.promise-card b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promise-card span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--night); color: #fff; overflow: hidden; }
.section-dark .wrap { position: relative; }
.section-head { max-width: 44rem; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-dark .section-head p { color: #C2CBEF; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 40rem; }
.section-head.split p { margin: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
    --c: var(--blue);
    position: relative; padding: 32px 30px 28px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--c); opacity: 0; transition: opacity .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service-icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
    color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 12%, white);
}
.service p { color: var(--muted); font-size: .98rem; }
.service-link { font-weight: 700; color: var(--c); text-decoration: none; font-size: .95rem; }
.service-link:hover { text-decoration: underline; }
.tone-blue   { --c: var(--blue); }
.tone-violet { --c: var(--violet); }
.tone-pink   { --c: var(--pink); }
.tone-aqua   { --c: #0EA5C6; }
.tone-orange { --c: #F07316; }
.tone-green  { --c: #0E9F6E; }

/* ---------- Marketplace table ---------- */
.table-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tool-search { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 240px; padding: 9px 14px; border-radius: 10px; background: var(--tint); color: var(--muted); font-size: .9rem; }
.chip { font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.table-scroll { overflow-x: auto; position: relative; }
.sites { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 860px; }
.sites th { text-align: left; font-size: .8rem; font-weight: 700; color: var(--muted); padding: 14px 20px; background: #FAFBFF; white-space: nowrap; }
.sites td { padding: 16px 20px; border-top: 1px solid var(--line); white-space: nowrap; }
.sites tbody tr:hover { background: #FAFBFF; }
.sites .num { text-align: right; font-variant-numeric: tabular-nums; }
.sites .domain { font-weight: 700; color: var(--ink); }
.sites .price { font-weight: 800; }
.niche { font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--tint); color: var(--muted); }
.cc { font-size: .8rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); }
.dr { display: inline-block; min-width: 42px; text-align: center; font-size: .82rem; font-weight: 800; padding: 4px 8px; border-radius: 8px; background: #E9EEFF; color: var(--blue-dark); }
.dr-high { background: #DDF7EC; color: #087F56; }
.dr-mid  { background: #E9EEFF; color: var(--blue-dark); }
.dr-low  { background: #FFF1E2; color: #B45309; }
.table-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Advertisers / publishers ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud { position: relative; overflow: hidden; padding: 48px 44px; border-radius: var(--radius-lg); color: #fff; }
.aud::after { content: ""; position: absolute; width: 320px; height: 320px; right: -90px; bottom: -120px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.aud-buyer { background: linear-gradient(140deg, #5B47FB 0%, #3C3BE0 100%); }
.aud-publisher { background: linear-gradient(140deg, #8B5CF6 0%, #C0369A 100%); }
.aud-tag { display: inline-block; font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; background: rgba(255, 255, 255, .18); margin-bottom: 18px; }
.aud h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 16ch; }
.aud ul { list-style: none; padding: 0; margin: 0 0 30px; position: relative; z-index: 1; }
.aud li { padding: 8px 0 8px 30px; position: relative; color: rgba(255, 255, 255, .9); }
.aud li::before {
    content: ""; position: absolute; left: 0; top: .72em; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.aud .btn { position: relative; z-index: 1; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li {
    position: relative; padding: 30px 26px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
}
.steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
}
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgba(124, 92, 255, .9); }
.steps h3 { color: #fff; margin-top: 12px; }
.steps p { color: #B7C1E8; font-size: .96rem; margin: 0; }

.status { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.s-pending   { background: #FFF1DB; color: #B45309; }
.s-progress  { background: #E3EAFF; color: #4632E8; }
.s-published { background: #EFE6FF; color: #6A2BD9; }
.s-done      { background: #D9F6EA; color: #087F56; }

/* ---------- Dashboard preview ---------- */
.dash-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.dash-grid > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { padding: 8px 0 8px 32px; position: relative; font-weight: 500; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .7em; width: 20px; height: 20px; border-radius: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, var(--grad);
}
.dash {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: 26px;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.dash::before {
    content: ""; position: absolute; inset: -18px -18px auto auto; width: 70%; height: 80%; z-index: -1;
    border-radius: var(--radius-lg); background: var(--grad); opacity: .14;
}
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.dash-head small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.dash-head b { font-size: 1.05rem; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 22px; }
.tracker .t { font-size: .72rem; font-weight: 700; color: var(--muted); padding-top: 12px; border-top: 4px solid var(--line); }
.tracker .t.done { border-color: var(--green); color: #087F56; }
.tracker .t.now  { border-color: var(--blue); color: var(--blue); }
.dash-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.dash-meta div { background: var(--tint); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.dash-meta small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; }
.dash-meta b { font-size: .92rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-msg { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px dashed #C9D5FF; border-radius: 12px; }
.dash-msg p { margin: 0; font-size: .9rem; color: var(--muted); }
.dash-msg b { display: block; color: var(--ink); font-size: .85rem; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem; background: linear-gradient(135deg, var(--pink), var(--violet)); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.faq-wrap > * { min-width: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #C9D5FF; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
    background: var(--tint); color: var(--blue); font-size: 1.2rem; font-weight: 600;
}
.faq details[open] summary::after { content: "–"; background: var(--grad); color: #fff; }
.faq details p { color: var(--muted); padding: 0 24px 20px; margin: 0; }

/* ---------- Final CTA ---------- */
.cta-section { padding-top: 40px; }
.cta-box {
    position: relative; overflow: hidden;
    display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
    padding: 56px; border-radius: var(--radius-lg); color: #fff;
    background:
        radial-gradient(400px 260px at 90% 0%, rgba(25, 195, 230, .45), transparent 70%),
        linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%);
}
.cta-box h2 { margin-bottom: .3em; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-box .hero-actions { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: #AEB8E0; font-size: .95rem; }
.footer-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(520px 300px at 0% 0%, rgba(91, 71, 251, .35), transparent 70%),
        radial-gradient(520px 320px at 100% 30%, rgba(124, 92, 255, .3), transparent 70%);
}
.site-footer .wrap { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--aqua)); }

.footer-top {
    display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
    padding-top: 64px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-top h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .25em; }
.footer-top p { margin: 0; color: #C2CBEF; }
.footer-top-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { margin: 18px 0 20px; max-width: 24rem; line-height: 1.7; }
.footer-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.footer-points li { display: flex; align-items: center; gap: 10px; color: #D3DAF5; font-size: .92rem; }
.footer-points li::before {
    content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat, var(--green);
}
.socials { display: flex; gap: 10px; }
.socials a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
    transition: background-color .15s, transform .15s;
}
.socials a:hover { background: var(--grad); transform: translateY(-2px); }

.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: #AEB8E0; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .logo { color: #fff; }
.site-footer .btn-primary { color: #fff; }
.site-footer .btn-glass { color: #fff; }

.footer-bottom { position: relative; background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Login / sign-up card ---------- */
.auth-section { position: relative; overflow: hidden; background: var(--night); padding: 64px 0 80px; }
.auth-section .wrap { position: relative; }
.auth-card {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    max-width: 1040px; margin: 0 auto;
    background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .hero-grid, .dash-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
    .hero { padding-bottom: 130px; }
    .hero-visual { max-width: 560px; }
    .mock { transform: none; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .steps li::after { display: none; }
    .promise-card { grid-template-columns: 1fr 1fr; }
    .promise-card div:nth-child(3) { border-left: 0; }
    .promise-card div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }

    /* mobile menu */
    .nav-toggle {
        display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
        background: var(--tint); color: var(--ink); border: 0; border-radius: 12px;
    }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        padding: 8px 20px 20px;
    }
    .nav.is-open { display: flex; }
    .nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav-auth { margin: 16px 0 0; }
    .nav-auth .btn { flex: 1; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .hero { padding: 48px 0 120px; }
    .hero-visual { padding: 24px 0 36px; }
    .mock { padding: 14px; }
    .mock-row { grid-template-columns: 32px 1fr auto auto; gap: 10px; }
    .mock-fav { width: 32px; height: 32px; }
    .mock-btn { display: none; }
    .float-wallet { right: 0; top: 0; min-width: 150px; }
    .float-order { left: 0; bottom: 0; }
    .hero-actions .btn { flex: 1 1 auto; }
    .section { padding: 72px 0; }
    .promise-card { grid-template-columns: 1fr; }
    .promise-card div + div { border-left: 0; border-top: 1px solid var(--line); }
    .promise-card div { padding: 18px 22px; }
    .service-grid, .steps, .audience { grid-template-columns: 1fr; }
    .aud { padding: 36px 26px; }
    .dash { padding: 20px; }
    .dash-meta { grid-template-columns: 1fr; }
    .cta-box { padding: 36px 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { padding-top: 48px; }
    .footer-top-actions .btn { flex: 1 1 auto; }
}


/* =========================================================
   Inner pages
   ========================================================= */
.nav > a.is-active { color: var(--blue); }

/* page banner */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 64px 0 72px; }
.page-hero-inner { position: relative; }
.page-hero-inner h1 { max-width: 20ch; }
.page-hero-inner .lead { max-width: 40rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero .hero-actions { margin-bottom: 0; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; font-weight: 600; color: #8F9BC8; margin-bottom: 18px; }
.crumbs a { color: #C2CBEF; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.section-tint .feature { border-color: transparent; box-shadow: 0 10px 30px -24px rgba(30, 22, 80, .35); }
.feature .service-icon { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* standalone icon tiles (outside .service cards) */
.service-icon.tone-blue, .service-icon.tone-violet, .service-icon.tone-pink, .service-icon.tone-aqua, .service-icon.tone-orange, .service-icon.tone-green {
    display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
    color: var(--c); background: color-mix(in srgb, var(--c) 12%, white);
}

.aud-tag.tag-blue { background: #E3EAFF; color: var(--blue-dark); }
.aud-tag.tag-violet { background: #EFE6FF; color: #6A2BD9; }
.center { text-align: center; }

/* link insertion mock article */
.li-article { padding: 4px 0 6px; color: #33405A; font-size: .98rem; }
.li-article p { margin-bottom: .6em; }
.li-new { background: linear-gradient(transparent 55%, #D9E2FF 55%); color: var(--blue-dark); font-weight: 700; padding: 0 2px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-fade { -webkit-mask-image: linear-gradient(#000 10%, transparent); mask-image: linear-gradient(#000 10%, transparent); }

/* comparison table */
.compare-card { max-width: 900px; margin: 0 auto; }
.compare-table { min-width: 560px; }
.compare-table thead th { font-size: .95rem; color: var(--ink); }
.compare-table thead th:nth-child(2) { color: var(--violet); }
.compare-table thead th:nth-child(3) { color: var(--blue); }
.compare-table tbody th { text-align: left; font-weight: 700; padding: 16px 20px; border-top: 1px solid var(--line); white-space: nowrap; width: 30%; }
.compare-table td { white-space: normal; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.plan { position: relative; padding: 36px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.plan h2 { font-size: 1.5rem; margin-bottom: .2em; }
.plan-tagline { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price { margin: 18px 0 24px; }
.plan-price b { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 30px; }
.plan-list li::before, .checks.small li::before {
    content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E9F6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, #DDF7EC;
}
.plan.is-popular { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); transform: translateY(-12px); }
.plan-badge { position: absolute; top: -14px; left: 32px; font-size: .78rem; font-weight: 700; color: #fff; padding: 5px 14px; border-radius: 20px; background: var(--grad); }
.cta-soft { padding: 44px 48px; }

/* marketplace page */
.market { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.market-filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.market-filters h2 { font-size: 1.15rem; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.filter-label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: #EEF2FF; color: var(--blue-dark); }
.notice svg { flex: none; margin-top: 2px; }
.notice p { margin: 0; color: var(--ink); }
.notice a { font-weight: 700; }

/* timelines */
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.timeline li { counter-increment: t; position: relative; padding-top: 64px; }
.timeline li::before {
    content: counter(t); position: absolute; top: 0; left: 0; display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800;
    box-shadow: 0 10px 24px -10px rgba(91, 71, 251, .8);
}
.timeline li::after { content: ""; position: absolute; top: 21px; left: 56px; right: -8px; height: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline-violet li::before { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 10px 24px -10px rgba(124, 92, 255, .8); }
.timeline-violet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline h3 { font-size: 1.1rem; }
.timeline p { color: var(--muted); font-size: .96rem; margin: 0; }

.stage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stage { padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.stage p { color: #B7C1E8; margin: 14px 0 0; font-size: .96rem; }

.money-flow { display: flex; align-items: stretch; gap: 16px; }
.money-step { flex: 1; padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 10px 30px -24px rgba(30, 22, 80, .35); }
.money-step .service-icon { margin-bottom: 16px; }
.money-step p { color: var(--muted); margin: 0; }
.money-arrow { align-self: center; font-size: 1.6rem; color: var(--blue); font-weight: 700; }

/* services page */
.dev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dev { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 10px 30px -24px rgba(30, 22, 80, .35); }
.dev .service-icon { margin-bottom: 18px; }
.dev > p { color: var(--muted); }
.dev .btn { margin-top: auto; align-self: flex-start; }
.checks.small { margin-bottom: 24px; }
.checks.small li { padding: 6px 0 6px 30px; font-size: .95rem; font-weight: 500; }
.checks.small li::before { top: .55em; border-radius: 50%; }
.steps-light li { background: #fff; border: 1px solid var(--line); }
.steps-light h3 { color: var(--ink); }
.steps-light p { color: var(--muted); }
.steps-light li:not(:last-child)::after { background: linear-gradient(90deg, var(--line), transparent); }

/* about */
.about-panel { padding: 32px; border-radius: var(--radius-lg); background: var(--tint); }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius); background: #fff; }
.about-list b { display: block; }
.about-list span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list b { display: block; font-size: .9rem; }
.contact-list span:last-child { color: var(--muted); line-height: 1.45; }
.contact-list a { font-weight: 600; }
.contact-card { padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card .btn { justify-self: start; }
.field select, .field textarea {
    width: 100%; font: 500 1rem var(--font); color: var(--ink);
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91, 71, 251, .15); }
.field select.is-invalid, .field textarea.is-invalid { border-color: #E0245E; }
.optional { color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* blog */
.blog-cats { margin-bottom: 28px; }
.empty-state { text-align: center; padding: 64px 28px; border-radius: var(--radius-lg); background: var(--tint); }
.empty-state .service-icon { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 18px; }
.empty-state p { color: var(--muted); max-width: 32rem; margin: 0 auto 24px; }

/* policy pages */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-lg); background: var(--tint); }
.legal-nav .filter-label { margin-bottom: 8px; }
.legal-nav a { padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.legal-nav a:hover { background: #fff; }
.legal-nav a.is-active { background: var(--grad); color: #fff; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin: 2em 0 .6em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose p, .prose li { color: #3B4766; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); }
.legal-contact { margin-top: 2.5em; padding: 18px 20px; border-radius: var(--radius); background: var(--tint); font-weight: 600; }

@media (max-width: 1024px) {
    .feature-grid, .feature-grid:has(> :nth-child(4):last-child), .dev-grid { grid-template-columns: 1fr 1fr; }
    .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .plan.is-popular { transform: none; }
    .market, .legal-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .market-filters, .legal-nav { position: static; }
    .timeline, .timeline-violet { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .timeline li::after { display: none; }
    .stage-grid { grid-template-columns: 1fr 1fr; }
    .money-flow { flex-direction: column; }
    .money-arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
    .page-hero { padding: 44px 0 52px; }
    .feature-grid, .feature-grid:has(> :nth-child(4):last-child), .dev-grid, .timeline, .timeline-violet, .stage-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 24px 20px; }
    .cta-soft { padding: 32px 24px; }
    .plan { padding: 30px 24px; }
}

/* Respect people who turn off animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Login & sign-up pages
   ========================================================= */
.auth-main { padding: 48px 52px; }
.auth-title { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: .3em; }
.auth-sub { color: var(--muted); margin-bottom: 28px; }
.auth-sub a { font-weight: 700; }
.auth-side {
    position: relative; overflow: hidden; color: #fff; display: flex; align-items: center; padding: 48px;
    background:
        radial-gradient(380px 260px at 100% 0%, rgba(25, 195, 230, .35), transparent 70%),
        linear-gradient(150deg, var(--blue) 0%, var(--violet) 100%);
}
.auth-side::after { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; bottom: -130px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.auth-side-inner { position: relative; z-index: 1; }
.auth-side h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 26px; }
.auth-trust { flex-direction: column; gap: 14px; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.auth-float { position: relative; left: auto; bottom: auto; display: inline-flex; margin-top: 40px; }

/* form controls */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .role-pick legend { font-weight: 700; font-size: .92rem; }
.field input {
    width: 100%; font: 500 1rem var(--font); color: var(--ink);
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field input:hover { border-color: #C9D2E8; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91, 71, 251, .15); }
.field input.is-invalid { border-color: #E0245E; }
.field-error { color: #C81E54; font-size: .85rem; font-weight: 600; margin: 0; }
.field-help { color: var(--muted); font-size: .82rem; margin: 0; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.btn-block { width: 100%; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; margin-bottom: 20px; }
.alert-ok { background: #DDF7EC; color: #087F56; }

/* account type cards */
.role-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-pick legend { margin-bottom: 8px; padding: 0; }
.role-pick .field-error { grid-column: 1 / -1; }
.role-card {
    position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer;
    padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.role-card:hover { border-color: #C9D2E8; }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-card:has(input:checked) { border-color: var(--blue); background: #F5F7FF; box-shadow: 0 0 0 4px rgba(91, 71, 251, .12); }
.role-card:has(input:focus-visible) { outline: 3px solid var(--aqua); outline-offset: 2px; }
.role-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 12%, white); }
.role-text { display: grid; line-height: 1.3; min-width: 0; }
.role-text b { font-size: .95rem; }
.role-text small { color: var(--muted); font-size: .8rem; }

@media (max-width: 900px) {
    .auth-card { grid-template-columns: 1fr; max-width: 560px; }
    .auth-side { display: none; }
}
@media (max-width: 560px) {
    .auth-section { padding: 28px 0 48px; }
    .auth-main { padding: 32px 22px; }
    .auth-card { border-radius: 20px; }
}
@media (max-width: 480px) {
    .field-row, .role-pick { grid-template-columns: 1fr; }
}

/* uploaded logo image */
.logo-img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }

/* marketplace filters (real form) */
.filters-head { display: flex; justify-content: space-between; align-items: baseline; }
.filters-head h2 { margin: 0 0 6px; }
.filter-scroll { display: grid; gap: 6px; max-height: 230px; overflow-y: auto; padding-right: 4px; }
.market-filters select { width: 100%; font: 500 .92rem var(--font); padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.chip-radio { cursor: pointer; position: relative; }
.chip-radio input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-block; font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.chip-radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.tool-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 .92rem var(--font); color: var(--ink); outline: none; }
.sort-select { font: 600 .85rem var(--font); padding: 8px 10px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); }
.result-count { margin: 0; padding: 12px 20px; font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.empty-state.flat { background: transparent; padding: 48px 24px; }
.empty-state.flat h2 { font-size: 1.3rem; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: .7rem; margin-left: 4px; vertical-align: middle; }
.market-main .pagination { justify-content: center; }
.pagination { display: flex; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.pagination li a, .pagination li span { display: inline-block; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; text-decoration: none; background: #fff; }
.pagination li.disabled span { color: var(--muted); opacity: .6; }
.pagination li.active span { background: var(--blue, #4f46e5); border-color: transparent; color: #fff; }
.pagination li a:hover { border-color: var(--blue, #4f46e5); }
.pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.pager .pagination { flex-wrap: wrap; }
.pager-info { margin: 20px 0 0; color: var(--muted); font-size: .85rem; }

/* =========================================================
   Blog
   ========================================================= */
a.chip { text-decoration: none; transition: border-color .15s, color .15s; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
a.chip.is-on:hover { color: #fff; }
.blog-section { padding-top: 48px; }
.blog-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.blog-tools .blog-cats { margin: 0; }
.blog-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 3px 3px 3px 16px; min-width: 260px; }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: none; font: 500 .9rem var(--font); background: transparent; }
.blog-search button { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--grad); cursor: pointer; }
.blog-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91, 71, 251, .12); }
.blog-empty { text-align: center; padding: 64px 28px; border-radius: var(--radius-lg); background: var(--tint); }
.blog-empty .service-icon { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 18px; }
.blog-empty p { color: var(--muted); max-width: 32rem; margin: 0 auto 24px; }

.post-ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9);
    background: radial-gradient(260px 160px at 80% 0%, rgba(236, 72, 153, .45), transparent 70%), linear-gradient(135deg, #5B47FB, #8B5CF6); }
.post-cat { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.post-flag { font-size: .7rem; font-weight: 800; padding: 2px 9px; border-radius: 20px; background: #FFF1DB; color: #B45309; }
.post-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }

.post-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; margin-bottom: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-lead-img { display: block; min-height: 320px; }
.post-lead-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-lead-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.post-lead h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 0 0 12px; }
.post-lead h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-lead h2 a:hover, .post-card h3 a:hover { color: var(--blue); }
.post-lead p { color: var(--muted); margin: 0 0 20px; }
.post-byline { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.post-byline b { display: block; font-size: .9rem; }
.post-byline small { color: var(--muted); font-size: .8rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.08rem; line-height: 1.35; margin: 0; }
.post-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.post-date { color: var(--muted); font-size: .8rem; margin-top: auto; padding-top: 6px; }
.blog-pager { margin-top: 32px; display: flex; justify-content: center; }
.blog-pager .pager { justify-content: center; flex-direction: column; }

/* single post */
.preview-bar { background: #FFF1DB; color: #7A3E06; text-align: center; padding: 10px 16px; font-size: .9rem; }
.article-head { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 56px 0 64px; }
.article-head-inner { position: relative; max-width: 860px; }
.article-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.18; margin: 0 0 14px; }
.article-head .lead { max-width: 46rem; font-size: 1.1rem; }
.crumbs { flex-wrap: wrap; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.article-byline b { display: block; color: #fff; }
.article-byline small { color: #A9B4E0; font-size: .85rem; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 40px; padding-bottom: 64px; align-items: start; }
.article-main { min-width: 0; max-width: 760px; }
.article-figure { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-figure img { width: 100%; display: block; }
.article-side { position: sticky; top: 96px; display: grid; gap: 20px; }

.toc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .88rem; line-height: 1.4; }
.toc li a:hover { background: var(--tint); color: var(--blue); }
.toc li.lvl-3 a { padding-left: 24px; font-size: .84rem; }
.toc-side { padding: 18px; max-height: 60vh; overflow-y: auto; }
.toc-side b { display: block; margin: 0 0 10px 10px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.toc-inline { display: none; margin-bottom: 24px; padding: 4px 14px 12px; }
.toc-inline summary { cursor: pointer; font-weight: 800; padding: 10px 0; }

.side-cta { padding: 24px; border-radius: var(--radius); color: #fff; background: radial-gradient(300px 200px at 100% 0%, rgba(236, 72, 153, .4), transparent 70%), linear-gradient(135deg, #141C5C, #3B1D8F); }
.side-cta h3 { color: #fff; font-size: 1.15rem; margin: 14px 0 8px; }
.side-cta p { color: #C2CBEF; font-size: .9rem; margin: 0 0 18px; }

/* the article text */
.prose { font-size: 1.08rem; line-height: 1.8; color: #1E2A4D; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.65rem; line-height: 1.3; margin: 1.8em 0 .2em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.3rem; line-height: 1.35; margin: 1.6em 0 .2em; scroll-margin-top: 90px; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .2em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: #8B5CF6; font-weight: 700; }
.prose blockquote { margin: 0; padding: 18px 22px; border-left: 4px solid #8B5CF6; background: var(--tint); border-radius: 0 12px 12px 0; font-size: 1.1rem; color: var(--ink); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose figure { margin: 1.5em 0; }
.prose figure.image { display: table; margin-left: auto; margin-right: auto; }
.prose figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--tint); }
.prose pre { background: #0F1A3D; color: #E3E7F2; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.prose code { background: #EEF1FA; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share b { margin-right: 6px; font-size: .92rem; }
.share a, .share button { padding: 7px 14px; border-radius: 20px; font: 700 .82rem var(--font); text-decoration: none; color: #fff; border: 0; cursor: pointer; }
.share-fb { background: #1877F2; } .share-x { background: #0F1419; } .share-in { background: #0A66C2; } .share-wa { background: #25D366; }
.share-copy { background: var(--tint) !important; color: var(--ink) !important; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--tint); }
.author-box .avatar { width: 52px; height: 52px; font-size: 1.1rem; }
.author-box small { color: var(--muted); font-size: .8rem; }
.author-box b { display: block; font-size: 1.05rem; }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 1024px) {
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .article-side { position: static; }
    .toc-side { display: none; }
    .toc-inline { display: block; }
    .article-main { max-width: none; }
}
@media (max-width: 760px) {
    .post-lead { grid-template-columns: minmax(0, 1fr); }
    .post-lead-img { min-height: 0; aspect-ratio: 16 / 9; }
    .post-lead-body { padding: 24px; }
    .blog-search { min-width: 0; width: 100%; }
}
@media (max-width: 560px) {
    .post-grid { grid-template-columns: minmax(0, 1fr); }
    .prose { font-size: 1.02rem; }
    .prose h2 { font-size: 1.4rem; }
    .article-head { padding: 40px 0 44px; }
}

/* forgot password */
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.forgot-link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
.auth-back { text-align: center; margin: 18px 0 0; font-size: .9rem; }
.auth-back a { font-weight: 600; text-decoration: none; }

/* =========================================================
   Marketplace v2 (Websites page + home list)
   ========================================================= */
.mk-hero { position: relative; overflow: hidden; color: #fff; padding: 52px 0 96px;
  background: radial-gradient(700px 360px at 85% 10%, rgba(124, 92, 255, .45), transparent 70%), radial-gradient(500px 300px at 10% 100%, rgba(25, 195, 230, .22), transparent 70%), var(--night); }
.mk-hero-inner { position: relative; }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mk-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin: 10px 0 12px; }
.mk-hero .lead { color: #C2CBEF; max-width: 36rem; margin: 0 0 26px; }
.mk-live { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: #DDE3FF; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.mk-search { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 14px; backdrop-filter: blur(8px); }
.mk-svc { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin-bottom: 12px; }
.mk-svc label { position: relative; cursor: pointer; }
.mk-svc input { position: absolute; opacity: 0; pointer-events: none; }
.mk-svc span, .mk-svc a { display: block; padding: 7px 16px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #C2CBEF; text-decoration: none; transition: .15s; }
.mk-svc input:checked + span, .mk-svc a.is-on { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.mk-svc input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.mk-search-box { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 16px; color: var(--muted); }
.mk-search-box input { flex: 1; min-width: 0; border: 0; outline: none; font: 500 1rem var(--font); color: var(--ink); background: transparent; padding: 10px 0; }
.mk-search-box .btn { flex: none; }
.mk-popular { margin: 12px 4px 0; font-size: .84rem; color: #8F9BC8; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.mk-popular a { color: #DDE3FF; text-decoration: none; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.mk-popular a:hover { background: rgba(255, 255, 255, .18); }
.mk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mk-stat { padding: 20px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); }
.mk-stat b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; background: linear-gradient(120deg, #fff, #B9C6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-stat span { font-size: .85rem; color: #AEB8E4; font-weight: 600; }
.mk-latest { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #C2CBEF; padding: 12px 16px; border-radius: 14px; background: rgba(18, 185, 129, .12); border: 1px solid rgba(18, 185, 129, .3); }
.mk-latest svg { color: #34D399; flex: none; }
.mk-latest b { color: #fff; }

.mk-tiles-wrap { position: relative; margin-top: -56px; z-index: 2; }
.mk-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mk-tile { --tc: var(--blue); display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: 0 18px 40px -26px rgba(30, 22, 80, .45); transition: transform .15s, border-color .15s, box-shadow .15s; }
.mk-tile:hover { transform: translateY(-3px); border-color: var(--tc); }
.mk-tile.is-on { border-color: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent), 0 18px 40px -26px rgba(30, 22, 80, .45); }
.mk-tile-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: var(--tc);
  background: linear-gradient(135deg, var(--tc), color-mix(in srgb, var(--tc) 60%, #000)); }
.mk-tile b { display: block; font-size: 1.2rem; font-weight: 800; line-height: 1.15; }
.mk-tile small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.t-blue { --tc: #5B47FB; } .t-violet { --tc: #8B5CF6; } .t-aqua { --tc: #0EA5C6; } .t-green { --tc: #0E9F6E; } .t-orange { --tc: #F07316; } .t-pink { --tc: #E5397F; }

.mk-section { padding-top: 40px; }
.mk-section .market { grid-template-columns: 236px minmax(0, 1fr); gap: 24px; }
.mk-filters { padding: 20px; box-shadow: 0 18px 40px -30px rgba(30, 22, 80, .4); max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
.mk-filters .filters-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.link-btn { font-size: .85rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.mk-fg { border-top: 1px solid var(--line); padding: 12px 0; }
.mk-fg summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: .88rem; font-weight: 800; color: var(--ink); }
.mk-fg summary::-webkit-details-marker { display: none; }
.mk-fg summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px 4px 0 auto; transition: .2s; }
.mk-fg[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.mk-fg summary em { font-style: normal; font-size: .72rem; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 7px; margin-left: 8px; }
.mk-fg[open] > :not(summary) { margin-top: 10px; }
.mk-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-range label, .mk-one { display: grid; gap: 4px; }
.mk-one { margin-top: 8px; }
.mk-filters small { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.mk-filters input[type=number], .mk-filters textarea { width: 100%; font: 500 .9rem var(--font); padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.mk-filters textarea { resize: vertical; margin-bottom: 8px; }
.mk-filters select:focus, .mk-filters input:focus, .mk-filters textarea:focus { outline: none; border-color: var(--blue); }
.mk-apply { margin-top: 8px; }
.mk-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-pills label { cursor: pointer; position: relative; }
.mk-pills input { position: absolute; opacity: 0; pointer-events: none; }
.mk-pills span { display: block; font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); transition: .15s; }
.mk-pills input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.mk-pills input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.mk-niches { max-height: 250px; gap: 2px; }
.mk-check { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 9px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink); }
.mk-check:hover { background: var(--tint); }
.mk-check input { width: 16px; height: 16px; accent-color: var(--blue); }
.mk-check span { flex: 1; }
.mk-check small { font-size: .74rem; text-transform: none; letter-spacing: 0; padding: 1px 8px; border-radius: 999px; background: var(--tint); }
.mk-switch { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink); position: relative; }
.mk-switch input { position: absolute; opacity: 0; }
.mk-switch i { flex: none; width: 34px; height: 20px; border-radius: 999px; background: #D5DBEC; position: relative; transition: .2s; }
.mk-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: .2s; }
.mk-switch input:checked + i { background: var(--grad); }
.mk-switch input:checked + i::after { left: 17px; }
.mk-switch input:focus-visible + i { outline: 3px solid var(--aqua); outline-offset: 2px; }

.mk-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.mk-count { margin: 0 auto 0 0; font-size: .95rem; color: var(--ink); }
.mk-count b { font-size: 1.25rem; font-weight: 800; }
.mk-count span { color: var(--muted); font-weight: 500; }
.mk-svc-sm { margin: 0; background: var(--tint); border: 1px solid var(--line); }
.mk-svc-sm a { color: var(--muted); padding: 6px 13px; font-size: .82rem; }
.mk-svc-sm a.is-on { background: var(--ink); color: #fff; }
.mk-sort { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.mk-sort small { font-size: .75rem; font-weight: 700; color: var(--muted); }
.mk-sort select { border: 0; font: 700 .84rem var(--font); color: var(--ink); background: transparent; padding: 5px 4px; cursor: pointer; }
.mk-filter-toggle { display: none; }
.mk-filter-toggle em, .mk-active em { font-style: normal; font-size: .72rem; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 7px; }
.mk-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none;
  color: var(--blue-dark); background: #EEF2FF; border: 1px solid #D9E1FF; }
.mk-chip span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; font-size: .9rem; line-height: 1; }
.mk-chip:hover { border-color: var(--blue); }
.mk-clear { font-size: .82rem; font-weight: 700; color: var(--muted); }

/* the list */
.ms-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.ms-head, .ms-row { display: grid; grid-template-columns: minmax(0, 1fr) 50px 80px 80px 100px 134px 86px; gap: 10px; align-items: center; padding: 0 18px; }
.ms-head { padding-top: 12px; padding-bottom: 12px; background: #FAFBFF; font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ms-row { padding-top: 14px; padding-bottom: 14px; border-top: 1px solid var(--line); position: relative; transition: background .15s; }
.ms-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); opacity: 0; transition: .15s; }
.ms-row:hover, .ms-row.is-open { background: #FAFBFF; }
.ms-row:hover::before, .ms-row.is-open::before { opacity: 1; }
.ms-site { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ms-fav { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 6px; }
.ms-letter { display: grid; place-items: center; padding: 0; border: 0; color: #fff; font-weight: 800; font-size: 1.05rem;
  background: linear-gradient(135deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 40) 75% 45%)); }
.ms-id { min-width: 0; }
.ms-domain { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 800; color: var(--ink); font-size: .98rem; }
.ms-domain a { color: var(--ink); text-decoration: none; }
.ms-domain > a, .ms-domain > span:first-child { word-break: break-word; }
.ms-domain a:hover { color: var(--blue); }
.ms-domain > span:first-child { letter-spacing: .01em; }
.ms-badge { font-size: .66rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.ms-verified { color: #087F56; background: #DDF7EC; }
.ms-new { color: #fff; background: linear-gradient(120deg, var(--pink), var(--orange)); }
.ms-tags { margin: 5px 0 0; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.ms-niche { font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--muted); text-decoration: none; border: 1px solid transparent; }
a.ms-niche:hover { border-color: var(--blue); color: var(--blue); }
.ms-more { cursor: help; }
.ms-lang { font-size: .74rem; font-weight: 600; color: var(--muted); }
.ms-lang::before { content: "· "; }
.ms-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: .88rem; min-width: 0; }
.ms-num { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.ms-dr { flex-direction: column; align-items: center; gap: 3px; }
.ms-head, .ms-row { column-gap: 10px; }
.ms-ring { --c: #5B47FB; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), #E8ECF7 0); }
.ms-ring b { font-size: .86rem; font-weight: 800; color: var(--ink); }
.ring-hi { --c: #0E9F6E; } .ring-mid { --c: #5B47FB; } .ring-low { --c: #F59E0B; } .ring-min { --c: #94A3B8; }
.ms-da { font-size: .7rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ms-bar { display: block; width: 72px; height: 5px; border-radius: 999px; background: #E8ECF7; overflow: hidden; }
.ms-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), var(--blue)); }
.ms-country { gap: 5px; font-weight: 700; font-size: .82rem; color: var(--ink); }
.ms-country img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(30, 22, 80, .08); }
.ms-globe { color: var(--blue); display: inline-flex; }
.ms-globe svg { width: 18px; height: 18px; }
.ms-follow { font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: var(--muted); background: #F1F3F9; }
.ms-follow.is-do { color: #087F56; background: #DDF7EC; }
.ms-link small { font-size: .76rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.ms-tat.is-fast { color: #C2410C; font-weight: 800; }
.ms-tat.is-fast::before { content: "⚡"; }
.ms-prices { display: grid; gap: 3px; }
.ms-price { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 3px 8px; border-radius: 8px; color: var(--muted); }
.ms-price small { font-size: .7rem; font-weight: 700; white-space: nowrap; }
.ms-price b { font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ms-price.is-on { background: #EEF2FF; color: var(--blue-dark); }
.ms-price.is-on b { font-size: 1rem; font-weight: 800; color: var(--ink); }
.ms-act { display: grid; gap: 6px; justify-items: stretch; }
.ms-buy { text-align: center; white-space: nowrap; }
.ms-more-btn { border: 0; background: transparent; font: 700 .78rem var(--font); color: var(--muted); cursor: pointer; padding: 2px; }
.ms-more-btn::after { content: " ▾"; }
.ms-more-btn[aria-expanded="true"] { color: var(--blue); }
.ms-more-btn[aria-expanded="true"]::after { content: " ▴"; }
.ms-details[hidden] { display: none; }
.ms-details { grid-column: 1 / -1; margin-top: 4px; padding: 16px; border-radius: 14px; background: #fff; border: 1px dashed #D5DCF2; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.ms-details dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.ms-details dt { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ms-details dd { margin: 2px 0 0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.ms-rules { font-size: .86rem; padding: 12px 14px; border-radius: 12px; background: #FFF8EC; border: 1px solid #FBE3BC; }
.ms-rules p { margin: 4px 0 0; color: #6B4A12; }
.ms-lock { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--muted); }
.ms-list.is-compact .ms-row { padding-top: 12px; padding-bottom: 12px; }

.mk-pager { margin-top: 6px; }
.mk-empty { text-align: center; padding: 56px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mk-empty-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: var(--grad); margin-bottom: 14px; box-shadow: 0 16px 30px -14px rgba(91, 71, 251, .7); }
.mk-empty h2 { font-size: 1.3rem; }
.mk-empty p { color: var(--muted); }
.mk-unlock { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 18px 20px; border-radius: 18px; color: #fff;
  background: radial-gradient(400px 160px at 100% 0, rgba(240, 69, 143, .45), transparent 70%), linear-gradient(120deg, var(--night), #2B1A72); }
.mk-unlock > div { flex: 1 1 260px; }
.mk-unlock p { margin: 2px 0 0; color: #C2CBEF; font-size: .9rem; }
.mk-unlock-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); flex: none; }
.mk-unlock .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.mk-help { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.mk-help > div { flex: 1 1 260px; }
.mk-help p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.btn-ghost { background: transparent; border: 0; color: var(--blue); font-weight: 700; }

/* home: live list */
.home-list-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.home-list-tools .chip { text-decoration: none; }

@media (max-width: 1100px) {
  .mk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-head { display: none; }
  .ms-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; padding: 16px; }
  .ms-site { grid-column: 1 / -1; }
  .ms-metric::before { content: attr(data-label); font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; width: 100%; }
  .ms-dr, .ms-country { flex-wrap: wrap; }
  .ms-dr { flex-direction: row; align-items: center; gap: 8px; }
  .ms-prices { grid-column: 1 / 3; grid-template-columns: 1fr 1fr; }
  .ms-price { flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 10px; border: 1px solid var(--line); }
  .ms-act { grid-column: 3 / -1; }
  .ms-details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .mk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mk-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mk-stat { padding: 14px; } .mk-stat b { font-size: 1.5rem; }
  .mk-section .market { grid-template-columns: minmax(0, 1fr); }
  .mk-filters { display: none; position: static; max-height: none; margin-bottom: 4px; }
  .mk-filters.is-open { display: block; }
  .mk-filter-toggle { display: inline-flex; align-items: center; gap: 6px; }
}
@media (max-width: 600px) {
  .mk-hero { padding: 36px 0 84px; }
  .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-search-box { flex-wrap: wrap; padding: 6px; }
  .mk-search-box svg { display: none; }
  .mk-search-box input { padding: 10px; }
  .mk-search-box .btn { width: 100%; }
  .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mk-tile { padding: 12px; gap: 10px; } .mk-tile-ic { width: 36px; height: 36px; }
  .mk-count { width: 100%; }
  .ms-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-prices, .ms-act { grid-column: 1 / -1; }
  .ms-details dl { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================
   LINK CORE IT THEME LAYER
   Everything below overrides the base styles above.
   Light, airy look: white + soft lavender panels, violet
   buttons, coral accents, Outfit headings, Inter text.
   ========================================================= */
body { font-size: 1rem; line-height: 1.65; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.12; }
h3 { font-size: 1.12rem; font-weight: 600; }
a { color: var(--blue); }
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }

/* buttons: solid violet, soft radius */
.btn { border-radius: 12px; font-weight: 600; font-family: var(--font); letter-spacing: -.005em; }
.btn-primary { background: var(--blue); box-shadow: 0 10px 22px -12px rgba(91, 71, 251, .85); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border: 1.5px solid #D9D4FB; color: var(--blue); background: #fff; }
.btn-outline:hover { border-color: var(--blue); background: var(--tint); }
.btn-light { background: #fff; color: var(--blue); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-coral { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -12px rgba(255, 122, 69, .9); }
.btn-coral:hover { background: #F2662F; color: #fff; }

/* logo */
.logo { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { background: var(--blue); border-radius: 12px 12px 12px 4px; box-shadow: 0 8px 18px -8px rgba(91, 71, 251, .8); }
.logo-text span { color: var(--orange); }
.logo-light .logo-text, .logo-light { color: #fff; }

/* ---------- Header ---------- */
.lc-topbar { background: var(--ink); color: #D9D6F2; font-size: .84rem; }
.lc-topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; flex-wrap: wrap; text-align: center; }
.lc-topbar b { color: #fff; font-weight: 600; }
.lc-topbar a { color: #FFB59A; font-weight: 600; text-decoration: none; }
.lc-topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(30, 22, 80, .5); }
.site-header .header-row { min-height: 74px; }
.site-header .nav a:not(.btn) { color: #3D3B57; font-weight: 500; font-size: .95rem; }
.site-header .nav a:not(.btn):hover, .site-header .nav a.is-active { color: var(--blue); }
.site-header .nav a.is-active::after { background: var(--blue); }
.site-header .nav-auth .btn-outline { border-color: transparent; background: transparent; color: var(--ink); }
.site-header .nav-auth .btn-outline:hover { color: var(--blue); background: var(--tint); }

/* ---------- Inner page banner (light lavender panel) ---------- */
.page-hero { background: #fff; color: var(--ink); padding: 22px 0 8px; overflow: visible; }
.page-hero .hero-glow { display: none; }
.lc-ph { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 52px 56px; background: var(--tint); }
.lc-ph::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 71, 251, .18), transparent 70%); }
.lc-ph::after { content: ""; position: absolute; width: 220px; height: 220px; right: 140px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 69, .2), transparent 70%); }
.page-hero h1 { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: var(--muted); font-size: 1.08rem; }
.crumbs { color: #9A97B8; }
.crumbs a { color: var(--blue); }
.crumbs a:hover { color: var(--blue-dark); }

/* ---------- Light versions of the old dark sections ---------- */
.section-dark { background: var(--tint); color: var(--ink); }
.section-dark .hero-glow { display: none; }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark .section-head p, .section-dark p { color: var(--muted); }
.steps li { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 22px; box-shadow: 0 14px 34px -28px rgba(30, 22, 80, .45); }
.steps li p { color: var(--muted); }
.step-num { background: var(--blue); color: #fff; border-radius: 12px; font-family: var(--font-head); }
.aud-buyer { background: linear-gradient(150deg, #5B47FB 0%, #3F2FD1 100%); }
.aud-publisher { background: linear-gradient(150deg, #FF7A45 0%, #E8456E 100%); }
.article-head { background: var(--tint); color: var(--ink); }
.article-head .hero-glow { display: none; }
.article-head h1 { color: var(--ink); }
.article-head .lead { color: var(--muted); }
.article-byline b { color: var(--ink); }
.article-byline small { color: var(--muted); }
.promise-card b { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--blue); }
.plan { border-radius: 24px; }
.plan.is-popular { border: 2px solid var(--blue); background: #fff; }
.plan-badge { background: var(--orange); }
.plan-price b { font-family: var(--font-head); }
.faq details { border-radius: 16px; }
.faq details[open] summary::after { background: var(--blue); }
.legal-nav a.is-active { background: var(--blue); }

/* websites page banner: light */
.mk-hero { color: var(--ink); background: radial-gradient(600px 300px at 90% 0%, rgba(91, 71, 251, .14), transparent 70%), radial-gradient(420px 260px at 0% 100%, rgba(255, 122, 69, .12), transparent 70%), var(--tint); }
.mk-hero h1 { color: var(--ink); }
.mk-hero .lead { color: var(--muted); }
.mk-live { color: var(--blue); background: #fff; border-color: var(--line); }
.mk-search { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.mk-svc { background: var(--tint); }
.mk-svc span, .mk-svc a { color: var(--muted); }
.mk-svc input:checked + span, .mk-svc a.is-on { background: var(--blue); color: #fff; }
.mk-search-box { border: 1.5px solid var(--line); }
.mk-popular { color: var(--muted); }
.mk-popular a { color: var(--blue); background: var(--tint); }
.mk-popular a:hover { background: #E9E4FF; }
.mk-stat { background: #fff; border-color: var(--line); box-shadow: 0 14px 30px -26px rgba(30, 22, 80, .5); }
.mk-stat b { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); font-family: var(--font-head); }
.mk-stat span { color: var(--muted); }
.mk-latest { color: var(--ink); background: #ECFDF5; border-color: #B7F0D8; }
.mk-latest b { color: var(--ink); }
.mk-unlock { background: linear-gradient(120deg, #5B47FB, #7B5CFF); }
.auth-section { background: var(--tint); }

/* ---------- Footer (light) ---------- */
.site-footer.lc-footer { background: #FAF9FF; color: var(--muted); border-top: 1px solid var(--line); }
.lc-footer .footer-glow { display: none; }
.lc-footer a { color: var(--muted); text-decoration: none; }
.lc-footer a:hover { color: var(--blue); }
.lc-footer .logo { color: var(--ink); }
.lc-cta { padding: 64px 0 0; }
.lc-cta-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 44px 48px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, #4B37F0 0%, #6E4BFF 60%, #9B5CFF 100%); box-shadow: var(--shadow-lg); }
.lc-cta-box::after { content: ""; position: absolute; width: 260px; height: 260px; right: -60px; top: -110px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.lc-cta-box h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lc-cta-box p { margin: 0; color: rgba(255, 255, 255, .85); }
.lc-cta-box .lc-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.lc-cta-box .btn-ghost-w { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.lc-cta-box .btn-ghost-w:hover { background: rgba(255, 255, 255, .22); }
.lc-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 36px; padding: 64px 20px 44px; }
.lc-foot-brand p { margin: 14px 0 18px; max-width: 26ch; }
.lc-foot-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 6px 0 16px; font-family: var(--font); font-weight: 700; }
.lc-foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.lc-foot-points li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.lc-foot-points li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: #FFE8DE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FF7A45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.lc-foot-contact li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.lc-foot-contact svg { color: var(--blue); flex: none; }
.lc-socials { display: flex; gap: 8px; }
.lc-socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: .15s; }
.lc-socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.lc-foot-bottom { border-top: 1px solid var(--line); }
.lc-foot-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; font-size: .86rem; }
.lc-foot-bottom p { margin: 0; }
.lc-foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* =========================================================
   HOME PAGE
   ========================================================= */
.lc-hero { padding: 22px 0 0; }
.lc-hero-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 56px 60px; border-radius: 36px; background: var(--tint); }
.lc-hero-panel::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 71, 251, .2), transparent 68%); }
.lc-hero-panel::after { content: ""; position: absolute; width: 300px; height: 300px; left: 38%; top: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 69, .18), transparent 70%); }
.lc-hero-copy, .lc-hero-art { position: relative; z-index: 1; }
.lc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink); }
.lc-eyebrow i { font-style: normal; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .74rem; letter-spacing: .02em; }
.lc-hero h1 { margin-bottom: 18px; }
.lc-hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.lc-hero h1 em::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: .02em; height: .16em; border-radius: 4px; background: rgba(255, 122, 69, .45); z-index: -1; }
.lc-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin-bottom: 26px; }
.lc-hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 28px; padding: 16px 0; border-top: 1px solid #E1DCFA; border-bottom: 1px solid #E1DCFA; }
.lc-hero-stats div { padding: 0 14px; border-left: 1px solid #E1DCFA; }
.lc-hero-stats div:first-child { padding-left: 0; border-left: 0; }
.lc-hero-stats b { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.lc-hero-stats span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }
.lc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.lc-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 24px; font-size: .93rem; font-weight: 500; }
.lc-checks li { display: flex; gap: 8px; align-items: center; }
.lc-checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* hero art: app window */
.lc-app { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 40px 80px -36px rgba(40, 28, 120, .45); overflow: hidden; }
.lc-app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FCFBFF; }
.lc-app-bar .dots { display: flex; gap: 6px; }
.lc-app-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #E2DEF5; }
.lc-app-bar .dots i:first-child { background: #FF8A65; }
.lc-app-url { flex: 1; font-size: .74rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.lc-app-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 300px; }
.lc-app-side { padding: 14px 10px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 4px; }
.lc-app-side span { font-size: .72rem; font-weight: 500; color: var(--muted); padding: 7px 9px; border-radius: 8px; display: flex; align-items: center; gap: 7px; }
.lc-app-side span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #DAD5F5; }
.lc-app-side span.on { background: var(--tint); color: var(--blue); font-weight: 600; }
.lc-app-side span.on::before { background: var(--blue); }
.lc-app-main { padding: 16px; display: grid; gap: 10px; align-content: start; }
.lc-app-head { display: flex; justify-content: space-between; align-items: center; }
.lc-app-head b { font-family: var(--font-head); font-size: .95rem; }
.lc-app-head small { font-size: .7rem; color: var(--muted); }
.lc-app-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lc-app-chips span { font-size: .68rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.lc-app-chips span.on { background: var(--blue); color: #fff; }
.lc-app-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; }
.lc-app-fav { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: var(--blue); background: var(--tint); }
.lc-app-row:nth-child(2n) .lc-app-fav { color: var(--orange); background: #FFF0EA; }
.lc-app-dom { font-size: .78rem; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-app-dom small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; }
.lc-app-dr { font-size: .68rem; font-weight: 700; color: #0E9F6E; background: #E7F9F1; padding: 3px 7px; border-radius: 6px; }
.lc-app-price { font-size: .8rem; font-weight: 700; font-family: var(--font-head); }
.lc-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 44px -24px rgba(40, 28, 120, .5); font-size: .8rem; }
.lc-float b { display: block; font-size: .86rem; }
.lc-float small { color: var(--muted); }
.lc-float-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--green); flex: none; }
.lc-float-a { left: -26px; bottom: 34px; animation: lcFloat 6s ease-in-out infinite; }
.lc-float-b { right: -18px; top: -18px; animation: lcFloat 6s ease-in-out 1.5s infinite; }
.lc-float-b .lc-float-ic { background: var(--orange); }
@keyframes lcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lc-float-a, .lc-float-b { animation: none; } }

/* section heading */
.lc-head { max-width: 46rem; margin: 0 auto 44px; text-align: center; }
.lc-head.left { margin-left: 0; text-align: left; }
.lc-kicker { display: inline-block; margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.lc-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.lc-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.lc-head-split .lc-head { margin: 0; }

/* why cards */
.lc-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lc-why article { padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.lc-why article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lc-why-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; color: var(--blue); background: var(--tint); }
.lc-why article:nth-child(2) .lc-why-ic { color: var(--orange); background: #FFF0EA; }
.lc-why article:nth-child(3) .lc-why-ic { color: var(--green); background: #E7F9F1; }
.lc-why article:nth-child(4) .lc-why-ic { color: var(--pink); background: #FFEAF0; }
.lc-why b { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.lc-why p { margin: 0; color: var(--muted); font-size: .92rem; }

/* services */
.lc-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lc-svc article { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.lc-svc article:hover { border-color: #CFC6FF; box-shadow: var(--shadow); transform: translateY(-4px); }
.lc-svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; color: #fff; background: var(--blue); box-shadow: 0 12px 22px -12px rgba(91, 71, 251, .9); }
.lc-svc article:nth-child(3n+2) .lc-svc-ic { background: var(--orange); box-shadow: 0 12px 22px -12px rgba(255, 122, 69, .9); }
.lc-svc article:nth-child(3n+3) .lc-svc-ic { background: var(--aqua); box-shadow: 0 12px 22px -12px rgba(20, 184, 166, .9); }
.lc-svc h3 { font-size: 1.25rem; margin-bottom: 8px; }
.lc-svc p { color: var(--muted); flex: 1; }
.lc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue); }
.lc-link:hover { gap: 10px; }

/* pricing */
.lc-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.lc-price { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.lc-price.is-pop { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.lc-price.is-pop h3, .lc-price.is-pop .lc-amount b { color: #fff; }
.lc-price.is-pop .lc-tag, .lc-price.is-pop li { color: #CFCBEA; }
.lc-pop { position: absolute; top: 22px; right: 22px; font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--orange); color: #fff; }
.lc-price h3 { font-size: 1.15rem; margin: 0 0 4px; }
.lc-tag { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.lc-amount { margin: 0 0 20px; display: flex; align-items: baseline; gap: 6px; }
.lc-amount b { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--ink); }
.lc-amount span { color: #9A97B8; font-size: .9rem; }
.lc-price ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; font-size: .94rem; }
.lc-price li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.lc-price li::before { content: ""; flex: none; margin-top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%235B47FB' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lc-price.is-pop li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFB59A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lc-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 22px 0 0; }

/* feature rows (image + text, alternating) */
.lc-rows { display: grid; gap: 80px; }
.lc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lc-row.flip .lc-row-art { order: 2; }
.lc-row h2 { margin-bottom: 14px; }
.lc-row p { color: var(--muted); font-size: 1.04rem; }
.lc-row .lc-checks { grid-template-columns: 1fr; margin: 0 0 28px; }
.lc-row-art { position: relative; padding: 34px; border-radius: 30px; background: var(--tint); }
.lc-row-art.coral { background: #FFF3EE; }
.lc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 24px 50px -32px rgba(40, 28, 120, .45); }
.lc-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; }
.lc-track span { position: relative; padding-top: 14px; font-size: .7rem; font-weight: 600; color: var(--muted); }
.lc-track span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 6px; background: #ECE9F8; }
.lc-track span.done::before { background: var(--green); }
.lc-track span.now::before { background: var(--blue); }
.lc-track span.now { color: var(--blue); }
.lc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lc-meta div { padding: 10px 12px; border-radius: 12px; background: #FAF9FF; }
.lc-meta small { display: block; color: var(--muted); font-size: .7rem; }
.lc-meta b { font-size: .84rem; }
.lc-msg { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--tint); font-size: .84rem; }
.lc-msg i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; background: var(--orange); }
.lc-msg b { display: block; font-size: .8rem; }
.lc-pill { display: inline-flex; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #EEEAFF; color: var(--blue); }
.lc-earn { display: grid; gap: 10px; }
.lc-earn-top { display: flex; justify-content: space-between; align-items: flex-end; }
.lc-earn-top b { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.lc-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 10px; }
.lc-bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: #FFD9CA; }
.lc-bars i:nth-child(5), .lc-bars i:last-child { background: var(--orange); }
.lc-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-pay span { font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: #FAF9FF; border: 1px solid var(--line); }

/* steps timeline */
.lc-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: lcs; }
.lc-steps li { position: relative; padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.lc-steps li::before { counter-increment: lcs; content: "0" counter(lcs); display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.lc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; width: 10px; height: 10px; border-top: 2px solid #CFC6FF; border-right: 2px solid #CFC6FF; transform: rotate(45deg); }
.lc-steps h3 { margin-bottom: 6px; }
.lc-steps p { margin: 0; color: var(--muted); font-size: .93rem; }

/* demo band */
.lc-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 24px; background: #FFF3EE; border: 1px solid #FFDCCD; }
.lc-band-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--orange); color: #fff; }
.lc-band h2 { font-size: 1.45rem; margin: 0 0 4px; }
.lc-band p { margin: 0; color: var(--muted); }

/* FAQ */
.lc-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.lc-faq .faq details { background: #fff; border: 1px solid var(--line); }

@media (max-width: 1080px) {
    .lc-hero-panel { grid-template-columns: minmax(0, 1fr); padding: 48px 32px; }
    .lc-hero-art { max-width: 560px; }
    .lc-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lc-steps li::after { display: none; }
    .lc-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lc-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .section { padding: 64px 0; }
    .lc-svc, .lc-prices { grid-template-columns: minmax(0, 1fr); }
    .lc-row, .lc-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .lc-row.flip .lc-row-art { order: 0; }
    .lc-band { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .lc-ph { padding: 40px 26px; }
    .site-header .nav { background: #fff; }
    .site-header .nav a:not(.btn) { color: var(--ink); }
}
@media (max-width: 560px) {
    .lc-hero-panel { padding: 36px 20px; border-radius: 26px; }
    .lc-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
    .lc-hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
    .lc-checks { grid-template-columns: 1fr; }
    .lc-why, .lc-steps { grid-template-columns: minmax(0, 1fr); }
    .lc-float { display: none; }
    .lc-app-body { grid-template-columns: minmax(0, 1fr); }
    .lc-app-side { display: none; }
    .lc-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lc-cta-box { padding: 32px 24px; }
}

/* =========================================================
   AUTH (split screen, no header/footer)
   ========================================================= */
.lc-auth-body { margin: 0; background: #fff; }
.lc-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; }
.lc-auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 56px 64px; color: #fff; background: linear-gradient(155deg, #4532E6 0%, #6A47FF 48%, #A24BE0 100%); }
.lc-auth-side::before { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: -140px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); }
.lc-auth-side::after { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 100, .45), transparent 70%); }
.lc-auth-side > * { position: relative; z-index: 1; }
.lc-auth-side .logo { color: #fff; margin-bottom: 44px; }
.lc-auth-side .logo-text span { color: #FFC2AA; }
.lc-auth-side .logo-mark { background: rgba(255, 255, 255, .16); box-shadow: none; }
.lc-auth-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: .82rem; font-weight: 600; margin-bottom: 18px; }
.lc-auth-side h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 0 0 14px; max-width: 15ch; }
.lc-auth-side > p { color: rgba(255, 255, 255, .85); max-width: 32rem; margin: 0 0 32px; font-size: 1.02rem; }
.lc-auth-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 14px; }
.lc-auth-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.lc-auth-list i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-style: normal; }
.lc-auth-quote { margin-top: auto; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .9rem; color: rgba(255, 255, 255, .9); max-width: 30rem; }
.lc-auth-quote b { color: #fff; }
.lc-auth-main { display: flex; flex-direction: column; padding: 28px 48px 32px; }
.lc-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .9rem; color: var(--muted); }
.lc-auth-top a { font-weight: 600; text-decoration: none; }
.lc-auth-top .back { color: var(--muted); }
.lc-auth-top .back:hover { color: var(--blue); }
.lc-auth-form { width: 100%; max-width: 480px; margin: auto; padding: 36px 0; }
.lc-auth-foot { text-align: center; font-size: .82rem; color: #9A97B8; }
.lc-steps-mini { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 26px; padding: 0; list-style: none; font-size: .82rem; font-weight: 600; color: #9A97B8; }
.lc-steps-mini li { display: flex; align-items: center; gap: 8px; }
.lc-steps-mini b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .74rem; background: #F0EEF8; color: var(--muted); }
.lc-steps-mini li.on { color: var(--blue); }
.lc-steps-mini li.on b { background: var(--blue); color: #fff; }
.lc-auth-form .auth-title { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 0 0 6px; }
.lc-auth-form .auth-sub { color: var(--muted); margin: 0 0 24px; }
.lc-role { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 0 22px; border-radius: 14px; background: var(--tint); border: 0; }
.lc-role legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lc-role label { position: relative; cursor: pointer; }
.lc-role input { position: absolute; opacity: 0; pointer-events: none; }
.lc-role span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: .15s; }
.lc-role input:checked + span { background: #fff; color: var(--blue); box-shadow: 0 6px 16px -10px rgba(40, 28, 120, .5); }
.lc-role input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.lc-auth-form .form { display: grid; gap: 16px; }
.lc-auth-form .field { margin: 0; }
.lc-auth-form .field label, .lc-auth-form .label-row label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.lc-auth-form .field label small { color: #9A97B8; font-weight: 500; }
.lc-auth-form input[type=text], .lc-auth-form input[type=email], .lc-auth-form input[type=password], .lc-auth-form input[type=url], .lc-auth-form select, .lc-auth-form textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid transparent; background: #F5F4FA; font: 500 .95rem var(--font); color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.lc-auth-form input:focus, .lc-auth-form select:focus, .lc-auth-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(91, 71, 251, .12); }
.lc-auth-form .is-invalid { border-color: var(--pink) !important; background: #FFF6F8 !important; }
.lc-auth-form .field-help { font-size: .78rem; color: #9A97B8; margin: 6px 0 0; }
.lc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lc-pass { position: relative; }
.lc-pass input { padding-right: 46px !important; }
.lc-pass button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: #9A97B8; cursor: pointer; display: grid; place-items: center; }
.lc-pass button:hover { color: var(--blue); background: var(--tint); }
.lc-auth-form .btn-block { width: 100%; padding: .9rem 1.2rem; font-size: 1rem; }
.lc-auth-alt { text-align: center; font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
.lc-auth-alt a { font-weight: 600; }
@media (max-width: 980px) {
    .lc-auth { grid-template-columns: minmax(0, 1fr); }
    .lc-auth-side { padding: 36px 28px; }
    .lc-auth-side .logo { margin-bottom: 24px; }
    .lc-auth-list, .lc-auth-quote { display: none; }
    .lc-auth-side > p { margin-bottom: 0; }
    .lc-auth-main { padding: 22px 22px 28px; }
}
@media (max-width: 480px) { .lc-two { grid-template-columns: minmax(0, 1fr); } }
[hidden] { display: none !important; }

.hero-glow { display: none; }
.page-hero .btn-glass { background: #fff; color: var(--blue); border-color: #D9D4FB; }
.page-hero .btn-glass:hover { border-color: var(--blue); background: #fff; }
.page-hero .hero-actions { margin-top: 24px; }
.lc-hero h1, .lc-head h2, .lc-row h2, .lc-faq h2, .lc-band h2, .lc-why b, .lc-svc h3, .lc-steps h3 { color: var(--ink); }
.stage { background: #fff; border-color: var(--line); }
.stage p { color: var(--muted); }
.steps li h3 { color: var(--ink); }
.cta-box h2 { color: #fff; }
.aud h2 { color: #fff; }
p.lc-kicker, .lc-head p.lc-kicker, .lc-row p.lc-kicker { color: var(--orange); font-size: .78rem; }
.site-footer.lc-footer::before, .site-footer.lc-footer::after { display: none; }

/* Auth card inside the normal page (header + footer) */
.lc-auth-wrap { padding: 28px 0 8px; }
.lc-auth-wrap .lc-auth { min-height: 0; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -50px rgba(40, 28, 120, .45); }
.lc-auth-wrap .lc-auth-side { padding: 48px 52px; }
.lc-auth-wrap .lc-auth-main { padding: 26px 44px 36px; }
.lc-auth-wrap .lc-auth-top { justify-content: flex-end; }
.lc-auth-wrap .lc-auth-form { padding: 14px 0 0; }
.lc-auth-wrap .lc-auth-quote { margin-top: 28px; }
@media (max-width: 980px) {
    .lc-auth-wrap .lc-auth-side { padding: 32px 26px; }
    .lc-auth-wrap .lc-auth-main { padding: 20px 22px 28px; }
}
@media (max-width: 560px) { .lc-auth-wrap .lc-auth { border-radius: 22px; } }
.page-prose { margin: 0 auto; }

/* =========================================================
   FREE SEO TOOLS  (/tools)
   ========================================================= */
.wrap-narrow { max-width: 880px; margin-inline: auto; }

/* ---- Tools index grid ---- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.tool-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 22px 22px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none; color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D9D3Fb; }
.tool-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--tint); color: var(--blue); margin-bottom: 4px;
}
.tool-card h3 { font-family: var(--font-head); font-size: 1.08rem; margin: 0; }
.tool-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0; flex: 1; }
.tool-go { color: var(--blue); font-weight: 600; font-size: .9rem; margin-top: 6px; }

.tools-cta {
    margin-top: 40px; padding: 34px 30px; text-align: center;
    background: var(--grad); color: #fff; border-radius: var(--radius-lg);
}
.tools-cta h2 { font-family: var(--font-head); margin: 0 0 8px; color: #fff; }
.tools-cta p { max-width: 560px; margin: 0 auto 18px; color: rgba(255,255,255,.9); }
.tools-cta .btn-primary { background: #fff; color: var(--blue); }

/* ---- Single tool page ---- */
.tool-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tool-form-label { display: block; font-weight: 600; margin-bottom: 10px; font-size: .95rem; }
.tool-input-row { display: flex; align-items: stretch; gap: 10px; position: relative; }
.tool-input-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.tool-input-row input {
    flex: 1; min-width: 0; padding: 13px 14px 13px 42px;
    border: 1.5px solid var(--line); border-radius: 12px; font-size: 1rem; font-family: var(--font);
    background: #FcFbff; transition: border-color .15s ease, box-shadow .15s ease;
}
.tool-input-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91,71,251,.12); }
.tool-input-row .btn { white-space: nowrap; }
.tool-msg.is-error { color: var(--pink); font-size: .88rem; margin: 10px 0 0; }

.tool-alert { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .94rem; }
.tool-alert.is-error { background: #FEF0F3; color: #B4254B; border: 1px solid #F7CBD6; }

/* ---- Result card ---- */
.tool-result { margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tr-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 18px; }
.tr-head h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 0; }
.tr-url { color: var(--muted); font-size: .86rem; word-break: break-all; }
.tr-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tr-dot.ok { background: var(--green); } .tr-dot.bad { background: var(--pink); }
.tr-note { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }
.tr-sub { font-family: var(--font-head); font-size: 1.02rem; margin: 22px 0 8px; }

/* stat tiles */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 6px; }
.stat-row-5 { grid-template-columns: repeat(5, 1fr); }
.stat { background: var(--tint); border-radius: 14px; padding: 14px 16px; text-align: center; }
.stat-k { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.stat-v { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.stat-v.good { color: var(--green); } .stat-v.bad { color: var(--pink); }

/* result tables */
.tr-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .9rem; }
.tr-table th, .tr-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tr-table tbody th { width: 150px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tr-table.tr-headers tbody th, .tr-table.tr-meta tbody th { font-family: var(--font); }
.tr-headers td { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; word-break: break-all; }
.tr-linkcell a { color: var(--blue); text-decoration: none; word-break: break-all; font-size: .86rem; }
.tr-linkcell a:hover { text-decoration: underline; }
.tr-anchor { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.tr-badges { white-space: nowrap; }
.tr-len { display: inline-block; margin-left: 8px; font-size: .75rem; padding: 2px 8px; border-radius: 20px; }
.tr-len.good { background: #E6F7F0; color: #0A8F63; } .tr-len.warn { background: #FFF2E8; color: #C4581F; }

/* pills */
.pill { display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.pill-ok { background: #E6F7F0; color: #0A8F63; }
.pill-warning { background: #FFF2E8; color: #C4581F; }
.pill-broken { background: #FEECF1; color: #C01F4B; }
.pill-plain { background: var(--tint); color: var(--muted); }

/* redirect chain */
.tr-chain { list-style: none; margin: 14px 0 0; padding: 0; }
.tr-chain li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.tr-chain-url { word-break: break-all; font-size: .86rem; }
.tr-pre { background: #F6F4FF; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .8rem; overflow-x: auto; white-space: pre-wrap; word-break: break-word; margin-top: 12px; max-height: 320px; }

/* more tools */
.tool-more { margin-top: 36px; }
.tool-more h2 { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 14px; }
.tool-more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tool-more-grid a {
    display: flex; align-items: center; gap: 9px; padding: 11px 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500;
    transition: border-color .15s ease, color .15s ease;
}
.tool-more-grid a:hover { border-color: var(--blue); color: var(--blue); }
.tool-more-grid a svg { color: var(--blue); flex-shrink: 0; }

@media (max-width: 680px) {
    .stat-row, .stat-row-5 { grid-template-columns: repeat(2, 1fr); }
    .tool-input-row { flex-direction: column; }
    .tool-input-row .btn { width: 100%; }
    .tr-table tbody th { width: auto; }
}
