:root {
    color-scheme: light;
    --paper: #f7f8f3;
    --surface: #fff;
    --ink: #17271f;
    --muted: #52635a;
    --line: #dce4dc;
    --forest: #152c24;
    --deep: #10241d;
    --key: #d9f49c;
    --green: #2c644a;
    --warning: #8f281e;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 1rem; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid #4d846a; outline-offset: 4px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-width {
    width: min(72rem, calc(100% - 5rem));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 10;
    inset: .75rem auto auto .75rem;
    padding: .65rem 1rem;
    border-radius: .4rem;
    background: var(--key);
    color: var(--deep);
    transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    background: var(--deep);
    color: #f9fcf8;
    border-bottom: 1px solid #33483e;
}

.site-header__inner,
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.45rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: .68rem;
    font-weight: 720;
    font-size: 1.28rem;
    letter-spacing: -.045em;
    text-decoration: none;
    white-space: nowrap;
}

.wordmark sup {
    position: relative;
    top: -.05rem;
    margin-left: .15rem;
    font-size: .69rem;
    letter-spacing: 0;
}

.wordmark__icon {
    position: relative;
    width: 1.73rem;
    height: 1.73rem;
    display: grid;
    place-items: center;
    background: var(--key);
    color: var(--deep);
    border-radius: .47rem;
}

.wordmark__icon::before,
.wordmark__icon::after,
.wordmark__icon span::before,
.wordmark__icon span::after {
    content: "";
    position: absolute;
}

.wordmark__icon::before,
.wordmark__icon::after {
    left: .38rem;
    width: .97rem;
    height: .13rem;
    border-radius: 1rem;
    background: currentColor;
}

.wordmark__icon::before { top: .62rem; }
.wordmark__icon::after { bottom: .57rem; }
.wordmark__icon span::before,
.wordmark__icon span::after {
    width: .36rem;
    height: .36rem;
    border-top: .12rem solid currentColor;
    border-right: .12rem solid currentColor;
}

.wordmark__icon span::before { top: .50rem; right: .4rem; transform: rotate(45deg); }
.wordmark__icon span::after { bottom: .45rem; left: .4rem; transform: rotate(225deg); }

.header-link {
    padding: .48rem .85rem;
    border: 1px solid #577063;
    border-radius: 2rem;
    font-size: .87rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.header-link:hover { background: #294237; }
.site-header :focus-visible { outline-color: var(--key); }

.hero {
    position: relative;
    overflow: clip;
    background: radial-gradient(ellipse at 86% 50%, #254d38 0%, transparent 46%), var(--forest);
    color: #fff;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, .8fr);
    align-items: center;
    min-height: 20rem;
    padding-block: 2.4rem 3rem;
}

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

.hero h1 {
    color: #fffef6;
    font: 400 clamp(3rem, 6.25vw, 5.7rem)/.96 var(--serif);
    letter-spacing: -.066em;
}

.hero h1 em { color: var(--key); font-weight: 400; }

.hero p {
    max-width: 31rem;
    margin-top: 1.25rem;
    color: #d4e2d8;
    font-size: clamp(1rem, 1.9vw, 1.19rem);
    line-height: 1.6;
}

.hero__art {
    position: relative;
    height: 15.3rem;
    min-width: 0;
    display: grid;
    place-items: center;
    isolation: isolate;
    margin-left: 1.5rem;
}

.hero__orbit {
    position: absolute;
    width: 91%;
    height: 13rem;
    border: 1px solid #83a98760;
    border-radius: 50%;
    transform: rotate(-19deg);
}

.hero__orbit--outer { width: 110%; height: 14.3rem; }
.hero__orbit--outer::after {
    content: "";
    position: absolute;
    top: 2rem;
    right: 2.6rem;
    width: .47rem;
    height: .47rem;
    background: var(--key);
    border-radius: 50%;
    box-shadow: 0 0 1rem #d9f496b0;
}

.hero__orbit--inner { width: 94%; height: 10.5rem; }

.hero__board {
    z-index: 1;
    display: grid;
    gap: 1.8rem;
    width: min(100%, 19.4rem);
    padding: 1.65rem 1.75rem;
    border: 1px solid #69917b;
    border-radius: 1.4rem;
    background: linear-gradient(147deg, #496c56f5, #193a2bf9);
    transform: rotate(-9deg);
    box-shadow: 1.4rem 1.45rem 3rem #10251f62, inset 0 1px 0 #ffffff24;
}

.hero__rail {
    position: relative;
    display: flex;
    align-items: center;
    height: .23rem;
    margin-block: .37rem;
    border-radius: .3rem;
    background: #a6c29c72;
}

.hero__rail::before {
    content: "";
    position: absolute;
    width: var(--position);
    height: 100%;
    background: #c6e69b;
    border-radius: inherit;
}

.hero__rail i {
    position: absolute;
    left: var(--position);
    width: 1.4rem;
    height: 1.4rem;
    border: .29rem solid #e3faaf;
    border-radius: 50%;
    background: #b4d878;
    box-shadow: 0 .22rem .65rem #101e1780, 0 0 0 .16rem #d7f49a50;
    transform: translateX(-50%);
}

.hero__rail--one { --position: 73%; }
.hero__rail--two { --position: 43%; }
.hero__rail--three { --position: 61%; }

.builder {
    padding-block: 2.85rem 4.05rem;
    scroll-margin-top: 1rem;
}

.builder__heading h2 {
    margin-bottom: .37rem;
    font: 400 clamp(2.05rem, 4vw, 3.1rem)/1.06 var(--serif);
    letter-spacing: -.054em;
}

.builder__heading p { color: var(--muted); }

.industry-list {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    margin-block: 1.05rem 1.5rem;
}

.industry-button {
    min-height: 2.65rem;
    padding: .49rem .93rem;
    border: 1px solid #d6dfd6;
    border-radius: .48rem;
    background: var(--surface);
    color: #42534a;
    font-size: .91rem;
    font-weight: 650;
    line-height: 1.25;
}

.industry-button:hover { border-color: #6f8b7a; }
.industry-button[aria-pressed="true"] {
    border-color: #2e5542;
    background: #e7f1e7;
    color: #163627;
    box-shadow: inset 0 0 0 1px #2e5542;
}

.builder__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(17rem, .92fr);
    align-items: start;
    gap: 1.5rem;
}

.builder__heading + noscript + .inline-error,
.builder #catalog-retry { margin-top: .8rem; }
.builder #catalog-retry { margin-bottom: 1rem; }

.option-card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: .86rem;
    box-shadow: 0 .16rem .48rem #1e40240b;
}

.option-card__header {
    padding: 1.38rem 1.52rem 1.28rem;
    border-bottom: 1px solid var(--line);
}

.option-card__header h3 {
    font: 400 clamp(1.48rem, 2.75vw, 2.01rem)/1.14 var(--serif);
    letter-spacing: -.047em;
}

.option-card__header p {
    max-width: 50ch;
    margin-top: .48rem;
    color: var(--muted);
    overflow-wrap: break-word;
}

.option-card__fields { padding-inline: 1.52rem; }
.option-card__fields:empty { display: none; }

.option-row {
    display: grid;
    grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
    align-items: start;
    gap: 1rem;
    padding-block: 1.04rem;
    border-bottom: 1px solid #e7ece6;
}

.option-row:last-child { border: 0; }
.option-row label { font-weight: 680; }
.option-row__intro { min-width: 0; padding-top: .16rem; }
.option-row__hint,
.option-row__detail {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .88rem;
    overflow-wrap: break-word;
}

.option-row__detail { margin-top: .36rem; }
.option-select { position: relative; color: #324f3e; }
.option-select::after {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: .42rem;
    height: .42rem;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    content: "";
    pointer-events: none;
    transform: rotate(45deg);
}

.option-row select,
.contact-fields input {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    padding: .5rem .69rem;
    border: 1px solid #b8c9be;
    border-radius: .44rem;
    color: var(--ink);
    background: #fcfdfb;
}

.option-row select {
    padding-right: 2rem;
    appearance: none;
    font-weight: 600;
}

.quote-card {
    position: sticky;
    top: 1rem;
    min-width: 0;
    padding: 1.46rem 1.5rem;
    border-radius: .86rem;
    background: var(--forest);
    color: #f8fcf7;
    box-shadow: 0 .32rem .84rem #142f2523;
}

.quote-card__heading { display: flex; gap: .55rem; align-items: center; }
.quote-card h3 { font-size: 1.08rem; font-weight: 650; }
.quote-card__icon {
    width: .72rem;
    height: .84rem;
    flex: 0 0 auto;
    margin-right: .2rem;
    border: 1px solid #c5dcca;
    border-radius: .12rem;
    background:
        linear-gradient(#c5dcca 0 0) center 34% / 52% 1px no-repeat,
        linear-gradient(#c5dcca 0 0) center 65% / 52% 1px no-repeat;
}

.quote-card__currency {
    margin-left: auto;
    color: #c3d5c8;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .095em;
}

.quote-card__price {
    margin-top: .92rem;
    padding-bottom: 1.08rem;
    border-bottom: 1px solid #527061;
}

.quote-card__amount {
    color: #fffdf4;
    font: 400 clamp(2.55rem, 5.1vw, 3.82rem)/1.12 var(--serif);
    letter-spacing: -.06em;
    overflow-wrap: anywhere;
}

.mobile-preview { display: none; }

.quote-card__comparison {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .65rem;
    align-items: center;
    margin-top: .59rem;
    color: #d6e3d8;
    font-size: .86rem;
}

.quote-card__savings {
    padding: .16rem .53rem;
    border-radius: 2rem;
    color: #e0f6b5;
    background: #33513c;
    font-weight: 650;
}

.summary-list { margin: .82rem 0 0; }
.summary-list div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding-block: .25rem;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.summary-list dt { color: var(--muted); }
.quote-card .summary-list dt { color: #c4d6c8; }
.summary-list dd { margin: 0; text-align: right; font-weight: 630; }

.quote-card__status { margin-top: .8rem; color: #e3eadf; font-size: .88rem; }
.quote-card__status:empty { margin: 0; }
.quote-card__retry {
    padding: .35rem 0;
    border: 0;
    color: var(--key);
    background: transparent;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: .57rem 1.05rem;
    border: 1px solid transparent;
    border-radius: .48rem;
    font-weight: 700;
    line-height: 1.25;
}

.button--primary { color: #182918; background: var(--key); }
.button--primary:hover:not(:disabled) { background: #cce983; }
.button--primary:disabled { color: #606c55; background: #e2e9d6; cursor: not-allowed; }
.button--secondary { border-color: #aabdb0; color: #304e3c; background: var(--surface); }
.button--secondary:hover:not(:disabled) { background: #e8f1e8; }
.button--wide { width: 100%; margin-top: 1.12rem; }
.quote-card :focus-visible { outline-color: var(--key); }

.site-footer {
    border-top: 1px solid var(--line);
    background: #eff2eb;
    color: #506057;
    font-size: .9rem;
}

.site-footer a { text-underline-offset: .17em; }
.site-footer a:hover { color: var(--forest); }

.checkout-dialog {
    width: min(38rem, calc(100vw - 2rem));
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: .98rem;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 2rem 5rem #10251940;
}

.checkout-dialog::backdrop { background: #10251bc4; }
.checkout-dialog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
}

.checkout-dialog h2 {
    font: 400 clamp(1.85rem, 5vw, 2.55rem)/1.1 var(--serif);
    letter-spacing: -.055em;
}

.close-button {
    display: inline-grid;
    place-items: center;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0 0 .12rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.48rem;
    line-height: 1;
}

.close-button:hover { background: #e7efe7; }
.close-button:disabled { opacity: .54; cursor: wait; }
.checkout-summary {
    padding: .85rem 1rem;
    border: 1px solid #d7e3d6;
    border-radius: .62rem;
    background: #f1f6ed;
}

.checkout-summary__price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .6rem 1rem;
}

.checkout-summary__price strong { overflow-wrap: anywhere; }
.checkout-summary__price span { white-space: nowrap; color: #254a35; font-weight: 750; }
.checkout-terms {
    margin-top: .89rem;
    color: #526459;
    font-size: .9rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem .85rem;
    margin-top: 1.05rem;
}

.contact-fields label { display: block; margin-bottom: .22rem; font-size: .91rem; font-weight: 670; }
.contact-fields label span { font-weight: 400; color: var(--muted); }
.agreement { display: flex; align-items: start; gap: .6rem; margin-top: 1rem; font-size: .94rem; }
.agreement input { width: 1.1rem; height: 1.1rem; margin: .19rem 0 0; accent-color: var(--green); }
.agreement input:disabled + span { color: #67776d; }
.inline-error { margin-top: .8rem; color: var(--warning); }
.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
    margin-top: 1.2rem;
}

.receipt-reference {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .48rem;
    margin: .15rem 0 .5rem;
}

.receipt-reference strong {
    padding: .18rem .46rem;
    background: #e8f3da;
    border-radius: .3rem;
    color: #213e2a;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.receipt-details { margin-bottom: .9rem; color: var(--muted); overflow-wrap: anywhere; }

@media (max-width: 56rem) {
    .site-width { width: calc(100% - 3rem); }
    .hero__inner { min-height: 18rem; gap: .7rem; }
    .hero__art { margin-left: 0; }
    .hero__board { width: 88%; }
    .builder__grid { gap: 1rem; }
    .option-card__header, .quote-card { padding: 1.15rem; }
    .option-card__fields { padding-inline: 1.15rem; }
}

@media (max-width: 44rem) {
    .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(8rem, 37%); }
    .hero__art { height: 11rem; padding-left: .35rem; }
    .hero__board { gap: .9rem; padding: 1.1rem .9rem; }
    .hero__rail { margin-block: .38rem; }
    .hero__rail i { width: 1rem; height: 1rem; border-width: .2rem; }
    .hero__orbit--outer { width: 125%; height: 10rem; }
    .hero__orbit--inner { width: 114%; height: 7rem; }
    .builder__grid { grid-template-columns: 1fr; }
    .quote-card { position: static; }
    .mobile-preview {
        position: fixed;
        z-index: 2;
        inset: auto 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)) 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: .75rem;
        padding: .53rem .62rem .53rem .85rem;
        border: 1px solid #517563;
        border-radius: .63rem;
        color: #fffdf4;
        background: var(--forest);
        box-shadow: 0 .26rem 1.2rem #10271c44;
    }
    .mobile-preview > div { display: grid; min-width: 0; overflow-wrap: anywhere; }
    .mobile-preview span { color: #d6e3d8; font-size: .8rem; }
    .mobile-preview strong { font-size: 1.09rem; }
    .mobile-preview a {
        padding: .52rem .76rem;
        border-radius: .4rem;
        color: var(--ink);
        background: var(--key);
        font-weight: 690;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-preview a:focus-visible { outline-color: var(--key); }
}

@media (max-width: 32rem) {
    .site-width { width: calc(100% - 2rem); }
    .site-header__inner { min-height: 3.74rem; }
    .wordmark { gap: .48rem; font-size: 1.13rem; }
    .header-link { padding: .4rem .66rem; }
    .hero__inner { display: block; min-height: 0; padding-block: 2.25rem 2.45rem; }
    .hero h1 { font-size: clamp(2.72rem, 11vw, 3.8rem); }
    .hero p { margin-top: .9rem; }
    .hero__art { display: none; }
    .builder { padding-block: 2.05rem 2.6rem; }
    .industry-list { margin-bottom: 1rem; gap: .45rem; }
    .industry-button { padding-inline: .72rem; }
    .option-card__header, .quote-card { padding: 1rem; }
    .option-card__fields { padding-inline: 1rem; }
    .option-row { grid-template-columns: 1fr; gap: .43rem; padding-block: .84rem; }
    .option-row__intro { padding-top: 0; }
    .option-row__detail { margin-top: .25rem; }
    .checkout-dialog { padding: 1rem; }
}

@media (max-width: 25rem) {
    .contact-fields { grid-template-columns: 1fr; }
    .checkout-actions .button { flex: 1 1 auto; }
}
