@font-face {
    font-family: "Atkinson Hyperlegible";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Atkinson Hyperlegible";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
}

:root {
    --plaster: #e4e2db;
    --ink: #1c241f;
    --quiet: #3e4540;
    --board: #145232;
    --paper: #f7f6f2;
    --line: #c5c0b6;
    --alarm: #6d2424;
    --alarm-bg: #f6e7e4;
    --ok-bg: #e3efe6;
}

* {
    box-sizing: border-box;
}

html,
body.home {
    margin: 0;
    background: var(--plaster);
    color: var(--ink);
}

body.home {
    font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    min-height: 100%;
}

.home-skip {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0.45rem 0.7rem;
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-150%);
}

.home-skip:focus {
    transform: none;
}

.home-wrap {
    width: min(68rem, calc(100% - 2.5rem));
    margin-inline: auto;
    padding-bottom: 3.5rem;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 1.35rem;
    flex-wrap: wrap;
}

.home-nav {
    display: flex;
    align-items: baseline;
    gap: 1.15rem;
}

.home-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.home-brand,
.home-header a,
.home-footer a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.home-header a,
.home-footer a {
    padding: 0.35rem 0;
}

.home a.home-button {
    color: #f4f7f3;
}

a.home-button,
button.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.15rem;
    border: 0;
    border-radius: 2px;
    background: var(--board);
    color: #f4f7f3;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

a.home-button:hover,
button.home-button:hover {
    background: #0f3f26;
}

.home-header a:hover,
.home-footer a:hover,
.home-brand:hover {
    text-decoration: underline;
}

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

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
    grid-template-areas:
        "title title"
        "copy figure";
    gap: 1.4rem 3rem;
    align-items: end;
    margin-top: 3.4rem;
}

.home-hero h1 {
    grid-area: title;
}

.home-copy {
    grid-area: copy;
}

.home-figure {
    grid-area: figure;
}

.home h1,
.home h2,
.home h3,
.home p {
    text-wrap: pretty;
}

.home h1 {
    margin: 0;
    max-width: 15em;
    font-size: clamp(2.5rem, 4.6vw, 3.55rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.home-lead {
    max-width: 36rem;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.45;
}

.home-cta {
    margin: 1.5rem 0 0;
}

.home-figure {
    margin: 0;
}

.home-figure svg {
    display: block;
    width: 100%;
    max-width: 28rem;
    height: auto;
}

.home-figure figcaption {
    max-width: 22rem;
    margin-top: 0.85rem;
}

.home-pcb {
    fill: #1e7a48;
    stroke: #143f28;
    stroke-width: 2;
}

.home-pin {
    fill: #e4dccb;
    stroke: #6f6a60;
    stroke-width: 0.4;
}

.home-chip {
    fill: #10281c;
}

.home-chip-top {
    fill: #1a4030;
}

.home-led {
    fill: #d6f26a;
    animation: home-led 2.6s ease-in-out 1;
}

.home-silk {
    fill: #d7efd4;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 13px;
}

.home-hole {
    fill: var(--plaster);
    stroke: #143f28;
    stroke-width: 1.5;
}

.home-port {
    fill: #2c302e;
}

.home-csi {
    fill: #ddd8ce;
    stroke: #8a8478;
    stroke-width: 1;
}

.home-section {
    margin-top: 5.5rem;
}

.home h2 {
    margin: 0 0 1.4rem;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.home h3 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 4.5rem;
    row-gap: 0.4rem;
}

.home-offer-title {
    grid-column: 1 / -1;
}

.home-price {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.home-price-note {
    margin: 0.4rem 0 1rem;
    color: var(--quiet);
}

.home-offer p,
.home-gains p,
.home-steps p,
.home-section > p {
    max-width: 38rem;
}

.home-slips {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.home-slips li {
    margin: 0;
    padding-left: 0.85rem;
    border-left: 3px solid var(--board);
    max-width: 28rem;
}

.home-thesis {
    grid-column: 1 / -1;
    margin: 1.6rem 0 0;
    max-width: 38rem;
    font-size: 1.35rem;
    line-height: 1.35;
}

.home-gains {
    display: grid;
    gap: 1.8rem;
}

.home-gains p,
.home-steps p {
    margin: 0.35rem 0 0;
}

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

.home-steps li {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 36rem);
    column-gap: 0.85rem;
    align-items: baseline;
}

.home-steps li::before {
    grid-row: 1 / span 2;
    content: counter(step);
    counter-increment: step;
    font-weight: 700;
    font-size: 1.28rem;
}

.home-steps h3,
.home-steps p {
    grid-column: 2;
}

.home-form {
    display: grid;
    gap: 0.95rem;
    max-width: 28rem;
    margin-top: 1.2rem;
}

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

.home-form input,
.home-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.home-form textarea {
    min-height: 7rem;
    resize: vertical;
}

.home-fine,
.home-footer p {
    margin: 0;
    color: var(--quiet);
    font-size: 1rem;
}

.home-banner,
.home-status {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
}

.home-banner {
    background: var(--alarm-bg);
    color: var(--alarm);
}

.home-banner p,
.home-banner ul {
    margin: 0;
}

.home-banner ul {
    margin-top: 0.35rem;
    padding-left: 1.15rem;
}

.home-status {
    background: var(--ok-bg);
    color: var(--board);
    max-width: 38rem;
}

.home-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: 5rem;
}

.home-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@keyframes home-led {
    0%,
    30% {
        opacity: 1;
    }

    45% {
        opacity: 0.15;
    }

    62% {
        opacity: 1;
    }

    78% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 800px) {
    .home-wrap {
        width: min(68rem, calc(100% - 1.5rem));
    }

    .home-hero,
    .home-offer {
        grid-template-columns: 1fr;
    }

    .home-hero {
        grid-template-areas:
            "title"
            "copy"
            "figure";
        margin-top: 2.1rem;
        gap: 1.5rem;
    }

    .home-section {
        margin-top: 3.4rem;
    }

    .home h1 {
        max-width: none;
    }

    .home-offer-title,
    .home-thesis {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-led {
        animation: none;
    }
}

.faq {
    max-width: 40rem;
    margin-top: 3.2rem;
}

.faq h1 {
    max-width: 10em;
}

.faq-lead {
    margin: 1rem 0 0;
}

.faq-list {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.faq-list li {
    border-top: 1px solid var(--line);
}

.faq-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    padding: 0.95rem 0;
    cursor: pointer;
}

.faq summary h2 {
    display: inline;
    margin: 0 0 0 0.45rem;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.faq details p {
    max-width: 36rem;
    margin: 0 0 1.05rem;
    padding-left: 0.85rem;
    border-left: 3px solid var(--board);
}

.faq-next {
    margin: 1.8rem 0 0;
}
