/* ==========================================================================
   ShadowQS — Home page (index.html)

   Page-level rules only: reset, typography and every section of the home
   page, top to bottom. The design tokens and the shared chrome (nav +
   footer) live in global.css, which index.html loads first.

   Component media queries sit with their component; the page-wide one is at
   the foot of the file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 750; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* --------------------------------------------------------------------------
   Layout + shared bits
   -------------------------------------------------------------------------- */
section { padding: 78px 0; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p.sub { margin-top: 14px; color: var(--grey); font-size: 17px; }

.kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 750;
  font-size: 16px;
  text-decoration: none;
  transition: background .15s ease;
}

.button:hover { background: var(--blue-dark); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 84px 0 80px;
}

.hero .wrap { max-width: 840px; text-align: center; }
.hero h1 .accent { color: var(--blue); display: block; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-chips span {
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--grey-light);
  border-radius: 24px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 700;
}

.hero-note { margin-top: 16px; color: var(--grey-light); font-size: 13px; }

/* --------------------------------------------------------------------------
   Pitch band — what it does, in one line
   -------------------------------------------------------------------------- */
.pitch { padding: 54px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.pitch .wrap { max-width: 880px; text-align: center; }
.pitch p { font-size: clamp(18px, 2.3vw, 23px); font-weight: 700; line-height: 1.6; }
.pitch em { font-style: normal; color: var(--blue); }

/* --------------------------------------------------------------------------
   Problem — wall of asks
   -------------------------------------------------------------------------- */
.problem { background: var(--white); }

.asks { max-width: 660px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.ask { max-width: 82%; padding: 14px 20px; border-radius: 18px; }
.ask h3 { font-size: 16px; font-weight: 700; line-height: 1.45; }
.ask:nth-child(odd) {
  align-self: flex-start;
  background: var(--off);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.ask:nth-child(even) {
  align-self: flex-end;
  background: #eaf2ff;
  border: 1px solid #cfe0fb;
  border-bottom-right-radius: 4px;
}
.ask:nth-child(even) h3 { color: #1c4d9e; }

@media (max-width: 600px) {
  .ask { max-width: 94%; }
}

/* --------------------------------------------------------------------------
   What it is — one record, one step to connect
   -------------------------------------------------------------------------- */
.what { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.what .section-head { margin-bottom: 36px; }

.connect-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: 14px;
  padding: 26px 30px;
  box-shadow: 0 14px 40px rgba(13, 27, 46, .18);
}
.connect-banner b { display: block; color: var(--white); font-size: 19px; font-weight: 800; }
.connect-banner span { display: block; margin-top: 5px; color: var(--grey-light); font-size: 13.5px; }

.ms-badge {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  border-radius: 24px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.ms-badge img { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 8px; }

/* --------------------------------------------------------------------------
   How you use it — ask any time / Monday briefing
   -------------------------------------------------------------------------- */
.ways { background: var(--white); }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }

.way { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.way-demo { padding: 24px 26px 26px; }

.mini-mail {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--off);
  font-size: 13.5px;
  overflow: hidden;
}
.mini-mail .m-head {
  display: flex;
  justify-content: space-between;
  padding: 11px 15px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mini-mail .m-head b { font-weight: 800; }
.mini-mail .m-head span { color: var(--grey); font-size: 12px; }

.m-item { padding: 12px 15px; border-bottom: 1px solid var(--line); }
.m-item:last-child { border-bottom: none; }
.m-item b { display: block; font-size: 13px; }
.m-item b.open { color: var(--amber); }
.m-item b.done { color: var(--green); }
.m-item p { margin-top: 3px; color: var(--grey); font-size: 12.5px; line-height: 1.55; }

.way-note { margin-top: 14px; color: var(--grey); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 860px) {
  .ways-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   What you get (v37)
   -------------------------------------------------------------------------- */
.youget { background: var(--white); border-bottom: 1px solid var(--line); }
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.get { padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.get b { display: block; font-size: 16px; font-weight: 800; color: var(--navy); }
.get p { margin-top: 6px; color: var(--grey); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 860px) {
  .gets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gets { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   The ones that never reached you (v37)
   -------------------------------------------------------------------------- */
.noton { background: var(--navy); color: var(--white); }
.noton .kicker { color: var(--blue); }
.noton-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
  gap: 60px;
  align-items: center;
}
.noton-copy > p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 16.5px; }
.noton-copy p.noton-rule {
  margin-top: 22px;
  padding: 13px 18px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, .06);
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
}
.noton-card {
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.nc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--line);
}
.nc-head small { display: block; color: var(--blue); font-weight: 800; font-size: 11px; letter-spacing: .1em; }
.nc-head h3 { margin-top: 4px; font-size: 19px; }
.nc-head span { color: var(--amber); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.nc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.nc-row > div { min-width: 0; }
.nc-row b { display: block; font-size: 14px; }
.nc-row p { margin-top: 2px; color: var(--grey); font-size: 13px; line-height: 1.5; }
.nc-row .tag {
  flex: none;
  margin-top: 2px;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  color: var(--grey);
  white-space: nowrap;
}
.nc-row .src { display: inline-block; margin-top: 5px; color: var(--grey-light); font-size: 11.5px; font-weight: 700; }
.nc-foot { padding: 13px 24px; font-size: 12.5px; color: var(--grey); }

@media (max-width: 860px) {
  .noton-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   The Project Vault
   -------------------------------------------------------------------------- */
.vault { background: var(--off); border-top: 1px solid var(--line); }

.vault-mock {
  display: grid;
  grid-template-columns: 190px 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(13, 27, 46, .07);
}

.vault-side { background: var(--off); border-right: 1px solid var(--line); padding: 14px 0; }
.vault-side .vs-title {
  padding: 0 16px 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 700;
}
.vault-side .vs-title--spaced { padding-top: 14px; }
.vault-side .vs-item { display: flex; align-items: center; gap: 9px; padding: 7px 16px; color: var(--navy); }
.vault-side .vs-item.on { background: #e8f0fe; color: var(--blue); font-weight: 700; }
.vault-side .vs-item::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23636e7d" stroke-width="2" stroke-linejoin="round"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>') no-repeat center/contain;
}
.vault-side .vs-item.on::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232f7cf6" stroke-width="2" stroke-linejoin="round"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>');
}

.vault-tabs { display: flex; gap: 18px; padding: 12px 18px 0; border-bottom: 1px solid var(--line); }
.vault-tabs b { padding-bottom: 10px; font-weight: 700; color: var(--grey); font-size: 13px; }
.vault-tabs b.on { color: var(--blue); border-bottom: 2px solid var(--blue); }

.vault-filter { padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--grey); font-size: 12.5px; }
.vault-filter em {
  font-style: normal;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 700;
}

.vault-row { display: flex; gap: 10px; align-items: baseline; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.vault-row:last-child { border-bottom: none; }
.vault-row b { white-space: nowrap; font-size: 13px; }
.vault-row p {
  color: var(--grey);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin: 0;
}
.vault-row .tag {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1px 9px;
  font-size: 11px;
  color: var(--grey);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .vault-mock { grid-template-columns: 1fr; }
  .vault-side { display: flex; flex-wrap: wrap; gap: 2px; border-right: none; border-bottom: 1px solid var(--line); }
  .vault-side .vs-title { width: 100%; }
  .vault-row p { display: none; }
}

/* --------------------------------------------------------------------------
   Pull quote
   -------------------------------------------------------------------------- */
.quote { padding: 56px 0; background: var(--white); border-top: 1px solid var(--line); }
.quote .wrap { max-width: 820px; text-align: center; }
.quote blockquote { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; line-height: 1.5; }
.quote cite { display: block; margin-top: 14px; color: var(--grey); font-style: normal; font-size: 14px; font-weight: 700; }

/* --------------------------------------------------------------------------
   The record — timeline
   -------------------------------------------------------------------------- */
.record { background: var(--navy); color: var(--white); }
.record .kicker { color: var(--blue); }
.record-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr); gap: 60px; align-items: center; }
.record-copy > p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 16.5px; }
.record-copy .example {
  margin-top: 22px;
  padding: 15px 18px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, .06);
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
}

.timeline {
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  padding: 26px 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tl-head small { display: block; color: var(--blue); font-weight: 800; font-size: 11px; letter-spacing: .1em; }
.tl-head h3 { margin-top: 4px; font-size: 19px; }
.tl-head span { color: var(--grey); font-size: 12px; white-space: nowrap; }

.ev,
.gap { display: grid; grid-template-columns: 54px 12px 1fr; gap: 12px; padding-bottom: 18px; }
.ev:last-of-type { padding-bottom: 0; }
.ev time { color: var(--grey); font-size: 11px; font-weight: 800; padding-top: 3px; line-height: 1.35; }
.ev time b { display: block; color: var(--navy); font-size: 12px; }
.ev b { font-size: 14px; }
.ev p { margin-top: 2px; color: var(--grey); font-size: 13px; }
.ev .src { display: inline-block; margin-top: 5px; color: var(--grey-light); font-size: 11.5px; font-weight: 700; }
.ev .src .src-flag { color: var(--amber); }

.gap .dot::before { background: var(--line); }
.gap span.lbl {
  align-self: center;
  color: var(--grey-light);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dot { position: relative; }
.dot::before { content: ""; position: absolute; top: 5px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dot::after { content: ""; position: absolute; top: 16px; bottom: -8px; left: 6.5px; width: 1.5px; background: var(--line); }
.ev:last-of-type .dot::after { display: none; }

.tl-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12.5px; }
.tl-foot span { color: var(--grey); }

@media (max-width: 860px) {
  .record-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Case study
   -------------------------------------------------------------------------- */
.case { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.case .wrap { max-width: 860px; }
.case h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
.case p:not(.kicker) { margin-top: 12px; color: var(--grey); font-size: 16px; }
.case cite { display: block; margin-top: 12px; color: var(--grey); font-style: normal; font-size: 13.5px; font-weight: 700; }

/* --------------------------------------------------------------------------
   What it's worth
   -------------------------------------------------------------------------- */
.money { background: var(--white); }
.money-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.money-card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; }
.money-card b.amt { display: block; color: var(--blue); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.money-card h3 { margin-top: 8px; font-size: 16.5px; }
.money-card p { margin-top: 8px; color: var(--grey); font-size: 14.5px; }
.money-line { margin-top: 30px; max-width: 760px; color: var(--ink); font-size: 16.5px; font-weight: 650; }

@media (max-width: 860px) {
  .money-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
}
.final h2 { max-width: 700px; margin: 0 auto; }
.final p { max-width: 560px; margin: 18px auto 32px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.final .hero-note { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Page-wide responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
}
