/* Sections for the offer, About and Book pages. */

/* Page hero */
.e-page-hero {
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

.e-page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.e-page-hero--narrow .e-page-hero__inner {
  gap: 20px;
}

.e-page-hero--narrow .e-page-hero__title {
  max-width: 900px;
}

.e-page-hero__title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(38px, 4.8vw, 68px);
  color: var(--white);
  max-width: 980px;
}

.e-page-hero--narrow .e-page-hero__title {
  font-size: clamp(38px, 4.8vw, 64px);
}

.e-page-hero__lede {
  margin: 0;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(251, 248, 242, 0.75);
}

.e-page-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Founder block on the About page. */
.e-founder {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 8px;
}

.e-founder__photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 242, 0.18);
  object-fit: cover;
}

.e-founder__role {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand-blue-300);
}

.e-founder__name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--white);
}

.e-founder__bio {
  margin: 0;
  color: rgba(251, 248, 242, 0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

@media (max-width: 520px) {
  .e-founder {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.e-page-hero--book {
  padding: 32px 0 64px;
}

.e-page-hero--book .e-page-hero__inner {
  gap: 18px;
}

/* Key facts: four cards on the navy */
.e-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.e-facts > div {
  padding: 20px 22px;
  background: rgba(251, 248, 242, 0.08);
  border: 1px solid rgba(251, 248, 242, 0.16);
  border-radius: var(--r-3);
}

.e-facts .t-eyebrow {
  color: rgba(251, 248, 242, 0.62);
}

.e-fact__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-top: 6px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.e-fact__sub {
  font-size: 13px;
  color: rgba(251, 248, 242, 0.6);
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .e-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .e-facts {
    gap: 8px;
  }

  .e-facts > div {
    padding: 14px;
  }

  .e-fact__num {
    font-size: 19px;
  }

  .e-fact__sub {
    font-size: 12px;
  }
}

/* Headings and answers */
.e-h2-sm {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--brand-navy);
}

.e-subhead {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg-display);
}

.e-answer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.e-detail {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
}

.e-side + .e-side {
  padding-top: 0;
}

/* Answer, requirements and proof */
.e-deliverable {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.e-lede-lg {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--fg-1);
}

.e-need {
  display: flex;
  flex-direction: column;
}

.e-need__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.e-need__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--cream-200);
}

.e-need__row:last-of-type {
  border-bottom: 1px solid var(--cream-200);
}

.e-need__check {
  color: var(--brand-blue);
  padding-top: 5px;
}

.e-need__check svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.e-need__row span:last-child {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-1);
}

.e-proofcard {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-4);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}



.e-proofcard__num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.e-proofcard p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
}

@media (max-width: 640px) {
  .e-proofcard {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* The generated report, drawn as the PDF a client receives */
.e-doc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
}

.e-doc__file {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.e-doc__page {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 3px;
  box-shadow: var(--shadow-md);
  padding: 26px 26px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  /* The proportions of a sheet of paper, so it reads as a document. */
  aspect-ratio: 1 / 1.294;
}

.e-doc__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 2px solid var(--brand-navy);
  padding-bottom: 9px;
}

.e-doc__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand-navy);
}

.e-doc__sub {
  font-size: 10.5px;
  color: var(--fg-2);
  margin-top: 2px;
}

.e-doc__meta {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.6;
  color: var(--fg-3);
  text-align: right;
  white-space: nowrap;
}

.e-doc__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.e-doc__kpis > div {
  border: 1px solid var(--hairline);
  padding: 7px 9px;
}

.e-doc__kpis span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.e-doc__kpis b {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  margin-top: 2px;
}

.e-doc__kpis i {
  font-style: normal;
  font-size: 9px;
}

.is-up { color: var(--success); }
.is-down { color: var(--danger); }

.e-doc__flag {
  margin-top: 10px;
  border-left: 2px solid var(--warning);
  background: var(--warning-bg);
  padding: 7px 9px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--ink-700);
}

.e-doc__sec {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 12px 0 5px;
}

.e-doc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.e-doc__table th {
  text-align: left;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-2);
  border-bottom: 1px solid var(--ink-200);
  padding: 5px 4px;
}

.e-doc__table td {
  padding: 4px 4px;
  border-bottom: 1px solid var(--hairline);
  color: var(--fg-1);
}

.e-doc__table .is-num {
  text-align: right;
  font-family: var(--font-mono);
}

.e-doc__table td.is-up {
  color: var(--success);
}

.e-doc__table td.is-down {
  color: var(--danger);
}

.e-doc__table .is-total td.is-down {
  color: var(--danger);
}

.e-doc__table .is-total td {
  font-weight: 700;
  color: var(--brand-navy);
  border-top: 1.5px solid var(--brand-navy);
  border-bottom: none;
}

.e-doc__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 10px;
  color: var(--fg-2);
}

.e-doc__checks li {
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.e-doc__checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
}

.e-doc__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--fg-3);
}

@media (max-width: 640px) {
  .e-doc__page {
    aspect-ratio: auto;
  }
}

/* Track record */
.e-track {
  list-style: none;
  margin: 0;
  padding: 0;
}

.e-track__row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--cream-200);
}

.e-track__row:last-of-type {
  border-bottom: 1px solid var(--cream-200);
}

.e-track__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-blue);
  padding-top: 5px;
}

.e-track__row h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.e-track__row p {
  margin: 8px 0 0;
  color: var(--fg-2);
  line-height: 1.7;
}

/* About: the track record sits on navy, so the page isn't one long run of cream */
.e-side--ink {
  background: var(--brand-navy);
}

.e-side--ink .e-side__head > .t-eyebrow {
  color: var(--brand-blue-300);
}

.e-side--ink .e-side__title {
  color: var(--white);
}

.e-side--ink .e-track__row {
  border-top-color: rgba(251, 248, 242, 0.16);
}

.e-side--ink .e-track__row:last-of-type {
  border-bottom-color: rgba(251, 248, 242, 0.16);
}

.e-side--ink .e-track__num {
  color: var(--brand-blue-300);
}

.e-side--ink .e-track__row h3 {
  color: var(--white);
}

.e-side--ink .e-track__row p {
  color: rgba(251, 248, 242, 0.75);
}

.e-side--ink .e-track h3 a {
  text-decoration-color: var(--brand-blue-300);
}

.e-side--ink .e-track p a {
  color: var(--brand-blue-300);
}

/* Steps */
.e-steps__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.e-steps__list {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

/* Dashed rule joining the numbered markers into one sequence. */
.e-steps__list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 11%;
  right: 11%;
  border-top: 1px dashed var(--cream-300);
}

.e-step {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-4);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  position: relative;
  padding-top: 34px;
}

.e-step__num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 0 0 6px var(--bg);
}

.e-step h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.e-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
}

@media (max-width: 1040px) {
  .e-steps__list {
    grid-template-columns: 1fr 1fr;
  }

  .e-steps__list::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .e-steps__list {
    grid-template-columns: 1fr;
  }
}

/* Card grids */
.e-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 920px) {
  .e-grid-3 {
    grid-template-columns: 1fr;
  }
}

.e-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 1040px) {
  .e-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .e-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Retainer strip */
.e-after {
  padding: 0 0 96px;
}

.e-after .e-offer--wide {
  display: flex;
}

/* Related offers */
.e-more {
  padding: 0 0 96px;
}

.e-more .e-grid-3,
.e-more .e-offers__grid {
  margin-top: 20px;
}

.e-more--after {
  padding-top: 88px;
}

.e-more__note {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
}

.e-more__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Dashboard example */
.e-showcase {
  padding: 96px 0 0;
}

.e-showcase__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 760px;
}

.e-showcase__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* Example visuals: before and after layout shared by the offer pages */
.e-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.12fr);
  gap: 16px;
  align-items: stretch;
}

.e-compare__side {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.e-compare__side > .e-dash,
.e-compare__side > .e-sheet,
.e-compare__side > .e-workaround {
  flex: 1;
}

.e-compare__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.e-compare__tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  background: var(--ink-100);
  color: var(--ink-500);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.e-compare__tag--after {
  background: var(--brand-blue-50);
  color: var(--brand-blue-700);
  box-shadow: inset 0 0 0 1px var(--brand-blue-100);
}

.e-compare__arrow {
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-blue-50);
  box-shadow: inset 0 0 0 1px var(--brand-blue-100), 0 4px 12px rgba(8, 88, 216, 0.12);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--brand-blue);
}

/* Example visuals: reporting automation */
.e-sheet {
  /* Greys borrowed from the spreadsheet apps people actually use. */
  --sheet-line: #D8DADD;
  --sheet-head: #F1F2F4;
  --sheet-head-fg: #5F6571;
  --sheet-band: #E8EAED;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.e-sheet__tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  background: var(--sheet-head);
  overflow: hidden;
}

.e-sheet__tab {
  padding: 6px 10px;
  border-radius: 6px 6px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-500);
  white-space: nowrap;
}

.e-sheet__tab.is-active {
  background: var(--white);
  color: var(--ink-900);
}

.e-sheet__formula {
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--sheet-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-700);
}

.e-sheet__fx {
  color: var(--ink-400);
  font-style: italic;
}

.e-sheet__name {
  min-width: 46px;
  padding-right: 12px;
  border-right: 1px solid var(--sheet-line);
  color: var(--ink-700);
}

/* Numbers sit right, the way a spreadsheet aligns them. */
.e-sheet__grid td.is-num {
  text-align: right;
}

/* The cell the formula bar is editing. */
.e-sheet__grid .is-sel {
  outline: 2px solid var(--brand-blue);
  outline-offset: -2px;
}

.e-sheet__grid tr.is-empty td,
.e-sheet__grid tr.is-empty th {
  height: 14px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.e-sheet__sheets {
  display: flex;
  gap: 12px;
}

.e-sheet__sheets b {
  font-weight: 600;
  color: var(--ink-900);
}

.e-sheet__scroll {
  overflow-x: auto;
}

.e-sheet__grid {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.e-sheet__grid th,
.e-sheet__grid td {
  padding: 8px 10px;
  border: 1px solid var(--sheet-line);
  color: var(--ink-700);
  text-align: left;
  white-space: nowrap;
}

.e-sheet__grid thead th,
.e-sheet__grid tbody th {
  background: var(--sheet-head);
  color: var(--sheet-head-fg);
  font-weight: 500;
  text-align: center;
}

.e-sheet__grid .is-head td {
  background: var(--sheet-band);
  color: var(--ink-900);
  font-weight: 600;
}

.e-sheet__grid .is-warn {
  background: var(--warning-bg);
}

.e-sheet__grid .is-error {
  background: var(--danger-bg);
  color: var(--danger);
  font-weight: 600;
}

.e-sheet__note {
  align-self: flex-start;
  margin: 12px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
  border-radius: var(--r-2);
  background: var(--warning-bg);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-700);
}

.e-sheet__status {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid var(--sheet-line);
  background: var(--sheet-head);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-500);
}

/* Example visuals: data capture */
.e-capture {
  display: grid;
  grid-template-columns: 300px 40px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.e-phone {
  box-sizing: border-box;
  width: 300px;
  justify-self: center;
  padding: 11px;
  border-radius: 46px;
  background: var(--brand-navy);
  box-shadow: var(--shadow-lg);
}

.e-phone__screen {
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  background: var(--cream-50);
  overflow: hidden;
}

.e-phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.e-phone__tray {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.e-phone__tray > svg {
  display: block;
}

.e-phone__offline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--warning-bg);
  color: var(--warning);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.e-phone__homebar {
  width: 110px;
  height: 4px;
  margin: 0 auto 9px;
  border-radius: 4px;
  background: var(--ink-200);
}

.e-jobform {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 6px 18px 16px;
}

.e-jobform__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream-200);
}

.e-jobform__head strong {
  font-size: 18px;
  color: var(--brand-navy);
  font-variant-numeric: tabular-nums;
}

.e-jobform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.e-jobform__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-500);
}

.e-jobform__input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  background: var(--white);
  font-size: 13px;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(8, 32, 72, 0.04);
}

.e-jobform__pin {
  flex: none;
  color: var(--brand-blue);
}

.e-jobform__text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.e-jobform__caret {
  flex: none;
  color: var(--ink-400);
}

.e-jobform__seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--cream-200);
  border-radius: 12px;
  background: var(--cream-100);
}

.e-jobform__seg span {
  flex: 1 1 auto;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  text-align: center;
}

.e-jobform__seg .is-on {
  background: var(--white);
  color: var(--brand-navy);
  box-shadow: 0 1px 3px rgba(8, 32, 72, 0.16);
}

.e-jobform__stepper {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: stretch;
  height: 40px;
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(8, 32, 72, 0.04);
}

.e-jobform__stepper span {
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  font-weight: 700;
  background: var(--brand-blue-50);
}

.e-jobform__stepper b {
  display: grid;
  place-items: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.e-jobform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.e-jobform__photos {
  display: flex;
  gap: 8px;
}

.e-jobform__photo {
  position: relative;
  width: 60px;
  height: 50px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(8, 32, 72, 0.18);
}

.e-jobform__photo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.e-jobform__zoom {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(8, 32, 72, 0.55);
  color: var(--white);
  font-size: 9px;
}

.e-jobform__photo--add {
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--cream-300);
  background: var(--white);
  color: var(--brand-blue);
  font-size: 18px;
  font-weight: 600;
  box-shadow: none;
}

.e-jobform__signrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.e-jobform__clear {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-blue);
}

.e-jobform__sign {
  display: block;
  position: relative;
  height: 56px;
  padding: 6px 10px 2px;
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink-900);
  box-shadow: inset 0 1px 2px rgba(8, 32, 72, 0.04);
}

/* The dashed line people sign on */
.e-jobform__sign::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-bottom: 1.5px dashed var(--cream-300);
}

.e-jobform__sign svg {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.e-jobform__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 45px;
  margin-top: 2px;
  border-radius: 14px;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 22px -12px rgba(8, 88, 216, 0.6);
}

.e-jobform__submit svg {
  display: block;
}

.e-jobs__scroll {
  overflow-x: auto;
}

.e-jobs {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.e-jobs th {
  padding: 12px 16px;
  background: var(--brand-navy);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.75);
  text-align: left;
}

.e-jobs td {
  padding: 12px 16px;
  color: var(--ink-700);
  white-space: nowrap;
}

.e-jobs tbody tr:nth-child(even) td {
  background: var(--cream-50);
}

.e-jobs .is-new td {
  background: var(--brand-blue-50);
  color: var(--ink-900);
  font-weight: 600;
}

.e-jobs__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.e-jobs__hours {
  text-align: right;
}

.e-jobs__tech {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  font-size: 10.5px;
  font-weight: 700;
}

.e-jobs__tech--g {
  background: #E8EDE4;
  color: #4C7A48;
}

.e-jobs__tech--a {
  background: #F3E9DC;
  color: #A9723F;
}

.e-jobs__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
}

.e-jobs__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.e-jobs__status--new {
  background: var(--white);
  color: var(--brand-blue);
}

.e-jobs__status--done {
  background: var(--success-bg);
  color: var(--success);
}

.e-jobs__status--wait {
  background: var(--warning-bg);
  color: var(--warning);
}

.e-jobs__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 16px;
  background: var(--cream-50);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

/* Example visuals: custom solutions */
.e-workaround {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(96px, 1fr));
  gap: 14px;
  padding: 20px;
  border: 1px dashed var(--cream-300);
  border-radius: var(--r-4);
  background: var(--cream-100);
}

.e-workaround__lines {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  pointer-events: none;
}

.e-workaround__lines line {
  stroke: var(--ink-300);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  vector-effect: non-scaling-stroke;
}

.e-workaround__node {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  max-width: 150px;
  padding: 11px 13px;
  border: 1px solid var(--card-edge);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(8, 32, 72, 0.06), 0 10px 22px -12px rgba(8, 32, 72, 0.28);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-700);
  text-align: center;
}

/* The clutter leans a little, like notes pinned in a hurry */
.e-workaround__node--sheet { transform: rotate(-1.6deg); }
.e-workaround__node--crew { transform: rotate(1.4deg); }
.e-workaround__node--office { transform: rotate(1.2deg); }
.e-workaround__node--email { transform: rotate(-1.1deg); }
.e-workaround__node--suppliers { transform: rotate(1.8deg); }

.e-workaround__icon {
  display: block;
  margin: 0 auto 6px;
  color: var(--ink-400);
}

.e-workaround__node--hub .e-workaround__icon {
  color: var(--warning);
}

.e-workaround__node small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-3);
}

.e-workaround__node--sheet {
  grid-area: 1 / 1;
}

.e-workaround__node--crew {
  grid-area: 1 / 3;
}

.e-workaround__node--hub {
  grid-area: 2 / 2;
  max-width: 176px;
  border-color: color-mix(in srgb, var(--warning) 55%, transparent);
  background: var(--warning-bg);
  color: var(--ink-900);
}

.e-workaround__node--hub small {
  color: var(--warning);
}

.e-workaround__node--office {
  grid-area: 3 / 1;
}

.e-workaround__node--email {
  grid-area: 3 / 2;
}

.e-workaround__node--suppliers {
  grid-area: 3 / 3;
}

.e-tool {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
}

.e-tool__filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-200);
}

.e-tool__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--cream-300);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-500);
}

.e-tool__filter b {
  color: var(--ink-900);
}

.e-tool__filter svg {
  display: block;
  color: var(--ink-400);
}

.e-tool__seg {
  display: inline-flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--cream-200);
  border-radius: var(--r-pill);
  background: var(--cream-100);
  font-size: 11px;
  font-weight: 600;
}

.e-tool__seg span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: var(--ink-500);
}

.e-tool__seg .is-on {
  background: var(--white);
  color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

.e-tool__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

.e-tool__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
}

.e-tool__list {
  display: flex;
  flex-direction: column;
}

.e-tool__job {
  display: grid;
  grid-template-columns: 48px 60px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 12.5px;
}

.e-tool__job b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}

.e-tool__when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.e-tool__site {
  font-weight: 600;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.e-tool__job.is-on {
  background: var(--brand-blue-50);
}

.e-tool__job.is-on b {
  color: var(--brand-blue);
}

.e-tool__detail {
  border: 1px solid var(--cream-200);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--cream-50);
}

.e-tool__detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--cream-200);
  font-size: 13px;
}

.e-tool__detail-head b {
  color: var(--ink-900);
}

.e-tool__fact {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  font-size: 12.5px;
}

.e-tool__fact span {
  color: var(--ink-500);
}

.e-tool__fact b {
  font-weight: 600;
  color: var(--ink-900);
}

.e-tool__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.e-tool__state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.e-tool__state--ok {
  background: var(--success-bg);
  color: var(--success);
}

@media (max-width: 1100px) {
  .e-sheet__tab:first-child {
    display: none;
  }
}

@media (max-width: 1040px) {
  .e-capture {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .e-capture .e-compare__arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 920px) {
  .e-compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .e-compare__arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .e-workaround {
    grid-template-rows: repeat(3, minmax(84px, auto));
    gap: 8px;
    padding: 12px;
  }

  .e-workaround__lines {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
  }

  .e-workaround__node {
    padding: 8px;
    font-size: 11px;
  }

  .e-workaround__node small {
    font-size: 9.5px;
  }

  .e-tool__split {
    grid-template-columns: minmax(0, 1fr);
  }

  .e-jobs {
    min-width: 0;
  }

  .e-jobs th,
  .e-jobs td {
    padding-inline: 10px;
  }

  .e-jobs th:nth-child(n + 3):nth-child(-n + 5),
  .e-jobs td:nth-child(n + 3):nth-child(-n + 5) {
    display: none;
  }
}

/* Retainer tiers */
.e-tiers {
  padding: 96px 0 0;
}

.e-tiers__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.e-tiers {
  scroll-margin-top: 88px;
}

.e-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.e-tier__size {
  margin-top: -8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-navy);
}

.e-tier__terms {
  margin-top: -6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.e-tier__price small {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--fg-3);
}

.e-tier .e-tier-book {
  align-self: flex-start;
  margin-top: auto;
}

.e-tier .e-tier__note + .e-tier-book {
  margin-top: auto;
}

.e-tiers__terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 22px;
}

.e-tiers__terms ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.e-tiers__terms li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--fg-2);
}

.e-tiers__terms li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.e-tier {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-4);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.e-tier--full {
  border-color: var(--brand-blue-100);
  background: var(--brand-blue-50);
}

.e-tier__price {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.e-tier > p {
  margin: 0;
  color: var(--fg-1);
  font-size: 16px;
  line-height: 1.6;
}

.e-tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.e-tier li {
  padding-left: 22px;
  position: relative;
  color: var(--fg-1);
  font-size: 15px;
  line-height: 1.55;
}

.e-tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

.e-tier .e-tier__note {
  margin: 0;
  font-size: 13px;
  color: var(--fg-3);
}

@media (max-width: 920px) {
  .e-tiers__grid {
    grid-template-columns: 1fr;
  }
}

/* Retainer scope */
.e-scope-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.e-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.e-scope__col {
  border: 1px solid var(--cream-200);
  border-radius: var(--r-4);
  padding: 24px 26px;
  background: var(--white);
}

.e-scope__col--quoted {
  background: var(--cream-100);
}

.e-scope__col h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.e-scope__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.e-scope__col li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-1);
}

.e-scope__col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.e-scope__col--covered li::before {
  content: "✓";
  color: var(--success);
}

.e-scope__col--quoted li::before {
  content: "$";
  color: var(--fg-3);
  font-family: var(--font-mono);
}

.e-scope__col li small {
  display: block;
  font-size: 13px;
  color: var(--fg-3);
}

.e-scope__rule {
  margin: 0;
  padding: 16px 20px;
  background: var(--brand-blue-50);
  border-radius: var(--r-3);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--brand-navy);
}

.e-scope__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
}

@media (max-width: 640px) {
  .e-scope {
    grid-template-columns: 1fr;
  }
}

/* Case notes */
.e-cases {
  padding: 80px 0 64px;
}

/* About: the track record section runs straight into the case notes below it. */
main > .e-side:first-child {
  padding-bottom: 72px;
}

.e-cases__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.e-case {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-6);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.e-case__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--cream-200);
}

.e-case__stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.e-case__stat .t-eyebrow {
  color: var(--brand-blue);
}

.e-case__num {
  font-family: var(--font-mono);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.e-case__label {
  font-size: 14px;
  color: var(--fg-2);
}

.e-case__offer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
}

.e-case__offer b {
  color: var(--brand-blue);
  font-weight: 600;
}

.e-case__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.e-case__body h2 {
  margin: 0;
  max-width: 760px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.e-case__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.e-case__key {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--fg-display);
}

.e-case__cols p {
  margin: 0;
  color: var(--fg-2);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .e-case {
    padding: 28px;
    gap: 22px;
  }

  .e-case__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .e-case__offer {
    align-items: flex-start;
    text-align: left;
  }

  .e-case__body h2 {
    font-size: 22px;
  }

  .e-case__cols {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* About: why this exists */
.e-story {
  padding: 88px 0;
}

.e-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.e-story__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.e-story__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 38px;
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-4);
  box-shadow: 0 1px 2px rgba(8, 32, 72, 0.05), 0 10px 28px -14px rgba(8, 32, 72, 0.22);
}

.e-story__body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg-2);
}

.e-story__body .e-story__answer {
  font-size: 20px;
  line-height: 1.65;
  color: var(--fg-display);
}

@media (max-width: 1040px) {
  .e-story__grid {
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .e-story__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .e-story__body {
    padding: 26px 24px;
  }
}

/* About: working rules */
.e-rules {
  padding: 64px 0 96px;
}

.e-rules__grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.e-rules__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.e-rules__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
}

.e-rules__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.e-rule {
  padding-top: 18px;
  border-top: 1px solid var(--cream-300);
}

.e-rule__name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 1px;
}

.e-rule p {
  margin: 6px 0 0;
  color: var(--fg-2);
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .e-rules__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
  }
}

@media (max-width: 720px) {
  .e-rules__grid {
    gap: 32px;
  }

  .e-rules__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Book a call */
.e-book {
  padding: 72px 0 96px;
}

.e-book__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "cal cal" "agenda prices";
  gap: 44px 64px;
  align-items: start;
}

.e-book__card {
  grid-area: cal;
  scroll-margin-top: 24px;
}

.e-book__embed {
  position: relative;
  min-width: 320px;
  min-height: 700px;
}

.e-book__embed iframe {
  position: relative;
  z-index: 1;
  display: block;
}

/* Sits behind the scheduler until the calendar paints over it. */
.e-book__embed.is-ready .e-book__loading {
  display: none;
}

/* Once the calendar has painted, the container follows its real height */
.e-book__embed.is-ready {
  min-height: 0;
}

.e-book__loading {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 24px;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}




.e-agenda {
  grid-area: agenda;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.e-agenda__rows {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.e-agenda__row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--cream-200);
}

.e-agenda__row:last-child {
  border-bottom: 1px solid var(--cream-200);
}

.e-agenda__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-blue);
  padding-top: 3px;
  white-space: nowrap;
}

.e-agenda__row span:last-child {
  color: var(--fg-1);
  line-height: 1.6;
}

.e-prices {
  grid-area: prices;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.e-prices__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-200);
}

.e-prices__name {
  color: var(--fg-1);
  font-weight: 600;
}

.e-prices__val {
  font-family: var(--font-mono);
  color: var(--fg-2);
  white-space: nowrap;
}

.e-prices .t-meta {
  margin: 8px 0 0;
}

/* On the pricing page each offer also lists its tiers */
.e-prices__row--tiers {
  flex-wrap: wrap;
  row-gap: 4px;
  padding: 12px 0;
}

.e-prices__tiers {
  flex-basis: 100%;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-3);
}

.e-prices__tiers span {
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .e-book__grid {
    column-gap: 40px;
  }
}

@media (max-width: 920px) {
  .e-book__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "cal" "agenda" "prices";
  }
}

@media (max-width: 480px) {
  .e-prices__row {
    flex-direction: column;
    gap: 2px;
  }

  .e-prices__val {
    white-space: normal;
  }
}

/* Founder link under the bio on About */
.e-founder__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue-300);
}

/* Keep the five rule texts starting at the same height on wide screens */
@media (min-width: 921px) {
  .e-rule__name {
    min-height: 2lh;
  }
}

/* Privacy page prose */
.e-legal {
  padding: 64px 0 88px;
}

.e-legal__body {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.e-legal__body h2 {
  margin: 26px 0 0;
  font-size: 21px;
  letter-spacing: -0.015em;
  color: var(--fg-display);
}

.e-legal__body h2:first-child {
  margin-top: 0;
}

.e-legal__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-500);
}

.e-legal__body a {
  color: var(--brand-blue);
}

/* Case notes header on About */
.e-cases__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.e-cases__head h2 {
  margin: 0;
}


/* Booking row under the case notes on About */
.e-cases__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.e-note--ink {
  color: var(--ink-500);
}

/* Links inside body copy */
.e-faq__item p a,
.e-track h3 a,
.e-track p a,
.e-pricing__head p a,
.e-case__offer a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.e-track h3 a {
  color: inherit;
  text-decoration-color: var(--brand-blue);
}

/* Offer hero watermark: the offer's own icon, faint, to the right of the headline */
.e-page-hero--reporting::after,
.e-page-hero--dashboard::after,
.e-page-hero--capture::after,
.e-page-hero--custom::after {
  content: "";
  position: absolute;
  top: 56px;
  right: max(24px, calc((100% - var(--container)) / 2));
  width: 250px;
  height: 250px;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
}

.e-page-hero--reporting::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F2' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5M4 19h16'/%3E%3Cpath d='M8 16v-3M12.5 16v-5.5M17 16v-8'/%3E%3Cpath d='m6.8 12.6 11.4-7.1'/%3E%3Cpath d='M14.6 4.7h3.9v3.9'/%3E%3C/svg%3E");
}

.e-page-hero--dashboard::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F2' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='8' height='8' rx='2'/%3E%3Crect x='13' y='3' width='8' height='5' rx='2'/%3E%3Crect x='13' y='10' width='8' height='11' rx='2'/%3E%3Crect x='3' y='13' width='8' height='8' rx='2'/%3E%3C/svg%3E");
}

.e-page-hero--capture::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F2' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M9 3v3h6V3'/%3E%3Cpath d='m8.5 12.5 2.2 2.2 4.3-4.3'/%3E%3C/svg%3E");
}

.e-page-hero--custom::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F2' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h4M12 17h8'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='17' r='2'/%3E%3C/svg%3E");
}

@media (max-width: 1100px) {
  .e-page-hero--reporting::after,
  .e-page-hero--dashboard::after,
  .e-page-hero--capture::after,
  .e-page-hero--custom::after {
    display: none;
  }
}

/* Step cards sized to their own copy where lengths differ a lot */
.e-steps__list--hug {
  align-items: start;
}

/* Privacy: details column beside the policy text */
.e-legal__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.e-legal__meta {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.e-legal__meta p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-500);
}

.e-legal__meta a {
  color: var(--brand-blue);
}

@media (max-width: 920px) {
  .e-legal__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .e-legal__meta {
    position: static;
  }
}

/* MyDataAnalyst: an example month on the On-Call Analyst tier */
/* The month example on MyDataAnalyst sits in its own section after the covered and quoted lists */
.e-monthwrap .e-month {
  margin-top: 0;
}

.e-month {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 56px;
}

.e-month__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 720px;
}

.e-month__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.e-month__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
}

.e-month__rows {
  margin: 0;
  padding: 6px 28px;
  list-style: none;
}

.e-month__row {
  display: grid;
  grid-template-columns: 120px 110px minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--cream-200);
}

.e-month__row:first-child {
  border-top: 0;
}

.e-month__week {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.e-month__week b {
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-navy);
}

.e-month__type {
  justify-self: start;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.e-month__type--report {
  color: var(--success);
  background: rgba(18, 138, 92, 0.1);
}

.e-month__type--review {
  color: var(--brand-blue-700);
  background: var(--brand-blue-50);
  box-shadow: inset 0 0 0 1px var(--brand-blue-100);
}

.e-month__type--question {
  color: var(--brand-navy);
  background: var(--cream-100);
  box-shadow: inset 0 0 0 1px var(--cream-300);
}

.e-month__type--analysis {
  color: var(--brand-navy);
  background: var(--ink-100);
}

.e-month__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.e-month__text b {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brand-navy);
}

.e-month__text span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
}

.e-month__status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  color: var(--success);
}

.e-month__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 920px) {
  .e-month__rows {
    padding: 4px 18px;
  }

  .e-month__row {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
  }

  .e-month__week {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .e-month__type {
    justify-self: end;
  }

  .e-month__text,
  .e-month__status {
    grid-column: 1 / -1;
  }

  .e-month__status {
    justify-self: start;
  }
}

/* Pricing on the offer pages */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.e-jump {
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-blue-300);
  text-decoration: none;
}

.e-jump:hover {
  color: var(--white);
}

.e-page-hero__actions .e-jump ~ .e-note {
  flex-basis: 100%;
}

.e-fact__sub a {
  color: var(--brand-blue-300);
  text-decoration: none;
  font-weight: 600;
}

.e-fact__sub a:hover {
  color: var(--white);
}

.e-pricing {
  padding: 0 0 96px;
  scroll-margin-top: 88px;
}

.e-pricing__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 32px;
}

.e-pricing__head p {
  margin: 0;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.65;
}

.e-ok {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-blue-50);
  vertical-align: middle;
  flex-shrink: 0;
}

.e-ok svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.e-no {
  color: var(--ink-400);
  font-size: 18px;
}







/* Tier table */
.e-tt-wrap {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-5);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.e-tt {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14.5px;
}

.e-tt col.e-tt__label {
  width: 28%;
}

.e-tt th,
.e-tt td {
  padding: 15px 18px;
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
}

.e-tt td + td,
.e-tt th + td,
.e-tt thead th + th {
  border-left: 1px solid var(--cream-100);
}

.e-tt tbody tr + tr > * {
  border-top: 1px solid var(--cream-100);
}

.e-tt tbody th {
  text-align: left;
  color: var(--fg-1);
  font-weight: 500;
}

.e-tt tbody th small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--fg-3);
}

.e-tt thead th {
  padding: 26px 18px 22px;
  vertical-align: top;
  border-bottom: 2px solid var(--brand-navy);
}

.e-tt thead th:first-child {
  vertical-align: bottom;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.e-tt tbody .e-tt__grp th {
  padding: 10px 18px;
  background: var(--cream-50);
  border-top: 1px solid var(--cream-200);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.e-tt__v {
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}

.e-tier-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.e-tier-desc {
  display: block;
  min-height: 2.7em;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg-3);
}

.e-tier-price {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.e-tier-price small {
  display: block;
  min-height: 15px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.e-tier-book {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 16px;
  border: 1.5px solid var(--brand-blue);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
}

.e-tier-book:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* Included in every tier */
.e-incl {
  padding: 22px 24px 24px;
  background: var(--cream-50);
  border-top: 1px solid var(--cream-200);
}

.e-incl h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.e-incl ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
}

.e-incl li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-700);
}

/* Tier cards, used on phones in place of the table */
.e-tcards {
  display: none;
}

.e-tcard {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.e-tcard__head {
  padding: 20px 20px 16px;
  border-bottom: 2px solid var(--brand-navy);
}

.e-tcard__head .e-tier-desc {
  min-height: 0;
}

.e-tcard__head .e-tier-price {
  margin-top: 10px;
}

.e-tcard ul {
  list-style: none;
  margin: 0;
  padding: 4px 20px 8px;
}

.e-tcard li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  font-size: 14.5px;
  color: var(--fg-1);
}

.e-tcard li + li {
  border-top: 1px solid var(--cream-100);
}

.e-tcard li span:last-child {
  text-align: right;
  color: var(--ink-700);
}

.e-tcard .e-tier-book {
  margin: 4px 20px 20px;
}

.e-tcards .e-incl {
  border: 1px solid var(--cream-200);
  border-radius: var(--r-4);
  background: var(--white);
}

/* Two starting points, on Custom Solutions */
.e-pcs-wrap {
  background: var(--white);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-5);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.e-pcs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.e-pc + .e-pc {
  border-left: 1px solid var(--cream-100);
}

.e-pc__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 22px;
  border-bottom: 2px solid var(--brand-navy);
}

.e-pc .e-tier-name {
  font-size: 22px;
}

.e-pc__desc {
  max-width: 440px;
  min-height: 3em;
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-3);
}

.e-pc .e-tier-price {
  margin-top: 18px;
  font-size: 34px;
}

.e-pc .e-tier-book {
  margin-top: 18px;
}

.e-pc__rows {
  margin: 0;
  padding: 6px 28px 10px;
}

.e-pc__rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  font-size: 14.5px;
}

.e-pc__rows div + div {
  border-top: 1px solid var(--cream-100);
}

.e-pc__rows dt {
  font-weight: 500;
  color: var(--fg-1);
}

.e-pc__rows dd {
  margin: 0;
  text-align: right;
  color: var(--ink-700);
}

@media (max-width: 760px) {
  .e-pcs {
    grid-template-columns: 1fr;
  }

  .e-pc + .e-pc {
    border-left: none;
    border-top: 1px solid var(--cream-200);
  }

  .e-pc__top {
    padding: 22px 20px 18px;
  }

  .e-pc__desc {
    min-height: 0;
  }

  .e-pc__rows {
    padding: 4px 20px 8px;
  }
}

/* Under the table */
.e-pricing__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
}

.e-pricing__cta p {
  margin: 0;
  max-width: 680px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-2);
}

.e-pricing__book {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.e-pricing__book .e-note {
  color: var(--fg-3);
}

/* Add-ons */
.e-addons {
  margin-top: 48px;
}

.e-addons h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.e-addons > p {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--fg-2);
}

.e-addons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--r-4);
  overflow: hidden;
}

.e-addons li {
  padding: 16px 20px;
  border-top: 1px solid var(--cream-100);
  border-left: 1px solid var(--cream-100);
}

.e-addons li:nth-child(-n + 3) {
  border-top: none;
}

.e-addons li:nth-child(3n + 1) {
  border-left: none;
}

/* An add-on list that doesn't fill its last row: the last one takes the gap */
.e-addons li:last-child:nth-child(3n + 2) {
  grid-column: span 2;
}

.e-addons b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
}

.e-addons li span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-3);
}

@media (max-width: 760px) {


  .e-tt-wrap {
    display: none;
  }

  .e-tcards {
    display: grid;
    gap: 14px;
  }

  .e-incl {
    padding: 18px 20px;
  }

  .e-incl ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .e-pricing__book {
    width: 100%;
  }

  .e-pricing__book .btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .e-addons ul {
    grid-template-columns: 1fr;
  }

  .e-addons li,
  .e-addons li:nth-child(-n + 3) {
    border-left: none;
    border-top: 1px solid var(--cream-100);
  }

  .e-addons li:first-child {
    border-top: none;
  }

  .e-addons li:last-child:nth-child(3n + 2) {
    grid-column: auto;
  }
}
