/* AI assisted development */

:root {
    --bg: #f7f4ee;
    --paper: #ffffff;
    --sea: #90c2bf;
    --tide: #488784;
    --ink: #173432;
    --muted: #3d5c59;
    --gold: #e8d877;
    --gold-deep: #d7c45a;
    --deep: #1c4744;
    --line: #d5e3e1;
    --danger: #8a2f2f;
    --max: 72rem;
    --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
}

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

a {
    color: var(--tide);
}

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

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--gold);
    color: var(--ink);
    padding: 0.6rem 1rem;
    z-index: 20;
}

.skip:focus {
    top: 1rem;
}

.wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--sea);
    border-bottom: 1px solid rgba(23, 52, 50, 0.12);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}

.brand img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    object-position: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.1;
}

.brand-tag {
    color: var(--deep);
    font-size: 0.82rem;
    line-height: 1.3;
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.4rem 0.9rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle:focus + .nav-button {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

#site-nav {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--sea);
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(23, 52, 50, 0.12);
}

.nav-toggle:checked ~ #site-nav {
    display: flex;
}

#site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 0.2rem;
    border-radius: 0.4rem;
}

#site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
}

.button:hover {
    background: var(--gold-deep);
    color: var(--ink);
}

.button-secondary {
    background: transparent;
    border-color: var(--ink);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
}

.button-small {
    min-height: 2.75rem;
    padding: 0.45rem 1rem;
}

#site-nav .button {
    margin-top: 0.4rem;
}

.hero,
.band,
.panel {
    padding: 2.5rem 0;
}

.hero-grid,
.split,
.card-grid,
.value-grid,
.footer-grid {
    display: grid;
    gap: 1.25rem;
}

.hero {
    padding-top: 2rem;
}

.eyebrow {
    margin: 0 0 0.4rem;
    color: var(--tide);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    line-height: 1.15;
    font-weight: 600;
}

h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(2.3rem, 6vw, 4rem);
}

h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

h3 {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
}

.lede {
    font-size: 1.2rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-logo {
    background: var(--sea);
    border-radius: 1.5rem;
    overflow: hidden;
}

.hero-logo img {
    display: block;
    width: 100%;
}

.band-paper {
    background: var(--paper);
}

.card,
.value,
.step,
.notice,
.form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.2rem;
}

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

.card h3 a:hover {
    color: var(--tide);
}

.card p:last-child,
.value p:last-child {
    margin-bottom: 0;
}

.chips,
.subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.chips li,
.subnav a {
    background: rgba(144, 194, 191, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.subnav {
    margin: 0 0 1.5rem;
}

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

.subnav a[aria-current="page"] {
    background: var(--tide);
    color: #fff;
}

.steps {
    display: grid;
    gap: 1rem;
    counter-reset: step;
    padding: 0;
    margin: 0;
    list-style: none;
}

.step {
    position: relative;
    padding-left: 4rem;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.plain {
    padding-left: 1.1rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 36rem;
}

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

th {
    background: rgba(144, 194, 191, 0.28);
}

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

.notice {
    background: rgba(232, 216, 119, 0.35);
}

.form {
    display: grid;
    gap: 0.9rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #b7cecb;
    border-radius: 0.7rem;
    padding: 0.75rem 0.8rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

.hp {
    position: absolute;
    left: -9999px;
}

.errors {
    background: #f8e8e8;
    border: 1px solid #e3b4b4;
    color: var(--danger);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

.success {
    background: rgba(144, 194, 191, 0.35);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

.site-footer {
    background: var(--deep);
    color: #f4f7f6;
    padding: 2.5rem 0 1.5rem;
}

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

.footer-name,
.footer-label {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin: 0 0 0.4rem;
}

.footer-note {
    margin-top: 1.5rem;
    color: #d5e4e2;
    font-size: 0.95rem;
}

button {
    font: inherit;
    cursor: pointer;
}

.narrow {
    max-width: 42rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (min-width: 800px) {
    .nav-button {
        display: none;
    }

    #site-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        padding: 0;
        border: 0;
        gap: 1.1rem;
    }

    #site-nav a {
        padding: 0.2rem;
    }

    #site-nav .button {
        margin-top: 0;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }

    .card-grid,
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .value-grid,
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .card-grid.four {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 799px) {
    .brand-tag {
        display: none;
    }
}

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