/* Symmetry Cyber and AI Consulting LLC — site styles
   Tokens ------------------------------------------------------------ */
:root {
  --bg: #08101F;
  --bg-2: #0D1830;
  --bg-3: #121F3D;
  --line: #24325A;
  --line-strong: #35478A;
  --blue: #2F80FF;
  --blue-soft: #7FB2FF;
  --silver: #C9D1DE;
  --white: #F5F7FB;
  --muted: #94A0B8;
  --danger: #FF7A7A;
  --ok: #6FE0A8;
  --font: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Inter, Roboto, system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.8vw, 4.4rem);
}

/* Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--silver);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--white); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--blue-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--white); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--blue); color: #fff; padding: 10px 14px; border-radius: var(--radius);
  z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.section-intro { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-intro p { font-size: var(--step-1); color: var(--silver); }

/* Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s, border-color .18s, color .18s;
  line-height: 1.2;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #4C92FF; color: #fff; }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--silver); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 16, 31, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--silver); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--blue); }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--white);
  border-radius: var(--radius); padding: 8px 10px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 140px) clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.tagline { color: var(--blue-soft); font-weight: 600; font-size: var(--step-1); margin-bottom: 20px; letter-spacing: -0.01em; }
.hero p.lead { font-size: var(--step-1); color: var(--silver); margin: 24px 0 36px; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure { position: relative; }
.hero-figure img { width: min(100%, 520px); height: auto; margin-inline: auto; filter: drop-shadow(0 0 40px rgba(47,128,255,.25)); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(47,128,255,.16), transparent 70%),
    linear-gradient(180deg, transparent, var(--bg));
}
.hero .wrap { position: relative; }

/* Pillars ---------------------------------------------------------- */
.pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.pillars::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 27px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--blue), var(--line-strong));
}
.pillar { position: relative; padding-top: 72px; }
.pillar-icon {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--silver);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-security .pillar-icon { border-color: var(--blue); color: var(--blue-soft); box-shadow: 0 0 0 6px rgba(47,128,255,.12); }
.pillar h3 { font-size: var(--step-2); }
.pillar-security h3 { color: var(--blue); }
.pillar-words { font-size: var(--step-2); font-weight: 700; color: var(--white); letter-spacing: .02em; margin-bottom: 40px; display: flex; flex-wrap: wrap; align-items: baseline; }
.pillar-words .accent { color: var(--blue); }
.pillar-words .sep { color: var(--line-strong); margin: 0 .3em; }

/* Services --------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service {
  grid-column: span 2; background: var(--bg-2); border: 1px solid var(--line);
  border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 28px 26px 22px;
  display: flex; flex-direction: column;
}
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service-icon { width: 34px; height: 34px; color: var(--blue-soft); margin-bottom: 18px; }
.service p { color: var(--silver); }
.service ul { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); columns: 1; }
.service:nth-child(4) ul, .service:nth-child(5) ul { columns: 2; column-gap: 24px; }
.service li { position: relative; padding-left: 16px; font-size: .95rem; color: var(--muted); line-height: 1.5; margin: 6px 0; break-inside: avoid; }
.service li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Government ------------------------------------------------------- */
.gov { background: var(--bg-2); }
.gov-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.markets { display: flex; flex-wrap: wrap; gap: 6px 12px; font-weight: 700; color: var(--white); font-size: var(--step-0); margin: 20px 0 28px; }
.markets span + span::before { content: "|"; color: var(--blue); margin-right: 12px; }
.cap-list { border-left: 2px solid var(--blue); padding-left: 24px; }
.cap-list li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--silver); }
.cap-list li:last-child { border-bottom: 0; }
.cap-note { font-size: .92rem; color: var(--muted); margin-top: 16px; }

/* Why -------------------------------------------------------------- */
.diff { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.diff li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--white); font-weight: 500; }
.diff li svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }

/* About ------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); }
.founder-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.founder-card .name { font-size: var(--step-1); font-weight: 700; color: var(--white); margin: 0 0 4px; }
.founder-card .role { color: var(--muted); margin: 0 0 18px; }
.founder-card dl { margin: 0; display: grid; gap: 12px; }
.founder-card dt { font-size: .8rem; color: var(--muted); }
.founder-card dd { margin: 0; color: var(--silver); }
.about-note { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; color: var(--muted); margin-top: 28px; }

/* Contact ---------------------------------------------------------- */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); }
.contact-aside p { color: var(--silver); }
.contact-aside .email { font-size: var(--step-1); font-weight: 600; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.two { grid-template-columns: 1fr 1fr; gap: 18px; }
.field.two > div { display: grid; gap: 6px; }
label { color: var(--white); font-weight: 600; font-size: .95rem; }
label .opt { color: var(--muted); font-weight: 400; }
input, textarea {
  width: 100%; background: var(--bg); color: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 12px 14px; font: inherit;
}
input:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(47,128,255,.35); outline-offset: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
textarea { min-height: 150px; resize: vertical; }
.help { font-size: .85rem; color: var(--muted); }
.error { font-size: .9rem; color: var(--danger); min-height: 1.2em; }
.warning {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  background: rgba(255,122,122,.08); border: 1px solid rgba(255,122,122,.45);
  border-radius: var(--radius); padding: 14px 16px; color: var(--white); font-weight: 600; font-size: .95rem;
}
.warning svg { width: 22px; height: 22px; color: var(--danger); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); color: var(--white); }
.form-status[data-state="success"] { border-color: var(--ok); background: rgba(111,224,168,.08); }
.form-status[data-state="error"] { border-color: var(--danger); background: rgba(255,122,122,.08); }
.form-status[hidden] { display: none; }

/* Footer ----------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { font-size: .95rem; margin-bottom: 12px; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--silver); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }

/* Legal pages ------------------------------------------------------ */
.page { padding-block: clamp(56px, 8vw, 100px); }
.page .wrap { max-width: 760px; }
.page h2 { font-size: var(--step-2); margin-top: 2.2em; }
.page li { list-style: disc; margin-left: 1.3em; margin-bottom: .4em; }
.page ul { margin-bottom: 1em; }
.review-banner {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 12px 16px;
  color: var(--muted); font-size: .9rem; margin-bottom: 32px;
}
.meta { color: var(--muted); font-size: .9rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: var(--step-4); color: var(--blue); font-weight: 700; letter-spacing: -0.03em; }

/* Motion ----------------------------------------------------------- */
.hero-figure img { animation: rise .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-figure img { animation: none; }
}

/* Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .gov-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 360px; margin-inline: auto; }
  .founder-card { position: static; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .service:nth-child(4) ul, .service:nth-child(5) ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-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(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .pillars { grid-template-columns: 1fr; }
  .pillars::before { display: none; }
  .pillar-words { font-size: var(--step-1); }
  .services { grid-template-columns: 1fr; }
  .diff { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* CSP-friendly helpers (no inline styles) */
.ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.lead-copy { font-size: var(--step-1); }
.footer-tag { margin-top: 16px; }
.notfound p { margin-inline: auto; }

.footer-logo img { width: 320px; max-width: 100%; height: auto; margin-left: -12px; }
.footer-company { color: var(--white); font-weight: 600; margin: 8px 0 4px; }
