/* ExactMark — Product marketing & launch teams
   Light, bold. Electric blue accent, 2px borders, centred hero, wide visual. */

/* ---------- Tokens ---------- */
:root {
  --bg: #f5f7ff;
  --surface: #ffffff;
  --text: #0e1230;
  --muted: #5b6080;
  --line: #dfe3f5;
  --accent: #2f4bff;
  --accent-deep: #2137d9;
  --accent-soft: rgba(47, 75, 255, .12);
  --yellow: #ffd166;
  --radius: 10px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--accent-soft); padding: 2px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
section { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
  transition: background .18s, color .18s, transform .18s, border-color .18s;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link-light { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 2px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}
.brand img { width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.btn) { color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
.site-nav > a:not(.btn):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-copy { text-align: center; max-width: 960px; }
.eyebrow {
  display: inline-block; margin: 0 0 20px; color: var(--accent);
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
h1 { font-size: clamp(42px, 7vw, 84px); letter-spacing: -.035em; line-height: 1; }
.lede { max-width: 780px; margin: 28px auto 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; }
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Hero visual ---------- */
.launch-visual {
  margin-top: 64px; border: 2px solid var(--line); border-radius: 16px;
  background: var(--surface); overflow: hidden;
}
.calendar-bar {
  display: flex; align-items: center; gap: 28px; padding: 16px 24px;
  border-bottom: 2px solid var(--line); background: var(--bg);
}
.cal-title { font-family: var(--font-head); font-weight: 800; font-size: 15px; white-space: nowrap; }
.cal-track {
  display: flex;
  flex: 1;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.cal-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--line);
}
.cal-track li { position: relative; display: grid; gap: 4px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.cal-track li i {
  position: absolute;
  top: 2px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
}
.cal-track li span { font-weight: 600; color: var(--text); }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.chip-yellow { background: var(--yellow); color: var(--text); }

.visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.25fr; gap: 20px; padding: 28px 24px; }
.copy-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.copy-card.is-match { border-color: var(--accent); }
.copy-card.is-match::after {
  content: "Matched"; position: absolute; top: -12px; right: 14px;
  padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.shot { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.shot-a { background: linear-gradient(145deg, #dfe6ff, #b7c4ff); }
.shot-b { background: linear-gradient(145deg, #0e1230, #2f4bff); }
.shot-c { background: linear-gradient(145deg, #ffe9b3, #ffd166); }
.shot i {
  position: absolute; left: 22%; right: 22%; top: 18%; bottom: 18%;
  border-radius: 40% 40% 12px 12px; background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 -14px 0 rgba(14, 18, 48, .12);
}
.shot-b i { background: rgba(255, 255, 255, .22); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(14, 18, 48, .35) .8px, transparent 1.2px);
  background-size: 14px 14px; opacity: .22; animation: signalDrift 12s linear infinite;
}
.shot-b::after { background-image: radial-gradient(circle, rgba(255, 255, 255, .6) .8px, transparent 1.2px); }
.copy-meta { display: grid; gap: 2px; }
.copy-meta strong { font-family: var(--font-head); font-size: 16px; }
.copy-meta span { color: var(--muted); font-size: 13px; }
.copy-tag {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}

.match-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.match-card header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.match-label { color: var(--muted); font-size: 13px; }
.match-value { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.1; }
.match-score { color: var(--text); font-size: 14px; }
.match-score b { font-family: var(--font-head); font-size: 24px; color: var(--accent); }
.rank { display: grid; gap: 8px; margin: 8px 0 0; padding: 12px 0 0; list-style: none; border-top: 2px solid var(--line); }
.rank li { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.rank li i { position: relative; height: 8px; border-radius: 4px; background: var(--accent-soft); overflow: hidden; }
.rank li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0); border-radius: 4px; background: var(--accent); }
.rank li:first-child i::after { --w: 91%; background: var(--yellow); }
.rank li:nth-child(2) i::after { --w: 12%; }
.rank li:nth-child(3) i::after { --w: 7%; }
.rank li b { text-align: right; color: var(--text); }

@keyframes signalDrift { to { background-position: 14px 14px; } }

/* ---------- Value strip ---------- */
.value-strip { padding: 0 0 72px; }
.value-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.value-strip li { display: grid; gap: 6px; padding: 22px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.value-strip strong { font-family: var(--font-head); font-size: 17px; }
.value-strip span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Problem / Solution ---------- */
.problem { background: var(--surface); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.problem-grid p + p, .problem h2 + p, .solution-panel h3 + p { margin-top: 18px; }
.problem-grid > div > p { color: var(--muted); font-size: 17px; }
.solution-panel { padding: 36px; border: 2px solid var(--accent); border-radius: 16px; background: var(--bg); }
.solution-panel h3 { font-size: 28px; }
.solution-panel p { color: var(--text); font-size: 16px; }
.solution-panel .text-link { display: inline-block; margin-top: 22px; }

/* ---------- How it works ---------- */
.how h2 { max-width: 720px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Capabilities ---------- */
.capabilities { background: var(--surface); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.capabilities h2 { max-width: 760px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.cap-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .18s;
}
.cap-card:hover { border-color: var(--accent); }
.cap-card h3 { padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.2; }
.cap-card p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 16px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 17px; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 20px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta-band { position: relative; padding: 110px 0; background: var(--text); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: -20% -10% -20% 30%;
  background: linear-gradient(115deg, var(--accent) 0%, rgba(47, 75, 255, .55) 45%, transparent 80%);
  transform: skewX(-12deg); pointer-events: none;
}
.cta-inner { position: relative; max-width: 760px; text-align: center; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 54px); }
.cta-band p { margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--text); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--yellow); border-color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; border-top: 2px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.tagline { text-align: center; color: var(--muted); font-size: 14px; font-weight: 500; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  section { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .visual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-card { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .match-card header, .match-card .rank { grid-column: 1 / -1; }
  .cal-track li small { display: none; }
  .value-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid, .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .tagline { display: none; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  section { padding: 56px 0; }
  .header-inner { height: 64px; }
  .site-nav { gap: 14px; }
  .site-nav > a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  h1 { font-size: clamp(36px, 11vw, 48px); letter-spacing: -.03em; }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .launch-visual { margin-top: 40px; }
  .calendar-bar { flex-wrap: wrap; gap: 14px; }
  .cal-track { flex-basis: 100%; order: 3; }
  .visual-grid { grid-template-columns: 1fr; padding: 18px 16px; }
  .copy-card { grid-template-columns: 96px 1fr; align-items: center; }
  .copy-card .copy-tag { grid-column: 2; }
  .match-card { grid-template-columns: 1fr; }
  .value-strip ul, .cap-grid { grid-template-columns: 1fr; }
  .solution-panel { padding: 24px; }
  .solution-panel h3 { font-size: 24px; }
  .cta-band { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
}

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