/* Suitor Systems: shared design system */

:root {
  --black: #1A1A1A;
  --black-soft: #2A2A2A;
  --red: #E30303;
  --red-dark: #C00000;
  --white: #FFFFFF;
  --bg-light: #FAFAFA;
  --off-white: #F8F8F8;
  --border: #E8E8E8;
  --text-gray: #555555;
  --text-muted: #888888;
  --text-faint: #AAAAAA;
  --max-width: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--black);
}

.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  transition: color 0.15s;
}

.site-nav a:not(.btn):hover { color: var(--red); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}

.btn-sm { padding: 10px 22px; font-size: 14px; }

.btn-red { background: var(--red); color: var(--white); border: 2px solid var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }

.btn-dark { background: var(--black); color: var(--white); border: 2px solid var(--black); }
.btn-dark:hover { background: var(--black-soft); border-color: var(--black-soft); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--red); color: var(--red); }

/* ---------- Sections / Type ---------- */

section { padding: 96px 0; }

.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--bg-light); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h3 { font-size: 20px; font-weight: 800; line-height: 1.3; }

p { color: var(--text-gray); font-size: 17px; line-height: 1.75; }

.lede { font-size: 19px; color: var(--text-muted); max-width: 560px; }

.section-dark p, .section-dark .lede { color: var(--text-muted); }
.section-dark h2, .section-dark h1, .section-dark h3 { color: var(--white); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 88px 24px 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  font-size: 14px;
  color: var(--text-faint);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.hero-ctas .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  min-height: 64px;
  padding: 14px 20px;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; max-width: 320px; }
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.card-dark {
  background: var(--black-soft);
  border-radius: 16px;
  padding: 32px;
}

.pyramid-level {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.pyramid-level .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  width: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pyramid-level h3 { margin-bottom: 4px; }
.pyramid-level p { font-size: 15px; margin: 0; }

.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.doc-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  background: #FFF2F2;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Brand story blocks ---------- */

.story-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.story-block:last-child { border-bottom: none; }

.story-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
}

.story-block p { margin-bottom: 16px; color: var(--black); }
.story-block p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .story-block { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Forms ---------- */

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--red); }

.form-input-dark {
  background: var(--black-soft);
  border: 2px solid #333333;
  color: var(--white);
}

.form-input-dark::placeholder { color: #666666; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--text-faint);
  padding: 56px 0 40px;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.logo-footer { color: var(--white); }

.footer-tagline { color: var(--text-muted); font-size: 15px; max-width: 420px; }

.footer-meta { font-size: 13px; color: #555555; }

/* ---------- Comparison table ---------- */

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  vertical-align: top;
  color: var(--text-gray);
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  padding-bottom: 20px;
}

.compare-table tbody th {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}

.compare-table .col-featured {
  background: #FFF8F6;
  border-left: 2px solid var(--red);
  border-right: 2px solid var(--red);
}

.compare-table tr:last-child td,
.compare-table tr:last-child th { border-bottom: none; }

.compare-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  display: block;
  margin-top: 22px;
  letter-spacing: 0;
  line-height: 1;
}

.compare-scroll-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

@media (min-width: 861px) { .compare-scroll-hint { display: none; } }

/* ---------- Proof line ---------- */

.proof-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.proof-line .logo-dot { margin-top: 6px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  position: relative;
  transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--red); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}

.faq-item[open] summary::after { content: "\2013"; }

.faq-item .faq-answer { padding: 0 40px 24px 0; }

.faq-item .faq-answer p { font-size: 16px; }

.faq-item .faq-answer p + p { margin-top: 12px; }

.section-dark .faq-item { border-bottom-color: #333333; }
.section-dark .faq-item summary { color: var(--white); }

/* ---------- Skip link (a11y) ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

/* ---------- Utility ---------- */

/* Visually hidden but readable by screen readers */
.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;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }
