.lgs {
    --ink: #171a18;
    --gold: #ebbf64;
    --ivory: #f5f0e7;
    --paper: #fffcf5;
    --muted: #5b564e;
    --forest: #15221c;
    font: 16px/1.6 Inter, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    container-type: inline-size;
    isolation: isolate;
}
.lgs *, .lgs *::before, .lgs *::after { box-sizing: border-box; }
.lgs h1, .lgs h2, .lgs h3 { font-family: Montserrat, Inter, system-ui, sans-serif; color: inherit; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 .55em; font-weight: 800; }
.lgs h1 { font-size: clamp(30px, 6cqw, 64px); }
.lgs h2 { font-size: clamp(25px, 3.6cqw, 43px); }
.lgs h3 { font-size: 21px; }
.lgs p { margin: 0 0 1em; }
.lgs ul, .lgs ol { margin: .5em 0 1.5em; padding-inline-start: 1.4em; }
.lgs li { margin-block: .45em; }
.lgs img { display: block; }
.lgs a { color: inherit; }
.lgs button, .lgs input { font: inherit; }
.lgs :focus-visible { outline: 3px solid #936019; outline-offset: 4px; }
.lgs [tabindex="-1"]:focus { outline: none; }
.lgs-wrap { max-width: 1176px; width: calc(100% - clamp(36px, 9cqw, 112px)); margin-inline: auto; }
.lgs-nav { background: #f9f1e2; border-bottom: 1px solid #dfc79d; }
.lgs-nav .lgs-wrap { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lgs-logo { width: min(100%, 246px); height: auto; }
.lgs .lgs-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 11px 20px; border: 1px solid #d2a348; border-radius: 9px;
    background: var(--gold); color: #21180b; font-size: .9rem; font-weight: 750; text-decoration: none;
    cursor: pointer; text-align: center;
}
.lgs .lgs-button:hover { background: #f4cc80; }
.lgs .lgs-button:disabled { opacity: .65; cursor: wait; }
.lgs-dark { background: var(--forest); color: #fff9ec; }
.lgs-hero, .lgs-results { padding-block: clamp(42px, 8cqw, 104px); }
.lgs-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(22px, 6cqw, 84px); align-items: center; }
.lgs-eyebrow { font-size: .72em; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #edc981; }
.lgs-intro { font-size: clamp(16px, 2cqw, 20px); max-width: 42ch; color: #e1e4db; }
.lgs .lgs-note { font-size: .8rem; color: #e1e4db; margin-top: 15px; }
.lgs-example { background: #213229; color: #fff9ec; border: 1px solid #526252; border-radius: 20px; padding: clamp(20px, 3.2cqw, 42px); }
.lgs-example h2 { font-size: 25px; }
.lgs-orb {
    position: relative; margin: 20px auto 23px; width: 144px; aspect-ratio: 1;
    border-radius: 50%; display: grid; place-content: center; text-align: center;
    background: radial-gradient(circle, #213229 63%, transparent 64%), conic-gradient(#e8bf69 calc(var(--score) * 1%), #485b4e 0);
}
.lgs-orb strong { font-size: 43px; line-height: 1.1; }
.lgs-orb strong small { font-size: .48em; }
.lgs-orb span { color: #e0e8de; font-size: .73em; }
.lgs-metric { color: #fff9ec; margin: 12px 0; --fill: #91d6a5; }
.lgs-metric:nth-of-type(3) { --fill: #c6aff6; }
.lgs-metric:nth-of-type(4) { --fill: #f2ad78; }
.lgs-metric div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .85em; }
.lgs-metric small { color: #e0e8de; }
.lgs progress { display: block; width: 100%; height: 7px; border: 0; border-radius: 50px; overflow: hidden; background: var(--track, #43554b); color: var(--fill, #ac771a); }
.lgs progress::-webkit-progress-bar { background: var(--track, #43554b); }
.lgs progress::-webkit-progress-value { background: var(--fill, #ac771a); border-radius: 50px; }
.lgs progress::-moz-progress-bar { background: var(--fill, #ac771a); }
.lgs-light, .lgs-white, .lgs-end { padding-block: clamp(34px, 6cqw, 78px); }
.lgs-light { background: var(--ivory); }
.lgs-white { background: #fff; }
.lgs-cards, .lgs-two { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2.5cqw, 28px); }
.lgs-cards article { background: #fffcf5; border: 1px solid #e3d8c7; border-radius: 14px; padding: 22px; }
.lgs-cards p { color: var(--muted); margin: 0; }
.lgs-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; background: #efe1c6; color: #58431e; font-size: 26px; }
.lgs-two { grid-template-columns: 1fr 1fr; }
.lgs-end p { margin: 18px 0 0; color: #e1e4db; }
.lgs-question {
    padding: clamp(20px, 5cqw, 52px) 16px;
    background: #f5f0e7 url('background-ivory.webp') center 55% / cover no-repeat;
    min-height: min(740px, 84vh);
}
.lgs-survey { max-width: 660px; margin-inline: auto; }
.lgs-survey .lgs-logo { width: min(72%, 350px); margin: 0 auto clamp(24px, 4cqw, 45px); }
.lgs-status { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; font-size: .83em; color: #51452d; }
.lgs-survey > progress { margin: 9px 0 24px; --track: #e6d8bd; }
.lgs-form h1 { font-size: clamp(27px, 5cqw, 41px); overflow-wrap: break-word; margin-bottom: .6em; }
.lgs-options { display: grid; gap: 9px; }
.lgs-options label {
    display: flex; align-items: center; gap: 12px; background: #fffcf5;
    border: 1px solid #bdad91; border-radius: 11px; min-height: 48px; padding: 10px 14px; cursor: pointer;
}
.lgs-options label:has(:checked) { border-color: #8d5b11; background: #f6e6be; box-shadow: inset 0 0 0 1px #8d5b11; }
.lgs-options input, .lgs-consent input { appearance: auto; accent-color: #825310; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
.lgs-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 21px; }
.lgs-back { color: #3c3020; background: transparent; border: 0; padding: 8px 12px; min-height: 44px; cursor: pointer; font-weight: 700; }
.lgs-location, .lgs-fields label { display: block; font-size: .9em; font-weight: 650; }
.lgs-location input, .lgs-fields input {
    display: block; width: 100%; margin: 4px 0 0; padding: 9px 11px; min-height: 44px;
    border: 1px solid #aa987a; border-radius: 8px; background: var(--paper); color: var(--ink);
}
.lgs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.lgs-consent { display: flex; gap: 10px; align-items: baseline; margin-bottom: 9px; min-height: 44px; }
.lgs-challenge { margin-top: 10px; }
.lgs-error { color: #811c21; font-weight: 700; }
@container (max-width: 730px) {
    .lgs-hero-grid, .lgs-two { grid-template-columns: 1fr; }
    .lgs-cards { grid-template-columns: 1fr; }
    .lgs-nav .lgs-wrap { min-height: 64px; }
    .lgs-nav .lgs-button { display: none; }
}
@container (max-width: 470px) {
    .lgs-fields { grid-template-columns: 1fr; }
    .lgs-question { background-position: center top; min-height: 0; }
}
@font-face {
    font-family: "Inter";
    src: url("inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("montserrat-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@container (min-width: 731px) {
    .lgs-question { background-position: center 8%; }
}


/* The host theme sets explicit typography on content descendants. Give each
   light Scorecard surface a foreground, including directly styled children. */
.lgs .lgs-light, .lgs .lgs-white, .lgs .lgs-question,
.lgs .lgs-light h1, .lgs .lgs-light h2, .lgs .lgs-light h3,
.lgs .lgs-white h2, .lgs .lgs-question h1,
.lgs .lgs-light p, .lgs .lgs-white p, .lgs .lgs-question p,
.lgs .lgs-light li, .lgs .lgs-white li, .lgs .lgs-form label,
.lgs .lgs-options span, .lgs .lgs-form a {
    color: var(--ink) !important;
}
.lgs .lgs-light p, .lgs .lgs-white p, .lgs .lgs-question p {
    font-weight: 450;
}
.lgs .lgs-question .lgs-form h1 {
    font-size: clamp(22px, 2.6vw, 30px) !important;
    line-height: 1.25;
}
.lgs .lgs-question p.lgs-error { color: #811c21 !important; }
