/* ============================================================
   martora — public landing
   Extends profile.css (vars, topbar, labels, pills, score bar)
   ============================================================ */

.pill--light { background: #fff; color: var(--ink); text-decoration: none; }
.pill--light:hover { background: #eceef2; }

/* ---------------- hero ---------------- */

.lhero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px 48px;
  padding: 44px 0 30px;
}

/* the stats strip spans both columns so that on a phone it lands *after* the
   live demo instead of pushing it below the fold */
.lhero__stats {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.lhero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}

.lhero__sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
}

/* the whole product in three lines, above the fold, before any jargon */
.promise {
  list-style: none;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
}
.promise li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.promise li b {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
}

.lhero__actions {
  display: flex;
  gap: 10px;
  margin: 26px 0 0;
  flex-wrap: wrap;
}

.lhero__why {
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--green);
}
.lhero__why:hover { background: #f6fce9; }

.lhero__note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 12px;
}

.lhero__stats { display: flex; gap: 46px; }

.stat__value {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.01em;
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stat__live {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

/* watercolor + inbox alert mock */

.lhero__visual {
  position: relative;
  min-height: 380px;
}

.lhero__visual .blob {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  background: var(--c);
  filter: blur(calc(var(--s) / 9));
  opacity: 0.6;
  mix-blend-mode: multiply;
}
.lhero__visual .blob--ring::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1.5px dashed var(--c);
  opacity: 0.85;
}

/* ---------------- hero coverage demo ---------------- */

.cvdemo {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -28px rgba(23, 24, 28, 0.4);
  padding: 20px 22px 22px;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cvdemo__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cvdemo__head .label { color: var(--ink-faint); }

.cvdemo__total {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cvdemo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* the amount row is a single choice, so the chips read as one control */
.cvdemo__chips--cap .cvchip { font-variant-numeric: tabular-nums; }

.cvchip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed #c3c7d1;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  transition: all 0.12s ease;
}
.cvchip b { font-weight: 500; }
.cvchip:hover { border-color: var(--ink); color: var(--ink); }
.cvchip--on {
  border-style: solid;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* the widget asks the same three questions the setup page does, in the same
   order and the same words — so arriving at step 4 feels like a repeat, not a
   new interface */
.cvdemo__q {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: -4px;
}

.cvdemo__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cvdemo__row .cvdemo__q { margin-bottom: 0; }
.cvdemo__row .label { color: var(--ink-faint); }
.cvdemo__row .input {
  width: 120px;
  padding: 9px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  text-align: right;
}

.cvdemo__out {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  transition: opacity 0.2s ease;
}
.cvdemo__out--busy { opacity: 0.5; }
.cvdemo__out .label { color: var(--ink-faint); line-height: 1.5; }

.cvdemo__prob {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.cvdemo__meter {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: #f1f2f5;
}
.cvdemo__meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--buy);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cvdemo--low .cvdemo__meter i { background: var(--sell); }
.cvdemo--mid .cvdemo__meter i { background: #e9a020; }

.cvdemo__ceiling {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 18px;
  background: var(--ink);
  border-radius: 2px;
}

.cvdemo__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 12px;
  min-height: 3.2em;
}

.cvdemo__cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--green);
}
.cvdemo__cta:hover { border-bottom-color: var(--ink); }

.alert-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 50px -24px rgba(23, 24, 28, 0.35);
  padding: 18px 20px;
  max-width: 360px;
  margin: 0 auto;
}

.alert-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.alert-card__time {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.alert-card__title { font-size: 14.5px; font-weight: 600; }

.alert-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 5px;
}

.alert-card__verdict {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}
.alert-card__verdict .label { font-size: 9.5px; color: var(--ink-faint); }
.alert-card__verdict p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 5px;
}

.alert-card--ghost {
  max-width: 300px;
  margin: 14px auto 0 12%;
  opacity: 0.65;
  box-shadow: 0 14px 30px -18px rgba(23, 24, 28, 0.3);
}

/* ---------------- coverage plan section ---------------- */

.cvsteps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.cvstep {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
}

.cvstep__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.cvstep__title { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.cvstep__body { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

.honesty {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 24px 26px;
}
.honesty__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 20px;
}
.honesty__title { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.honesty__body { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); max-width: 780px; }

/* the pill strip is still the opener on /about, where the six steps are then
   told at length; the home page uses .chainline below instead */
.chainstrip {
  list-style: none;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 6px;
}
.chainstrip li {
  display: flex;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
}
.chainstrip li:not(:last-child)::after {
  content: "92";
  margin: 0 -6px 0 12px;
  color: var(--ink-faint);
  transform: translateX(14px);
}
.chainstrip__end {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: #101114 !important;
  font-weight: 500;
}

/* ---------------- why congress: the chain ----------------
   Six stops on one rail. The rail is a single hairline drawn behind the row of
   numbers; each number paints the page background over it, so the line reads as
   segments between the circles without six separate elements to keep aligned. */

.chainline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 30px 0 0;
  position: relative;
}
.chainline::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 15px;                       /* half the circle: the rail runs through it */
  height: 1px;
  background: var(--line);
}

.chainstep {
  position: relative;
  padding: 0 20px 6px;
}
/* hairline between the columns, starting under the rail so it does not cross it */
.chainstep + .chainstep::after {
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.chainstep__num {
  position: relative;             /* above the rail */
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.chainstep__title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
}

.chainstep__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.chainstep__text b { color: var(--ink); font-weight: 500; }

/* the payoff step is the only coloured one: it is where the bill gets paid */
.chainstep--end .chainstep__num {
  border-color: var(--green);
  color: #101114;
  background: var(--green);
}
.chainstep--end .chainstep__title { color: #5f9c12; }

.chain {
  list-style: none;
  max-width: 720px;
  margin-top: 24px;
}

.chain__link {
  display: flex;
  gap: 18px;
  padding: 0 0 22px;
  position: relative;
}
/* the line that makes it read as one chain rather than six facts */
.chain__link:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 2px;
  width: 1.5px;
  background: var(--line);
}

.chain__num {
  flex: none;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}
.chain__link--end .chain__num { background: var(--green); color: #101114; }

.chain__title {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 6px 0 6px;
}
.chain__body { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.chain__body b { color: var(--ink); }

.chain__link--end > div {
  border-left: 3px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: #f6fce9;
  padding: 2px 18px 14px;
  margin-top: -2px;
}
.chain__link--end .chain__title { margin-top: 12px; }

@media (max-width: 640px) {
  .chain__title { font-size: 17px; }
  .chain__body { font-size: 13.5px; }
}

/* ---------------- sections ---------------- */

.section { padding: 54px 0 10px; }

.section__kicker { color: var(--ink-faint); }

.section__title {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 12px 0 14px;
  max-width: 640px;
}

/* A title that has to stay on one line: the 640px cap on .section__title is
   what was breaking it in two. Still wraps on narrow screens, as it should. */
.section__title--oneline { max-width: none; }

.section__intro {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 8px;
}

.section--tinted {
  background: #f7f8fa;
  border-radius: 24px;
  padding: 44px 40px 40px;
  margin-top: 44px;
}

/* ---------------- how it works ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 24px;
  background: var(--surface);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.step__title { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }

.step__body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.step__chips { display: flex; gap: 8px; margin-top: 16px; }

/* ---------------- model pipeline ---------------- */

.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 34px;
}

.pipeline__arrow {
  align-self: center;
  font-size: 20px;
  color: var(--ink-faint);
}

.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
}

.pcard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pcard__head .label { color: var(--ink-faint); }

.pcard__title {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
}

.pcard__body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pipeline-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pipeline-cta__note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
}

.score-note {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 30px;
}

.score-note__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------------- story ---------------- */

.story {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 44px;
  margin-top: 34px;
  max-width: 980px;
}

.story__item {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.story__item--wide { grid-column: 1 / -1; max-width: 640px; }

.story__stat {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 10px;
}
.story__stat-sep { color: var(--ink-faint); }

.story__title { font-size: 15px; font-weight: 600; margin-bottom: 7px; }

.story__body {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* ---------------- cta ---------------- */

/* the landing close-out is the same component as the pricing one (saas.css),
   just a touch louder */
.cta { margin-top: 56px; padding: 44px 46px; }
.cta__title { font-size: 34px; }
.cta__sub { max-width: 520px; }

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .lhero { grid-template-columns: 1fr; gap: 30px; }
  .lhero__title { font-size: 46px; }
  .lhero__visual { min-height: 0; padding: 20px 0 10px; }
  .steps, .pipeline, .cvsteps { grid-template-columns: 1fr; }
  .pipeline__arrow { transform: rotate(90deg); justify-self: center; }
  .score-note { grid-template-columns: 1fr; gap: 20px; }
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lhero { padding-top: 24px; }
  .lhero__stats { flex-wrap: wrap; gap: 22px; }
  .lhero__title { font-size: 38px; }
  .lhero__actions .pill { flex: 1 1 100%; justify-content: center; }
  .section__title { font-size: 30px; }
  .section--tinted { padding: 30px 22px; }
  .cta { padding: 32px 26px; }
  .cta__actions .pill { flex: 1 1 100%; justify-content: center; }
  .cvdemo { padding: 18px 16px 20px; }
  .cvdemo__prob { font-size: 46px; }
  .honesty { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------------- home: the six points, condensed ----------------
   The long version lives on /about with the connecting line and the full
   paragraphs; here each link is one sentence in a card, so the whole idea
   fits on one screen without scrolling into an essay. */

.hookgrid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.hook {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 20px;
  background: var(--surface);
}

.hook__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.hook__text { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.hook__text b { color: var(--ink); font-weight: 500; }

.hook--end {
  border-color: var(--green);
  background: #f6fce9;
}
.hook--end .hook__num { background: var(--green); color: #101114; }

/* ---------------- home: the three products ---------------- */

.prodgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.prodcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.prodcard:hover {
  transform: translateY(-4px);
  border-color: #d8dae2;
  box-shadow: 0 18px 40px -18px rgba(23, 24, 28, 0.22);
}

.prodcard__num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c, var(--ink));
  margin-bottom: 14px;
}

.prodcard__title {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.prodcard__body { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

.prodcard__list {
  list-style: none;
  margin: 16px 0 20px;
  display: grid;
  gap: 7px;
}
.prodcard__list li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.prodcard__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

.prodcard__go {
  margin-top: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* the one nobody else has gets the accent */
.prodcard--flag { border-color: var(--green); background: #fbfef5; }

/* a section that opens a page carries the h1, so it needs no extra top pad */
.section--lead { padding-top: 8px; }
.section--lead .section__title { font-size: 44px; max-width: 700px; }

@media (max-width: 1080px) {
  .prodgrid { grid-template-columns: 1fr 1fr; }
  /* the rail folds to two rows of three before it folds to a list */
  .chainline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .chainline::before { display: none; }
  .chainstep + .chainstep::after { display: none; }
}

@media (max-width: 640px) {
  .chainstrip li { font-size: 9px; padding: 7px 11px; }
  .prodgrid { grid-template-columns: 1fr; }
  .chainline { grid-template-columns: 1fr; row-gap: 22px; }
  .chainstep { padding-left: 0; padding-right: 0; }
  .section--lead .section__title { font-size: 34px; }
}
