/*
Theme Name: SearchEngineConnect Studio
Theme URI: https://searchengineconnect.com/
Author: SearchEngineConnect Editorial Team
Description: A modern, accessible editorial resource directory for practical decisions.
Version: 2.0.0
Text Domain: searchengineconnect
*/

@font-face {
    font-family: "SEC Sans";
    src: url("fonts/sec-sans.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400 800;
}

@font-face {
    font-family: "SEC Display";
    src: url("fonts/sec-display.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 500 700;
}

:root {
    --canvas: #f3f7f5;
    --canvas-deep: #e8f0ed;
    --surface: #ffffff;
    --surface-soft: #f8fbfa;
    --ink: #092a2a;
    --ink-soft: #173f3d;
    --muted: #607371;
    --brand: #0b7a70;
    --brand-deep: #075a54;
    --brand-soft: #d9f1ed;
    --accent: #ff7657;
    --accent-deep: #cf4c32;
    --lime: #d9ef72;
    --sky: #a9dcf1;
    --line: #d6e2de;
    --line-dark: rgba(255, 255, 255, 0.16);
    --white: #ffffff;
    --shadow-sm: 0 8px 28px rgba(7, 58, 55, 0.08);
    --shadow-md: 0 22px 70px rgba(7, 58, 55, 0.13);
    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 32px;
    --content: 760px;
    --wide: 1220px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 108px;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 2% 4%, rgba(11, 122, 112, 0.08), transparent 25rem),
        radial-gradient(circle at 98% 28%, rgba(169, 220, 241, 0.15), transparent 28rem),
        var(--canvas);
    font-family: "SEC Sans", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 16.5px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.5;
    background-image: radial-gradient(rgba(9, 42, 42, 0.08) 0.6px, transparent 0.6px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

[hidden] {
    display: none !important;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-deep);
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--accent-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--ink);
    font-family: "SEC Display", Georgia, serif;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(3.1rem, 7vw, 6.25rem);
}

h2 {
    margin: 3.4rem 0 1rem;
    font-size: clamp(2.2rem, 4.8vw, 3.75rem);
}

h3 {
    margin: 2.4rem 0 0.75rem;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
}

p,
ul,
ol,
blockquote,
table {
    margin-top: 0;
    margin-bottom: 1.35rem;
}

ul,
ol {
    padding-left: 1.3rem;
}

li + li {
    margin-top: 0.45rem;
}

strong {
    color: var(--ink);
}

hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid var(--line);
}

blockquote {
    margin-left: 0;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(11, 122, 112, 0.16);
    border-left: 5px solid var(--brand);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--brand-soft);
    font-family: "SEC Display", Georgia, serif;
    font-size: 1.2rem;
}

table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-spacing: 0;
    border-collapse: separate;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 0.93rem;
}

th,
td {
    min-width: 150px;
    padding: 0.9rem 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th:last-child,
td:last-child {
    border-right: 0;
}

tr:last-child td {
    border-bottom: 0;
}

th {
    color: var(--white);
    background: var(--ink-soft);
}

tbody tr:nth-child(even) {
    background: var(--surface-soft);
}

code {
    padding: 0.16rem 0.4rem;
    border-radius: 5px;
    background: var(--canvas-deep);
    font-size: 0.9em;
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--white);
    background: var(--ink);
}

.site-shell {
    width: min(calc(100% - 2.5rem), var(--wide));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(243, 247, 245, 0.86);
    backdrop-filter: blur(18px) saturate(150%);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(9, 42, 42, 0.09);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 28px rgba(9, 42, 42, 0.06);
}

.header-inner {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.site-brand:hover {
    color: var(--ink);
}

.site-brand__mark {
    position: relative;
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    background: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 20px rgba(9, 42, 42, 0.18);
    transform: none;
}

.site-brand__mark::before,
.site-brand__mark::after {
    position: absolute;
    width: 19px;
    height: 19px;
    content: "";
    border-radius: 50%;
    background: var(--lime);
    transform: none;
}

.site-brand__mark::before {
    top: 6px;
    left: 6px;
}

.site-brand__mark::after {
    right: 5px;
    bottom: 5px;
    background: var(--accent);
    mix-blend-mode: screen;
}

.menu {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.menu li {
    margin: 0;
}

.menu a {
    display: block;
    padding: 0.65rem 0.82rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 150ms ease, background 150ms ease;
}

.menu a:hover,
.menu .current-menu-item > a {
    color: var(--ink);
    background: rgba(11, 122, 112, 0.1);
}

.desktop-nav .menu li:last-child a {
    margin-left: 0.35rem;
    padding-inline: 1rem;
    color: var(--white);
    background: var(--ink);
}

.desktop-nav .menu li:last-child a:hover {
    background: var(--brand-deep);
}

.mobile-nav {
    display: none;
}

.mobile-nav summary {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.breadcrumb {
    padding-top: 1.25rem;
    color: var(--muted);
    font-size: 0.79rem;
    font-weight: 600;
}

.breadcrumb ol {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    margin-left: 0.35rem;
    color: #9aacaa;
    content: "/";
}

.breadcrumb a {
    color: var(--ink-soft);
    text-decoration: none;
}

.hero {
    --spot-x: 76%;
    --spot-y: 18%;
    position: relative;
    display: grid;
    min-height: 650px;
    margin-top: 1rem;
    padding: clamp(2rem, 5vw, 4.75rem);
    overflow: hidden;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(56, 191, 179, 0.33), transparent 25rem),
        radial-gradient(circle at 12% 100%, rgba(255, 118, 87, 0.18), transparent 28rem),
        linear-gradient(135deg, #082f2e 0%, #0b4a46 54%, #092d31 100%);
    box-shadow: 0 30px 90px rgba(6, 41, 40, 0.2);
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.72fr);
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.23;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 80% 30%, #000, transparent 68%);
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: -6rem;
    bottom: -8rem;
    width: 24rem;
    height: 24rem;
    content: "";
    border: 1px solid rgba(217, 239, 114, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 3.5rem rgba(217, 239, 114, 0.04), 0 0 0 7rem rgba(217, 239, 114, 0.025);
}

.hero__content {
    position: relative;
    z-index: 1;
}

.signal-label {
    display: inline-flex;
    margin-bottom: 1.35rem;
    padding: 0.46rem 0.7rem;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-label > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(217, 239, 114, 0.13);
}

.hero h1 {
    max-width: 760px;
    color: var(--white);
    font-size: clamp(3.2rem, 6.3vw, 6rem);
    letter-spacing: -0.055em;
}

.hero h1 span,
.hero h1 em {
    color: var(--lime);
    font-style: normal;
}

.hero__lede {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.71);
    font-size: clamp(1.04rem, 1.8vw, 1.22rem);
    line-height: 1.65;
}

.resource-search {
    display: grid;
    max-width: 680px;
    margin-top: 1.8rem;
    padding: 0.38rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 20px 45px rgba(2, 21, 21, 0.18);
    grid-template-columns: auto 1fr auto;
}

.resource-search__icon,
.topic-filter__control > span {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    margin-left: 0.75rem;
    border: 2px solid var(--brand);
    border-radius: 50%;
}

.resource-search__icon::after,
.topic-filter__control > span::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 7px;
    height: 2px;
    content: "";
    border-radius: 2px;
    background: var(--brand);
    transform: rotate(45deg);
}

.resource-search input {
    min-width: 0;
    min-height: 50px;
    padding: 0.6rem 0.8rem;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.resource-search input::placeholder {
    color: #718280;
}

.resource-search button {
    min-height: 46px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 10px;
    color: var(--white);
    background: var(--brand-deep);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.resource-search button:hover {
    background: var(--ink);
    transform: translateY(-1px);
}

.hero__actions,
.button-row {
    display: flex;
    margin-top: 1.4rem;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0.75rem 1.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 10px 25px rgba(9, 42, 42, 0.14);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    color: var(--white);
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    box-shadow: 0 14px 32px rgba(9, 42, 42, 0.2);
    transform: translateY(-2px);
}

.button--light {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

.button--light:hover {
    color: var(--ink);
    background: var(--lime);
    border-color: var(--lime);
}

.button--accent {
    color: var(--ink);
    background: var(--lime);
    border-color: var(--lime);
}

.button--accent:hover {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.button--ghost {
    color: var(--ink);
    background: transparent;
    border-color: rgba(9, 42, 42, 0.3);
    box-shadow: none;
}

.button--ghost:hover {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand-deep);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    transition: transform 150ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link--on-dark {
    color: var(--lime);
}

.text-link--on-dark:hover {
    color: var(--white);
}

.hero__proof {
    display: flex;
    margin: 2.2rem 0 0;
    padding: 1.4rem 0 0;
    gap: clamp(1.3rem, 4vw, 3.25rem);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero__proof div {
    display: grid;
    gap: 0.1rem;
}

.hero__proof dt {
    color: var(--white);
    font-family: "SEC Display", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1;
}

.hero__proof dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-console,
.hero-index {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 80px rgba(0, 18, 18, 0.27);
    transform: rotate(1deg);
}

.hero-console__bar {
    display: grid;
    min-height: 44px;
    padding: 0 0.85rem;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: #eff4f2;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    grid-template-columns: 1fr auto 1fr;
}

.hero-console__lights {
    display: flex;
    gap: 5px;
}

.hero-console__lights i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff8269;
}

.hero-console__lights i:nth-child(2) {
    background: #e4c24f;
}

.hero-console__lights i:nth-child(3) {
    background: #6dc59e;
}

.hero-console__status {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 0.4rem;
}

.hero-console__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #45aa7b;
}

.hero-console__body {
    padding: 1.6rem;
}

.hero-console .eyebrow {
    margin-bottom: 0.55rem;
}

.hero-console h2,
.hero-index h2 {
    margin: 0 0 1.25rem;
    color: var(--ink);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    letter-spacing: -0.04em;
}

.path-list {
    display: grid;
    gap: 0.45rem;
}

.path-list a {
    display: grid;
    min-height: 50px;
    padding: 0.55rem 0.7rem;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--ink-soft);
    background: var(--surface-soft);
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
    grid-template-columns: auto 1fr auto;
}

.path-list a:hover {
    border-color: rgba(11, 122, 112, 0.24);
    color: var(--ink);
    background: var(--brand-soft);
    transform: translateX(3px);
}

.path-list__code {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand-deep);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.path-list a:nth-child(2n) .path-list__code {
    color: var(--ink);
    background: var(--lime);
}

.path-list__arrow {
    color: var(--brand);
    font-size: 1rem;
}

.hero-console__footer {
    display: flex;
    padding: 0.9rem 1.6rem;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #f5f8f7;
    font-size: 0.72rem;
}

.hero-console__footer a {
    font-weight: 800;
}

.hero-index {
    padding: 2rem;
    color: var(--ink);
}

.hero-index ol {
    margin: 0;
}

.hero-index a {
    color: var(--ink-soft);
    font-weight: 700;
    text-decoration: none;
}

.section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section--topics {
    padding-top: clamp(5.5rem, 9vw, 8.5rem);
}

.section--ink {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    background: var(--ink);
}

.section--ink::after {
    position: absolute;
    top: -15rem;
    right: -10rem;
    width: 32rem;
    height: 32rem;
    content: "";
    border: 1px solid rgba(217, 239, 114, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(217, 239, 114, 0.025), 0 0 0 10rem rgba(217, 239, 114, 0.015);
}

.section--ink .site-shell {
    position: relative;
    z-index: 1;
}

.section--ink h2,
.section--ink h3 {
    color: var(--white);
}

.section-heading {
    display: grid;
    margin-bottom: 2.8rem;
    align-items: end;
    gap: clamp(2rem, 7vw, 6rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
}

.section-heading h2 {
    max-width: 760px;
    margin: 0;
}

.section-heading > p,
.section-heading__aside > p {
    margin-bottom: 0.8rem;
    color: var(--muted);
}

.section-heading--top {
    align-items: end;
}

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section--ink .eyebrow {
    color: var(--lime);
}

.topic-filter label {
    display: block;
    margin-bottom: 0.48rem;
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 800;
}

.topic-filter__control {
    display: grid;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    grid-template-columns: auto 1fr auto;
}

.topic-filter__control > span {
    width: 15px;
    height: 15px;
    margin-left: 0.85rem;
    border-width: 1.7px;
}

.topic-filter__control input {
    min-width: 0;
    min-height: 48px;
    padding: 0.55rem 0.7rem;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.85rem;
}

.topic-filter__control button {
    margin-right: 0.45rem;
    padding: 0.42rem 0.6rem;
    border: 0;
    border-radius: 7px;
    color: var(--brand-deep);
    background: var(--brand-soft);
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.topic-filter__status {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.7rem;
}

.topic-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card {
    --card-color: var(--brand);
    position: relative;
    display: flex;
    min-height: 360px;
    padding: 1.5rem;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.topic-card::after {
    position: absolute;
    top: -85px;
    right: -70px;
    width: 170px;
    height: 170px;
    content: "";
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-color) 14%, transparent);
}

.topic-card:nth-child(2) { --card-color: var(--accent); }
.topic-card:nth-child(3) { --card-color: #318ba8; }
.topic-card:nth-child(4) { --card-color: #4a8e55; }
.topic-card:nth-child(5) { --card-color: #d38b26; }
.topic-card:nth-child(6) { --card-color: #cf5d67; }

.topic-card:hover {
    border-color: color-mix(in srgb, var(--card-color) 45%, var(--line));
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.topic-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    margin-bottom: 2.25rem;
    align-items: center;
    justify-content: space-between;
}

.topic-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: var(--card-color);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--card-color) 28%, transparent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.topic-card__number {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.topic-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.8rem;
    font-size: clamp(1.65rem, 2.6vw, 2.1rem);
}

.topic-card > p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.topic-card__footer {
    position: relative;
    z-index: 1;
    display: flex;
    margin-top: auto;
    padding-top: 1.1rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.topic-card__link {
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
}

.topic-card__link span {
    color: var(--card-color);
}

.filter-empty,
.empty-state {
    padding: 3rem;
    border: 1px dashed #a9bbb7;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.filter-empty h3 {
    margin: 0 0 1.25rem;
}

.trust-section .site-shell {
    display: grid;
    align-items: start;
    gap: clamp(3rem, 8vw, 8rem);
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.trust-intro h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.trust-intro > p:not(.eyebrow) {
    max-width: 560px;
}

.method-strip {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
}

.method-strip article {
    display: grid;
    min-height: 155px;
    padding: 1.45rem 0;
    align-items: start;
    gap: 0.4rem 1.3rem;
    border: 0;
    border-bottom: 1px solid var(--line-dark);
    grid-template-columns: auto 1fr;
}

.method-strip article:first-child {
    padding-top: 0;
}

.method-strip article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(217, 239, 114, 0.35);
    border-radius: 50%;
    color: var(--lime);
    font-size: 0.68rem;
    font-weight: 800;
}

.method-strip h3 {
    margin: 0 0 0.45rem;
    font-size: 1.55rem;
}

.method-strip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.61);
    font-size: 0.88rem;
    grid-column: 2;
}

.section--guides {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.guide-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
    position: relative;
    display: flex;
    min-height: 330px;
    padding: 1.45rem;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.guide-card::before {
    width: 42px;
    height: 5px;
    margin-bottom: 1.4rem;
    content: "";
    border-radius: 99px;
    background: var(--brand);
}

.guide-card:nth-child(3n + 2)::before {
    background: var(--accent);
}

.guide-card:nth-child(3n)::before {
    background: #318ba8;
}

.guide-card:hover {
    border-color: #b5c8c2;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.guide-card h2,
.guide-card h3 {
    margin: 0.7rem 0 0.8rem;
    font-size: clamp(1.45rem, 2.3vw, 1.85rem);
    line-height: 1.12;
}

.guide-card h2 a,
.guide-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.guide-card h2 a::after,
.guide-card h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.guide-card__topic {
    color: var(--brand);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.guide-card > p:not(.guide-card__meta):not(.guide-card__topic) {
    color: var(--muted);
    font-size: 0.86rem;
}

.guide-card__meta {
    margin: auto 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.71rem;
}

.decision-banner {
    position: relative;
    display: grid;
    padding: clamp(2rem, 5vw, 4.2rem);
    overflow: hidden;
    align-items: center;
    gap: 2rem;
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.7);
    background:
        radial-gradient(circle at 86% 20%, rgba(217, 239, 114, 0.17), transparent 17rem),
        linear-gradient(120deg, var(--brand-deep), #073b3f);
    box-shadow: var(--shadow-md);
    grid-template-columns: minmax(0, 1fr) auto;
}

.decision-banner::after {
    position: absolute;
    right: 9%;
    bottom: -8rem;
    width: 17rem;
    height: 17rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.decision-banner > * {
    position: relative;
    z-index: 1;
}

.decision-banner h2 {
    max-width: 760px;
    margin: 0 0 0.75rem;
    color: var(--white);
    font-size: clamp(2.25rem, 4.5vw, 3.7rem);
}

.decision-banner p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
}

.page-hero,
.archive-hero,
.article-header {
    padding: clamp(4rem, 8vw, 7.25rem) 0 clamp(2.75rem, 5vw, 4.5rem);
}

.page-hero h1,
.archive-hero h1,
.article-header h1 {
    max-width: 990px;
    font-size: clamp(3rem, 6.5vw, 5.5rem);
}

.page-deck,
.archive-deck,
.article-deck {
    max-width: 800px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2.1vw, 1.32rem);
    line-height: 1.65;
}

.article-meta {
    display: flex;
    margin-top: 1.7rem;
    padding-top: 1.15rem;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
}

.article-layout {
    display: grid;
    padding-bottom: 7rem;
    align-items: start;
    gap: clamp(3rem, 7vw, 6rem);
    grid-template-columns: minmax(0, var(--content)) minmax(230px, 1fr);
}

.article-content,
.page-content {
    min-width: 0;
}

.article-content > :first-child,
.page-content > :first-child {
    margin-top: 0;
}

.article-content h2,
.page-content h2 {
    margin-top: 3.5rem;
    font-size: clamp(2rem, 4vw, 2.85rem);
}

.article-content h3,
.page-content h3 {
    font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}

.article-content .article-intro {
    margin-bottom: 2.3rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--accent);
    color: var(--ink-soft);
    font-family: "SEC Display", Georgia, serif;
    font-size: 1.32rem;
    line-height: 1.5;
}

.article-content a,
.page-content a {
    font-weight: 700;
}

.article-aside {
    position: sticky;
    top: 112px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.article-aside::before {
    display: block;
    width: 34px;
    height: 4px;
    margin-bottom: 1rem;
    content: "";
    border-radius: 99px;
    background: var(--accent);
}

.article-aside h2 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
}

.article-aside ul {
    margin-bottom: 0;
    padding-left: 1rem;
    color: var(--muted);
    font-size: 0.83rem;
}

.callout {
    margin: 2.2rem 0;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(11, 122, 112, 0.19);
    border-radius: var(--radius-sm);
    background: var(--brand-soft);
}

.callout--warning {
    border-color: rgba(255, 118, 87, 0.22);
    background: #ffebe6;
}

.callout p:last-child {
    margin-bottom: 0;
}

.template-box {
    margin: 2.2rem 0;
    padding: 1.5rem;
    border: 1px dashed var(--brand);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.template-box h3 {
    margin-top: 0;
}

.author-box {
    display: grid;
    margin-top: 4rem;
    padding: 1.5rem;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    grid-template-columns: 64px 1fr;
}

.author-box__mark {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    color: var(--ink);
    background: var(--lime);
    font-family: "SEC Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-box h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
}

.author-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.87rem;
}

.related-guides {
    padding: 5.5rem 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.35);
}

.related-guides h2 {
    margin-top: 0;
}

.pagination {
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pagination .page-numbers {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    padding: 0.35rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    text-decoration: none;
}

.pagination .current {
    color: var(--white);
    background: var(--brand-deep);
}

.search-form {
    display: flex;
    max-width: 650px;
    gap: 0.65rem;
}

.search-form label {
    flex: 1;
}

.search-field,
.tool-input {
    width: 100%;
    min-height: 50px;
    padding: 0.7rem 0.82rem;
    border: 1px solid #a9bbb7;
    border-radius: 10px;
    color: var(--ink);
    background: var(--surface);
}

.search-submit,
.tool-button {
    min-height: 50px;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 10px;
    color: var(--white);
    background: var(--brand-deep);
    font-weight: 800;
    cursor: pointer;
}

.search-submit:hover,
.tool-button:hover {
    background: var(--ink);
}

.tool-grid {
    display: grid;
    margin: 2rem 0 4rem;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-panel {
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.tool-panel h2 {
    margin-top: 0;
    font-size: 1.9rem;
}

.tool-fields {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-fields label {
    display: grid;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.tool-output {
    margin-top: 1rem;
    padding: 1rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 9px 9px 0;
    background: var(--canvas);
    font-size: 1rem;
    font-weight: 750;
}

.checklist {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    margin: 0;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
}

.checklist label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.checklist input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.3rem;
    accent-color: var(--brand);
}

.site-footer {
    position: relative;
    padding: 5rem 0 2rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.65);
    background: #061f20;
}

.site-footer::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(calc(100% - 2.5rem), var(--wide));
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(217, 239, 114, 0.5), transparent);
    transform: translateX(-50%);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
}

.site-footer h2 {
    margin-top: 0;
    color: var(--white);
    font-family: "SEC Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-footer section > h2 {
    font-family: "SEC Display", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
}

.site-footer section > p {
    max-width: 520px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration-color: rgba(217, 239, 114, 0.45);
}

.site-footer a:hover {
    color: var(--lime);
}

.site-footer ul {
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 0.45rem;
}

.footer-note {
    margin-top: 3.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.43);
    font-size: 0.74rem;
}

.reading-progress {
    position: fixed;
    z-index: 250;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
    background: transparent;
}

.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--lime));
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 550ms ease var(--reveal-delay, 0ms), transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes sec-hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__content,
.hero > div:first-child {
    animation: sec-hero-rise 600ms both;
}

.hero-console,
.hero-index {
    animation: sec-hero-rise 650ms 100ms both;
}

@supports not (color: color-mix(in srgb, #000 10%, #fff)) {
    .topic-card::after {
        background: rgba(11, 122, 112, 0.09);
    }

    .topic-card:hover {
        border-color: #adc6c0;
    }

    .topic-card__icon {
        box-shadow: var(--shadow-sm);
    }
}

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        position: relative;
        display: block;
    }

    .mobile-nav[open] .menu {
        position: absolute;
        top: 3rem;
        right: 0;
        display: grid;
        width: min(84vw, 320px);
        padding: 0.75rem;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: var(--surface);
        box-shadow: var(--shadow-md);
    }

    .mobile-nav[open] .menu a {
        padding: 0.75rem;
    }

    .hero,
    .section-heading,
    .article-layout,
    .trust-section .site-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-console,
    .hero-index {
        width: min(100%, 620px);
        transform: none;
    }

    .article-aside {
        position: static;
        order: -1;
    }

    .topic-grid,
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-intro {
        max-width: 720px;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }

    .site-shell {
        width: min(calc(100% - 1.25rem), var(--wide));
    }

    .header-inner {
        min-height: 70px;
    }

    .site-brand__mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .site-brand__text {
        max-width: 170px;
        font-size: 0.9rem;
    }

    .hero {
        margin-top: 0.6rem;
        padding: 2.7rem 1.15rem 1.15rem;
        gap: 2.4rem;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13.5vw, 4.25rem);
    }

    .resource-search {
        padding: 0.4rem;
        grid-template-columns: auto 1fr;
    }

    .resource-search button {
        grid-column: 1 / -1;
    }

    .hero__proof {
        gap: 1rem;
        justify-content: space-between;
    }

    .hero__proof dt {
        font-size: 1.3rem;
    }

    .hero__proof dd {
        max-width: 76px;
        font-size: 0.6rem;
        line-height: 1.35;
    }

    .hero-console__body,
    .hero-index {
        padding: 1.15rem;
    }

    .hero-console__bar {
        grid-template-columns: 1fr 1fr;
    }

    .hero-console__bar > span:nth-child(2) {
        display: none;
    }

    .hero-console__footer {
        display: grid;
        padding: 0.85rem 1.15rem;
    }

    .topic-grid,
    .guide-grid,
    .tool-grid,
    .tool-fields,
    .footer-grid,
    .decision-banner {
        grid-template-columns: 1fr;
    }

    .topic-card,
    .guide-card {
        min-height: auto;
    }

    .topic-card {
        padding: 1.3rem;
    }

    .topic-card__footer {
        margin-top: 1.2rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .section {
        padding: 4.4rem 0;
    }

    .search-form {
        display: grid;
    }

    .article-header,
    .page-hero,
    .archive-hero {
        padding-top: 3rem;
    }

    .author-box {
        grid-template-columns: 1fr;
    }

    .decision-banner {
        padding: 2rem 1.3rem;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .site-footer,
    .article-aside,
    .button-row,
    .hero__actions,
    .related-guides,
    .breadcrumb,
    .reading-progress {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 11pt;
    }

    .site-shell,
    .article-layout {
        display: block;
        width: 100%;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Static search interface */
.static-search-form {
    display: grid;
    max-width: 760px;
    margin-top: 2rem;
    padding: 0.45rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    grid-template-columns: 1fr auto;
}

.static-search-form input {
    min-width: 0;
    min-height: 54px;
    padding: 0.7rem 0.9rem;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.static-search-form button {
    min-height: 48px;
    padding: 0.7rem 1.15rem;
    border: 0;
    border-radius: 11px;
    color: var(--white);
    background: var(--brand-deep);
    font-weight: 800;
    cursor: pointer;
}

.static-search-status {
    margin: 0 0 1.6rem;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.static-search-results {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-result-card {
    position: relative;
    display: flex;
    min-height: 250px;
    padding: 1.4rem;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.search-result-card:hover {
    border-color: #b5c8c2;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.search-result-card__type {
    margin-bottom: 1rem;
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.search-result-card h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.search-result-card h2 a {
    color: var(--ink);
    text-decoration: none;
}

.search-result-card h2 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.search-result-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.static-search-empty {
    padding: 2.5rem;
    border: 1px dashed #a9bbb7;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.68);
}

@media (max-width: 680px) {
    .static-search-form {
        grid-template-columns: 1fr;
    }

    .static-search-results {
        grid-template-columns: 1fr;
    }
}
