:root{
  color-scheme:light;
  --landing-bg:#f4f6f2;
  --landing-fg:#111611;
  --landing-accent:#51b848;
  --landing-accent-strong:#2f7a28;
  --landing-accent-deep:#24601f;
  --landing-panel:#ffffff;
  --landing-border:#e2e7df;
  --landing-muted:#5b665d;
  --landing-field:#ffffff;
  --landing-ink:#0b100c;
}
html,body{margin:0;min-height:100%;background:var(--landing-bg);color:var(--landing-fg);font-family:"Segoe UI Variable Text","Segoe UI Variable","Aptos","Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}

body.landing{display:grid;grid-template-columns:minmax(380px,46%) minmax(0,1fr);min-height:100vh;padding:0}

/* Brand panel: night site illustration, wordmark and product promise. */
.landing-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:40px;min-height:100vh;padding:44px clamp(28px,4vw,60px);overflow:hidden;color:#fff;background:var(--landing-ink) url("brand/field-night.svg?v=4") center bottom/cover no-repeat}
.landing-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,12,9,.9) 0%,rgba(8,12,9,.55) 46%,rgba(8,12,9,.12) 72%,rgba(8,12,9,.55) 100%)}
.landing-hero-logo{display:block;width:196px;height:auto;filter:brightness(0) invert(1)}
.landing-hero-copy{max-width:31rem}
.landing-hero-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#8ed984}
.landing-hero-kicker::before{content:"";width:22px;height:2px;border-radius:2px;background:var(--landing-accent)}
.landing-hero-title{margin:0;font-family:"Segoe UI Variable Display","Segoe UI",sans-serif;font-size:clamp(32px,3.3vw,46px);line-height:1.12;font-weight:700;letter-spacing:-.02em;color:#fff}
.landing-swash{position:relative;white-space:nowrap;color:#fff}
.landing-swash::after{content:"";position:absolute;left:-4%;right:-6%;bottom:-.2em;height:.36em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C30 4 70 2.5 117 6.5' fill='none' stroke='%2351b848' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.landing-hero-lede{margin:18px 0 0;max-width:28rem;font-size:16px;line-height:1.6;color:#c6d3c8}
.landing-hero-points{display:grid;gap:8px;max-width:22rem;margin:0;padding:0;list-style:none}
.landing-hero-points li{display:flex;align-items:center;gap:12px;padding:11px 14px;border:1px solid rgba(255,255,255,.08);border-left:3px solid var(--landing-accent);border-radius:8px;background:rgba(6,9,7,.62);backdrop-filter:blur(6px);font-size:15px;font-weight:600;color:#f1f6f1}
.landing-hero-points svg{flex:none;width:20px;height:20px;color:var(--landing-accent)}

/* Form column. */
.landing-main{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:48px 24px;background:radial-gradient(900px 420px at 110% -10%,rgba(81,184,72,.12),transparent 60%),radial-gradient(#dfe5dc 1px,transparent 1.2px) 0 0/22px 22px,var(--landing-bg)}
.landing-check{margin:0;color:#7a847c;font-size:14px}
.landing-card{position:relative;width:100%;max-width:27rem;overflow:hidden;border:1px solid var(--landing-border);border-radius:18px;background:var(--landing-panel);box-shadow:0 1px 2px rgba(16,24,18,.04),0 28px 56px -30px rgba(16,24,18,.38)}
.landing-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--landing-accent-strong),var(--landing-accent) 55%,#8ed984)}
.landing-head,.landing-brand{display:flex;align-items:center;gap:16px;padding:30px 30px 4px;border:0}
.landing-logo{display:block;width:148px;height:auto}
.landing-rule{width:1px;align-self:stretch;margin:6px 0;background:var(--landing-border)}
body.landing:has(.landing-hero) :is(.landing-logo,.landing-rule,.landing-lockup){display:none}
.landing-kicker{margin:0;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--landing-accent-strong)}
.landing-card .landing-title{margin:6px 0 0;font-family:"Segoe UI Variable Display","Segoe UI",sans-serif;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.015em;color:var(--landing-fg)}
.landing-theme,#theme-toggle{display:none!important}
.landing-form{display:grid;gap:16px;padding:22px 30px 30px}
.landing-form label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#3d4740}
.landing-form input{width:100%;height:46px;border:1px solid #d6ddd3;border-radius:10px;background:var(--landing-field);color:var(--landing-fg);padding:0 14px;font:inherit;font-size:15px;transition:border-color .15s,box-shadow .15s}
.landing-form input::placeholder{color:#9aa49c}
.landing-form input:hover{border-color:#bfc8bb}
.landing-form input:focus{outline:none;border-color:var(--landing-accent);box-shadow:0 0 0 4px rgba(81,184,72,.18)}
.landing-form input[readonly]{background:#f5f7f4;color:#4a554c}
.landing-form button[type="submit"]{display:flex;align-items:center;justify-content:center;gap:10px;height:48px;margin-top:6px;border:0;border-radius:10px;background:var(--landing-accent);color:#111;padding:0 18px;font:inherit;font-size:15px;font-weight:700;letter-spacing:.01em;cursor:pointer;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 10px 22px -12px rgba(47,122,40,.75);transition:background-color .15s,transform .15s,box-shadow .15s}
.landing-form button[type="submit"]::after{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s}
.landing-form button[type="submit"]:hover{background:#62c659;transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 14px 26px -12px rgba(47,122,40,.8)}
.landing-form button[type="submit"]:hover::after{transform:translateX(3px)}
.landing-form button[type="submit"]:active{transform:translateY(0)}
.landing-form button[type="submit"]:disabled{opacity:.55;cursor:wait;transform:none}
.landing-alert{margin:0;border-radius:10px;padding:10px 12px;font-size:14px}
.landing-alert[data-kind="error"]{border:1px solid #f3c4c4;background:#fef2f2;color:#7f1d1d}
.landing-alert[data-kind="ok"]{border:1px solid #c5e6bf;background:#f3faf2;color:#24601f}
.landing-note{margin:0;color:var(--landing-muted);font-size:14px;line-height:1.55}
.landing-footer{margin:2px 0 0;text-align:center;font-size:14px}
.landing-footer a{color:var(--landing-accent-strong);font-weight:650;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .15s,color .15s}
.landing-footer a:hover{color:var(--landing-accent-deep);border-bottom-color:currentColor}
.landing-sitefoot{margin:22px 0 0;font-size:12px;color:#7a847c}
[hidden]{display:none!important}
button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--landing-accent);outline-offset:3px}

@media(max-width:900px){
  body.landing{grid-template-columns:minmax(0,1fr)}
  .landing-hero{min-height:0;gap:22px;padding:28px 24px 34px;background-position:70% 100%}
  .landing-hero::before{background:linear-gradient(180deg,rgba(8,12,9,.88),rgba(8,12,9,.5))}
  .landing-hero-logo{width:150px}
  .landing-hero-title{font-size:28px}
  .landing-hero-lede,.landing-hero-points{display:none}
  .landing-main{justify-content:flex-start;padding:28px 16px 40px}
}
@media(max-width:480px){
  .landing-head,.landing-brand{padding:24px 22px 2px}
  .landing-form{padding:18px 22px 24px}
}
@media(prefers-reduced-motion:reduce){
  .landing-form button[type="submit"],.landing-form button[type="submit"]::after,.landing-form input{transition:none}
  .landing-form button[type="submit"]:hover{transform:none}
}
