@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #172d3d;
    --muted: #70818d;
    --green: #168768;
    --green-dark: #116c55;
    --mint: #e6f5ef;
    --gold: #d6ad62;
    --line: #e4ebe9;
    --paper: #f8faf9;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { width: min(1160px, calc(100% - 48px)); height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 20px Manrope, sans-serif; letter-spacing: -.8px; }
.brand > span:last-child > span { color: var(--green); }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--green); font: 800 20px Manrope, sans-serif; letter-spacing: 0; }
.header-actions { display: flex; align-items: center; gap: 27px; }
.nav-link { color: #50636e; font-size: 14px; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; font: 700 14px "DM Sans", Arial, sans-serif; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 16px; font-size: 13px; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 8px 20px rgba(22,135,104,.16); }
.button-primary:hover { color: #fff; background: var(--green-dark); }
.button-outline { border-color: #dce7e3; color: var(--ink); background: #fff; }
.button-full { width: 100%; margin-top: 21px; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; width: min(1160px, calc(100% - 48px)); min-height: 520px; margin: 25px auto 70px; }
.hero::before { position: absolute; z-index: -1; top: 15px; right: -9vw; bottom: 0; left: 47%; border-radius: 35px 0 0 35px; background: linear-gradient(135deg, #123e46, #125e50 68%, #18745b); content: ""; }
.hero-copy { padding: 34px 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.55px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(214,173,98,.14); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 20px; font: 800 clamp(43px, 5.3vw, 66px)/1.08 Manrope, sans-serif; letter-spacing: -3.5px; }
h1 span { color: var(--green); }
.hero-description { max-width: 465px; margin-bottom: 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { color: var(--green-dark); font-size: 13px; font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; color: #62737d; font-size: 12px; font-weight: 600; }
.trust-icon { margin-right: 6px; color: var(--green); }
.hero-art { position: relative; display: grid; min-height: 470px; place-items: center; }
.art-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(111,211,172,.11); filter: blur(25px); }
.growth-illustration { z-index: 1; width: min(100%, 540px); filter: drop-shadow(0 24px 24px rgba(4,33,38,.18)); }
.art-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.54); border-radius: 12px; background: #fff; box-shadow: 0 13px 36px rgba(5,35,37,.2); }
.art-card-top { top: 50px; right: -10px; }
.art-card-bottom { bottom: 35px; left: 0; }
.art-card small, .art-card strong { display: block; }
.art-card small { margin-bottom: 3px; color: #86949d; font-size: 10px; }
.art-card strong { color: var(--ink); font-size: 12px; }
.art-card-icon, .secure-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--green); background: var(--mint); font-size: 19px; font-weight: 800; }
.secure-icon { color: #80601f; background: #fbf0d8; font-size: 15px; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; width: min(1160px, calc(100% - 48px)); margin: 0 auto 75px; padding: 27px 0 0; border-top: 1px solid var(--line); }
.feature-number { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.feature-strip h2 { margin: 11px 0 7px; font: 700 18px Manrope, sans-serif; }
.feature-strip p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 21px max(24px, calc((100% - 1160px)/2)); border-top: 1px solid var(--line); color: #829098; font-size: 12px; }
.brand-footer { font-size: 16px; }
.brand-footer .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 16px; }
.auth-page { min-height: 100vh; background: var(--paper); }
.auth-layout, .register-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; width: min(1020px, calc(100% - 48px)); min-height: calc(100vh - 88px); margin: auto; padding: 30px 0 60px; }
.auth-intro h1, .register-heading h1 { margin: 22px 0 15px; font-size: clamp(42px, 5vw, 57px); }
.auth-intro p, .register-heading > p { max-width: 370px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.auth-decoration { position: relative; display: flex; align-items: end; gap: 10px; width: 225px; height: 155px; margin-top: 52px; padding: 20px; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg, #144a4a, #1b8667); }
.auth-decoration span { position: relative; z-index: 1; margin: auto; color: rgba(255,255,255,.9); font: 800 42px Manrope, sans-serif; }
.auth-decoration i { width: 24px; border-radius: 6px 6px 0 0; background: rgba(164,239,204,.7); }
.auth-decoration i:nth-child(2) { height: 34px; }.auth-decoration i:nth-child(3) { height: 61px; }.auth-decoration i:nth-child(4) { height: 93px; }
.auth-card { width: 100%; max-width: 480px; justify-self: end; padding: 37px; border: 1px solid #e8eeeb; border-radius: 18px; background: #fff; box-shadow: 0 22px 70px rgba(21,53,47,.08); }
.auth-brand { margin-bottom: 30px; }
.auth-card h2 { margin: 0 0 7px; font: 800 25px Manrope, sans-serif; letter-spacing: -.7px; }
.auth-subtitle { margin-bottom: 25px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-card form > label, .form-field label { display: block; margin: 15px 0 7px; color: #40545e; font-size: 12px; font-weight: 700; }
.auth-card input, .auth-card select { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #dce5e2; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font: 14px "DM Sans", Arial, sans-serif; }
.auth-card input:focus, .auth-card select:focus { border-color: #55aa8b; box-shadow: 0 0 0 3px rgba(22,135,104,.1); }
.auth-switch { margin: 23px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.auth-switch a { color: var(--green); font-weight: 700; }
.notice { margin: 0 0 16px; padding: 11px 13px; border-radius: 8px; font-size: 12px; line-height: 1.5; }
.notice-success { border: 1px solid #cfe9d9; color: #226343; background: #effaf3; }
.notice-error { border: 1px solid #f2d3d0; color: #9c3f38; background: #fff4f2; }
.register-layout { grid-template-columns: .75fr 1.25fr; align-items: start; padding-top: 55px; }
.register-heading { position: sticky; top: 55px; padding-top: 42px; }
.register-heading h1 { font-size: clamp(38px, 4.5vw, 52px); letter-spacing: -2.7px; }
.register-points { display: grid; gap: 13px; margin-top: 31px; color: #586b74; font-size: 12px; font-weight: 600; }
.register-points span::first-letter { color: var(--green); }
.register-card { max-width: none; padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.form-field { min-width: 0; }
.form-field label { margin-top: 12px; }
.form-field input, .form-field select { font-size: 13px; }
.form-field input[type="file"] { padding: 8px; }
.form-field small, .optional { color: #89969c; font-size: 10px; }
.sponsor-status { display: block; margin-top: 6px; color: #89969c; font-size: 10px; }
.sponsor-valid { color: #168768 !important; }
.sponsor-invalid { color: #b4433d !important; }
.form-field-full { grid-column: 1 / -1; }
.register-submit { margin-top: 24px; }
@media (max-width: 820px) {
    .hero { grid-template-columns: 1fr; margin-top: 0; }
    .hero::before { top: 510px; left: -24px; right: -24px; min-height: 390px; border-radius: 0; }
    .hero-art { min-height: 410px; }
    .feature-strip { gap: 24px; }
    .auth-layout, .register-layout { grid-template-columns: 1fr; gap: 24px; }
    .auth-intro { display: none; }
    .auth-card { justify-self: center; }
    .register-heading { position: static; padding-top: 5px; }
    .register-heading h1 br { display: none; }
    .register-heading > p, .register-points { display: none; }
}
@media (max-width: 560px) {
    .site-header { width: calc(100% - 32px); height: 72px; }
    .header-actions { gap: 9px; }
    .header-actions .nav-link, .header-actions .button-outline { display: none; }
    .hero { width: calc(100% - 38px); margin-bottom: 55px; }
    h1 { font-size: 44px; letter-spacing: -2.5px; }
    .hero-description { font-size: 14px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
    .hero-art { min-height: 350px; }
    .hero::before { top: 550px; min-height: 330px; }
    .art-card-top { top: 17px; right: 0; }
    .art-card-bottom { bottom: 7px; left: 0; }
    .feature-strip { grid-template-columns: 1fr; gap: 22px; width: calc(100% - 40px); margin-bottom: 45px; }
    .feature-strip article { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
    .site-footer { padding-right: 20px; padding-left: 20px; }
    .auth-layout, .register-layout { width: calc(100% - 28px); padding-top: 20px; }
    .auth-card { padding: 25px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field-full { grid-column: auto; }
}
