/* Marketing pages — direction D. White, with band sections; a sticky header;
   headlines in Newsreader (400, tracking −0.02em), text in Public Sans; cards
   with a soft shadow; the petrol → sea-green gradient on the hero's italic
   phrase, the stepper's thread and the closing band. Page width 1200. */

/* --- header and footer ---------------------------------------------------- */

.m-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.m-header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  min-height: 68px;
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font: 500 14.5px var(--sans);
}
.m-nav a { color: var(--soft); }
.m-nav a:hover { color: var(--ink); }
.m-nav a.is-current {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--petrol);
  padding-bottom: 3px;
}
.m-nav a.m-signin { color: var(--muted); }
.m-nav .btn-primary { padding: 9px 16px; }
/* `.m-nav a` would otherwise grey the button's label out on petrol. */
.m-nav a.btn-primary, .m-nav a.btn-primary:hover { color: #fff; }

.m-footer {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 40px 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font: 400 14px var(--sans);
  color: var(--faint);
  flex-wrap: wrap;
}
.m-footer a { color: var(--soft); }
.m-footer a:hover { color: var(--ink); }

/* --- the older marketing pages (how it works, peer review, pricing, for
   committees, sign in and up, create an event) — same classes, D's voice --- */

.m-page { max-width: var(--page-width); margin: 0 auto; }

.m-section { padding: 48px 40px; background: var(--paper); }
.m-section.is-band { background: var(--band); }
.m-section.is-deep { background: var(--deep-band); }
.m-section.is-tint { background: var(--petrol-50); }
.m-section.has-rule { border-bottom: 1px solid var(--rule); }

.m-hero { padding: 84px 40px 52px; background: var(--paper); }
.m-hero-sm { padding: 64px 40px 48px; }
/* A hero split in two (pricing): a class, not inline style, so it can stack. */
.m-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 40px 56px;
}

.m-h1 {
  font: 400 70px/1.03 var(--serif);
  color: var(--ink);
  letter-spacing: -.022em;
  max-width: 940px;
  text-wrap: balance;
  margin: 0 0 26px;
}
.m-h1.is-52 { font-size: 56px; line-height: 1.06; letter-spacing: -.02em; max-width: 800px; }
.m-h1.is-48 { font-size: 52px; line-height: 1.08; letter-spacing: -.02em; }
.m-h1.is-46 { font-size: 50px; line-height: 1.08; letter-spacing: -.02em; max-width: 780px; }
.m-h1.is-36 { font-size: 40px; line-height: 1.12; letter-spacing: -.018em; margin-bottom: 10px; }

.m-lead {
  font: 400 19px/1.6 var(--sans);
  color: var(--muted);
  max-width: 660px;
  text-wrap: pretty;
  margin: 0;
}
.m-lead.is-18 { font-size: 18px; max-width: 600px; }
.m-lead.is-175 { font-size: 17.5px; line-height: 1.65; max-width: 600px; }
.m-lead.is-17 { font-size: 17px; line-height: 1.65; max-width: 620px; }
.m-lead.is-16 { font-size: 16px; line-height: 1.65; max-width: 440px; }
.m-lead.is-15 { font-size: 15px; line-height: 1.65; }

.m-h2 {
  font: 400 40px/1.1 var(--serif);
  color: var(--ink);
  letter-spacing: -.018em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.m-h2.is-30 { font-size: 34px; line-height: 1.15; }
.m-h2.is-28 { font-size: 32px; line-height: 1.15; }
.m-h2.is-26 { font-size: 28px; line-height: 1.2; letter-spacing: -.012em; }

.m-h3 { font: 500 24px/1.2 var(--serif); color: var(--ink); margin: 0 0 9px; letter-spacing: -.005em; }

.m-body {
  font: 400 15.5px/1.7 var(--sans);
  color: var(--muted);
  text-wrap: pretty;
  max-width: 520px;
}
.m-body.is-145 { font-size: 14.5px; line-height: 1.65; }
.m-body.is-14 { font-size: 14px; line-height: 1.6; }

.m-hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.m-reassurance { font: 500 14px var(--sans); color: var(--faint); margin-left: 8px; }

/* Two-column bands, split by a 1px rule. */
.m-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.m-split > * + * { border-left: 1px solid var(--rule); }
.m-split-125 { grid-template-columns: 1.25fr .75fr; }
.m-split-11 { grid-template-columns: 1.1fr .9fr; }
.m-split-14 { grid-template-columns: 1.4fr 1fr; }
.m-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); }
.m-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); }
.m-cols-3 > * + *, .m-cols-4 > * + * { border-left: 1px solid var(--rule); }

.m-cell { padding: 36px 34px 40px; }
.m-cell:first-child { padding-left: 40px; }
.m-cell:last-child { padding-right: 40px; }

.m-figure { font: 300 48px/1 var(--serif); color: var(--ink); margin-bottom: 12px; letter-spacing: -.02em; }
.m-figure-huge {
  font: 300 132px/.9 var(--serif);
  color: var(--petrol);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.m-claim-title { font: 600 15.5px var(--sans); color: var(--ink); margin-bottom: 5px; }
.m-claim-body { font: 400 14.5px/1.65 var(--sans); color: var(--soft); text-wrap: pretty; }

/* The worked ledger on the landing and pricing pages. */
.fee-card { max-width: 440px; }
.fee-credit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--signal-50);
  border-radius: var(--r);
}
.fee-credit span:first-child { font: 600 15.5px var(--sans); color: var(--positive); }
.fee-credit span:last-child { font: 500 30px var(--serif); color: var(--positive); }

/* A card lifted off the page: the fee card, the product captures. */
.has-elevation {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

/* How it works — five rows of month / what happens / marginal note. */
.m-timeline-row {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  border-bottom: 1px solid var(--rule);
}
.m-timeline-row:last-child { border-bottom: 0; }
.m-timeline-row > div { padding: 32px 34px 34px; border-right: 1px solid var(--rule); }
.m-timeline-row > div:first-child { padding-left: 40px; padding-right: 30px; }
.m-timeline-row > div:last-child { padding-right: 40px; padding-left: 30px; border-right: 0; }
.m-month { font: 500 15px var(--sans); color: var(--petrol); }
.m-moment { font: 400 28px/1.2 var(--serif); color: var(--ink); margin-top: 4px; }
.m-margin-note { font: 400 14px/1.65 var(--sans); color: var(--soft); text-wrap: pretty; }

/* Roman-numbered list — i, ii, iii set in the serif. */
.roman-list { display: flex; flex-direction: column; gap: 14px; max-width: 490px; }
.roman-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.roman-item:last-child { padding-bottom: 0; border-bottom: 0; }
.roman-mark { font: italic 400 17px var(--serif); color: var(--petrol); width: 20px; flex: none; }
.roman-body { font: 400 15px/1.6 var(--sans); color: var(--body); }

/* Closing CTA band: the deep gradient, white text. */
.m-cta {
  margin: 48px 40px 0;
  padding: 48px;
  background: var(--gradient-deep);
  border-radius: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.m-cta-statement {
  font: 400 32px/1.2 var(--serif);
  color: #fff;
  max-width: 640px;
  text-wrap: pretty;
}
.m-cta .aside { color: #fff; }
.m-cta-statement + div, .m-cta div + div { color: #d6eaef !important; }
.m-cta .btn-primary { background: #fff; border-color: #fff; color: var(--petrol); }
.m-cta .btn-primary:hover { background: var(--petrol-50); color: var(--petrol); }

/* Six-cell role grid with internal rules. */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.role-grid > div {
  padding: 20px 28px 22px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.role-grid > div:nth-child(3n) { border-right: 0; padding-right: 0; }
.role-grid > div:nth-child(3n+1) { padding-left: 0; }

/* Sign in — two equal columns, min-height 600. */
.signin-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.signin-left {
  padding: 70px 60px;
  background: var(--paper);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signin-right {
  padding: 70px 60px;
  background: var(--band);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.context-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 15px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: box-shadow 140ms var(--ease), border-color 140ms var(--ease);
}
.context-card:hover { box-shadow: var(--shadow); border-color: var(--rule-strong); }
.context-card-title { font: 600 14.5px var(--sans); color: var(--ink); }
.context-card-meta { font: 400 13px var(--sans); color: var(--faint); margin-top: 2px; }
.context-arrow { font: 400 22px var(--serif); color: var(--petrol); }

/* Create an event — reduced chrome, a 300px rail of numbered steps as dots. */
.wizard-grid { display: grid; grid-template-columns: 300px 1fr; min-height: 660px; }
.wizard-rail {
  background: var(--band);
  border-right: 1px solid var(--rule);
  padding: 36px 32px;
}
.wizard-step { display: flex; gap: 14px; }
.step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--field-border);
  margin-top: 6px; flex: none;
}
.wizard-step.is-current .step-dot { background: var(--petrol); border-color: var(--petrol); box-shadow: 0 0 0 4px var(--petrol-50); }
.wizard-step .step-name { font: 500 14.5px var(--sans); color: var(--soft); }
.wizard-step.is-current .step-name { color: var(--ink); font-weight: 600; }
.wizard-step .step-hint { font: 400 13px var(--sans); color: var(--faint); margin-top: 2px; }

.wizard-body {
  padding: 40px 48px 44px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.clone-panel {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.clone-title { font: 500 23px var(--serif); color: var(--ink); margin-bottom: 5px; }

.wizard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}

/* --- the landing (lp-) ----------------------------------------------------- */

.lp-wrap { max-width: var(--page-width); margin: 0 auto; padding: 0 40px; }
.lp-center { text-align: center; }
.lp-center .lp-h2, .lp-center .lp-sec-lead { margin-left: auto; margin-right: auto; }

.lp-hero { text-align: center; padding: 80px 0 0; }
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 99px;
  background: var(--petrol-50);
  color: var(--petrol);
  font: 500 13.5px var(--sans);
  margin-bottom: 26px;
}
.lp-badge b { background: var(--petrol); color: #fff; border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: 12.5px; }
.lp-h1 {
  font: 400 70px/1.03 var(--serif);
  letter-spacing: -.022em;
  color: var(--ink);
  max-width: 980px;
  margin: 0 auto;
  text-wrap: balance;
}
/* The italic phrase carries the gradient; ink stays behind it for any
   browser that cannot clip a background to text. */
.lp-hl {
  font-style: italic;
  color: var(--petrol);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-lead { font: 400 19px/1.6 var(--sans); color: var(--muted); max-width: 700px; margin: 24px auto 34px; text-wrap: pretty; }
.lp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-reassure {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font: 500 14px var(--sans);
  color: var(--soft);
}
.lp-reassure li::before { content: "✓"; color: var(--positive); font-weight: 700; margin-right: 7px; }

.lp-stage { position: relative; margin: 64px auto 0; max-width: 1120px; }
.lp-glow {
  position: absolute;
  inset: -40px -60px auto;
  height: 520px;
  background:
    radial-gradient(50% 60% at 30% 40%, rgba(47, 156, 140, .15), transparent 70%),
    radial-gradient(45% 60% at 75% 30%, rgba(20, 80, 106, .16), transparent 70%);
  filter: blur(10px);
}
.lp-shot {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lp-shot img { width: 100%; height: auto; }
.lp-float {
  position: absolute;
  bottom: -34px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  text-align: left;
  animation: lp-bob 6s var(--ease) infinite;
}
.lp-float.is-left { left: -64px; }
.lp-float.is-right { right: -64px; animation-delay: -3s; }
.lp-float-label { font: 500 12.5px var(--sans); color: var(--soft); }
.lp-float-value { font: 500 24px/1.2 var(--serif); color: var(--ink); }
.lp-float-value.is-signal { color: var(--positive); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 96px 0 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.lp-metric { padding: 28px 26px; border-right: 1px solid var(--rule); }
.lp-metric:last-child { border-right: 0; }
.lp-figure { font: 300 58px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.lp-figure em { font: italic 400 26px var(--serif); color: var(--petrol); }
.lp-metric p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }

.lp-sec { padding: 104px 0; }
.lp-sec.is-band { background: var(--band); }
.lp-eyebrow { font: 600 15px var(--sans); color: var(--petrol); margin-bottom: 12px; }
.lp-h2 {
  font: 400 48px/1.08 var(--serif);
  letter-spacing: -.018em;
  color: var(--ink);
  max-width: 780px;
  text-wrap: balance;
}
.lp-sec-lead { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 640px; text-wrap: pretty; }

.lp-stepper {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 56px 0 0;
  position: relative;
  text-align: left;
}
.lp-stepper::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 23px;
  height: 2px;
  background: var(--gradient);
}
.lp-step { position: relative; }
.lp-step-n {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--petrol);
  display: grid;
  place-items: center;
  font: 500 21px var(--serif);
  color: var(--petrol);
  margin-bottom: 20px;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.lp-step:hover .lp-step-n { transform: scale(1.08); background: var(--petrol); color: #fff; }
.lp-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.lp-who { font: 600 13px var(--sans); color: var(--positive); }
.lp-card h3 { font: 500 22px/1.2 var(--serif); color: var(--ink); margin: 6px 0 8px; }
.lp-card p { font-size: 14.5px; color: var(--muted); }

.lp-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 52px; }
.lp-bx {
  background: var(--band);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 30px;
  overflow: hidden;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.lp-bx:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-bx h3 { font: 500 27px/1.15 var(--serif); letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.lp-bx p { color: var(--muted); font-size: 15.5px; max-width: 480px; }
.lp-bx.is-wide { grid-column: span 4; }
.lp-bx.is-narrow { grid-column: span 2; }
.lp-bx.is-half { grid-column: span 3; }
.lp-bx.is-white { background: #fff; }
.lp-bx.is-dark { background: var(--ink); border-color: var(--ink); }
.lp-bx.is-dark h3 { color: #fff; }
.lp-bx.is-dark p { color: #b9c5cd; }
.lp-bx.is-dark .role-pill:not(.is-primary) { background: transparent; color: #e3eaee; border-color: rgba(255, 255, 255, .3); }
.lp-bx.is-dark .role-pill.is-primary { background: #fff; color: var(--petrol); border-color: #fff; }
.lp-pairs { margin-top: 24px; display: grid; gap: 8px; }
.lp-pair {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 13.5px;
}
.lp-pair-who { font-weight: 600; color: var(--ink); min-width: 150px; }
.lp-pair-line { flex: 1; height: 2px; background: var(--rule-strong); }
.lp-pair.is-ok .lp-pair-line { background: var(--gradient); }
.lp-pair.is-no .lp-pair-line { background: repeating-linear-gradient(90deg, var(--field-border) 0 5px, transparent 5px 10px); }
.lp-roles { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.lp-arrow { color: var(--petrol); font-weight: 700; }
.lp-alert { margin-top: 22px; background: #fff; }

.lp-price { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; font-size: 16px; color: var(--body); }
.lp-checks li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--signal-50);
  color: var(--positive);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.lp-pcard {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  max-width: none;
}
.lp-big { font: 300 104px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.lp-big em { font: italic 400 44px var(--serif); color: var(--petrol); }
.lp-pcard-sub { color: var(--muted); margin: 6px 0 22px; }

.lp-cta {
  margin: 8px 0 0;
  background: var(--gradient-deep);
  border-radius: 24px;
  padding: 72px 56px;
  text-align: center;
  color: #fff;
}
.lp-cta .lp-h2 { color: #fff; margin: 0 auto 14px; }
.lp-cta p { color: #d6eaef; font-size: 18px; margin-bottom: 30px; }
.lp-cta .btn { box-shadow: none; }
.lp-cta-primary { background: #fff; border-color: #fff; color: var(--petrol); }
.lp-cta-primary:hover { background: var(--petrol-50); color: var(--petrol); }
.lp-cta-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.lp-cta-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* --- responsive ----------------------------------------------------------- */
/* Marketing pages reflow to a single column with the same vertical rhythm. */
@media (max-width: 1000px) {
  .m-split, .m-split-125, .m-split-11, .m-split-14,
  .m-cols-3, .m-cols-4, .signin-grid, .wizard-grid, .role-grid {
    grid-template-columns: 1fr;
  }
  .m-split > * + *, .m-cols-3 > * + *, .m-cols-4 > * + * {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .m-cell, .m-cell:first-child, .m-cell:last-child { padding: 32px 18px; }
  .m-timeline-row { grid-template-columns: 1fr; }
  .m-timeline-row > div,
  .m-timeline-row > div:first-child,
  .m-timeline-row > div:last-child {
    border-right: 0;
    padding: 20px 18px;
  }
  .m-timeline-row > div + div { border-top: 1px solid var(--rule); }
  .signin-left, .signin-right, .wizard-rail, .wizard-body { padding: 36px 18px; }
  .signin-left { border-right: 0; border-bottom: 1px solid var(--rule); }
  .wizard-rail { border-right: 0; border-bottom: 1px solid var(--rule); }
  .role-grid > div,
  .role-grid > div:nth-child(3n),
  .role-grid > div:nth-child(3n+1) {
    border-right: 0;
    padding: 18px 0;
  }
  .m-header-inner { flex-wrap: wrap; padding: 12px 16px; gap: 10px 16px; }
  .m-nav { gap: 6px 16px; flex-wrap: wrap; font-size: 14px; }
  .m-section, .m-hero, .m-hero-sm { padding: 36px 18px; }
  .m-cta { margin: 32px 16px 0; padding: 32px 22px; flex-direction: column; align-items: flex-start; }
  .m-cta-statement { font-size: 26px; }
  .m-h1 { font-size: 44px; }
  .m-h1.is-52, .m-h1.is-48, .m-h1.is-46 { font-size: 38px; }
  .m-h2 { font-size: 32px; }
  .m-figure-huge { font-size: 92px; }
  .m-hero-split { grid-template-columns: 1fr; gap: 32px; padding: 36px 18px; }
  .m-footer { padding: 32px 18px 40px; }

  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding-top: 44px; }
  .lp-h1 { font-size: 44px; }
  .lp-lead { font-size: 17px; }
  .lp-stage { margin-top: 40px; }
  .lp-glow { inset: -20px 0 auto; }
  .lp-float { display: none; }
  .lp-metrics { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .lp-metric { border-bottom: 1px solid var(--rule); }
  .lp-metric:nth-child(2n) { border-right: 0; }
  .lp-metric:nth-last-child(-n+2) { border-bottom: 0; }
  .lp-figure { font-size: 44px; }
  .lp-sec { padding: 72px 0; }
  .lp-h2 { font-size: 34px; }
  .lp-stepper { grid-template-columns: 1fr; }
  .lp-stepper::before { display: none; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-bx.is-wide, .lp-bx.is-narrow, .lp-bx.is-half { grid-column: auto; }
  .lp-bx { padding: 24px 20px; }
  .lp-pair { flex-wrap: wrap; }
  .lp-pair-line { display: none; }
  .lp-price { grid-template-columns: 1fr; gap: 32px; }
  .lp-big { font-size: 84px; }
  .lp-cta { padding: 48px 22px; }
}

@media (max-width: 560px) {
  /* On a phone the header keeps the wordmark and the two ways in. */
  .m-nav a:not(.btn):not(.m-signin) { display: none; }
  .m-metric, .lp-metric { padding: 22px 18px; }
  .lp-figure { font-size: 40px; }
  .lp-figure em { font-size: 20px; }
}

.lp-badge b { white-space: nowrap; }
@media (max-width: 560px) {
  .m-header-inner { flex-wrap: nowrap; }
  .m-nav { flex-wrap: nowrap; gap: 12px; }
  .m-nav .btn-primary { padding: 8px 12px; font-size: 13px; }
  .m-header .logo img { height: 22px; }
  .lp-badge { border-radius: 14px; font-size: 12.5px; text-align: left; }
  .lp-h1 { font-size: 40px; }
}

.m-footer-brand { display: flex; flex-direction: column; gap: 10px; }

/* --- narrow pages: legal documents, the account, co-authors' links -------- */

.narrow-page { max-width: 640px; margin: 0 auto; padding: 56px 24px 48px; }
.narrow-page .m-lead { margin: 0; }
.legal-doc p { margin: 0 0 14px; }

.m-h2.is-22 { font-size: 22px; line-height: 1.25; margin: 0; }
.narrow-page .note.is-flush { margin: 0; }
.narrow-page .m-h1 { margin: 0; }
.plain-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.6 var(--sans); color: var(--muted); }
.forgot-link { font: 400 13px var(--sans); }
.home-account { margin-top: 30px; }
.home-flash { margin-bottom: 22px; max-width: 620px; }

/* Create an event: the contact address, sized like the fields above it
   (which still carry theirs inline). */
.field-label.create-label { font-size: 14px; }
.input.create-input { padding: 13px 15px; font-size: 15px; }
.note.create-hint { display: block; margin-top: 6px; font-size: 13px; max-width: 560px; }
.create-optional { font-weight: 400; color: var(--soft); }
