:root {
    --ink: #19233c;
    --cream: #faf8f3;
    --paper: #fff;
    --gold: #d7a950;
    --muted: #526078;
    --line: #deded9;
    --green: #27635b
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 16px/1.6 Arial, Helvetica, sans-serif;
    overflow-x: hidden
}

a {
    color: inherit
}

img {
    max-width: 100%;
    height: auto
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    padding: .75rem;
    z-index: 9
}

.skip:focus {
    left: 1rem;
    top: 1rem
}

.shell {
    width: min(100% - 2rem, 1160px);
    margin-inline: auto
}

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--line)
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font: 700 1.1rem Georgia, serif;
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap
}

.brand-mark {
    display: block;
    width: 2rem;
    height: auto;
    flex-shrink: 0
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem clamp(.65rem, 1vw, 1rem)
}

.nav-links a {
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap
}

.nav-links a:hover,
.nav-links a:focus-visible {
    text-decoration: underline
}

.nav-links .nav-action {
    padding: .54rem .8rem;
    border: 1px solid var(--ink);
    border-radius: .4rem
}

.hero {
    padding: clamp(3rem, 7vw, 6rem) 0 4rem;
    background: var(--ink);
    color: #fff
}

.hero .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
    gap: 3rem;
    align-items: center
}

.eyebrow {
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--gold)
}

h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.12;
    letter-spacing: -.025em
}

h1 {
    font-size: clamp(2.38rem, calc(5.6vw - 2pt), 5.08rem);
    max-width: 820px;
    margin: 1.2rem 0
}

h2 {
    font-size: clamp(1.83rem, calc(3.5vw - 2pt), 3.08rem);
    margin: .7rem 0 1.1rem
}

h3 {
    font-size: 1.28rem;
    margin: .3rem 0 .7rem
}

p {
    margin: .6rem 0 1rem
}

.hero p {
    font-size: 1.13rem;
    color: #e0e6f0;
    max-width: 680px
}

.hero-visual {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    display: grid;
    place-items: center;
    background: transparent
}

.hero-visual img {
    display: block;
    width: clamp(128px, 13vw, 164px);
    height: auto;
    object-fit: contain
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.75rem
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .78rem 1.2rem;
    border-radius: .45rem;
    background: var(--gold);
    color: #172039;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    border: 2px solid var(--gold)
}

.button:hover,
.button:focus-visible {
    background: #f0c878;
    border-color: #f0c878
}

.button-alt {
    color: #fff;
    background: transparent;
    border-color: #d9deea
}

.button-alt:hover,
.button-alt:focus-visible {
    background: #fff;
    color: var(--ink);
    border-color: #fff
}

.button-light {
    background: transparent;
    border-color: var(--ink)
}

.button-light:hover,
.button-light:focus-visible {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.fine {
    font-size: .85rem;
    color: var(--muted)
}

.hero .fine {
    color: #d6dbea
}

.section {
    padding: clamp(3rem, 6vw, 5.5rem) 0
}

.section:nth-of-type(even) {
    background: #f2f1ed
}

.intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.09rem
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 2rem
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.55rem;
    min-width: 0
}

.card p {
    color: var(--muted)
}

.card a {
    font-weight: 700
}

.card .tag {
    color: #976c25;
    font-weight: 800;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.band {
    background: #e7eee9;
    border-left: 5px solid var(--green);
    padding: 1.5rem;
    border-radius: .7rem;
    margin: 1.8rem 0
}

.band p {
    margin: 0
}

.list {
    padding-left: 1.4rem;
    max-width: 850px
}

.list li {
    margin: .65rem 0
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start
}

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .8rem;
    padding: 1.4rem
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    color: #9d6f27;
    font-weight: 800;
    margin-bottom: .7rem
}

.step p {
    color: var(--muted)
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0
}

.faq summary {
    font-weight: 800;
    cursor: pointer
}

.faq p {
    max-width: 780px;
    color: var(--muted)
}

.site-footer {
    background: #111a30;
    color: #dbe1eb;
    padding: 2.4rem 0
}

.site-footer .shell {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap
}

.site-footer a {
    margin-right: 1rem
}

.site-footer small {
    display: block;
    color: #bdc6d6;
    margin-top: .7rem
}

.price {
    font: 700 2.3rem Georgia, serif
}

.price del {
    color: var(--muted);
    font: 400 1rem Arial, sans-serif;
    margin-right: .45rem
}

.status {
    font-size: .9rem;
    color: var(--muted)
}

.notice {
    padding: 1rem 1.2rem;
    background: #fff7e6;
    border: 1px solid #e6c788;
    border-radius: .5rem
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

:focus-visible {
    outline: 3px solid #5c8dd6;
    outline-offset: 3px
}

[hidden] {
    display: none !important
}

.site-footer button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-right: 1rem
}

.mobile-menu {
    display: none
}

.copy-section {
    scroll-margin-top: 88px
}

.copy-section .shell {
    max-width: 1000px
}

.copy-section p {
    max-width: 800px
}

.copy-section h3 {
    margin: 2rem 0 .55rem
}

.copy-section h4 {
    font: 700 .88rem/1.4 Arial, Helvetica, sans-serif;
    margin: 1.3rem 0 .4rem
}

.copy-section .link-row {
    margin: .7rem 0
}

.inline-action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 800;
    color: #245a54;
    text-underline-offset: 3px
}

.inline-action:hover,
.inline-action:focus-visible {
    color: #143b37
}

.copy-section .price-card {
    max-width: 620px;
    margin: 1.2rem 0 1.6rem
}

.copy-section .faq {
    max-width: 850px
}

.copy-section .faq details {
    padding: 1.1rem .2rem
}

.copy-section .faq summary {
    font-size: 1.05rem;
    line-height: 1.4
}

.copy-section .faq p {
    margin: 1rem 0
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: min(100% - 2rem, 1160px)
}

.footer-grid h3 {
    font: 700 .88rem Arial, Helvetica, sans-serif;
    color: #fff;
    margin: 0 0 .8rem
}

.footer-grid a {
    display: block;
    margin: 0 0 .55rem;
    color: #dbe1eb
}

.footer-grid button {
    display: block;
    text-align: left
}

.portrait-card {
    float: right;
    width: min(34%, 240px);
    margin: 0 0 1.2rem 1.6rem
}

.portrait-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem
}

.copy-section p,
.copy-section a,
.footer-grid a {
    overflow-wrap: anywhere
}

.footer-grid>div {
    min-width: 0
}

@media(max-width:800px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .portrait-card {
        float: none;
        width: min(100%, 240px);
        margin: 0 0 1.5rem
    }
}

@media(max-width:520px) {
    .footer-grid {
        grid-template-columns: 1fr
    }

    .copy-section .shell {
        width: min(100% - 1.5rem, 1000px)
    }
}

@media(max-width:1060px) {
    .mobile-menu-links {
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain
    }
}

@media(max-width:800px) {
    .nav {
        align-items: flex-start;
        padding: 1rem 0;
        flex-direction: column;
        min-height: 0
    }

    .nav-links {
        gap: .5rem .9rem
    }

    .nav-links a {
        font-size: .82rem
    }

    .hero .shell {
        display: block
    }

    .hero-visual {
        display: none
    }

    .grid,
    .grid.two,
    .split,
    .steps {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 3rem 0
    }

    .section {
        padding: 3.2rem 0
    }
}

@media(max-width:420px) {
    .shell {
        width: min(100% - 1.5rem, 1160px)
    }

    h1 {
        font-size: clamp(2.23rem, calc(11vw - 2pt), 2.93rem)
    }

    .actions .button {
        width: 100%
    }

    .nav-links {
        gap: .35rem .75rem
    }

    .nav-links a {
        font-size: .78rem
    }

    .card {
        padding: 1.25rem
    }
}

@media(max-width:1060px) {
    .nav {
        flex-direction: row;
        align-items: center;
        min-height: 64px;
        gap: .5rem
    }

    .nav-links {
        display: none
    }

    .mobile-menu {
        display: block;
        position: relative;
        margin-left: auto
    }

    .mobile-menu summary {
        display: grid;
        place-items: center;
        min-width: 76px;
        min-height: 44px;
        padding: .5rem .8rem;
        border: 1px solid var(--ink);
        border-radius: .45rem;
        list-style: none;
        cursor: pointer;
        font-weight: 800
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none
    }

    .mobile-menu[open] summary {
        background: var(--ink);
        color: #fff
    }

    .mobile-menu-links {
        position: absolute;
        z-index: 20;
        top: calc(100% + .5rem);
        right: 0;
        width: min(300px, calc(100vw - 1.5rem));
        padding: .55rem;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: .7rem;
        box-shadow: 0 18px 45px #10182930;
        display: grid
    }

    .mobile-menu-links a {
        display: block;
        padding: .7rem .8rem;
        text-decoration: none;
        font-weight: 700;
        font-size: .95rem;
        border-radius: .35rem
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:focus-visible {
        background: #edf0f2
    }

    .mobile-menu-links .nav-action {
        background: var(--gold);
        margin-top: .3rem
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

.hero-continuity {
    margin-top: 1rem !important;
    font-size: .9rem !important;
    color: #d6dbea !important
}

.hero-continuity button {
    background: none;
    border: 0;
    padding: 0;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.hero-continuity button:hover,
.hero-continuity button:focus-visible {
    color: #f0c878
}

.hero #copy-page-feedback {
    min-height: 1.35em;
    font-size: .84rem
}

.hero-portrait {
    margin: 0;
    max-width: 370px;
    justify-self: center;
    text-align: center
}

.hero-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold)
}

.hero-portrait figcaption {
    margin-top: .65rem;
    font-size: .86rem;
    color: #e0e6f0
}

@media(max-width:800px) {
    .hero-portrait {
        display: block;
        max-width: 220px;
        margin: 2rem auto 0
    }
}

.hero .inline-action {
    color: #f0c878
}

.hero .inline-action:hover,
.hero .inline-action:focus-visible {
    color: #fff
}

@media(max-width:520px) {
    .hero {
        padding: 2.15rem 0 2.6rem
    }

    .hero h1 {
        font-size: clamp(1.98rem, calc(10vw - 2pt), 2.58rem)
    }

    .hero .actions {
        margin-top: 1.25rem
    }
}

.investigation-map {
    display: grid;
    gap: 1rem;
    margin: 1.8rem 0
}

.investigation-map h3 {
    margin: .45rem 0 .65rem
}

.investigation-map p {
    margin-bottom: 0
}

.investigation-start,
.investigation-branch,
.investigation-reading {
    padding: 1.4rem 1.5rem;
    border-radius: .85rem;
    border: 1px solid var(--line);
    min-width: 0
}

.investigation-start {
    background: #e9eee9;
    border-left: 5px solid var(--green)
}

.investigation-branches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem
}

.investigation-branch {
    background: #fff
}

.investigation-reading {
    background: #f7f0e2;
    border-left: 5px solid var(--gold)
}

.map-label {
    display: block;
    color: #315b55;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase
}

.investigation-reading .map-label {
    color: #795419
}

@media(max-width:700px) {
    .investigation-branches {
        grid-template-columns: 1fr
    }

    .investigation-start,
    .investigation-branch,
    .investigation-reading {
        padding: 1.2rem
    }
}

.editorial-header .editorial-title {
    font-size: clamp(1.68rem, calc(4vw + .8rem - 2pt), 2.58rem)
}

.editorial-container .editorial-content h2 {
    font-size: clamp(1.23rem, calc(2.2vw + .8rem - 2pt), 1.68rem)
}

.editorial-container .editorial-content h3 {
    font-size: clamp(.98rem, calc(1.4vw + .75rem - 2pt), 1.18rem)
}