:root {
  color-scheme: light;
  --ink: 201.43 36.84% 14.9%;
  --muted: 201 16% 39%;
  --accent: 14.74 100% 55.29%;
  --background: 201 25% 97%;
  --border: 201 18% 86%;
  font-family: 'Graphie', 'Plus Jakarta Sans', sans-serif;
  color: hsl(var(--ink));
  background: hsl(var(--background));
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; isolation: isolate; }
.page-preview { position: fixed; inset: -8px; z-index: -2; overflow: hidden; pointer-events: none; user-select: none; filter: blur(6px); background: #f1f5f6; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: rgb(24 42 52 / .42); pointer-events: none; }
.preview-nav { height: 88px; background: #182a34; border-bottom: 3px solid #ff531b; display: flex; align-items: center; justify-content: space-between; padding: 0 max(40px, calc((100vw - 1100px) / 2)); }
.preview-nav img { width: 120px; filter: brightness(0) invert(1); }
.preview-nav-items { display: flex; gap: 12px; }
.preview-nav-items i { width: 100px; height: 40px; border: 1px solid #8a9aa2; border-radius: 6px; }
.preview-content { max-width: 1100px; margin: 55px auto; padding: 0 24px; }
.preview-accent { width: 55px; height: 4px; background: #ff531b; margin-bottom: 26px; }
.preview-heading { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; font-weight: 700; letter-spacing: -.03em; }
.preview-copy { margin: 28px 0 40px; display: grid; gap: 14px; }
.preview-copy i { height: 11px; width: 90%; border-radius: 4px; background: #a8b5ba; }
.preview-copy i:last-child { width: 68%; }
.preview-program { display: flex; align-items: center; gap: 42px; padding: 25px 32px; margin-bottom: 18px; height: 112px; background: #fff; border: 1px solid #bfccd1; border-left: 5px solid #182a34; border-radius: 16px; }
.preview-mark { width: 175px; height: 48px; flex-shrink: 0; background: linear-gradient(#ff531b 0 42%, transparent 42% 57%, #182a34 57%); }
.preview-lines { width: 55%; height: 38px; background: repeating-linear-gradient(to bottom, #a8b5ba 0 7px, transparent 7px 19px); }
.preview-program span { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; margin-left: auto; border-radius: 50%; background: #ff531b; color: #fff; }
main { flex: 1; width: 100%; padding: clamp(56px, 11vh, 120px) 20px 48px; }
.welcome { max-width: 520px; margin: 0 auto; }
.brand { display: block; width: 166px; height: auto; margin: 0 auto 32px; }
.card { background: #fff; border: 1px solid hsl(var(--border)); border-top: 4px solid hsl(var(--ink)); border-radius: 8px; padding: 36px 36px 28px; box-shadow: 0 24px 80px -20px hsl(var(--ink) / .35); }
h1 { margin: 0; font-size: clamp(25px, 4.8vw, 30px); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.intro { margin: 18px 0 0; text-align: center; color: hsl(var(--muted)); font-size: 15px; line-height: 1.65; }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; margin-bottom: 9px; }
input, button { width: 100%; font: inherit; border-radius: 3px; }
input { height: 48px; padding: 12px 14px; border: 1px solid hsl(var(--border)); background: #fff; color: hsl(var(--ink)); font-size: 15px; }
input::placeholder { color: hsl(var(--muted)); opacity: .8; }
input:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 1px; border-color: hsl(var(--ink)); }
.access-form { margin-top: 28px; }
.form-error { display: none; margin: 24px 0 0; padding: 12px 14px; border: 1px solid #efd4c8; border-left: 3px solid hsl(var(--accent)); border-radius: 3px; background: #fff6f1; font-size: 14px; line-height: 1.5; }
.form-error:target { display: block; }
.form-error:target ~ .access-form { margin-top: 18px; }
.email-help { margin: 10px 0 20px; font-size: 13px; line-height: 1.6; color: hsl(var(--muted)); }
button { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; border: 1px solid hsl(var(--accent)); background: hsl(var(--accent)); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s ease; }
button:hover { background: hsl(14.74 100% 48%); }
button:focus-visible { outline: 2px solid hsl(var(--ink)); outline-offset: 3px; }
button svg { flex: 0 0 auto; }
.support { border-top: 1px solid hsl(var(--border)); padding-top: 22px; margin: 26px 0 0; font-size: 13px; line-height: 1.8; text-align: center; color: hsl(var(--muted)); }
.support a { color: hsl(var(--ink)); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.support a:hover { text-decoration-thickness: 2px; }
.support a:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 5px; border-radius: 2px; }
footer { padding: 22px 24px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted)); text-align: center; background: rgb(245 248 249 / .93); }
footer p { max-width: 850px; margin: 0 auto; font-size: 12px; line-height: 1.7; }
@media (max-width: 480px) {
  main { padding: 48px 16px 32px; }
  .brand { width: 146px; margin-bottom: 26px; }
  .card { padding: 28px 22px 24px; }
  footer { padding-inline: 22px; }
}
