/* Silent Partner AI
   Brand: the logo. Black, electric blue, white. Two hands, almost touching.
   One family (Archivo) used two ways: wide + heavy for display (echoes the
   SILENT PARTNER wordmark), normal width for reading. */

:root {
  --bg: #03050A;
  --bg-2: #07101E;
  --panel: #0B1628;
  --ink: #F3F6FB;
  --muted: #A3AEC0;
  --line: #1A2538;
  --blue: #2F86FF;
  --blue-deep: #1259D6;
  --blue-soft: #8FC0FF;
  --paper: #EEF2F8;
  --paper-ink: #0A1426;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2vw + 1.1rem, 1.875rem);
  --step-3: clamp(2.25rem, 3.5vw + 1rem, 3.75rem);
  --step-4: clamp(2.5rem, 3.6vw + 1.1rem, 4.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
  --section: clamp(4.5rem, 10vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure, ul, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--ink); color: var(--bg);
  padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  font-stretch: 118%;
  font-size: var(--step-4);
  line-height: .98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display-md { font-size: var(--step-3); line-height: 1.02; }
.display-wide { font-stretch: 125%; }
.big {
  font-size: var(--step-2); line-height: 1.3; font-weight: 500;
  letter-spacing: -0.01em; text-wrap: balance;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--blue); color: #fff;
  border: 1.5px solid var(--blue); border-radius: 999px;
  font-weight: 650; font-size: var(--step--1); letter-spacing: .01em;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-small { min-height: 2.6rem; padding: 0 1.2rem; }
.btn-ghost { background: transparent; border-color: #34425A; color: var(--ink); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); }

.text-link {
  font-weight: 650; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--blue);
  text-decoration-thickness: 2px; text-underline-offset: .32em;
}
.text-link:hover { color: var(--blue-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(3, 5, 10, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none;
  font-weight: 800; font-stretch: 120%; letter-spacing: -0.01em; font-size: 1.05rem;
}
.brand img { width: 52px; height: auto; }
.site-header nav { margin-left: auto; }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: var(--step--1); font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); overflow: hidden; }
.hero-grid {
  display: grid; align-items: center; gap: clamp(1rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.lede { margin-top: 1.75rem; max-width: 33em; font-size: var(--step-1); line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

.hero-art { position: relative; justify-self: center; width: min(100%, 560px); }
.hero-art img { position: relative; width: 100%; }
.glow {
  position: absolute; inset: 12% 10% 22%;
  background: radial-gradient(closest-side, rgba(47, 134, 255, .55), rgba(47, 134, 255, 0) 72%);
  filter: blur(30px);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: reveal 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .glow { animation: breathe 2.6s ease-out .3s both; }
}
@keyframes reveal { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0% { opacity: 0; } 55% { opacity: 1; } 100% { opacity: .7; } }

/* ---------- Flagship ---------- */
.flagship {
  background: linear-gradient(var(--bg) 0, var(--bg-2) 18rem);
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.flagship-head {
  display: grid; align-items: center; gap: 2rem clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.contactter-logo {
  width: 100%; max-width: 440px;
  aspect-ratio: 900 / 420; object-fit: cover; object-position: center 52%;
}
.flagship-copy { display: grid; gap: 1.25rem; justify-items: start; }
.flagship-copy p:not(.big) { color: var(--muted); max-width: 36em; }

.portal {
  max-width: 68rem; margin-inline: auto;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-radius: 18px; overflow: hidden;
  border: 1px solid #22314A;
  box-shadow: 0 40px 120px -40px rgba(47, 134, 255, .45);
}

.modules {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  display: grid; gap: 2.75rem 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.module img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.module h3 { margin-top: 1.1rem; font-size: var(--step-1); font-weight: 700; font-stretch: 110%; letter-spacing: -0.01em; }
.module p { margin-top: .35rem; color: var(--muted); font-size: .9688rem; max-width: 30em; }

/* ---------- Carchure ---------- */
.carchure { padding-block: var(--section); background: var(--bg-2); }
.carchure-grid {
  display: grid; align-items: center; gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
.carchure-copy { display: grid; gap: 1.25rem; justify-items: start; }
.carchure-copy p:not(.big) { color: var(--muted); max-width: 34em; }
.carchure-shot { border-radius: 14px; overflow: hidden; border: 1px solid #22314A; background: #fff; }

/* ---------- Story ---------- */
.story {
  position: relative; overflow: hidden;
  padding-block: var(--section);
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(47, 134, 255, .16), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.story-intro { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); max-width: 34em; }
.pillars {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
}
.pillar { border-top: 2px solid var(--blue); padding-top: 1.5rem; }
.pillar dt { font-size: var(--step-2); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; }
.pillar dd { margin-top: .75rem; color: var(--muted); }

/* ---------- Testimonial ---------- */
.voice { padding-block: var(--section); background: var(--bg-2); }
.voice-grid {
  display: grid; align-items: center; gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.voice-video video { width: 100%; border-radius: 14px; background: #000; aspect-ratio: 16 / 9; }
.voice-quote blockquote p {
  font-size: var(--step-2); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em;
}
.voice-quote figcaption { margin-top: 1.5rem; display: grid; gap: .1rem; }
.voice-quote figcaption strong { font-weight: 700; }
.voice-quote figcaption span { color: var(--muted); font-size: var(--step--1); }

/* ---------- Integrations ---------- */
.integrations { background: var(--bg); border-block: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.integrations-title { font-size: var(--step-0); font-weight: 500; color: var(--muted); text-align: center; }
.logos {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.75rem clamp(1.75rem, 4vw, 3.25rem);
}
.logos img {
  height: 30px; width: auto; max-width: 140px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .62;
  transition: opacity .2s ease;
}
.logos li:hover img { opacity: 1; }

/* ---------- Contact ---------- */
.contact {
  padding-block: var(--section);
  background:
    radial-gradient(50rem 26rem at 15% 100%, rgba(47, 134, 255, .22), transparent 70%),
    var(--bg);
}
.contact-grid {
  display: grid; align-items: end; gap: 2rem clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
}
.contact-body { display: grid; gap: 1.5rem; justify-items: start; }
.contact-lines { display: grid; gap: .35rem; font-size: var(--step-1); }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--blue-soft); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; color: var(--muted); font-size: var(--step--1); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .flagship-head, .carchure-grid, .voice-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(78%, 420px); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { align-items: start; }
}
@media (max-width: 640px) {
  .site-header nav { display: none; }
  .header-row { justify-content: space-between; }
  .brand span { display: none; }
  .modules { grid-template-columns: 1fr; }
  .logos img { height: 24px; }
}
