:root {
  color-scheme: light;
  --green: #006c5d;
  --ink: #101315;
  --muted: #687078;
  --gutter: clamp(24px, 4.4vw, 88px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.skip-link { position: absolute; z-index: 10; left: var(--gutter); top: 12px; background: #fff; padding: 12px 18px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.home-header { flex: none; min-height: 120px; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 3; }
.home-brand { display: block; line-height: 0; flex: none; }
.home-brand img { display: block; width: clamp(230px, 23.6vw, 395px); height: auto; }
.login-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 58px; padding: 15px 30px; border-radius: 14px; background: var(--green); color: #fff; font-size: 21px; line-height: 1.25; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background-color 160ms ease, transform 160ms ease; }
.login-button:hover { background: #005346; transform: translateY(-1px); }
.login-button:active { transform: none; }
main { display: flex; flex: 1; min-height: 0; }
main:focus { outline: none; }
.home-hero { position: relative; isolation: isolate; width: 100%; flex: 1; display: flex; align-items: center; min-height: 480px; }
.hero-copy { position: relative; z-index: 2; width: 50%; padding: 0 0 15vh var(--gutter); }
h1 { margin: 0 0 26px; font-size: clamp(48px, 5.15vw, 105px); line-height: 1.025; letter-spacing: -.06em; font-weight: 800; }
h1 span { display: block; white-space: nowrap; }
.brand-accent { color: var(--green); }
.hero-copy p { margin: 0; max-width: 530px; width: 85%; color: var(--muted); font-size: clamp(17px, 1.4vw, 23px); line-height: 1.48; letter-spacing: -.015em; }
.hero-art { position: absolute; z-index: 0; inset: -60px 0 -32px; overflow: hidden; pointer-events: none; }
.hero-art img { display: block; position: absolute; bottom: 0; right: 0; width: min(96vw, 1950px); height: 100%; object-fit: contain; object-position: right center; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 33%, rgba(255,255,255,.98) 38%, rgba(255,255,255,.82) 43%, transparent 51%); }
.home-footer { position: relative; z-index: 2; flex: none; padding: 14px var(--gutter) 24px; font-size: 13px; line-height: 18px; color: var(--muted); }
@media (min-width: 1600px) {
  .home-header { min-height: 140px; }
  .hero-copy p { max-width: 560px; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .home-header { min-height: 96px; padding-top: 12px; padding-bottom: 12px; }
  .home-brand img { width: clamp(230px, 21vw, 330px); }
  .home-hero { min-height: 380px; }
  h1 { font-size: clamp(44px, min(5.1vw, 10svh), 86px); margin-bottom: 20px; }
  .hero-copy p { font-size: clamp(16px, 2.7svh, 20px); }
  .hero-copy { padding-bottom: 2vh; }
  .hero-art { top: -34px; }
  .home-footer { padding-bottom: 14px; }
}
@media (max-width: 900px) {
  .home-header { min-height: 100px; padding-top: 18px; padding-bottom: 18px; }
  .home-brand img { width: clamp(175px, 31vw, 255px); }
  .login-button { min-height: 50px; font-size: 18px; padding: 13px 22px; gap: 10px; border-radius: 12px; }
  main { display: block; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { width: 100%; padding: 28px var(--gutter) 0; }
  h1 { font-size: clamp(43px, 6.5vw, 65px); line-height: 1.05; letter-spacing: -.055em; margin-bottom: 21px; }
  .hero-copy p { width: 100%; max-width: 550px; font-size: 18px; line-height: 1.5; }
  .hero-art { position: relative; inset: auto; margin-top: -5px; width: 100%; height: min(68vw, 500px); }
  .hero-art img { width: 120%; max-width: none; height: auto; right: 0; bottom: -4%; object-fit: initial; }
  .hero-art::after { display: none; }
  .home-footer { padding-top: 0; padding-bottom: 20px; }
}
@media (max-width: 500px) {
  :root { --gutter: 22px; }
  .home-header { min-height: 90px; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
  .home-brand img { width: clamp(156px, 44vw, 210px); }
  .login-button { min-height: 46px; padding: 11px 17px; font-size: 17px; gap: 9px; border-radius: 10px; }
  .login-button svg { width: 19px; height: 19px; }
  .hero-copy { padding-top: 18px; }
  h1 { font-size: clamp(32px, 8.5vw, 43px); margin-bottom: 18px; }
  .hero-copy p { font-size: 16px; line-height: 1.55; max-width: 390px; }
  .hero-art { margin-top: 8px; height: 81vw; max-height: 390px; }
  .hero-art img { width: 145%; bottom: 0; }
  .home-footer { font-size: 12px; }
}
@media (max-width: 350px) {
  :root { --gutter: 16px; }
  .home-header { gap: 10px; }
  .login-button { padding-left: 13px; padding-right: 13px; }
  h1 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-button { transition: none; }
  .login-button:hover { transform: none; }
}
