:root {
    color-scheme: light;
    --ink: #10223f;
    --subtle: #4e5b70;
    --paper: #f6f5f0;
    --surface: #fff;
    --line: #dedfd9;
    --blue: #234fc9;
    --night: #102544;
    --sky: #cce8ff;
    --orange: #ffab72;
    font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 58vh; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #2557d5;
    outline-offset: 3px;
}
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.08; font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.5vw, 5.35rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 3.05rem); }
h3 { font-size: 1.04rem; line-height: 1.33; }
.wrap { width: min(100% - 5rem, 1220px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .6rem; background: white; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .28rem; font-weight: 800; font-size: 1.33rem; text-decoration: none; letter-spacing: -.045em; white-space: nowrap; }
.brand > span:last-child { color: var(--blue); }
.brand-mark {
    background: var(--blue);
    display: inline-block;
    width: 1.65rem;
    height: 1.18rem;
    margin: .06rem .36rem 0 0;
    border-radius: .18rem;
    position: relative;
}
.brand-mark::before { content: ""; position: absolute; top: -.24rem; left: .04rem; width: .76rem; height: .36rem; border-radius: .16rem .16rem 0 0; background: var(--blue); }
.brand-mark::after { content: ""; position: absolute; left: .34rem; right: .34rem; height: 2px; top: .57rem; background: #fff; }
.header nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.7rem, 2.5vw, 2rem); }
.header nav a { font-size: .91rem; font-weight: 680; text-decoration: none; }
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.nav-action { border: 1px solid #a9b6cd; border-radius: 8px; padding: .59rem .85rem; }
.nav-action span { margin-left: .2rem; }
.hero {
    margin-block: 1.75rem 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    border-radius: 18px;
    overflow: hidden;
    background: var(--night);
    color: white;
}
.hero-copy { position: relative; padding: clamp(2rem, 4.15vw, 4.1rem); align-self: center; }
.eyebrow { font-size: .77rem; font-weight: 740; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sky); display: flex; align-items: center; gap: .58rem; margin-bottom: 1.05rem; }
.hero .eyebrow span { width: .52rem; height: .52rem; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: clamp(2.65rem, 5.1vw, 4.35rem); }
.hero-copy > p:not(.eyebrow) { max-width: 29rem; color: #e0e9f8; margin: 1.13rem 0 1.4rem; font-size: clamp(1rem, 1.4vw, 1.13rem); }
.hero-art { position: relative; min-width: 0; overflow: hidden; }
.hero-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.35rem; color: #dae6fe; margin-top: 1.25rem; font-size: .86rem; }
.hero-stats strong { color: white; }
.search-form { display: flex; align-items: stretch; gap: .5rem; min-width: 0; max-width: 37rem; }
.search-form input { min-width: 0; flex: 1; border: 1px solid #a8b1c0; background: white; color: var(--ink); border-radius: .55rem; padding: .8rem .9rem; }
.search-hero input { border-color: white; }
.search-form button, .button {
    border: 0;
    border-radius: .55rem;
    font-weight: 730;
    color: white;
    background: var(--blue);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .53rem;
    padding: .83rem 1rem;
    text-decoration: none;
}
.search-hero button { background: var(--orange); color: #241710; }
.button:hover, .search-form button:hover { filter: brightness(.94); }
.hero :focus-visible { outline-color: var(--sky); }
.search-icon { position: relative; width: .8rem; height: .8rem; border: 1.7px solid currentColor; border-radius: 50%; margin-right: .14rem; }
.search-icon::after { content: ""; position: absolute; width: .34rem; height: 1.7px; background: currentColor; right: -.25rem; bottom: -.12rem; transform: rotate(45deg); }
.section { margin-block: clamp(2.3rem, 5vw, 4.45rem); }
.section-heading { margin-bottom: 1.25rem; }
.section-heading p { color: var(--subtle); margin-top: .55rem; }
.section-heading.paired { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; align-items: baseline; }
.section-heading a { color: var(--blue); font-weight: 680; }
.topics, .listings { display: grid; gap: .75rem; margin: 0; list-style: none; padding: 0; }
.topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic {
    position: relative;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: .65rem;
    background: var(--surface);
    padding: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}
.topic:hover, .listing:hover { border-color: #9bacd1; }
.topic a { text-decoration: none; }
.topic a:hover { text-decoration: underline; }
.topic a::after { position: absolute; inset: 0; content: ""; }
.topic-icon { width: 2.5rem; height: 2.5rem; border-radius: .45rem; display: grid; place-items: center; flex: none; font-size: 1.24rem; line-height: 1; background: #e9effe; color: #294784; }
.topic:nth-child(3n+2) .topic-icon { color: #804424; background: #f9eade; }
.topic:nth-child(3n) .topic-icon { color: #265d53; background: #e1f0eb; }
.topic-content { flex: 1; min-width: 0; }
.topic-content p { font-size: .83rem; color: var(--subtle); margin-top: .36rem; }
.topic-count { color: var(--subtle); display: block; font-size: .75rem; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.topic-arrow { color: var(--blue); line-height: 1.4; }
.topics-overview .topic { min-height: 119px; }
.content { padding-block: 1.6rem 1px; }
.breadcrumbs ol { display: flex; padding: 0; margin: 0 0 1.6rem; flex-wrap: wrap; list-style: none; gap: .1rem .55rem; font-size: .84rem; color: var(--subtle); }
.breadcrumbs li + li::before { content: "/"; margin-right: .55rem; color: #657086; }
.intro { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 16px; background: #e9effd; }
.intro h1 { max-width: 18em; font-size: clamp(2.2rem, 5.3vw, 4.5rem); overflow-wrap: anywhere; }
.intro > p:not(.eyebrow) { margin-top: .85rem; max-width: 63ch; font-size: 1.1rem; }
.intro .eyebrow { margin-bottom: .5rem; color: #34508a; }
.intro .button, .intro .search-form { margin-top: 1.1rem; }
.listings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing { display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; padding: 1.2rem; overflow-wrap: anywhere; }
.listing-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .6rem; font-size: .76rem; font-weight: 650; color: var(--blue); }
.featured { background: #f9eade; color: #6c3d21; border-radius: 4px; padding: .06rem .35rem; }
.listing h3 a { text-decoration: none; }
.listing h3 a:hover { text-decoration: underline; }
.listing h3 span { color: var(--blue); }
.listing p { color: var(--subtle); font-size: .91rem; margin-top: .6rem; margin-bottom: .65rem; }
.listing-domain { padding-top: .4rem; margin-top: auto; color: var(--subtle); font-size: .77rem; }
.listing-image { max-height: 25rem; height: auto; object-fit: contain; border-radius: .65rem; margin-bottom: 1.2rem; }
.pagination { display: flex; align-items: center; gap: .75rem 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 1.45rem; }
.pagination a { padding: .45rem .75rem; border: 1px solid var(--line); background: white; border-radius: .5rem; font-weight: 660; }
.pagination span { font-size: .86rem; color: var(--subtle); }
.empty, .notice { padding: 1rem 1.2rem; background: white; border: 1px solid var(--line); border-radius: .65rem; }
.prose { max-width: 76ch; overflow-wrap: anywhere; }
.prose p + p, .prose h2 + p, .prose ul { margin-top: .75rem; }
.prose h2, .prose h3 { margin-top: 1.5rem; }
.review { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.package { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: .8rem; }
.package h2 { font-size: 1.75rem; }
.price { font-size: 1.85rem; font-weight: 740; padding: .75rem 0; }
.package .button { margin-top: auto; }
.package .package-description { margin-bottom: 1.2rem; }
.submission { max-width: 42rem; display: grid; align-items: start; gap: 1rem; }
.submission label { font-weight: 680; }
.submission input:not([type="checkbox"]), .submission select, .submission textarea { display: block; width: 100%; margin-top: .25rem; padding: .58rem .68rem; border: 1px solid #a8b1c0; border-radius: .45rem; color: var(--ink); background: white; }
.submission textarea { resize: vertical; }
.submission .button { justify-self: start; }
.submission .box-check input { margin-right: .5rem; }
.payment-button { margin-block: 1rem; }
.alert { padding: .85rem 1rem; color: #821b15; border: 1px solid #ddafa9; border-radius: .55rem; background: #fff2f1; }
.footer { border-top: 1px solid var(--line); margin-top: 3.5rem; color: var(--subtle); font-size: .88rem; }
.footer-inner { min-height: 6rem; }
@media (max-width: 950px) {
    .wrap { width: calc(100% - 3rem); }
    .topics, .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-copy { padding: 2rem; }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 1.6rem); }
    .header-inner { gap: .5rem; flex-direction: column; align-items: flex-start; padding-block: .75rem; }
    .header nav { gap: .55rem .9rem; }
    .header nav a { font-size: .81rem; }
    .nav-action { padding: .25rem .43rem; }
    .hero { margin-top: .8rem; grid-template-columns: 1fr; border-radius: 12px; }
    .hero-copy { padding: 1.35rem; }
    .hero-art { min-height: 135px; max-height: 210px; aspect-ratio: 2.65; }
    .hero-art img { object-position: center 48%; }
    .packages, .listings { grid-template-columns: 1fr; }
    .topic { padding: .7rem; gap: .4rem; }
    .topic-icon { display: none; }
    .topics-overview .topic { min-height: 98px; }
    .topic h3 { font-size: .94rem; }
    .topic-content p { display: none; }
    .footer-inner { flex-wrap: wrap; align-content: center; gap: .4rem 1rem; }
}
@media (max-width: 350px) {
    .search-form { flex-wrap: wrap; }
    .search-form input { flex-basis: 100%; }
}
