/* FilingIQ marketing site.
   Brand tokens come from 03 Branding\Brand Guidelines.md (approved 9 November 2026).
   Change a color, font, radius or spacing step here and it changes everywhere. */

:root {
  /* Color: core palette */
  --navy: #142B45;
  --teal: #087F8C;        /* buttons, icons, logo. Not for small text. */
  --deep-teal: #066672;   /* teal-colored text and links */
  --bright-teal: #4FC3CC; /* teal accents on navy */
  --slate: #526277;
  --sky: #DDF2F3;
  --ivory: #FAF7F2;
  --oatmeal: #E9DFD1;
  --white: #FFFFFF;
  --line: #DDD5C8;

  /* Color: status pairs (status only, always with a word) */
  --st-neutral: #4A4F57;  --st-neutral-bg: #EDE8E0;
  --st-progress: #1F4E8C; --st-progress-bg: #E4EEFA;
  --st-due: #7A4A00;      --st-due-bg: #FFF1D6;
  --st-late: #A4261B;     --st-late-bg: #FDE8E6;
  --st-sent: #066672;     --st-sent-bg: #DDF2F3;
  --st-ok: #17663A;       --st-ok-bg: #E0F4E7;

  /* Type */
  --font-head: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;

  /* Spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Radii */
  --r-field: 8px;
  --r-card: 16px;
  --r-pill: 999px;

  --shadow: 0 18px 40px rgba(20, 43, 69, 0.10);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--deep-teal); }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--white); }

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: var(--s3) var(--s4); border-radius: var(--r-field);
}
.skip:focus { top: var(--s4); color: var(--white); }

.sprite { position: absolute; } /* build change: was an inline style, which the site's security policy blocks */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.band-oat { background: var(--oatmeal); }
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-navy { background: var(--navy); color: var(--white); }

/* Type styles */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--s4); }
.band-oat .eyebrow { color: var(--navy); }
h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; }
.lead { font-size: 18px; color: var(--slate); max-width: 680px; margin-top: var(--s4); }
.band-oat .lead { color: var(--navy); }
.band-navy .lead { color: var(--sky); }
.muted { color: var(--slate); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  border: 1.5px solid var(--teal); background: var(--teal); color: var(--white);
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--deep-teal); border-color: var(--deep-teal); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--deep-teal); color: var(--deep-teal); }
.btn-ghost:hover { background: var(--sky); color: var(--deep-teal); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--navy); }
.wordmark span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: var(--s6); }
.nav-links { display: flex; align-items: center; gap: var(--s6); }
.nav-links a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; padding: var(--s3) 0; }
.nav-links a:hover { color: var(--deep-teal); }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-field); color: var(--navy); cursor: pointer;
}

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s7); }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero-preview { flex: 1 1 440px; min-width: 0; }
.hero .support { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--deep-teal); margin-top: 18px; }
.hero .sub { font-size: 19px; color: var(--slate); max-width: 540px; margin-top: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: 30px; }
.hero .note { font-size: 14px; color: var(--slate); margin-top: var(--s4); }

/* Cards and grids */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--slate); }
.icon { width: 28px; height: 28px; color: var(--teal); margin-bottom: var(--s3); display: block; }

/* Chips (status and stage labels) */
.chip { display: inline-block; flex-shrink: 0; font-size: 13px; font-weight: 600; line-height: 1.4; padding: 3px 12px; border-radius: var(--r-pill); white-space: nowrap; background: var(--st-neutral-bg); color: var(--st-neutral); }
.chip.progress { background: var(--st-progress-bg); color: var(--st-progress); }
.chip.due { background: var(--st-due-bg); color: var(--st-due); }
.chip.late { background: var(--st-late-bg); color: var(--st-late); }
.chip.sent { background: var(--st-sent-bg); color: var(--st-sent); }
.chip.ok { background: var(--st-ok-bg); color: var(--st-ok); }
.stage { margin-bottom: var(--s3); }

/* Problem list */
.problem { display: flex; flex-wrap: wrap; gap: var(--s7); }
.problem > div { flex: 1 1 320px; min-width: 0; }
.problem-list { flex: 1.4 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 32px; }
.problem-list h3 { font-size: 18px; margin-bottom: 6px; }
.problem-list p { color: var(--slate); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s4); margin-top: 40px; counter-reset: step; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); counter-increment: step; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--teal); color: var(--white);
  font: 800 18px/1 var(--font-head); margin-bottom: var(--s4);
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--slate); }
.callout { margin-top: 20px; background: var(--sky); border-radius: var(--r-card); padding: var(--s5) 28px; }
.callout h3 { font-size: 18px; margin-bottom: 6px; }

/* Interface previews */
.ui { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: 14px; line-height: 1.45; }
.ui.lift { box-shadow: var(--shadow); }
.ui-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ui-title { font: 700 16px/1.3 var(--font-head); }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 13px 20px; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row > div { min-width: 0; }
.ui-row strong { display: block; font-weight: 600; font-size: 15px; }
.ui-row small { display: block; font-size: 13px; color: var(--slate); }
.ui-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.ui-stats div { padding: 14px 12px 14px 20px; border-right: 1px solid var(--line); }
.ui-stats div:last-child { border-right: 0; }
.ui-stats b { display: block; font: 800 24px/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.ui-stats span { font-size: 12px; color: var(--slate); }
.ui-foot { padding: 12px 20px; background: var(--ivory); border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); }
.check { width: 22px; height: 22px; flex-shrink: 0; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); color: transparent; }
.check.done { background: var(--teal); border-color: var(--teal); color: var(--white); }
.check svg { width: 12px; height: 12px; }
.ui-row.task { justify-content: flex-start; }
.preview-caption { margin-top: var(--s4); font-size: 14px; color: var(--slate); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; margin-top: 40px; align-items: start; }

/* Telecom section */
.scope-list li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.scope-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* FAQ */
.faq { max-width: 820px; margin-top: 36px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: var(--s3); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 20px 24px; font: 700 18px/1.35 var(--font-head); border-radius: var(--r-card); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .15s ease; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--slate); max-width: 700px; }

/* Early access */
.access .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.access .wrap > div { flex: 1 1 400px; min-width: 0; }
.access form { flex: 1 1 360px; min-width: 0; }
.access label { display: block; font-size: 14px; font-weight: 600; margin-bottom: var(--s2); }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field-row input {
  flex: 1 1 220px; min-width: 0; height: 50px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-field); background: var(--white); color: var(--navy);
  font: 400 16px var(--font-body);
}
.field-row input[aria-invalid="true"] { border-color: #F3A79F; box-shadow: 0 0 0 3px rgba(164, 38, 27, .35); }
.access .btn { min-height: 50px; }
.form-msg { margin-top: var(--s3); font-size: 15px; padding: var(--s3) var(--s4); border-radius: var(--r-field); }
.form-msg[hidden] { display: none; }
.form-msg.error { background: var(--st-late-bg); color: var(--st-late); }
.form-msg.pending { background: var(--st-due-bg); color: var(--st-due); }
.form-msg.success { background: var(--st-ok-bg); color: var(--st-ok); }
.form-help { margin-top: var(--s3); font-size: 14px; color: var(--sky); }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 36px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); }
.endorse { margin: 2px 0 0 46px; font-size: 13px; color: var(--slate); }
.foot-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: 15px; }
.foot-nav a { color: var(--navy); text-decoration: none; padding: var(--s2) 0; }
.foot-nav a:hover { color: var(--deep-teal); text-decoration: underline; }
.foot-legal { width: 100%; padding-top: var(--s5); border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }

/* Tablet and phone */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: var(--s3) var(--gutter) var(--s5); display: none; flex-direction: column; align-items: stretch; gap: var(--s3); box-shadow: 0 16px 24px rgba(20, 43, 69, .08); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
}
@media (max-width: 480px) {
  .ui-stats { grid-template-columns: repeat(2, 1fr); }
  .ui-stats div:nth-child(2) { border-right: 0; }
  .ui-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-row .btn { flex: 1 1 100%; }
  .card { padding: var(--s5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
