:root {
  --bg: #eef3f7; --ink: #102436; --muted: #5b6b7b; --line: #dbe4eb; --panel: #fff; --panel-soft: #f6f9fb;
  --teal: #0f766e; --teal-dark: #075e59; --gold: #d89b25; --blue: #2864b4; --red: #b3343e; --green: #15803d;
  --shadow: 0 24px 70px rgba(26, 50, 73, 0.16); --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  background: radial-gradient(circle at 15% 10%, rgba(15, 118, 110, 0.14), transparent 28%),
    linear-gradient(135deg, #f8fbfc 0%, #dce8ef 48%, #f7f4ea 100%);
}
a { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.55; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); text-decoration: none; }
.brand-lockup img { width: 36px; height: 36px; border-radius: 8px; }

/* buttons */
.primary-button, .small-button, .text-button { border: 0; border-radius: var(--radius); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.primary-button { min-height: 44px; background: var(--teal); color: #fff; padding: 0 16px; box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2); }
.primary-button.small { min-height: 36px; padding: 0 12px; box-shadow: none; }
.primary-button.full { width: 100%; }
.primary-button:disabled { background: #9db5b2; box-shadow: none; cursor: not-allowed; }
.small-button { min-height: 36px; background: #e3eff2; color: var(--teal-dark); padding: 0 12px; }
.small-button:disabled { color: #7d8c99; background: #edf1f3; cursor: not-allowed; }
.text-button { background: transparent; color: var(--teal-dark); padding: 6px 0; min-height: 32px; }

/* landing */
.site-shell { width: 100%; }
.launch-panel { width: min(1120px, calc(100% - 40px)); margin: 0 auto; min-height: 620px; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 430px); grid-template-rows: auto 1fr; gap: 38px; align-items: center; padding: 26px 0 30px; }
.launch-nav { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.launch-links { display: flex; gap: 18px; font-weight: 800; font-size: 14px; }
.launch-links a { color: var(--muted); text-decoration: none; }
.launch-copy h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: 0; }
.launch-copy p { max-width: 640px; margin-bottom: 24px; font-size: 18px; }
.launch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.launch-secondary { background: rgba(255, 255, 255, 0.75); min-height: 44px; padding: 0 16px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.trust-strip span { min-height: 32px; display: inline-flex; align-items: center; border: 1px solid rgba(16, 36, 54, 0.11); border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: var(--muted); padding: 0 11px; font-size: 13px; font-weight: 800; }
.enroll-card { border: 1px solid rgba(16, 36, 54, 0.1); border-radius: var(--radius); background: rgba(255, 255, 255, 0.88); box-shadow: var(--shadow); padding: 22px; }
.enroll-card > span { color: var(--teal-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.enroll-card h2 { margin: 8px 0 12px; font-size: 26px; }
.feature-list { margin: 0 0 14px; padding-left: 20px; color: var(--ink); line-height: 1.7; }
.coming { margin: 0 0 16px; font-weight: 800; color: var(--teal-dark); }
.legal-note { width: min(1120px, calc(100% - 40px)); margin: 0 auto 26px; color: var(--muted); font-size: 13px; text-align: center; }

/* forms */
label { display: grid; gap: 6px; margin-top: 13px; font-size: 13px; font-weight: 800; }
label.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; line-height: 1.4; }
label.check input { margin-top: 3px; accent-color: var(--teal); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); padding: 0 12px; }
textarea { padding: 10px 12px; resize: vertical; }
form .primary-button { margin-top: 16px; }
.form-status { min-height: 20px; margin: 12px 0 0; font-size: 13px; font-weight: 800; color: var(--teal-dark); }
.form-status.error { color: var(--red); }

/* auth */
.auth-shell { width: min(460px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0; display: grid; gap: 20px; }
.auth-card h1 { font-size: 26px; margin: 14px 0 6px; }
.auth-tabs { display: flex; gap: 8px; }
.tab-button { flex: 1; min-height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-soft); color: var(--muted); font-weight: 800; }
.tab-button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* legal pages */
.legal-page { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.legal-page h1 { margin-top: 22px; }
.legal-page h2 { font-size: 18px; margin: 24px 0 6px; }
.draft-note { border: 1px solid #f0d99e; background: #fff8e8; border-radius: var(--radius); padding: 12px; color: #6b4a06; }

@media (max-width: 760px) {
  .launch-panel { grid-template-columns: 1fr; gap: 22px; min-height: auto; padding-top: 18px; }
  .launch-copy p { font-size: 16px; }
}
