/* Auth pages: giris, kayit, dogrula, parola-sifirla. Builds on base.css tokens; replaces the old .auth rules of saas-site.css
   (those pages no longer load it). Flat: elevation is a 1px border. The right-hand stage is an ink block that shows the
   product in its own components, with example data for a made-up domain. Motion lives in saas-motion.css (auth section). */
.au {
  --stage: var(--side-bg); --stage-ink: var(--side-ink); --stage-muted: var(--side-muted); --stage-line: var(--side-line);
  --beam: 255, 214, 160;
  --fld-h: 52px;
  min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; font-size: 15px;
}
:root[data-theme="dark"] .au { --stage: #0a0908; --stage-line: #2a2723; }
.au ::selection { background: var(--primary); color: var(--on-primary); }
.au input::selection { background: color-mix(in srgb, var(--primary) 30%, transparent); color: var(--ink); }
.au a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.au svg { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip:focus { top: 10px; }

/* ---------- header: logo home, the opposite action, theme ---------- */
.au-head { height: 68px; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 28px; }
.au-logo { display: inline-flex; align-items: center; height: 44px; border-radius: 6px; }
.au-logo img { height: 36px; width: auto; display: block; }
.au-logo .dk, :root[data-theme="dark"] .au-logo .lt { display: none; }
:root[data-theme="dark"] .au-logo .dk { display: block; }
.au-head-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.au-head-q { color: var(--muted); font-size: 14px; }
.au-ghost { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; transition: border-color .15s, background .15s; }
.au-ghost:hover { border-color: var(--ink); }
.au-ghost svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.au-ghost:hover svg { transform: translateX(3px); }
.au .icon-btn { width: 44px; height: 44px; border-radius: 8px; }
.au .icon-btn svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- two-column shell ---------- */
.au-shell { display: grid; grid-template-columns: minmax(440px, 1fr) minmax(0, 1.14fr); min-height: 0; }
/* /login and /kayit share one 1200px container with the header */
.au-shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px 24px; column-gap: clamp(32px, 4vw, 64px); }
@media (min-width: 901px) { .au-shell > .au-main { padding-left: 0; padding-right: 0; } }
.au-main { display: flex; flex-direction: column; min-width: 0; padding: 12px clamp(24px, 4vw, 64px) 0; }
.au-card { width: 100%; max-width: 432px; margin: auto; padding: 24px 0 40px; }
.au-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 14px 0 6px; color: var(--muted); font-size: 13px; }
.au-foot a { color: var(--muted); }
.au-foot a:hover { color: var(--ink); }

/* ---------- form ---------- */
.au-card h1 { font: 800 clamp(32px, 3.2vw, 42px)/1.04 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.au-lead { color: var(--ink-2); font-size: 16px; line-height: 1.5; margin: 12px 0 28px; max-width: 40ch; }
.au-form { display: grid; gap: 20px; }
.au-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.au-fld { display: grid; gap: 8px; }
.au-fld > .au-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.au-fld label { font-weight: 700; font-size: 14px; color: var(--ink); transition: color .15s; }
.au-fld .au-lbl a { font-size: 14px; font-weight: 600; color: var(--primary-ink); }
.au-in { position: relative; display: flex; align-items: center; }
.au-in input { width: 100%; height: var(--fld-h); padding: 0 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 16px; outline: 0; color: var(--ink); transition: border-color .15s, box-shadow .2s var(--ease), background .15s; }
.au-in input::placeholder { color: var(--muted); opacity: 1; }
.au-in input:hover { border-color: color-mix(in srgb, var(--ink) 45%, var(--line-strong)); }
.au-in input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 24%, transparent); }
.au-in input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--surface) inset; -webkit-text-fill-color: var(--ink); caret-color: var(--primary); }
.au-in input.au-code { text-align: center; font: 600 26px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .42em; padding-left: calc(16px + .42em); }
.au-in input.au-code::placeholder { letter-spacing: .42em; opacity: .45; }
.au-in.pw input { padding-right: 56px; }
.au-in .tick { position: absolute; right: 14px; width: 20px; height: 20px; color: var(--good); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--spring); pointer-events: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.au-fld.ok .au-in .tick { opacity: 1; transform: none; }
.au-eye { position: absolute; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; transition: color .15s, background .15s; }
.au-eye:hover { color: var(--ink); background: var(--raised); }
.au-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.au-eye .off, .au-eye[aria-pressed="true"] .on { display: none; }
.au-eye[aria-pressed="true"] .off { display: block; }
.au-fld:focus-within > .au-lbl label { color: var(--primary-ink); }
:root[data-theme="dark"] .au-fld:focus-within > .au-lbl label { color: var(--primary); }
.au-msg { display: flex; gap: 7px; align-items: flex-start; color: var(--bad); font-size: 14px; font-weight: 600; line-height: 1.4; }
.au-msg:empty { display: none; }
.au-msg svg { width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.au-fld.err .au-in input { border-color: var(--bad); background: color-mix(in srgb, var(--bad-soft) 55%, var(--surface)); }
.au-fld.err .au-in input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 20%, transparent); }
.au-caps { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--warn); }
.au-caps[hidden] { display: none; }
.au-caps svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* live password checklist: neutral until the rule holds, then a drawn tick */
.au-rules { display: grid; gap: 6px; margin-top: 2px; font-size: 14px; color: var(--muted); }
.au-rules li { display: flex; align-items: center; gap: 9px; transition: color .2s; }
.au-rules i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.au-rules i svg { width: 12px; height: 12px; fill: none; stroke: var(--von-ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .28s var(--mo-inout, ease) .05s; }
.au-rules li.ok { color: var(--ink); }
.au-rules li.ok i { background: var(--v-ok); border-color: var(--v-ok); }
.au-rules li.ok i svg { stroke-dashoffset: 0; }
.au-rules li.bad { color: var(--bad); }
.au-rules li.bad i { border-color: var(--bad); }
.au-rules li[hidden] { display: none; }

/* primary action */
.au-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: var(--on-primary); font: 700 16px/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s, transform .12s, color .2s; }
.au-go:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.au-go:active { transform: scale(.985); }
.au-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.au-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.au-go:hover svg.arr { transform: translateX(4px); }
.au-go .chk { display: none; }
.au-go[aria-busy="true"] { cursor: progress; }
.au-go[aria-busy="true"] svg.arr { display: none; }
.au-go[aria-busy="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 36%; background: var(--on-primary); opacity: .55; animation: au-sweep 1.1s var(--mo-inout, ease) infinite; }
.au-go:disabled:not([aria-busy="true"]):not(.done) { background: var(--raised); border-color: var(--line-strong); color: var(--muted); cursor: not-allowed; }
.au-go:disabled .arr { display: none; }
.au-go.done { background: var(--v-ok); border-color: var(--v-ok); color: var(--von-ok); }
.au-go.done .arr { display: none; }
.au-go.done .chk { display: block; stroke-dasharray: 24; stroke-dashoffset: 24; animation: sm-draw .32s var(--mo-inout, ease) .05s forwards; }
@keyframes au-sweep { from { transform: translateX(-110%); } to { transform: translateX(300%); } }
@keyframes sm-draw { to { stroke-dashoffset: 0; } }
.au-form fieldset:disabled .au-in input { background: var(--raised); color: var(--ink-2); }
.au-form fieldset:disabled .au-eye { visibility: hidden; }

.au-fine { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: -4px; }
.au-fine a { color: var(--ink-2); font-weight: 600; }
.au-alt { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
.au-alt a { color: var(--primary-ink); font-weight: 700; }
:root[data-theme="dark"] .au-alt a, :root[data-theme="dark"] .au-fld .au-lbl a { color: var(--primary); }

/* notes: carried domain, server answers, error summary */
.au-note { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink); border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.45; margin-bottom: 20px; outline: 0; }
.au-note:empty { display: none; }
.au-note > svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.au-note b { font-weight: 700; }
.au-note p + p, .au-note p + ul, .au-note p + .au-note-act { margin-top: 4px; }
.au-note a { color: inherit; font-weight: 700; }
.au-note ul { display: grid; gap: 2px; }
.au-note.bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--bad); }
.au-note.good { background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 30%, transparent); color: var(--good); }
.au-note.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); color: var(--warn); }
.au-note.bad p, .au-note.warn p, .au-note.good p { color: inherit; }
.au-note:focus-visible { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.au-note-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.au-note-act a { display: inline-flex; align-items: center; text-decoration: none; }
.au-note-act :is(button, a) { min-height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid currentColor; background: transparent; color: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.au-note-act :is(button, a):hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.au-note-act button:disabled { opacity: .6; cursor: progress; }
.au-carry { border-color: var(--line-strong); background: var(--surface); }
.au-carry > svg { color: var(--primary); }
.au-carry b { font-family: var(--display); font-weight: 700; font-size: 15px; }
.au-carry small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.au-wait { font-variant-numeric: tabular-nums; }

/* dev-only mailed link */
.dev-link { margin-top: 20px; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--muted); word-break: break-all; text-align: left; }
.dev-link b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- result states inside the form column (sent mail etc.) ---------- */
.au-state { display: grid; gap: 14px; }
.au-state .mk { width: 148px; height: auto; margin-bottom: 4px; }
.au-state h1 { font-size: clamp(28px, 2.8vw, 36px); }
.au-state p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 44ch; }
.au-state p b { color: var(--ink); }
.au-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.au-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s; }
.au-btn:hover { border-color: var(--ink); }
.au-btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.au-btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.au-btn:disabled { opacity: .6; cursor: progress; }
.au-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.au h1:focus { outline: none; }
.au-steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-top: 4px; }
.au-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 11px 14px; font-size: 14px; color: var(--ink-2); }
.au-steps li + li { border-top: 1px solid var(--line); }
.au-steps li b { color: var(--ink); }
.au-steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--display); font-style: normal; border: 1.5px solid var(--line-strong); color: var(--muted); }
.au-steps li.now i { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.au-steps li.ok i { background: var(--v-ok); border-color: var(--v-ok); color: var(--von-ok); }
.au-steps li.ok i svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the stage: product vignette on an ink block ---------- */
.au-stage { position: relative; align-self: stretch; min-height: max(620px, calc(100dvh - 84px)); overflow: hidden; border-radius: 16px; background: var(--stage); color: var(--stage-ink); display: grid; align-content: center; gap: 30px; padding: clamp(32px, 4.6vh, 52px) clamp(32px, 3.6vw, 56px); isolation: isolate; }
:root[data-theme="dark"] .au-stage { border: 1px solid var(--stage-line); }
/* the subject's own texture: soil strata at the very bottom of the block, where the mole comes up */
.au-pitch h2 { font: 800 clamp(28px, 2.7vw, 40px)/1.06 var(--display); letter-spacing: -0.03em; max-width: 19ch; text-wrap: balance; color: var(--stage-ink); }
.au-pitch h2 em { white-space: nowrap; }
.au-pitch h2 em { font-style: normal; color: var(--primary); }
.au-pitch p { margin-top: 12px; color: var(--stage-muted); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.au-pitch p b { color: var(--stage-ink); font-weight: 700; }

.vg { position: relative; display: grid; gap: 12px; font-size: 13px; color: var(--ink); }
.vg-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.vg-card.cut { box-shadow: 0 0 0 7px var(--stage); }
.vg-h { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.vg-h::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--hc, var(--c1)); flex: none; }
.vg-h span { margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 12px; }
.vg-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 5px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; }

/* domain bar, the panel's ink header in miniature, here inverted to paper so it reads on the ink block */
.vg-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.vg-fav { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--surface); font: 800 17px/1 var(--display); flex: none; }
.vg-bar b { display: block; font: 800 19px/1.1 var(--display); letter-spacing: -0.02em; }
.vg-bar small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 3px; }
.vg-bar small i { width: 7px; height: 7px; border-radius: 50%; background: var(--v-ok); }
.vg-bar .vg-tag { margin-left: auto; }

/* authority gauge */
.vg-score { display: flex; align-items: flex-end; gap: 14px; margin-top: 10px; }
.vg-gauge { position: relative; width: 132px; flex: none; }
.vg-gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.vg-gauge .trk { fill: none; stroke: var(--grid); stroke-width: 11; }
.vg-gauge .seg { fill: none; stroke-width: 11; opacity: .28; }
.vg-gauge .val { fill: none; stroke: var(--gc, var(--t2)); stroke-width: 11; stroke-linecap: butt; }
.vg-gauge .ndl { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.vg-gauge .hub { fill: var(--ink); }
.vg-gauge .ndl { transform: rotate(var(--a)); transform-origin: 60px 60px; transform-box: view-box; }
.vg-num { font: 800 46px/.9 var(--display); letter-spacing: -0.04em; }
.vg-num small { font: 600 13px var(--font); letter-spacing: 0; color: var(--muted); margin-left: 3px; }
.vg-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--pc, var(--t2)) 14%, var(--surface)); color: var(--pi, var(--ti2)); margin-top: 8px; }
.vg-mix { margin-top: 14px; display: grid; gap: 6px; }
.vg-mix > div { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.vg-mix u { display: flex; gap: 2px; height: 20px; text-decoration: none; }
.vg-mix i { width: var(--w); background: var(--c); color: #fff; font: 700 11px/20px var(--font); font-style: normal; text-align: center; transform-origin: left; }
.vg-mix i:first-child { border-radius: 4px 0 0 4px; } .vg-mix i:last-child { border-radius: 0 4px 4px 0; }
:root[data-theme="dark"] .vg-mix i { color: #10140f; }
.vg-cap { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.4; }

/* spam verdict strip with the year timeline */
.vg-verdict { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vg-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; font-weight: 800; font-size: 13px; background: var(--v-warn); color: var(--von-warn); }
.vg-chip.risk { background: var(--v-risk); color: var(--von-risk); }
.vg-chip.ok { background: var(--v-ok); color: var(--von-ok); }
/* a verdict label waits for its counting number (auth.js stageLabels), then pops in */
.vg-pill, .vg-chip { transition: opacity .2s, transform .38s var(--spring); }
.vg-wait { opacity: 0; transform: scale(.6); }
@media (prefers-reduced-motion: reduce) { .vg-pill, .vg-chip { transition: none; } }
.vg-verdict .n { font: 800 26px/1 var(--display); letter-spacing: -0.03em; }
.vg-verdict .n small { font: 600 12px var(--font); color: var(--muted); letter-spacing: 0; }
.vg-tl { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 74px; margin-top: 14px; }
.vg-tl > div { display: grid; grid-template-rows: 1fr auto; gap: 5px; height: 100%; }
.vg-tl u { position: relative; display: block; align-self: end; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--grid); overflow: hidden; text-decoration: none; transform-origin: bottom; }
.vg-tl u b { position: absolute; left: 0; right: 0; bottom: 0; height: var(--f, 0%); background: var(--v-warn); }
.vg-tl u b.r { background: var(--v-risk); }
.vg-tl span { font-size: 10.5px; font-weight: 700; color: var(--muted); text-align: center; }
.vg-tl .hot span { color: var(--vi-warn); }
.vg-say { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.vg-say b { color: var(--ink); }

/* referring-domain rows */
.vg-rows { margin-top: 10px; display: grid; }
.vg-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 64px 84px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.vg-row.th { border-top: 0; padding: 0 0 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.vg-row .d { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vg-row .t { color: var(--muted); font-size: 12px; text-align: right; }
.vg-row.th .t { font-size: inherit; }
.vg-row .f { font-size: 12px; color: var(--ink-2); }
.vg-sc { display: grid; grid-template-columns: 24px 1fr; gap: 7px; align-items: center; }
.vg-sc b { font-weight: 800; font-size: 13px; text-align: right; }
.vg-sc i { height: 6px; border-radius: 3px; background: var(--grid); position: relative; overflow: hidden; }
.vg-sc i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--tc); border-radius: 3px; transform-origin: left; }
.vg-row .new { display: inline-flex; height: 18px; align-items: center; padding: 0 6px; border-radius: 4px; background: var(--primary-soft); color: var(--primary-ink); font-size: 10.5px; font-weight: 800; margin-left: 6px; vertical-align: 1px; }
:root[data-theme="dark"] .vg-row .new { color: var(--primary); }

/* usage meters (login) */
.vg-meter { display: grid; gap: 6px; margin-top: 12px; }
.vg-meter > div { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.vg-meter > div b { color: var(--ink); font-weight: 800; }
.vg-meter u { display: block; height: 7px; border-radius: 4px; background: var(--grid); overflow: hidden; text-decoration: none; }
.vg-meter u i { display: block; height: 100%; width: var(--w); background: var(--c2); border-radius: 4px; transform-origin: left; }

/* recent queries (login) */
.vg-recent .vg-row { grid-template-columns: 30px minmax(0, 1fr) 92px 118px 70px; }
.vg-recent .vg-row .fv { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line); font: 800 12px/1 var(--display); color: var(--ink-2); }
.vg-recent .vg-chip { height: 22px; font-size: 11.5px; padding: 0 8px; justify-self: start; }

/* the mole and its lamp */
.vg-kosto { position: absolute; z-index: 3; pointer-events: none; height: auto; transform-origin: 50% 92%; }
.vg-beam { position: absolute; z-index: 2; pointer-events: none; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(var(--beam), .42), rgba(var(--beam), .16) 40%, rgba(var(--beam), 0) 100%); clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%); }
:root[data-theme="dark"] .vg-beam { background: linear-gradient(90deg, rgba(var(--beam), .3), rgba(var(--beam), .1) 45%, rgba(var(--beam), 0) 100%); }
.vg-say-k { position: absolute; z-index: 4; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 700 13px/1.35 var(--display); max-width: 25ch; }

/* kayit: report layout. Bar on top, gauge + spam side by side, referring domains layered over their bottom edge.
   The mole comes up at the bottom-left and its lamp lights the rows. */
.vg-report { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "bar bar" "auth spam" "refs refs"; }
.vg-report .vg-bar { grid-area: bar; }
.vg-report .vg-auth { grid-area: auth; }
.vg-report .vg-spam { grid-area: spam; }
.vg-report .vg-refs { grid-area: refs; margin: 6px 0 0 30%; z-index: 1; }
/* --kw is the mole width. Measured on the pose image (512x422): the lamp glass spans 64–71% across and its centre is
   19.5% from the top, so the beam leaves from the front of the glass at 70% across and 80.5% up (.805 * 422/512 = .663 of the width). */
.vg-report { --kw: clamp(150px, 14vw, 205px); }
.vg-report .vg-kosto { left: -14px; bottom: -6px; width: var(--kw); }
.vg-report .vg-beam { left: calc(-14px + var(--kw) * .70); bottom: calc(-6px + var(--kw) * .663 - 80px); width: 86%; height: 160px; transform: rotate(-4deg); }
.vg-report .vg-spam { padding-bottom: 18px; }
.vg-recent .vg-h span { margin-left: 10px; }

/* giris: welcome back. Recent queries card with the mole peeking over its top edge, three instruments under it:
   the authority gauge of one example domain, the spam trail of another, today's usage. */
.vg-back { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr) minmax(0, .94fr); grid-template-areas: "recent recent recent" "auth spam usage"; }
.vg-back .vg-recent { grid-area: recent; }
.vg-back .vg-auth { grid-area: auth; margin: -18px 0 0 22px; z-index: 1; }
.vg-back .vg-spam { grid-area: spam; margin: -18px 0 0; z-index: 1; }
.vg-back .vg-usage { grid-area: usage; margin: -18px 22px 0 0; z-index: 1; }
.vg-back .vg-card.cut { padding: 14px 16px; }
.vg-dom { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vg-back .vg-meter:first-of-type { margin-top: 10px; }
.vg-back .vg-score { gap: 10px; }
.vg-back .vg-gauge { width: 88px; }
.vg-back .vg-num { font-size: 34px; }
.vg-back .vg-pill { margin-top: 6px; }
.vg-up { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.vg-up b { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px 0 5px; border-radius: 5px; background: var(--good-soft); color: var(--good); font-weight: 800; }
.vg-up svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vg-back .vg-kosto { right: 26px; bottom: calc(100% - 22px); width: 128px; }
.au-split[data-page="giris"] .au-pitch p { max-width: 34ch; }
.vg-back .vg-say-k { right: 160px; top: -58px; }
.vg-back .vg-recent { padding-top: 18px; }

/* ---------- single-card pages: dogrula, parola-sifirla ---------- */
.au-solo { display: flex; flex-direction: column; min-height: 0; padding: 0 16px; }
.au-solo .au-card { max-width: 480px; margin: auto; padding: 0; }
.au-box { position: relative; margin-top: 108px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px 36px 30px; }
.au-box > .mk { position: absolute; left: 32px; bottom: calc(100% - 18px); width: 150px; height: auto; transform-origin: 50% 92%; pointer-events: none; }
.au-box > .mk.wide { width: 128px; }
.au-box h1 { font-size: clamp(28px, 2.6vw, 34px); }
.au-box .au-lead { margin-bottom: 24px; }
.au-box .au-state p { font-size: 15px; }
.au-box .au-alt { margin-top: 24px; }
.au-solo .au-foot { padding: 28px 0 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .au-shell { grid-template-columns: minmax(400px, 1fr) minmax(0, 1fr); }
  .vg-row { grid-template-columns: minmax(0, 1fr) 84px 64px; }
  .vg-row > :nth-child(4) { display: none; }
  .vg-recent .vg-row { grid-template-columns: 30px minmax(0, 1fr) 84px 110px; }
  .vg-recent .vg-row > :nth-child(5) { display: none; }
  /* the narrower stage keeps two instruments under the list */
  .vg-back { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "recent recent" "spam usage"; }
  .vg-back .vg-auth { display: none; }
  .vg-back .vg-spam { margin-left: 22px; }
  .vg-report .vg-refs { margin-left: 26%; }
}
@media (max-width: 900px) {
  .au-shell { grid-template-columns: 1fr; padding: 0 16px 16px; }
  /* form, then the band, then the legal line */
  .au-split .au-main { display: contents; }
  .au-split .au-shell { grid-template-rows: 1fr auto auto; }
  .au-split .au-card { order: 1; padding: 16px 8px 40px; }
  .au-split .au-stage { order: 2; }
  .au-split .au-foot { order: 3; padding-top: 18px; }
  /* the stage becomes a compact band under the form: pitch and the two main instruments, no mole */
  .au-stage { position: relative; height: auto; padding: 28px; gap: 20px; }
  .au-pitch h2 { font-size: 26px; max-width: 24ch; }
  .vg-kosto, .vg-beam, .vg-say-k, .vg-report .vg-refs, .vg-back .vg-recent { display: none; }
  .vg-report { grid-template-areas: "bar bar" "auth spam"; }
  .vg-back { grid-template-areas: "spam usage"; }
  .vg-back .vg-spam, .vg-back .vg-usage { margin: 0; }
  .au-head-q { display: none; }
}
@media (max-width: 600px) {
  .au-head { padding: 0 12px 0 16px; height: 62px; }
  .au-logo img { height: 30px; }
  .au-main { padding: 0; }
  .au-card h1 { font-size: 32px; }
  .au-lead { margin-bottom: 22px; }
  .au-stage { display: none; }
  .au-box { padding: 28px 20px 24px; margin-top: 96px; }
  .au-box > .mk { left: 16px; width: 128px; }
  .au-solo { padding: 0 16px; }
  .au-acts .au-btn { flex: 1 1 100%; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .au-stage { gap: 20px; }
  .vg-tl { height: 56px; }
  .vg-gauge { width: 112px; }
  .vg-row { padding: 6px 0; }
}

/* ---------- a paid plan carried from the pricing page (sign-up form and the "account opened" state) ---------- */
.au-plan-note > svg { color: var(--good); }
.au-carry + .au-carry { margin-top: -10px; }

/* touch targets (>= 44x44 CSS px) for the auth pages' links and buttons on phones and touch screens */
@media (max-width: 860px), (pointer: coarse) {
  .au-logo, .au-head .icon-btn { min-height: 44px; min-width: 44px; }
  .au-head .icon-btn { width: 44px; height: 44px; }
  .au-ghost, .au-go, .au-btn { min-height: 44px; }
  .au-foot a, .au-alt a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
  .au-fine a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}

/* Sign-up consent boxes (privacy review): the terms box is required, the marketing box is separate and never pre-ticked. */
.au-chk { margin: 0; }
.au-chk label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.au-chk input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.au-chk a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.au-chk.err label { color: var(--bad); }
.au-chk .au-msg { margin: 6px 0 0 30px; }
