/* NUR Techs — site styles
   Brand: Horizon Navy #142643 · First Light Gold #F0A646 · Daylight #F9F6F1 · Slate #444E5E
   Type: Fira Sans (headings, body) · IBM Plex Mono (small labels) */

:root {
  --navy: #142643;
  --gold: #F0A646;
  --gold-dark: #B87418;
  --day: #F9F6F1;
  --paper: #FFFDF9;
  --slate: #444E5E;
  --mist: #C6CEDB;
  --line: #E6E1D6;
  --field: #A9B0BA;
  --chip: #F3EEE5;
  --warm: #FBF1DF;
  --warm-line: #F0D9B0;
  --navy-line: #2B3D5C;
  --error-bg: #FBEAE7;
  --error-line: #E8B9B1;
  --error: #8A2A1E;
  --ok: #1E6B4F;
  --radius: 4px;
  --radius-lg: 6px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--day);
  color: var(--navy);
  font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--navy); }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--slate); }
.small { font-size: 15px; }
.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--gold); color: var(--navy); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.wordmark { display: inline-flex; gap: 0.23em; font-size: 30px; line-height: 1; letter-spacing: -0.03em; color: var(--day); }
.wordmark b { font-weight: 600; color: var(--gold); }
.wordmark span { font-weight: 400; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: relative; z-index: 10; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 14px;
  color: var(--mist); text-decoration: none;
}
.nav a:hover { color: var(--day); }
.nav a[aria-current="page"] { color: var(--day); font-weight: 600; box-shadow: inset 0 -3px 0 var(--gold); }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; min-width: 48px; padding: 0 14px;
  border: 1px solid var(--navy-line); border-radius: var(--radius);
  background: transparent; color: var(--day); cursor: pointer; font-weight: 600;
}
.gold-rule { height: 6px; background: var(--gold); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 24px 24px; border-top: 1px solid var(--navy-line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--navy-line); }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 0; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { background: #F4B862; }
.btn-navy { background: var(--navy); color: var(--day) !important; }
.btn-navy:hover { background: #1F365C; }
.btn-line { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-line:hover { background: var(--chip); color: var(--navy); }
.btn-lg { min-height: 56px; font-size: 19px; padding: 16px 28px; }
.btn-block { width: 100%; }
.link-btn {
  align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: transparent;
  color: var(--navy); font-size: 16px; text-decoration: underline; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--day); position: relative; overflow: hidden; }
.hero-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; padding-top: 88px; padding-bottom: 160px; }
.hero h1 { max-width: 860px; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -0.03em; color: var(--day); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.hero-cta .muted { color: var(--mist); }
.hero-sun {
  position: absolute; right: -40px; bottom: 6px; width: 520px; max-width: 80vw; height: auto;
  opacity: 0.16; pointer-events: none;
}
.tagline { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; color: var(--mist); }
.tagline .ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-right: 2px;
  border: 2px solid var(--gold); border-radius: 50%;
  font-weight: 600; color: var(--day); line-height: 1;
}
.tagline .gap { white-space: pre; }

/* ---------- Sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.15; }
.band-paper { background: var(--paper); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
@media (max-width: 600px) { .section { padding-top: 64px; padding-bottom: 64px; } }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card {
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--radius-lg); border-top: 6px solid var(--navy);
  padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.card.gold-top { border-top-color: var(--gold); }
@media (max-width: 600px) { .card { padding: 28px 22px; } }
.card-title { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; display: flex; gap: 8px; }
.card-title b { font-weight: 600; color: var(--gold); }
.card-title span { font-weight: 400; }
.card-sub { font-size: 22px; font-weight: 500; margin-top: 6px; }
.tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.tile {
  min-height: 44px; padding: 8px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--chip); color: var(--navy);
  font-size: 16px; cursor: pointer;
}
.tile:hover { border-color: var(--navy); }
.tile[aria-pressed="true"] {
  background: var(--navy); color: var(--day); border-color: var(--navy);
  font-weight: 600; box-shadow: inset 0 -3px 0 var(--gold);
}
.detail {
  background: var(--day); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius);
  padding: 18px 20px; min-height: 120px; display: flex; flex-direction: column; gap: 6px;
}
.detail h4 { margin: 0; font-size: 18px; font-weight: 600; }
.detail p { font-size: 17px; color: var(--slate); }

/* ---------- Seniors band ---------- */
.warm-band {
  background: var(--warm); box-shadow: inset 0 0 0 1px var(--warm-line); border-radius: var(--radius-lg);
  padding: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px; align-items: start;
}
@media (max-width: 600px) { .warm-band { padding: 32px 22px; } }
.warm-band h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px 32px; }
.points li { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--navy); padding-top: 16px; }
.points li.gold { border-top-color: var(--gold); }
.points h3 { font-size: 21px; letter-spacing: -0.01em; }
.points p { font-size: 17px; color: var(--slate); }

/* ---------- Steps ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--navy); padding-top: 20px; }
.steps li.gold { border-top-color: var(--gold); }
.steps .num { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 16px; color: var(--slate); }
.steps h3 { font-size: 26px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; }
.about h2 { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.2; }
.motto { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--slate); margin-top: 8px; }
.about-body { display: flex; flex-direction: column; gap: 20px; font-size: 19px; }
.closing { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; border-top: 1px solid var(--line); padding-top: 24px; }

/* ---------- Panels, contact links ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 32px; align-items: start; }
.panel {
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.panel.soft { background: var(--day); }
.panel.main { border-top: 6px solid var(--navy); padding: 36px; gap: 32px; }
@media (max-width: 600px) { .panel, .panel.main { padding: 24px 20px; } }
.panel h2, .panel h3 { font-size: 24px; }
.panel-dark { background: var(--navy); color: var(--day); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.panel-dark h2 { font-size: 24px; }
.panel-dark .muted, .panel-dark li span { color: var(--mist); }
.check-list, .num-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li, .num-list li { display: flex; gap: 14px; }
.check-list svg { flex-shrink: 0; margin-top: 3px; }
.num-list .n { font-family: 'IBM Plex Mono', monospace; color: var(--gold); flex-shrink: 0; }
.panel-dark .divider { padding-top: 16px; border-top: 1px solid var(--navy-line); font-weight: 600; color: var(--day); }
.contact-link {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 16px;
  box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy);
}
.contact-link:hover { box-shadow: inset 0 0 0 1px var(--navy); color: var(--navy); }
.contact-link span { display: flex; flex-direction: column; line-height: 1.3; }
.contact-link strong { font-weight: 600; }
.contact-link small { font-size: 16px; color: var(--slate); }

/* ---------- Page header (inner pages) ---------- */
.page-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.03em; }
.page-head p { font-size: 19px; color: var(--slate); }
.page-main { padding-top: 64px; padding-bottom: 96px; }

/* ---------- Forms ---------- */
.form-step { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form-step legend { padding: 0; margin-bottom: 16px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.form-step legend .n { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 500; color: var(--slate); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .label { font-weight: 600; font-size: 16px; }
.field label .opt, .label .opt { font-weight: 400; color: var(--slate); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0 14px;
  border: 1px solid var(--field); border-radius: var(--radius); background: var(--paper); color: var(--navy);
}
.textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); outline: 3px solid rgba(240, 166, 70, 0.6); outline-offset: 0; }
.input.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.06em; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .choice-row { grid-template-columns: 1fr; } }
.choice {
  min-height: 52px; padding: 0 8px; border-radius: var(--radius);
  border: 1px solid var(--field); background: var(--paper); color: var(--navy); font-size: 16px; cursor: pointer;
}
.choice:hover { border-color: var(--navy); }
.choice[aria-pressed="true"] {
  border: 2px solid var(--navy); background: var(--navy); color: var(--day);
  font-weight: 600; box-shadow: inset 0 -4px 0 var(--gold);
}
.inset-box { padding: 20px; background: var(--day); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.status-ok { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.alert { padding: 12px 16px; background: var(--error-bg); box-shadow: inset 0 0 0 1px var(--error-line); border-radius: var(--radius); color: var(--error); font-size: 16px; }
.note-box { padding: 14px 16px; background: var(--day); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); font-size: 16px; color: var(--slate); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Calendar */
.cal-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.tz-label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; color: var(--slate); }
.tz-label .select { width: auto; min-height: 44px; font-size: 16px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dow { text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--slate); padding-bottom: 4px; }
.day {
  min-height: 52px; border-radius: var(--radius); border: 1px solid var(--field);
  background: var(--paper); color: var(--navy); cursor: pointer; font-size: 16px; line-height: 1.15; padding: 4px 2px;
}
.day small { display: block; font-size: 11px; color: var(--slate); }
.day:hover:not(:disabled) { border-color: var(--navy); }
.day:disabled { border-color: transparent; background: transparent; color: var(--field); cursor: default; text-decoration: line-through; }
.day[aria-pressed="true"] { border: 2px solid var(--navy); background: var(--navy); color: var(--day); font-weight: 600; box-shadow: inset 0 -4px 0 var(--gold); }
.day[aria-pressed="true"] small { color: var(--mist); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }

/* Radio cards & stepper */
.radio-card {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left;
  padding: 16px 18px; min-height: 56px; border-radius: var(--radius);
  border: 1px solid var(--field); background: var(--paper); color: var(--navy); cursor: pointer;
}
.radio-card .dot { display: flex; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--navy); align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.radio-card[aria-checked="true"] { border: 2px solid var(--navy); box-shadow: inset 4px 0 0 var(--gold); }
.radio-card[aria-checked="true"] .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.radio-card .grow { flex-grow: 1; }
.radio-card strong { font-weight: 600; display: block; }
.radio-card small { font-size: 16px; color: var(--slate); }
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 32px; }
.tab {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left;
  padding: 20px 24px; min-height: 96px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--chip); color: var(--navy); cursor: pointer;
}
.tab strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.tab small { font-size: 16px; color: var(--slate); }
.tab[aria-selected="true"] { border: 2px solid var(--navy); background: var(--paper); box-shadow: inset 0 -4px 0 var(--gold); }
.app-card { box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.app-card .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tag { padding: 4px 10px; border-radius: var(--radius); background: var(--chip); font-size: 14px; white-space: nowrap; }
.coming { border: 1px dashed #C9C2B3; border-radius: var(--radius-lg); padding: 20px 24px; color: var(--slate); font-size: 16px; }
.summary-box { background: var(--day); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.summary-box .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.summary-box .total { border-top: 1px solid var(--line); padding-top: 12px; }
.summary-box .total strong:last-child { font-size: 24px; letter-spacing: -0.02em; }
.success { display: flex; flex-direction: column; gap: 20px; }
.success h2 { font-size: 32px; }
dl.recap { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; padding: 20px; background: var(--day); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); }
dl.recap dt { color: var(--slate); }
dl.recap dd { margin: 0; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--mist); padding: 64px 0 40px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.site-footer strong { color: var(--day); font-weight: 600; }
.site-footer .col { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { display: flex; gap: 14px; align-items: flex-start; }
.site-footer .brand .tag-line { font-size: 15px; margin-top: 10px; }
.site-footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }

/* ---------- Pre-launch mode ----------
   <html class="prelaunch"> hides everything marked data-live and shows everything marked data-soon.
   To open for business, remove class="prelaunch" from the <html> tag on each page. */
[data-soon] { display: none !important; }
.prelaunch [data-live] { display: none !important; }
.prelaunch [data-soon] { display: revert !important; }
.prelaunch .hero-cta[data-soon] { display: flex !important; }
.prelaunch .soon-panel[data-soon] { display: flex !important; }
.prelaunch .soon-pill[data-soon] { display: inline-flex !important; }
.soon-pill {
  align-items: center; min-height: 40px; padding: 6px 16px; margin-left: 8px;
  border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 600; font-size: 16px;
}
.soon-pill.soon-lg { min-height: 52px; padding: 10px 22px; font-size: 19px; margin-left: 0; }
.soon-panel {
  flex-direction: column; gap: 14px; align-items: flex-start;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-top: 6px solid var(--gold);
  border-radius: var(--radius-lg); padding: 40px;
}
.soon-panel h1, .soon-panel h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
@media (max-width: 860px) { .nav .soon-pill { margin: 16px 0 0; justify-content: center; } }
