/*
 * Seorism UI
 * Hand-written stylesheet; no build step. Tokens first, then base, layout,
 * components and pages. Keep new rules on the tokens below.
 */

/* ---------- Tokens ---------- */
:root {
    color-scheme: light;

    --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    --ink: #0d1526;
    --text: #344054;
    --muted: #5c6b80;
    --placeholder: #687789;
    --line: #e4e8ef;
    --line-strong: #cfd6e1;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f7f9fc;
    --surface-sunken: #f0f3f8;

    --brand-50: #eef2ff;
    --brand-100: #dfe6ff;
    --brand-300: #a9b8fb;
    --brand-500: #4766f0;
    --brand-600: #2f4fe0;
    --brand-700: #2540c0;
    --brand-800: #1d3394;

    --success-bg: #ebf7f1;
    --success-line: #bfe5d1;
    --success-ink: #0b6b45;
    --warning-bg: #fff7e8;
    --warning-line: #f3d7a4;
    --warning-ink: #84500a;
    --warning-dot: #e19a1c;
    --danger-bg: #fdeeee;
    --danger-line: #f5c4c1;
    --danger-ink: #a72a1e;

    --radius-sm: 8px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, .07), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-md: 0 10px 24px -8px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .04);
    --shadow-lg: 0 20px 44px -12px rgba(16, 24, 40, .22), 0 4px 10px rgba(16, 24, 40, .05);
    --ring: 0 0 0 3px rgba(47, 79, 224, .28);

    --container: 1180px;
    --gutter: 24px;
    --header-height: 64px;
    --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (max-width: 639px) {
    :root { --gutter: 16px; }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 400 15px/1.6 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }
main:focus { outline: none; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

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

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; z-index: 100; left: 16px; top: -100px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }

kbd, .kbd {
    display: inline-grid; place-items: center;
    min-width: 20px; height: 20px; padding: 0 5px;
    border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px;
    background: var(--surface); color: var(--muted);
    font: 500 11px/1 var(--font-mono);
}

.mono { font-family: var(--font-mono); font-size: .9em; overflow-wrap: anywhere; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 16px;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--brand-700); }
.btn--secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { background: var(--surface-alt); border-color: #b9c3d2; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--surface-sunken); color: var(--ink); }
.btn--lg { height: 48px; padding: 0 20px; font-size: 15px; }
.btn--icon { width: 40px; padding: 0; }
.btn:disabled, .btn[aria-disabled="true"], fieldset:disabled .btn { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn--primary:disabled, fieldset:disabled .btn--primary { background: var(--brand-600); }

.link-button {
    padding: 0; border: 0; background: none;
    color: var(--brand-700); font-weight: 600; cursor: pointer;
    text-decoration: underline; text-underline-offset: 2px;
}

.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--brand-800); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Badges & chips ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    height: 24px; padding: 0 9px;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    background: var(--surface-sunken); color: var(--text);
    font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge--brand { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.badge--soon { background: var(--surface); border-color: var(--line); color: var(--muted); }
.badge--soon .badge__dot { background: var(--warning-dot); }
.badge--success { background: var(--success-bg); border-color: var(--success-line); color: var(--success-ink); }
.badge--warning { background: var(--warning-bg); border-color: var(--warning-line); color: var(--warning-ink); }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 12px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    background: var(--surface); color: var(--text);
    font-size: 13px; font-weight: 550; white-space: nowrap;
    transition: border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); }
.chip .icon { width: 15px; height: 15px; color: var(--muted); }
.chip:hover .icon { color: inherit; }

/* ---------- Alerts ---------- */
.alert {
    display: flex; gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--brand-100); border-radius: var(--radius);
    background: var(--brand-50); color: var(--brand-800);
    font-size: 14px; line-height: 1.55;
}
.alert__icon { margin-top: 1px; }
.alert__title { display: block; font-weight: 650; color: inherit; }
.alert__body { color: var(--text); }
.alert__title + .alert__body { margin-top: 2px; }
.alert--warning { background: var(--warning-bg); border-color: var(--warning-line); color: var(--warning-ink); }
.alert--success { background: var(--success-bg); border-color: var(--success-line); color: var(--success-ink); }
.alert--danger { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger-ink); }

/* ---------- Forms ---------- */
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

.field { display: grid; gap: 6px; }
.label { font-size: 14px; font-weight: 600; color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); }

.input {
    width: 100%; height: 44px; padding: 0 12px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--ink);
    font-size: 16px; /* 16px stops iOS zooming on focus */
    box-shadow: var(--shadow-xs);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input::placeholder { color: var(--placeholder); }
.input:hover { border-color: #b9c3d2; }
.input:focus { outline: none; border-color: var(--brand-500); box-shadow: var(--ring); }
.input:disabled { background: var(--surface-sunken); color: var(--muted); cursor: not-allowed; box-shadow: none; }

.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; min-width: 0; }
.input-row .btn { height: 44px; flex: none; }

.file-drop {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 28px 20px;
    border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
    background: var(--surface-alt); text-align: center;
}
.file-drop__icon { color: var(--muted); }
.file-drop__title { font-weight: 600; color: var(--ink); }
.file-drop input[type="file"] { max-width: 100%; font-size: 14px; color: var(--muted); }

.tool-form { display: grid; gap: 16px; margin-top: 16px; }
.tool-form__actions { display: flex; justify-content: flex-end; }

.search-field {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 5px 5px 14px;
    border: 1px solid var(--line-strong); border-radius: 12px;
    background: var(--surface); box-shadow: var(--shadow-sm);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.search-field:focus-within { border-color: var(--brand-500); box-shadow: var(--ring), var(--shadow-sm); }
.search-field__icon { color: var(--placeholder); }
.search-field input {
    flex: 1; min-width: 0; height: 38px;
    border: 0; outline: 0; background: transparent;
    color: var(--ink); font-size: 16px;
}
.search-field input::placeholder { color: var(--placeholder); }
.search-field input::-webkit-search-decoration { -webkit-appearance: none; }
.search-field .btn { height: 38px; }
.search-field--lg { padding: 6px 6px 6px 16px; }
.search-field--lg input, .search-field--lg .btn { height: 44px; }

/* ---------- Panels, cards, empty states ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel__header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.panel__title { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.panel__body { padding: 20px; }
.panel--muted { background: var(--surface-alt); }

.tool-icon {
    display: grid; place-items: center; flex: none;
    width: 40px; height: 40px; border-radius: var(--radius);
    background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700);
}
.tool-icon--sm { width: 32px; height: 32px; border-radius: var(--radius-sm); }
.tool-icon--sm .icon { width: 17px; height: 17px; }
.tool-icon--lg { width: 52px; height: 52px; border-radius: 12px; }
.tool-icon--lg .icon { width: 26px; height: 26px; }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 36px 20px; text-align: center; color: var(--muted);
}
.empty-state__icon {
    display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px;
    border-radius: 12px; background: var(--surface-sunken); color: var(--muted);
}
.empty-state__title { font-size: 15px; font-weight: 650; color: var(--ink); }
.empty-state__text { max-width: 440px; font-size: 14px; }
.empty-state--bordered { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface-alt); }

/* Result building blocks for tools as they ship. */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
    padding: 10px 14px; text-align: left; white-space: nowrap;
    background: var(--surface-alt); border-bottom: 1px solid var(--line);
    color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }

.meta-list > div {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.meta-list > div:first-child { padding-top: 0; }
.meta-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.meta-list dt { color: var(--muted); }
.meta-list dd { color: var(--ink); font-weight: 550; text-align: right; }
.meta-list dd a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-height); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 750; letter-spacing: -.025em; }
.brand__mark {
    display: grid; place-items: center; width: 30px; height: 30px;
    border-radius: 8px; background: var(--brand-600); color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12);
}
.brand__mark svg { width: 18px; height: 18px; }

.primary-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 12px;
    border: 0; border-radius: var(--radius-sm); background: none;
    color: var(--text); font-size: 14px; font-weight: 550; cursor: pointer;
    transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--surface-sunken); color: var(--ink); }
.nav-link.is-current { color: var(--ink); }
.nav-link.is-current::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px;
    height: 2px; border-radius: 2px; background: var(--brand-600);
}
.nav-link { position: relative; }
.nav-link .icon { transition: transform .15s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-dropdown { position: relative; }
.dropdown-panel {
    position: absolute; top: calc(100% + 10px); left: -8px; z-index: 60;
    display: none; width: 360px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.nav-dropdown.is-open .dropdown-panel { display: block; }
html:not(.js) .nav-dropdown:hover .dropdown-panel,
html:not(.js) .nav-dropdown:focus-within .dropdown-panel { display: block; }

.dropdown-item { display: flex; gap: 12px; padding: 10px; border-radius: var(--radius); color: var(--text); }
.dropdown-item:hover { background: var(--surface-alt); }
.dropdown-item__title { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.dropdown-item__text { display: block; margin-top: 1px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.dropdown-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin: 6px -8px -8px; padding: 12px 18px;
    border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--surface-alt); font-size: 13.5px; font-weight: 600;
}
.dropdown-footer:hover { color: var(--brand-800); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.find-trigger { gap: 10px; padding: 0 8px 0 12px; color: var(--muted); font-weight: 500; min-width: 210px; justify-content: flex-start; }
.find-trigger .icon { width: 17px; height: 17px; }
.find-trigger__label { flex: 1; text-align: left; }
.find-trigger:hover { color: var(--ink); }

.menu-toggle { display: none; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav__inner { padding-block: 12px 20px; }
.mobile-nav__list { display: grid; gap: 2px; }
.mobile-nav__link {
    display: flex; align-items: center; gap: 12px;
    min-height: 44px; padding: 8px 10px; margin-inline: -10px;
    border-radius: var(--radius); color: var(--ink); font-weight: 550;
}
.mobile-nav__link:hover { background: var(--surface-alt); }
.mobile-nav__heading { margin: 14px 0 4px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 859px) {
    .primary-nav { display: none; }
    .find-trigger { min-width: 0; width: 40px; padding: 0; justify-content: center; color: var(--ink); }
    .find-trigger__label, .find-trigger .kbd { display: none; }
    .menu-toggle { display: inline-flex; }
    html:not(.js) .mobile-nav, .mobile-nav.is-open { display: block; }
}
@media (min-width: 860px) {
    .mobile-nav { display: none !important; }
}

/* ---------- Find-a-tool dialog ---------- */
.find-dialog {
    width: min(560px, 100% - 32px); max-height: min(580px, 100% - 64px);
    margin: min(12vh, 96px) auto auto; padding: 0;
    border: 1px solid var(--line); border-radius: 16px;
    background: var(--surface); color: var(--text);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.find-dialog[open] { display: flex; flex-direction: column; }
.find-dialog::backdrop { background: rgba(13, 21, 38, .42); }
.find-dialog__search { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.find-dialog__search .icon { color: var(--placeholder); }
.find-dialog__search input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.find-dialog__results { flex: 1; min-height: 0; overflow-y: auto; padding: 8px; }
.find-dialog__item a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--radius); color: var(--ink); font-size: 14px; font-weight: 550; }
.find-dialog__item a:hover { background: var(--surface-alt); }
.find-dialog__item a:focus-visible { outline: none; background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand-500); }
.find-dialog__name { flex: 1; min-width: 0; }
.find-dialog__category { color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.find-dialog__footer { display: flex; flex-wrap: wrap; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-alt); color: var(--muted); font-size: 12px; }
.find-dialog__footer span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 479px) { .find-dialog__category { display: none; } }

/* ---------- Page sections ---------- */
.section { padding-block: 64px; }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.eyebrow-text { color: var(--brand-700); font-size: 12.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.section-title { margin-top: 6px; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.022em; }
.section-lead { margin-top: 8px; max-width: 640px; color: var(--muted); font-size: 15.5px; }

@media (max-width: 639px) {
    .section { padding-block: 44px; }
}

/* Hero */
/* Branded gradient. Text colours are checked against the lightest stop
   (#3b5ae6): white 5.5:1, --hero-text-soft 4.6:1. */
.hero {
    --hero-text-soft: #e3e9ff;
    position: relative; overflow: hidden;
    padding-block: 64px 56px;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255, 255, 255, .16), transparent 70%),
        radial-gradient(ellipse 50% 70% at 100% 100%, rgba(99, 132, 255, .35), transparent 70%),
        linear-gradient(135deg, #1b2f8f 0%, #2a46d4 55%, #3b5ae6 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .22) 1px, transparent 0);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(0, 0, 0, .6), transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(0, 0, 0, .6), transparent 75%);
}
.hero__inner { position: relative; max-width: 780px; text-align: center; }
.hero__title { margin-top: 18px; color: #fff; font-size: clamp(31px, 4.6vw, 48px); font-weight: 750; line-height: 1.1; letter-spacing: -.032em; text-wrap: balance; }
.hero__lead { max-width: 600px; margin: 16px auto 0; color: var(--hero-text-soft); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.hero__search { max-width: 640px; margin: 28px auto 0; }
.hero .search-field { border-color: transparent; box-shadow: 0 12px 32px -10px rgba(10, 20, 70, .55); }
.hero .search-field:focus-within { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 12px 32px -10px rgba(10, 20, 70, .55); }
.hero .badge--brand { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero .quick-links__label { color: var(--hero-text-soft); }
.hero .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero .chip .icon { color: var(--hero-text-soft); }
.hero .chip:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero :focus-visible { outline-color: #fff; }
.quick-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 18px; }
.quick-links__label { color: var(--muted); font-size: 13px; font-weight: 550; }
.quick-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

@media (max-width: 639px) {
    .hero { padding-block: 40px 36px; }
    .hero__lead { font-size: 16px; }
    .search-field--lg .btn { padding: 0 14px; }
}

/* Interior page header */
.page-header { padding-block: 28px 36px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.028em; text-wrap: balance; }
.page-lead { max-width: 68ch; margin-top: 10px; color: var(--muted); font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.page-header__row { display: flex; align-items: flex-start; gap: 18px; }
.page-header__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
@media (max-width: 639px) {
    .page-header { padding-block: 20px 28px; }
    .page-header__row { flex-direction: column; gap: 14px; }
    .page-lead { font-size: 15.5px; }
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid #9ba7b9; border-right: 1.5px solid #9ba7b9; transform: rotate(45deg); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 550; }

/* ---------- Tool directory ---------- */
.directory-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.directory-search { max-width: 520px; margin-bottom: 20px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
    display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 8px 0 13px;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    background: var(--surface); color: var(--text);
    font-size: 13.5px; font-weight: 550; white-space: nowrap; cursor: pointer;
    transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter__count { min-width: 22px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--muted); font-size: 12px; line-height: 20px; text-align: center; }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.is-active .filter__count { background: rgba(255, 255, 255, .16); color: #fff; }
.directory-status { color: var(--muted); font-size: 13.5px; }

@media (max-width: 639px) {
    .filter-group { flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; padding: 2px; scrollbar-width: none; }
    .filter-group::-webkit-scrollbar { display: none; }
}

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-grid > li { display: flex; }
@media (max-width: 1023px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tool-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.tool-card {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    width: 100%; min-height: 216px; padding: 20px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.tool-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.tool-card:focus-within { border-color: var(--brand-500); box-shadow: var(--ring); }
.tool-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tool-card__title { font-size: 16px; font-weight: 650; letter-spacing: -.012em; }
.tool-card__title a { color: var(--ink); }
.tool-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tool-card__title a:focus-visible { outline: none; }
.tool-card__summary { color: var(--muted); font-size: 14px; line-height: 1.55; }
.tool-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
    color: var(--muted); font-size: 13px;
}
.tool-card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-700); font-weight: 600; }
.tool-card__cta .icon { transition: transform .15s var(--ease); }
.tool-card:hover .tool-card__cta .icon, .tool-card:focus-within .tool-card__cta .icon { transform: translateX(3px); }
@media (max-width: 639px) { .tool-card { min-height: 0; } }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .category-grid { grid-template-columns: minmax(0, 1fr); } }
.category-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.category-card__title { font-size: 16px; font-weight: 650; }
.category-card__title a { color: var(--ink); }
.category-card__title a:hover { color: var(--brand-700); }
.category-card__text { color: var(--muted); font-size: 14px; }
.category-card__tools { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.category-card__tools a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--text); font-size: 14px; font-weight: 550; }
.category-card__tools a .icon { color: var(--placeholder); width: 15px; height: 15px; }
.category-card__tools a:hover { color: var(--brand-700); }
.category-card__tools a:hover .icon { color: inherit; }
.category-card__more { margin-top: auto; font-size: 13.5px; }

/* Principles */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1023px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.feature__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-xs); }
.feature__title { margin-top: 14px; font-size: 15.5px; font-weight: 650; }
.feature__text { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- Tool page template ---------- */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-block: 32px 72px; }
.tool-main { display: grid; gap: 24px; min-width: 0; }
.tool-aside { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 16px; }
@media (max-width: 959px) {
    .tool-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .tool-aside { position: static; }
}
@media (max-width: 639px) {
    .tool-layout { padding-block: 20px 52px; }
    .panel__header, .panel__body { padding-inline: 16px; }
    .input-row { flex-direction: column; }
    .input-row .btn { width: 100%; }
}

.content-section { padding-top: 12px; }
.content-section__title { margin-bottom: 14px; font-size: 19px; letter-spacing: -.015em; }

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 14px; counter-increment: step; }
.steps li::before {
    content: counter(step); flex: none; display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--brand-700);
    font-size: 13px; font-weight: 700;
}
.steps li > span { padding-top: 3px; }

.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; }
.check-list .icon { margin-top: 2px; width: 18px; height: 18px; color: var(--success-ink); }
@media (max-width: 639px) { .check-list { grid-template-columns: minmax(0, 1fr); } }

.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-700); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: var(--radius-lg); }
.faq summary .icon { color: var(--muted); transition: transform .15s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 20px 18px; max-width: 72ch; }
@media (max-width: 639px) { .faq summary { padding-inline: 16px; } .faq__answer { padding-inline: 16px; } }

.link-list { display: grid; gap: 2px; }
.link-list a { display: flex; align-items: center; gap: 12px; margin-inline: -8px; padding: 8px; border-radius: var(--radius); color: var(--ink); font-size: 14px; font-weight: 550; }
.link-list a:hover { background: var(--surface-alt); color: var(--brand-700); }

/* ---------- Prose (About, legal) ---------- */
.prose { max-width: 70ch; font-size: 16px; line-height: 1.7; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 40px; font-size: 21px; letter-spacing: -.018em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.cta-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-alt); }
.cta-panel h2 { font-size: 18px; }
.cta-panel p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }

/* ---------- Error pages ---------- */
.error-page { padding-block: 80px 96px; text-align: center; }
.error-page__code { color: var(--brand-700); font: 650 14px/1 var(--font-mono); letter-spacing: .08em; }
.error-page__title { margin-top: 14px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.028em; }
.error-page__text { max-width: 520px; margin: 12px auto 0; color: var(--muted); font-size: 16px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.error-page .quick-links { margin-top: 36px; }
@media (max-width: 639px) { .error-page { padding-block: 52px 64px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; padding-top: 52px; background: var(--surface-alt); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-blurb { max-width: 320px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.footer-note { display: flex; gap: 8px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.footer-heading { margin-bottom: 12px; color: var(--ink); font-size: 13.5px; font-weight: 650; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 44px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 859px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 419px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Blog ---------- */
.btn--danger { background: var(--danger-ink); color: #fff; box-shadow: var(--shadow-xs); }
.btn--danger:hover { background: #8a2016; }
.btn--block { width: 100%; }

.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.blog-toolbar .filter-group { flex: 1 1 auto; }
.blog-toolbar .filter { padding-right: 13px; }
.blog-toolbar .filter__count { margin-right: -5px; }
.blog-search { flex: 0 1 340px; }
.blog-search--wide { max-width: 640px; margin-bottom: 32px; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-grid > li { display: flex; }
@media (max-width: 1023px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .article-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

.article-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.article-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.article-card:focus-within { border-color: var(--brand-500); box-shadow: var(--ring); }
.article-card__media { display: block; aspect-ratio: 16 / 9; background: var(--surface-sunken); border-bottom: 1px solid var(--line); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; }
.article-card__meta a { color: var(--brand-700); font-weight: 600; }
.article-card__meta a:hover { text-decoration: underline; text-underline-offset: 2px; }
.article-card__title { font-size: 17.5px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; }
.article-card__title a { color: var(--ink); }
.article-card__title a:hover { color: var(--brand-700); }
.article-card__title a:focus-visible { outline-offset: 3px; }
.article-card__excerpt { color: var(--muted); font-size: 14.5px; }
.article-card__foot { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--muted); font-size: 13px; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 36px; }
.pagination__status { color: var(--muted); font-size: 14px; }
.pagination [aria-disabled="true"] { opacity: .5; cursor: default; }

.article-header__inner { max-width: 780px; }
.article-title { margin-top: 14px; font-size: clamp(29px, 4vw, 42px); font-weight: 750; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.article-hero { margin-top: 32px; }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 32px; padding-block: 40px 72px; }
.article-layout--with-aside { grid-template-columns: minmax(0, 1fr) 280px; justify-content: stretch; gap: 56px; }
.article-layout--with-aside .article-body { grid-column: 1; grid-row: 1; }
.article-aside { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 20px; }
.article-tools--inline { display: none; }
@media (max-width: 959px) {
    .article-layout--with-aside { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .article-aside { grid-column: 1; grid-row: auto; position: static; }
    .article-layout--with-aside .article-body { grid-row: auto; }
    .article-tools--aside { display: none; }
    .article-tools--inline { display: block; }
}
.article-layout:not(.article-layout--with-aside) .article-tools--inline { display: block; }

.toc { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-alt); }
.toc__title { margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; color: var(--text); font-size: 14px; line-height: 1.4; }
.toc a:hover { color: var(--brand-700); }
.toc__sub a { padding-left: 14px; color: var(--muted); font-size: 13.5px; }

.article-body { min-width: 0; color: var(--text); font-size: 17px; line-height: 1.75; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { margin-top: 2em; font-size: 25px; line-height: 1.3; letter-spacing: -.02em; }
.article-body h3 { margin-top: 1.7em; font-size: 20px; line-height: 1.35; }
.article-body h4 { margin-top: 1.5em; font-size: 17px; }
.article-body h1 { font-size: 28px; }
.article-body :is(h1, h2, h3, h4) { scroll-margin-top: calc(var(--header-height) + 20px); }
.article-body :is(h1, h2, h3, h4) + * { margin-top: .6em; }
.article-body > :first-child { margin-top: 0; }
.article-body a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--brand-800); text-decoration-thickness: 2px; }
.article-body strong { color: var(--ink); font-weight: 650; }
.article-body :is(ul, ol) { padding-left: 1.4em; }
.article-body li + li { margin-top: .4em; }
.article-body li > :is(ul, ol) { margin-top: .4em; }
.article-body blockquote { margin-inline: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand-300); color: var(--muted); }
.article-body img { height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.article-body :not(pre) > code { padding: .12em .38em; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-sunken); color: var(--ink); font-family: var(--font-mono); font-size: .86em; overflow-wrap: anywhere; }
.article-body pre { overflow-x: auto; padding: 16px 18px; border: 1px solid #1e2a44; border-radius: var(--radius); background: #0f172a; color: #e2e8f0; font-size: 14px; line-height: 1.6; }
.article-body pre code { font-family: var(--font-mono); }
.article-body .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body :is(th, td) { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--surface-alt); color: var(--ink); font-weight: 650; }
.article-body tr:last-child td { border-bottom: 0; }
.article-body input[type="checkbox"] { margin-right: 6px; }
@media (max-width: 639px) {
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 22px; }
    .article-layout { padding-block: 28px 52px; }
}

.preview-banner { position: sticky; top: var(--header-height); z-index: 40; background: var(--warning-bg); border-bottom: 1px solid var(--warning-line); color: var(--warning-ink); font-size: 14px; }
.preview-banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-block: 10px; }
.preview-banner .btn { height: 34px; }
/* ---------- Tool results ---------- */
.field-error { color: var(--danger-ink); font-size: 13.5px; font-weight: 550; }
.input[aria-invalid="true"] { border-color: var(--danger-ink); }
.value-missing { color: var(--muted); font-style: italic; }

.whois { display: grid; gap: 22px; }
.whois__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.whois__domain { font-size: 22px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.whois__ascii { margin-top: 2px; color: var(--muted); }
.whois__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.whois__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.whois__meta { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.whois__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.whois__actions .btn { height: 36px; }
.whois__sections { display: grid; gap: 22px; }
.whois__subhead { margin-bottom: 10px; font-size: 14px; font-weight: 650; letter-spacing: .01em; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.facts > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.facts dd { color: var(--ink); font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.facts__note { display: block; margin-top: 1px; color: var(--muted); font-size: 13px; font-weight: 450; }
.facts__note--warning { color: var(--warning-ink); font-weight: 600; }
.facts--compact > div { padding: 8px 0; }
@media (max-width: 639px) { .facts { grid-template-columns: minmax(0, 1fr); } }

.status-list { display: grid; gap: 10px; }
.status-list li { display: grid; gap: 2px; font-size: 14px; }
.status-list code { justify-self: start; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-sunken); color: var(--ink); font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
.status-list span { color: var(--muted); }
.mono-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mono-list li { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-alt); font-family: var(--font-mono); font-size: 13.5px; overflow-wrap: anywhere; }

.raw { border: 1px solid var(--line); border-radius: var(--radius); }
.raw summary { padding: 12px 16px; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.raw summary:hover { color: var(--brand-700); }
.raw[open] summary { border-bottom: 1px solid var(--line); }
.raw__body { max-height: 420px; margin: 0; overflow: auto; padding: 14px 16px; background: var(--surface-alt); color: var(--text); font: 12.5px/1.6 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.raw .hint { padding: 0 16px 12px; }

.btn[aria-busy="true"] { cursor: progress; opacity: .8; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
