/* SARA Automation - public landing page
   Static only: no scripts, no external fonts, no third-party requests.
   Light and dark palettes are both defined so the official day/night brand
   assets always sit on a background they were drawn for. */

:root {
  --surface: #ffffff;   /* page background */
  --soft: #f5f8fb;      /* alternating section background */
  --raised: #ffffff;    /* cards and callouts (sit on --soft) */
  --line: #e3e8ef;
  --heading: #0a2540;   /* headings, links, brand text */
  --ink: #17233a;       /* body text */
  --muted: #5a6478;     /* secondary text */
  --gold: #b58234;
  --green: #1f6b4a;
  --skip-bg: #0a2540;
  --skip-fg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b1a2d;
    --soft: #0f2136;
    --raised: #172c44;
    --line: #24405c;
    --heading: #eaf2fb;
    --ink: #dfe8f3;
    --muted: #a7b6cb;
    --gold: #d8a75f;
    --green: #4bbd8b;
    --skip-bg: #eaf2fb;
    --skip-fg: #0a2540;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--heading);
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap.narrow {
  max-width: 720px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--skip-bg);
  color: var(--skip-fg);
  transform: translateY(-200%);
  transition: transform 150ms ease;
}

.skip:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 28px;
  height: auto;
}

.brand-wordmark {
  height: 26px;
  width: auto;
}

.brand-tag {
  color: var(--muted);
  font-size: 14px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.header-contact {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.header-contact:hover,
.header-contact:focus {
  color: var(--heading);
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--soft) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
}

h1 {
  margin: 0 0 18px;
  max-width: 20ch;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(17px, 2.2vw, 19px);
  color: var(--muted);
}

/* Sections */

.section {
  padding: 48px 0;
}

.section-alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(21px, 3vw, 25px);
  line-height: 1.3;
  color: var(--heading);
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--heading);
}

p {
  margin: 0 0 14px;
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

/* Fact list */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px 32px;
  margin: 0;
}

.fact {
  min-width: 0;
}

.facts dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  max-width: 800px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  min-width: 0;
  padding: 20px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Compliance */

.statement {
  padding: 16px 18px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
}

.checks {
  margin: 18px 0 0;
  padding-left: 20px;
  max-width: 68ch;
  color: var(--muted);
}

.checks li {
  margin-bottom: 8px;
}

.checks li::marker {
  color: var(--gold);
}

/* Footer */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--soft);
  font-size: 14px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-inner div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-inner strong {
  color: var(--heading);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus {
  color: var(--heading);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .brand-tag {
    border-left: 0;
    padding-left: 0;
    flex-basis: 100%;
  }

  .hero {
    padding: 44px 0 36px;
  }

  .section {
    padding: 36px 0;
  }
}
