@font-face { font-family: Inter; src: url("../vendor/inter.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; }
@font-face { font-family: Poppins; src: url("../vendor/poppins-medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url("../vendor/poppins-bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
    --blue: #1D5FD8;
    --navy: #0E2240;
    --orange: #FF7A1A;
    --sky: #E8F0FD;
    --concrete: #F4F6F9;
    --steel: #5A6880;
    --green: #14805A;
    --yellow: #FFC83D;
    --white: #FFFFFF;
    --line: #D8E2F0;
    --input-line: #8592A7;
    --radius: 12px;
    --heading: Poppins, Arial, sans-serif;
    --body: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1rem/1.5 var(--body); }
h1, h2, h3 { margin: 0; font-family: var(--heading); line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input { font: inherit; }
button:enabled, summary { cursor: pointer; }
svg.lucide { width: 24px; height: 24px; flex: none; vertical-align: middle; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.shell { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.skip-link { position: absolute; top: .75rem; left: 1rem; z-index: 5; padding: .75rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 72px; padding-block: .65rem; gap: .35rem 1.5rem; }
.brand-logo { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding-block: .35rem; }
.brand-logo img { display: block; width: 9.25rem; height: auto; }
.menu-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding: .45rem .75rem; background: var(--white); color: var(--navy); }
.menu-bars { width: 17px; height: 13px; border-block: 2px solid currentColor; position: relative; }
.menu-bars::after { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid currentColor; }
.site-menu { width: 100%; padding-bottom: .6rem; }
.site-menu.menu-enhanced:not(.menu-open) { display: none; }
.nav-list, .site-footer ul { margin: 0; padding: 0; list-style: none; }
.nav-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.nav-list a, .site-footer nav a, .text-action { display: inline-flex; align-items: center; min-height: 44px; }
.nav-list a:hover, .site-footer nav a:hover { text-decoration: underline; }
.nav-actions, .action-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius); font: 700 .95rem/1.35 var(--heading); text-align: center; text-decoration: none; }
.action:hover:enabled, a.action:hover { filter: brightness(.94); }
.action-blue { background: var(--blue); color: var(--white); }
.action-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.action-orange { background: var(--orange); color: var(--navy); }
.submit-action:focus-visible { outline-color: var(--navy); }
.hero .action-orange:focus-visible { outline-color: var(--white); }
.action-light { border-color: var(--white); color: var(--white); }

.hero { background: var(--blue); color: var(--white); }
.hero-layout { display: grid; align-items: center; gap: 2rem; padding-block: clamp(2.75rem, 7vw, 6rem); }
.hero-location { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .95rem; font-weight: 600; }
.hero-location svg { width: 19px; height: 19px; }
.hero-description { max-width: 33rem; margin-block: 1.15rem 1.65rem; font-size: 1.0625rem; }
.hero-art { display: none; position: relative; height: 18rem; align-items: center; justify-content: center; isolation: isolate; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border: 1px solid var(--white); border-radius: 50%; opacity: .22; z-index: -1; aspect-ratio: 1; width: min(98%, 23rem); }
.hero-art::after { width: min(79%, 18rem); }
.house { width: min(61%, 13rem); padding-top: 3rem; position: relative; }
.roof { position: absolute; inset: 0 0 auto; height: 6rem; background: var(--navy); clip-path: polygon(50% 0, 100% 75%, 94% 90%, 50% 23%, 6% 90%, 0 75%); z-index: 1; }
.house-body { position: relative; width: 83%; height: 8.5rem; margin: auto; border-radius: 0 0 12px 12px; background: var(--sky); clip-path: polygon(50% 0, 100% 29%, 100% 100%, 0 100%, 0 29%); }
.door { position: absolute; bottom: 0; right: 18%; width: 27%; height: 52%; border-radius: 10px 10px 0 0; background: var(--blue); }
.window { position: absolute; top: 50%; left: 18%; width: 28%; aspect-ratio: 1; border: 4px solid var(--blue); border-radius: 7px; background: var(--white); }
.art-tile { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--white); color: var(--blue); }
.art-water { left: 7%; top: 22%; }
.art-power { right: 9%; top: 10%; }
.art-tool { right: 2%; bottom: 11%; }

.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section-muted { background: var(--concrete); }
.section-sky { background: var(--sky); }
.section-intro { margin-bottom: 1.65rem; }
.section-intro p { max-width: 44rem; margin-top: .6rem; color: var(--steel); }
.grid { display: grid; gap: 1rem; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value-card, .join-card { padding: clamp(1rem, 3vw, 1.65rem); }
.icon-tile { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue); }
.value-card h3, .join-card h3 { margin-top: .85rem; }
.value-card p, .steps p { margin-top: .4rem; color: var(--steel); }
.service-grid, .steps { margin: 0; padding: 0; list-style: none; }
.service-card { display: flex; gap: .8rem; align-items: center; padding: 1rem; }
.service-card h3 { font-size: 1.05rem; }
.service-card p { margin-top: .2rem; font-size: .9rem; color: var(--steel); }
.steps li { border-top: 1px solid var(--line); padding-top: 1rem; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .75rem; border-radius: 50%; background: var(--blue); color: var(--white); font: 700 1rem var(--heading); }
.join-card ul { padding-left: 1.25rem; margin-block: .75rem 1.15rem; }
.join-card li + li { margin-top: .28rem; }
.join-card { display: flex; flex-direction: column; align-items: flex-start; }
.join-card .action { margin-top: auto; }

.site-footer { text-align: center; background: var(--navy); color: var(--white); padding-block: 2.4rem 1.1rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 1.5rem; }
.site-footer h2 { font-size: 1rem; margin-block: .6rem .45rem; letter-spacing: normal; }
.site-footer p:not(.footer-tagline) { font-size: .9rem; color: var(--sky); }
.footer-tagline { font-weight: 600; margin-bottom: .4rem; }
.social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; }
.social svg.lucide { width: 18px; height: 18px; }
.site-footer summary { align-content: center; min-height: 44px; }
.site-footer details p { margin: 0 0 .55rem; }
.copyright { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--steel); }

.auth-main { background: var(--concrete); padding-block: 1.4rem clamp(2.75rem, 6vw, 4.5rem); }
.auth-shell { max-width: 39rem; }
.back-link { margin-bottom: .75rem; }
.auth-card { padding: clamp(1rem, 4vw, 2rem); }
.auth-heading { margin-bottom: clamp(1rem, 3vw, 1.5rem); }
.auth-card h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); }
.auth-intro { color: var(--steel); margin-block: .45rem 1.25rem; }
.role-fieldset { min-width: 0; margin: 0 0 1.15rem; padding: 0; border: 0; }
.role-fieldset legend, .field label { display: block; width: auto; float: none; font: 500 .95rem/1.4 var(--heading); margin-bottom: .4rem; }
.role-options { display: grid; gap: .5rem; }
.role-choice { position: relative; cursor: pointer; }
.role-choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.role-tile { display: flex; align-items: center; gap: .55rem; min-height: 48px; height: 100%; padding: .5rem .65rem; border: 1px solid var(--input-line); border-radius: var(--radius); font-size: .9rem; font-weight: 600; }
.role-tile svg { width: 20px; height: 20px; color: var(--blue); }
.role-choice input:checked + .role-tile { background: var(--sky); border-color: var(--blue); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.role-choice input:focus-visible + .role-tile { outline: 3px solid var(--navy); outline-offset: 2px; }
.field { margin-bottom: 1rem; }
.field input { width: 100%; min-height: 46px; border: 1px solid var(--input-line); border-radius: var(--radius); color: var(--navy); background: var(--white); padding: .6rem .75rem; }
.field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.field-hint { font-size: .875rem; color: var(--steel); margin-top: .3rem; }
.password-valid { color: var(--green); font-weight: 600; }
.password-control { position: relative; }
.password-control input { padding-right: 3.25rem; }
.password-toggle {
    position: absolute;
    z-index: 1;
    inset: 50% 13px auto auto;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
}
.password-toggle > span, .password-toggle svg { display: block; width: 20px; height: 20px; pointer-events: none; }
.password-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.check-row { display: flex; align-items: center; gap: .65rem; min-height: 44px; cursor: pointer; }
.check-row input { accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.admin-recovery-link { text-align: right; }
.login-options { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; }
.text-action { font-weight: 600; }
.notice, .form-status:not(:empty) { background: var(--sky); padding: .75rem; border-radius: var(--radius); }
.submit-action { width: 100%; margin-top: .75rem; }
.submit-action:disabled { background: var(--steel); }
.form-status:not(:empty) { margin-top: .75rem; }
.field-error { display: block; color: #a51d30; font-size: .875rem; line-height: 1.4; margin: .3rem 0 0; }
.field-error:empty { margin: 0; }
form input[aria-invalid="true"], form select[aria-invalid="true"], form textarea[aria-invalid="true"] { border-color: #a51d30; }
form input[type="checkbox"][aria-invalid="true"] { outline: 1px solid #a51d30; outline-offset: 2px; }
.form-status.form-error:not(:empty) { color: #a51d30; background: transparent; padding-inline: 0; }
.auth-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .85rem; border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1rem; }

@media (min-width: 36rem) {
    .shell { width: min(100% - 3rem, 70rem); }
    .grid-three, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .role-options { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
@media (min-width: 48rem) {
    .hero-layout { grid-template-columns: 1.2fr 1fr; }
    .hero-art { display: flex; }
    .grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
    .site-nav { flex-wrap: nowrap; }
    .menu-toggle { display: none; }
    .site-menu, .site-menu.menu-enhanced:not(.menu-open) { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1.5rem, 4vw, 3.5rem); padding: 0; }
    .nav-list { display: flex; gap: 1.35rem; }
    .footer-grid { grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 2rem; }
}

