/* mornet.zone/text-alerts — shared chrome for the SMS program pages.
   Same tokens as the home page and /careers; no build step. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-deep: #06080d; --bg-primary: #0a0e17; --bg-card: #111827; --bg-card-hover: #1a2332;
  --accent: #3b82f6; --accent-light: #60a5fa; --cyan: #06b6d4; --cyan-light: #22d3ee; --emerald: #10b981;
  --text-primary: #f1f5f9; --text-secondary: #94a3b8; --text-muted: #64748b;
  --border: rgba(255,255,255,0.06); --border-hover: rgba(255,255,255,0.12);
  --gradient: linear-gradient(135deg, var(--accent), var(--cyan));
  --gradient-text: linear-gradient(135deg, var(--accent-light), var(--cyan-light));
  --radius: 16px; --radius-sm: 10px; --nav-height: 72px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-deep); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(59,130,246,0.3); color: #fff; }
a { color: var(--accent-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 16px; }

/* Navigation (mirrors /careers) */
.nav { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(6,8,13,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); }
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--text-primary); }
.nav-logo img { height: 44px; width: auto; filter: invert(1) hue-rotate(180deg); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-link-active { color: var(--text-primary) !important; font-weight: 600 !important; }
.nav-cta { background: var(--gradient); color: #fff !important; padding: 10px 24px; border-radius: 100px; font-weight: 600; font-size: 14px; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }
.nav-mobile-toggle svg { width: 24px; height: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-family: inherit; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.4); }
.btn-primary:disabled { opacity: .6; transform: none; cursor: default; }
.btn-secondary { background: rgba(255,255,255,0.05); border: 1px solid var(--border-hover); color: var(--text-primary); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(900px 420px at 20% -10%, rgba(59,130,246,0.16), transparent 60%), radial-gradient(700px 380px at 85% 10%, rgba(6,182,212,0.12), transparent 60%); }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-light); margin-bottom: 16px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 18px; max-width: 20ch; }
.hero h1 .grad { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 17px; color: var(--text-secondary); line-height: 1.75; max-width: 64ch; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: 100px; padding: 9px 18px; color: var(--text-primary); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.subnav a[aria-current] { border-color: var(--accent); color: var(--accent-light); }

/* Content */
.section { padding: 32px 0 64px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.card h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-light); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.card h3:first-child { margin-top: 0; }
.card p, .card li { color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.card ul { list-style: none; margin-bottom: 12px; }
.card li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.card li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card strong { color: var(--text-primary); font-weight: 600; }
.lede { font-size: 16px; }
.callout { background: rgba(59,130,246,0.07); border: 1px solid rgba(59,130,246,0.22); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 18px 0; }
.callout p { margin: 0; }
.disclosure { background: var(--bg-primary); border: 1px solid var(--border-hover); border-radius: var(--radius-sm); padding: 16px 18px; margin: 12px 0 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.disclosure strong { color: var(--text-primary); }
.sms-sample { background: #0f172a; border: 1px solid var(--border-hover); border-radius: 14px 14px 14px 4px; padding: 14px 18px; margin: 10px 0 18px; font-size: 14px; color: var(--text-primary); line-height: 1.6; max-width: 46ch; }
.sms-sample b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin: 18px 0 8px; }
.fact { background: var(--bg-primary); padding: 14px 16px; }
.fact-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.fact-v { font-size: 14px; color: var(--text-primary); line-height: 1.5; }

/* Form */
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 7px; }
.field .req { color: var(--accent-light); }
.field .hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 400; }
.field input, .field textarea { background: var(--bg-primary); border: 1px solid var(--border-hover); border-radius: var(--radius-sm); padding: 13px 15px; color: var(--text-primary); font-family: inherit; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; background: var(--bg-primary); border: 1px solid var(--border-hover); border-radius: var(--radius-sm); padding: 16px 18px; margin: 6px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); cursor: pointer; }
.consent label { font-size: 14px; color: var(--text-secondary); line-height: 1.7; cursor: pointer; }
.consent label strong { color: var(--text-primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 4px; font-size: 16px; padding: 16px 32px; }
.msg { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.6; }
.msg.ok { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.35); color: #6ee7b7; }
.msg.error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.35); color: #fca5a5; }

/* Legal */
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal h2:first-of-type { margin-top: 0; }
.legal .updated { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--text-muted); margin-bottom: 18px; }
.legal address { font-style: normal; color: var(--text-secondary); line-height: 1.75; }

/* Footer (mirrors /careers) */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; filter: invert(1) hue-rotate(180deg); opacity: 0.7; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--text-secondary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: inherit; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(6,8,13,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .hero { padding: 48px 0 32px; }
  .cols { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
