/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* GLOBAL */
:root{
  --bg-dark: #0b0c0a; /* near-black */
  --panel-dark: #15140f; /* deep panel */
  --olive: #23271a; /* military olive */
  --text: #e9e8e6;
  --muted: #bdbdbd;
  --accent: #9aa673; /* subdued khaki */
  --cta: #ffffff;
  --cta-text: #0b0f0c;

  line-height: 1.6;
  letter-spacing: 0.01em;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Page-wide dark theme (apply by adding class="theme-dark" to body) */
.theme-dark {
  background: #000000;
  color: var(--text);
}

/* Force common text elements to stay light on dark pages */
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark p,
.theme-dark li,
.theme-dark span,
.theme-dark label,
.theme-dark small,
.theme-dark strong { color: var(--text); }

.theme-dark .muted,
.theme-dark .subtle { color: var(--muted); }

/* Force key blocks on dark pages to stay readable */
.theme-dark #main,
.theme-dark .hero,
.theme-dark .hero h1,
.theme-dark .hero p,
.theme-dark #gateway,
.theme-dark #gateway h2,
.theme-dark #gateway label,
.theme-dark #gateway input,
.theme-dark #gateway button { color: var(--text); }

.theme-dark label { color: var(--muted); }

.theme-dark a { color: #ffffff; }
.theme-dark a:hover { color: #e9e8e6; }

/* Ensure content blocks don't inject light backgrounds */
.theme-dark main,
.theme-dark section,
.theme-dark .hero,
.theme-dark .panel,
.theme-dark .container { background: transparent; }

/* Form controls readable on dark */
.theme-dark input,
.theme-dark textarea,
.theme-dark select {
  background: #111111;
  color: #e9e8e6;
  border: 1px solid #2a2a2a;
}

.theme-dark input::placeholder,
.theme-dark textarea::placeholder { color: #9a9a9a; }

.theme-dark input:focus,
.theme-dark textarea:focus,
.theme-dark select:focus {
  outline: none;
  border-color: #444;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.07);
}

/* Ensure any split-right panels don't force white on dark pages */
.theme-dark .split-right { background: transparent; color: var(--text); }
.theme-dark .split-right h1 { color: var(--text); }
.theme-dark .split-right p { color: var(--muted); }

/* Strong heading styles to echo a bold, technical aesthetic */
h1 { 
  font-weight: 900; 
  letter-spacing: -0.02em; 
  font-size: 48px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 36px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} 

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  min-height: 120px;
  background: var(--bg-dark);
  backdrop-filter: none;
  box-shadow: none;
} 

/* On dark-themed pages, make header fully black to match body */
.theme-dark header { background: #000000 !important; }

/* Dark theme: flatten header buttons for a single-tone bar */
.theme-dark header nav a.button {
  background: #000000 !important; /* match page background */
  border: 1px solid rgba(255,255,255,0.9) !important; /* thinner outline */
  color: #ffffff !important;
  box-shadow: none !important;
  text-transform: none !important; /* match reference casing */
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  border-radius: 0 !important; /* rectangular corners */
}

.theme-dark header nav a.button:hover {
  background: #000000 !important; /* keep matching background */
  border-color: #ffffff !important;
}

.theme-dark header nav a.button:active {
  background: #191d21 !important;
}

.theme-dark header nav a.button.button--primary {
  background: #000000 !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
}

/* Reusable larger CTA variant matching the reference style */
.button--lg {
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 800;
  border-width: 1px; /* thinner outline */
  border-style: solid;
  border-color: rgba(255,255,255,0.9);
  background: #000000; /* match page background */
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0; /* rectangular corners */
}

.button--lg:hover { background: #000000; border-color: #ffffff; }
.button--lg:active { background: #000000; }

/* slightly larger nav button text */
header nav a.button { font-size: 15px; padding: 0 20px; height: 44px; }

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: transparent;
  max-width: 340px;
  z-index: 1300;
  opacity: 0; transform: translateY(-6px); transition: transform 320ms cubic-bezier(.2,.9,.2,1), opacity 320ms ease;
}
body.header-in .logo { opacity: 1; transform: none; }
/* On sign-in page we want the logo immediately visible */
.signin-left .logo { opacity: 1 !important; transform: none !important; }

/* Ensure header logo is always visible, even if gateway is skipped */
header .logo { opacity: 1; transform: none; }

.logo img {
  height: 96px; /* closer to hero weight while fitting header */
  width: auto;
  max-width: 460px;
  display: block;
  background: transparent; /* ensure no background */
  object-fit: contain;
  filter: none;
}

/* larger logo inside signin-left */
.signin-left .logo img { height: 140px; max-width: 420px; filter: none; }

/* Only show textual fallback when .logo--fallback is applied */
.logo-text { display: none; color: var(--text); font-weight: 800; font-size: 28px; }
.logo--fallback .logo-text { display: inline-block; }

/* HERO adjustments for Anduril-like style */
.hero { padding: 120px 20px; max-width: 1100px; margin: 0 auto; text-align: left; }
.hero h1 { font-size: 72px; font-weight: 900; letter-spacing: -0.025em; margin-bottom: 18px; color: var(--text); line-height: 1.02; }
.hero p { font-size: 18px; color: var(--muted); max-width: 760px; margin-top: 8px; }
.hero a { color: var(--text); text-decoration: none; }
.hero a:hover { text-decoration: none; }

/* Keep hero background consistent with the site dark tone */
.hero { background: transparent; }


/* Primary CTA: outline-only white text to match single dark tone */
.button--primary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 800;
  box-shadow: none;
}
.button--primary:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.28); }
.button--primary:focus-visible { outline: 3px solid rgba(255,255,255,0.16); outline-offset: 2px; }


.logo--fallback { display:inline-flex; align-items:center; gap:12px; padding:6px 10px; border-radius:6px; background: transparent; }
.logo-text { color: var(--text); font-weight:700; font-size:20px; letter-spacing: -0.01em; }

/* Fallback text for when logo fails to load (kept minimal) */
.logo--fallback { background: transparent; padding: 8px 12px; border-radius: 6px; }
.logo-text { color: var(--text); font-weight:700; font-size:20px; letter-spacing: -0.01em; }

/* make hero-logo responsive */
.hero-logo img { max-width: 84%; height: auto; display:block; }

/* Skip link removed (was hidden by default; removed per request) */


/* Accessibility: focus-visible for interactive elements */
:focus { outline: none; }
button:focus-visible, a.button:focus-visible, input:focus-visible { outline: 3px solid rgba(255,255,255,0.14); outline-offset: 2px; }

/* Hero entrance animation */
.hero h1, .hero p { opacity: 1; transform: none; transition: transform 520ms cubic-bezier(.2,.9,.2,1), opacity 520ms ease; }
.hero.in h1 { opacity: 1; transform: none; transition-delay: 80ms; }
.hero.in p { opacity: 1; transform: none; transition-delay: 220ms; }

/* Button micro interactions */
.button { transition: transform 0.14s ease, background-color 0.12s ease, border-color 0.12s ease; transform-origin: center; }
.button:hover { transform: scale(1.03); }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p, .logo, .button { transition: none !important; transform: none !important; }
}

/* Site footer disclosure */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 48px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  z-index: 100;
}

.site-footer p {
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* Ensure single dark background only */
.hero { background: transparent; }
header, .signin-left { background: var(--bg-dark); }

.logo .visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* small inline icons */
.icon {
  height: 16px;
  width: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  flex: 0 0 16px;
}

/* ensure SVG inside buttons pick up color */
header nav a.button svg { height:16px; width:16px; display:inline-block; vertical-align:middle; margin-left:8px; margin-right:0; }

/* make text inside buttons consistent */
header nav a.button span, header nav a.button { line-height: 1; }

/* ensure .btn-text is same weight and spacing */
.btn-text { font-weight: 600; display:inline-block; }
header nav a.button { gap: 10px; }
 

/* NAV */
nav a {
  margin-left: 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* NAV BUTTONS (outline-only, single dark tone) */
header nav a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  margin-left: 12px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  gap: 8px;
  box-shadow: none;
}

header nav a.button:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.02); }
header nav a.button:focus-visible { outline: 3px solid rgba(255,255,255,0.16); outline-offset: 2px; }


/* TRANSLUCENT BUTTON (rectangular, Gotham-like) */
.button {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 18px;
  border-radius: 4px; /* rectangular corners */
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
} 

/* PRIMARY BUTTON */
.button--primary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 800;
  box-shadow: none;
}
.theme-dark .button,
.theme-dark a.button {
  background: #000000;            /* match page background */
  border: 1px solid rgba(255,255,255,0.9); /* thinner outline */
  color: #ffffff;
  text-transform: none;            /* remove uppercase */
  letter-spacing: 0;               /* normal letter spacing */
  font-weight: 700;
  border-radius: 0;                /* rectangular corners */
}

.theme-dark .button:hover,
.theme-dark a.button:hover {
  background: #000000; /* keep matching background */
  border-color: #ffffff;
}

.theme-dark .button:active,
.theme-dark a.button:active { background: #000000; }

.theme-dark .button--primary { background: #000000; border-width: 1px; border-color: rgba(255,255,255,0.9); border-radius: 0; }

/* BUTTON HOVER MAGNIFICATION */
.button:hover { transform: scale(1.03); }
.button:focus-visible { transform: none; }

header nav a.button:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.02); }


/* Gateway inputs */
.gateway-input {
  width: 360px;
  padding: 14px 16px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  background: #000000;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gateway-input::placeholder { color: rgba(255,255,255,0.5); }

.gateway-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
  outline: none;
}

/* SPLIT HERO (desktop landing) */
.split-hero { display:flex; min-height: 72vh; }
.split-left { width: 44%; background: var(--panel-dark); display:flex; align-items:center; justify-content:center; }
.split-left .hero-logo img { height: 220px; }

.split-right { width: 56%; padding: 120px 64px; background: #fff; color: #111; display:flex; flex-direction:column; justify-content:center; }

.split-right h1 { font-size: 48px; font-weight: 700; color: #111; }
.split-right p { margin-top: 24px; font-size: 17px; color: #333; }

/* maintain smaller hero previously used on other pages */
.hero { max-width: 720px; }
 

/* GATEWAY OVERLAY */
#gateway {
  position: fixed;
  inset: 0;
  background: #000000;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

#gateway .gateway-logo {
  position: absolute;
  top: 20px;
  left: 48px;
  margin-bottom: 0;
}

#gateway .gateway-logo img {
  height: 96px;
  width: auto;
  max-width: 460px;
}

#gateway.show {
  opacity: 1;
  pointer-events: all;
}

#gateway.fade-out {
  opacity: 0;
  pointer-events: none;
}

#gateway h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #ffffff;
}

#gateway input,
#gateway label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

#gateway label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

#gateway input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ffffff;
}

#gateway button {
  margin-top: 20px;
}

#gateway button.button { 
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 0;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  transition: transform 0.14s ease, border-color 0.12s ease;
  transform-origin: center;
}

#gateway button.button:hover { 
  transform: scale(1.03);
  border-color: #ffffff;
}

/* Ensure Next button on signin page is visible */
.signin-right .button.button--cta { background: var(--cta); color: #fff; border: none; }

/* Make all nav buttons more visible on the header */
header nav a.button { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }

/* Make member login stand out slightly more */
header nav a.button.button--primary { box-shadow: none; }



/* SIGN IN - split layout */
.signin-container {
  display: flex;
  min-height: 100vh;
  align-items: center; /* vertically align left and right panels */
}

.signin-left {
  width: 42%;
  background: var(--bg-dark); /* unify with site dark tone */
  display: flex;
  align-items: center; /* horizontally center content */
  justify-content: center; /* center vertically/horizontally for a balanced layout */
  padding: 96px 64px; /* restore original comfortable padding */
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden; /* prevent oversized logo bleed */
}

.signin-left .logo {
  padding: 0; margin: 0 0 12px 0; background: transparent; display:inline-flex; border: none; text-decoration: none; position: static; transform: none;
}
.signin-left .logo:hover { background: transparent; }
.signin-left .logo img { display:block; height: 96px; width: auto; max-width: 460px; }

.signin-right h1 { transform: none; }
/* remove textual fallback on signin page (logo image only) */
.signin-left .logo-text { display: none !important; }

.signin-left p { margin-top: 18px; color: #ffffff; max-width: 320px; font-weight:600; }

/* style contact link to match logo text color exactly */
.signin-left p a { color: #ffffff; text-decoration: none; border-bottom: 0; padding-bottom: 0; font-weight:600; display:inline-block; transition: color 160ms ease, opacity 160ms ease; }
.signin-left p a:hover { color: #ffffff; text-decoration: none; opacity: 0.92; }


/* If logo is too wide, scale down */
@media (max-width: 1200px) {
  .signin-left .logo img { height: 90px; max-width: 400px; }
}
@media (max-width: 900px) {
  .signin-left { padding: 48px 32px; justify-content: flex-start; }
  .signin-right { padding: 48px 32px; justify-content: flex-start; }
  .signin-left .logo { position: static; transform: none; }
  .signin-left .logo img { height: 84px; max-width: 340px; }
  .signin-left p { margin-top: 18px; }
}

.signin-right {
  width: 58%;
  background: #fff; /* white form panel to match reference */
  color: #111;
  min-height: 100vh; /* fill the full page */
  padding: 96px 96px; /* restored original padding */
  display: flex;
  flex-direction: column;
  justify-content: center; /* restore centered form layout */
}  

.signin-right form { width: 100%; max-width: 720px; display:flex; flex-direction:column; justify-content:center; }


/* ensure fallback logo text doesn't overflow */
.logo--fallback { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo--fallback .logo-text { font-size: 36px; }

/* ensure anchor around logo doesn't create a large hover area */
.signin-left .logo { display:inline-flex; pointer-events: auto; cursor: pointer; }
.signin-left .logo img { display:block; }
.signin-left .logo:hover { background: transparent; }
/* Ensure left panel and logo stay uniform and don't highlight on hover */
.signin-left, .signin-left * { background: transparent !important; box-shadow: none !important; }
.signin-left a.logo { cursor: default; }



/* Meta row (remember + forgot) */
.meta-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.meta-row .remember { display:flex; align-items:center; gap:8px; color:#666; font-weight:600; }
.meta-row .remember { margin: 0; }
.meta-row .link-forgot { color:#666; text-decoration:none; font-weight:600; }
.meta-row .link-forgot:hover { color: #111; font-weight:700; }
/* ensure the remember checkbox and the Forgot Password align vertically */
.meta-row { align-items: center; }
.meta-row .remember-checkbox { margin-top:0; }

/* custom checkbox */
.remember-checkbox {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 18px; height: 18px; border: 1px solid rgba(0,0,0,0.12); border-radius: 3px; background: transparent; display:inline-block; position:relative; vertical-align:middle; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.remember-checkbox:checked { background: #0b0f0c; border-color: #0b0f0c; }
.remember-checkbox:checked::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.remember-checkbox:focus-visible { outline: 3px solid rgba(11,15,12,0.12); outline-offset: 2px; }

/* RESPONSIVE: stack sign-in panels on smaller screens */
@media (max-width: 900px) {
  .signin-container { flex-direction: column; }
  .signin-left, .signin-right { width: 100%; padding: 32px; }
  .signin-left .logo img { height: 96px; max-width: 240px; }
  .hero h1 { font-size: 36px; }
  header { padding: 12px 20px; min-height: 64px; }
}
.signin-right h1 {
  font-size: 56px;
  margin: 0 0 24px 0; /* increased spacing below heading */
  font-weight: 900;
  color: #111;
  line-height: 1.02;
  transform: translateY(4px); /* slight nudge to match logo center */
}

.signin-right label { font-size: 12px; color: #666; margin-bottom:8px; display:block; text-transform:uppercase; letter-spacing:0.06em; }

.signin-right input[type="email"],
.signin-right input[type="password"] {
  width: 100%;
  padding: 14px 12px;
  font-size: 15px;
  margin-bottom: 18px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: none;
}

.form-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:28px; margin-bottom:36px; }

/* on white form panel, primary action is dark filled to match Anduril aesthetic */
.signin-right .button--primary {
  background: #0b0f0c;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
}

/* Add spacing between button and footer/horizontal rule so things don't hug */
.signin-right footer { margin-top: 36px; }


.link-forgot { display:block; margin-top:16px; color: #666; font-weight:600; text-decoration:none; }

.signin-right footer { margin-top:auto; padding-top:28px; color:#999; border-top:1px solid #eaeaea; }

/* ensure the logo background is transparent */
.logo img { background: transparent; }

/* Member Login text tweaks to match other nav buttons */
.btn-text { font-weight: 700; display: inline-block; font-size: 15px; letter-spacing: 0.01em; }
header nav a.button svg { margin-left: 10px; }


/* ensure fallback logo text doesn't overflow */
.logo--fallback { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo--fallback .logo-text { font-size: 36px; }

/* ensure anchor around logo doesn't create a large hover area */
.signin-left .logo { display:inline-flex; pointer-events: auto; cursor: pointer; }
.signin-left .logo img { display:block; }
.signin-left .logo:hover { background: transparent; }
/* Ensure left panel and logo stay uniform and don't highlight on hover */
.signin-left, .signin-left * { background: transparent !important; box-shadow: none !important; }
.signin-left a.logo { cursor: default; }



/* Meta row (remember + forgot) */
.meta-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.meta-row .remember { display:flex; align-items:center; gap:8px; color:#666; font-weight:600; }
.meta-row .remember { margin: 0; }
.meta-row .link-forgot { color:#666; text-decoration:none; font-weight:600; }
.meta-row .link-forgot:hover { color: #111; font-weight:700; }
/* ensure the remember checkbox and the Forgot Password align vertically */
.meta-row { align-items: center; }
.meta-row .remember-checkbox { margin-top:0; }

/* custom checkbox */
.remember-checkbox {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 18px; height: 18px; border: 1px solid rgba(0,0,0,0.12); border-radius: 3px; background: transparent; display:inline-block; position:relative; vertical-align:middle; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.remember-checkbox:checked { background: #0b0f0c; border-color: #0b0f0c; }
.remember-checkbox:checked::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.remember-checkbox:focus-visible { outline: 3px solid rgba(11,15,12,0.12); outline-offset: 2px; }

/* RESPONSIVE: stack sign-in panels on smaller screens */
@media (max-width: 900px) {
  .signin-container { flex-direction: column; }
  .signin-left, .signin-right { width: 100%; padding: 32px; }
  .signin-left .logo img { height: 96px; max-width: 240px; }
  .hero h1 { font-size: 36px; }
  header { padding: 12px 20px; min-height: 64px; }
}
.signin-right h1 {
  font-size: 56px;
  margin: 0 0 24px 0; /* increased spacing below heading */
  font-weight: 900;
  color: #111;
  line-height: 1.02;
  transform: translateY(4px); /* slight nudge to match logo center */
}

.signin-right label { font-size: 12px; color: #666; margin-bottom:8px; display:block; text-transform:uppercase; letter-spacing:0.06em; }

.signin-right input[type="email"],
.signin-right input[type="password"] {
  width: 100%;
  padding: 14px 12px;
  font-size: 15px;
  margin-bottom: 18px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: none;
}

.form-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:28px; margin-bottom:36px; }

/* on white form panel, primary action is dark filled to match Anduril aesthetic */
.signin-right .button--primary {
  background: #0b0f0c;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
}

/* Add spacing between button and footer/horizontal rule so things don't hug */
.signin-right footer { margin-top: 36px; }


.link-forgot { display:block; margin-top:16px; color: #666; font-weight:600; text-decoration:none; }

.signin-right footer { margin-top:auto; padding-top:28px; color:#999; border-top:1px solid #eaeaea; }

/* ensure the logo background is transparent */
.logo img { background: transparent; }

/* Member Login text tweaks to match other nav buttons */
.btn-text { font-weight: 700; display: inline-block; font-size: 15px; letter-spacing: 0.01em; }
header nav a.button svg { margin-left: 10px; }

