/* Eightsend's own pictures for the four steps (site.html, "how it works"): white cards that play what each step does,
   in the manner of trylapis.com. site.js moves each card through its steps (data-step) while it's on screen. */

.es-anim {
  --es-ink: #2c0d12;
  --es-muted: #2c0d1294;
  --es-line: #2c0d1217;
  --es-soft: #f4f4f4;
  --es-ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  width: 100%;
  display: flex;
  justify-content: center;
}

.es-card {
  position: relative;
  width: min(600px, 100%);
  height: 360px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--es-line), 0 30px 60px -32px #2c0d1266;
  font-family: var(--font-product, Inter, Arial, sans-serif);
  color: var(--es-ink);
}

/* Everything inside moves smoothly between steps; the loop's reset jumps back without it. */
.es-card * {
  transition: opacity 0.6s var(--es-ease), transform 0.7s var(--es-ease), filter 0.7s var(--es-ease),
    top 0.7s var(--es-ease), left 0.7s var(--es-ease), width 0.7s var(--es-ease), height 0.7s var(--es-ease),
    font-size 0.7s var(--es-ease), background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.es-anim.es-reset .es-card * {
  transition: none !important;
}
.es-anim[data-step="out"] .es-card > * {
  opacity: 0 !important;
}

/* A line that shimmers while the step is working, centred first, then small in the top corner. */
.es-status {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 18px;
  color: var(--es-muted);
}
.es-anim:not([data-step="0"]) .es-status {
  top: 22px;
  left: 24px;
  width: auto;
  transform: none;
  font-size: 13px;
  text-align: left;
}
.es-shimmer {
  background: linear-gradient(90deg, #2c0d1270 0%, #2c0d12 45%, #2c0d1270 60%) 0 0 / 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: es-shimmer 1.6s linear infinite;
}
@keyframes es-shimmer {
  to {
    background-position: -220% 0;
  }
}

/* 1 · Learns your brand: the address types itself, the site appears, then the brand kit it learned. */
.es-url {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 58px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--es-soft);
  box-shadow: 0 20px 40px -24px #2c0d1240;
  font-size: 20px;
}
.es-anim:not([data-step="0"]):not([data-step="1"]) .es-url {
  top: 16px;
  width: 64%;
  height: 34px;
  transform: translate(-50%, 0);
  font-size: 13px;
  box-shadow: none;
}
.es-caret {
  width: 1.5px;
  height: 1.1em;
  background: var(--es-ink);
  animation: es-blink 1s steps(1) infinite;
}
.es-anim:not([data-step="0"]):not([data-step="1"]) .es-caret {
  opacity: 0;
}
@keyframes es-blink {
  50% {
    opacity: 0;
  }
}
.es-site {
  position: absolute;
  inset: 66px 22px 22px;
  overflow: hidden;
  border-radius: 12px;
  background: #3b1118;
  color: #eeeae2;
  opacity: 0;
  transform: translateY(26px);
}
.es-anim[data-step="2"] .es-site {
  opacity: 1;
  transform: none;
}
.es-site-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.es-site-bar img {
  filter: invert(1);
}
.es-site-bar span {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: #eeeae233;
}
.es-site-bar span:first-of-type {
  margin-left: auto;
}
.es-site-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  height: calc(100% - 40px);
  padding: 0 16px 16px 22px;
}
.es-site-hero p {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
}
.es-site-hero em {
  color: #bcd63a;
}
.es-site-hero i {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #bcd63a;
  color: #3b1118;
  font-size: 11px;
  font-style: normal;
}
.es-site-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.es-kit {
  position: absolute;
  inset: 66px 22px 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.es-kit > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--es-soft);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition-delay: calc(var(--i) * 0.13s);
}
.es-anim[data-step="3"] .es-kit > div {
  opacity: 1;
  transform: none;
}
.es-kit small {
  color: var(--es-muted);
  font-size: 11px;
}
.es-kit-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.es-swatch {
  height: 46px;
  border-radius: 8px;
}
.es-kit-font {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}
.es-kit-voice {
  font-size: 14px;
  line-height: 1.35;
}
.es-kit-products {
  display: flex;
  gap: 6px;
}
.es-kit-products img {
  width: 38px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

/* Step 1 ends on the buyers it found: who, their share of sales, what each costs, what they respond to. */
.es-kit.es-buyers {
  grid-template-rows: auto;
  align-content: center;
}
.es-buyers > div {
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 14px;
}
.es-buyers b {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
}
.es-buyer-share {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.es-buyer-share i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #6b1120, #c5203c);
  width: 0;
  transition: width 1.1s var(--es-ease) calc(0.3s + var(--i) * 0.13s) !important;
}
.es-anim[data-step="3"] .es-buyer-share i {
  width: calc(var(--w) * 2);
}
.es-anim.es-reset .es-buyer-share i {
  transition: none !important;
}

/* 2 · Creates the strategy: the plan fills in row by row, the budget splits, then it waits for your OK. */
.es-rows {
  position: absolute;
  inset: 54px 24px 70px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.es-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--es-soft);
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition-delay: calc(0.35s + var(--i) * 0.16s);
}
.es-anim:not([data-step="0"]) .es-row {
  opacity: 1;
  transform: none;
}
.es-row small {
  color: var(--es-muted);
  font-size: 11px;
}
.es-row b {
  font-weight: 600;
}
.es-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.es-chips i {
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--es-line);
  font-size: 12px;
  font-style: normal;
}
.es-bars {
  display: grid;
  gap: 4px;
}
.es-bars > span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.es-bars em {
  font-style: normal;
  color: var(--es-muted);
}
.es-bars i {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #6b1120, #c5203c);
  width: 0;
  transition: width 1.1s var(--es-ease) !important;
}
.es-anim[data-step="2"] .es-bars i,
.es-anim[data-step="3"] .es-bars i,
.es-anim[data-step="4"] .es-bars i {
  width: var(--w);
}
.es-anim.es-reset .es-bars i {
  transition: none !important;
}
.es-bars b {
  text-align: right;
  font-weight: 600;
}
.es-approve {
  position: absolute;
  right: 24px;
  bottom: 20px;
  height: 36px;
  opacity: 0;
  transform: translateY(10px);
}
.es-anim[data-step="3"] .es-approve,
.es-anim[data-step="4"] .es-approve {
  opacity: 1;
  transform: none;
}
.es-btn,
.es-done {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.es-btn {
  background: var(--es-ink);
  color: #fff;
}
.es-anim[data-step="3"] .es-btn {
  animation: es-press 1.2s var(--es-ease) 0.5s both;
}
@keyframes es-press {
  70% {
    transform: scale(1);
  }
  85% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}
.es-done {
  background: #f3e3e6;
  color: #6b1120;
  opacity: 0;
  transform: scale(0.9);
}
.es-anim[data-step="4"] .es-btn {
  opacity: 0;
}
.es-anim[data-step="4"] .es-done {
  opacity: 1;
  transform: none;
}

/* 3 · Generates the ads: one idea, in every size, sliding in sharp. */
.es-frames {
  position: absolute;
  inset: 58px 24px 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}
.es-frames figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  opacity: 0;
  filter: blur(12px);
  transform: translateX(40px);
  transition-delay: calc(0.35s + var(--i) * 0.22s);
}
.es-anim:not([data-step="0"]) .es-frames figure {
  opacity: 1;
  filter: none;
  transform: none;
}
.es-frames img {
  display: block;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  box-shadow: 0 16px 30px -18px #2c0d1280;
}
.es-r11 img {
  width: 150px;
  height: 150px;
}
.es-r45 img {
  width: 150px;
  height: 188px;
}
.es-r916 img {
  width: 128px;
  height: 228px;
}
.es-frames figcaption {
  color: var(--es-muted);
  font-size: 11px;
  opacity: 0;
}
.es-anim[data-step="2"] .es-frames figcaption {
  opacity: 1;
}
.es-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f3e3e6;
  color: #6b1120;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 8px);
}
.es-anim[data-step="2"] .es-badge {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 4 · Tests every week: two angles race, the winner is called, next week's test builds on it. */
.es-ab {
  position: absolute;
  inset: 56px 24px 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.es-arm {
  transition-delay: 0.3s;
  position: relative;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  background: var(--es-soft);
  opacity: 0;
  transform: translateY(12px);
}
.es-b {
  transition-delay: 0.45s;
}
.es-anim:not([data-step="0"]) .es-arm {
  opacity: 1;
  transform: none;
}
.es-arm img {
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}
.es-arm > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  flex: 1;
  padding-bottom: 4px;
}
.es-arm small {
  color: var(--es-muted);
  font-size: 11px;
}
.es-arm b {
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
}
.es-meter {
  height: 6px;
  border-radius: 3px;
  background: #2c0d1212;
  overflow: hidden;
}
.es-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: #2c0d1266;
  transition: width 1.6s var(--es-ease) !important;
}
.es-b .es-meter i {
  background: linear-gradient(90deg, #6b1120, #c5203c);
}
.es-anim.es-reset .es-meter i {
  transition: none !important;
}
.es-anim[data-step="2"] .es-meter i,
.es-anim[data-step="3"] .es-meter i,
.es-anim[data-step="4"] .es-meter i {
  width: var(--w);
}
.es-anim[data-step="2"] .es-arm b,
.es-anim[data-step="3"] .es-arm b,
.es-anim[data-step="4"] .es-arm b {
  opacity: 1;
}
.es-anim[data-step="3"] .es-a,
.es-anim[data-step="4"] .es-a {
  opacity: 0.45;
}
.es-anim[data-step="3"] .es-b,
.es-anim[data-step="4"] .es-b {
  box-shadow: 0 0 0 2px #6b1120;
}
.es-win {
  position: absolute;
  top: -10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #6b1120;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px) scale(0.9);
}
.es-anim[data-step="3"] .es-win,
.es-anim[data-step="4"] .es-win {
  opacity: 1;
  transform: none;
}
.es-result,
.es-next {
  position: absolute;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
}
.es-result {
  bottom: 50px;
  color: #6b1120;
  font-weight: 600;
}
.es-next {
  bottom: 18px;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--es-ink);
  color: #fff;
}
.es-anim[data-step="3"] .es-result,
.es-anim[data-step="4"] .es-result,
.es-anim[data-step="4"] .es-next {
  opacity: 1;
  transform: none;
}

@media (max-width: 680px) {
  .es-card {
    height: 380px;
  }
  .es-url {
    width: 88%;
    font-size: 16px;
  }
  .es-anim:not([data-step="0"]):not([data-step="1"]) .es-url {
    width: 80%;
  }
  .es-site,
  .es-kit {
    inset: 62px 14px 14px;
  }
  .es-site-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 4px 14px 14px;
  }
  .es-site-hero p {
    font-size: 22px;
  }
  .es-kit {
    gap: 7px;
  }
  .es-kit > div {
    padding: 9px;
  }
  .es-kit-logo {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .es-kit-logo img {
    width: 16px;
    height: 16px;
  }
  .es-swatch {
    height: 34px;
  }
  .es-kit-font {
    font-size: 30px;
  }
  .es-kit-voice {
    font-size: 11px;
  }
  .es-kit-products img {
    width: 24px;
    height: 30px;
  }
  .es-kit small {
    font-size: 10px;
  }
  .es-rows {
    inset: 50px 14px 64px;
    gap: 6px;
  }
  .es-row {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 0;
    padding: 8px 10px;
    font-size: 12px;
  }
  .es-chips {
    flex-wrap: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .es-chips i {
    flex: none;
    font-size: 11px;
  }
  .es-bars > span {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    gap: 6px;
  }
  .es-approve {
    right: 14px;
    bottom: 14px;
  }
  .es-status {
    font-size: 16px;
  }
  .es-anim:not([data-step="0"]) .es-status {
    left: 14px;
    top: 18px;
  }
  .es-frames {
    inset: 54px 12px 60px;
    gap: 8px;
  }
  .es-r11 img {
    width: 92px;
    height: 92px;
  }
  .es-r45 img {
    width: 92px;
    height: 115px;
  }
  .es-r916 img {
    width: 84px;
    height: 150px;
  }
  .es-ab {
    inset: 48px 14px 96px;
    gap: 10px;
  }
  .es-arm {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }
  .es-arm img {
    width: 100%;
    height: 108px;
  }
  .es-arm b {
    font-size: 13px;
  }
  .es-result,
  .es-next {
    left: 14px;
    right: 14px;
    font-size: 12px;
  }
  .es-result {
    bottom: 52px;
  }
  .es-next {
    max-width: calc(100% - 28px);
  }
  .es-kit.es-buyers {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .es-buyers > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    align-content: center;
    gap: 2px 10px;
    padding: 8px 12px;
  }
  .es-buyers b {
    font-size: 13px;
    margin: 0;
  }
  .es-buyer-share {
    grid-row: span 3;
    align-self: center;
    font-size: 12px;
  }
  .es-buyers small {
    font-size: 10px;
  }
}

/* Pricing, near the end (site.html, #pricing): two plans side by side, the managed one marked out. */
.es-pricing {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
}
.es-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--page-gutter);
}
.es-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1217, 0 20px 40px -34px #2c0d1280;
}
.es-plan-featured {
  box-shadow: 0 0 0 2px #b3122e, 0 20px 40px -30px #b3122e66;
}
.es-plan h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
}
.es-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 0;
}
.es-price b {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--green);
}
.es-price span {
  color: var(--muted);
  font-size: 16px;
}
.es-plan-line {
  max-width: 40ch;
  min-height: 3em; /* two lines, so every card's button lines up */
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.es-plan ul {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.es-plan li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.es-plan li svg {
  flex: none;
  color: #b3122e;
}
.es-plan-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fbe7ea;
  color: #b3122e;
  font-size: 12px;
  font-weight: 600;
}

/* Compare plans (sections/pricing.html): every plan's features in one table, under the plans. It scrolls sideways
   inside its own box on a phone, so the page never does. */
.es-compare {
  margin: 56px var(--page-gutter) 0;
}
.es-compare h3 {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.es-compare-scroll {
  overflow-x: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1217, 0 20px 40px -34px #2c0d1280;
}
.es-compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.es-compare th,
.es-compare td {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.es-compare thead th,
.es-compare thead td {
  border-top: 0;
  font-weight: 600;
}
.es-compare thead th span {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.es-compare td {
  white-space: nowrap;
}
.es-compare tbody th,
.es-compare thead td {
  position: sticky; /* the feature names stay put while a phone scrolls the plans */
  left: 0;
  z-index: 1;
  background: #fff;
}
.es-compare tbody th {
  font-weight: 400;
  text-align: left;
}
.es-compare tbody th small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.es-compare .es-yes {
  color: #b3122e;
  font-weight: 600;
}
.es-compare .es-no {
  color: var(--muted);
}
@media (max-width: 760px) {
  .es-compare {
    margin: 40px 16px 0;
  }
  .es-compare table {
    min-width: 600px;
    font-size: 14px;
  }
  .es-compare th,
  .es-compare td {
    padding: 12px 14px;
  }
  .es-compare tbody th {
    min-width: 150px;
    max-width: 150px;
    box-shadow: 1px 0 0 var(--line);
  }
}

/* The managed service: an add-on to any plan, in a strip under the plans. */
.es-topup {
  margin: 16px var(--page-gutter) 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.es-addon {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin: 16px var(--page-gutter) 0;
  padding: 28px 32px;
  border-radius: 16px;
  background: #f7f7f7;
  box-shadow: 0 0 0 1px #2c0d1217;
}
.es-addon small {
  color: #b3122e;
  font-size: 13px;
  font-weight: 600;
}
.es-addon h3 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}
.es-addon p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.es-addon ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.es-addon li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.es-addon li svg {
  flex: none;
  color: #b3122e;
}
.es-addon-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.es-addon-price .es-price {
  margin: 0;
}
.es-addon-price .es-price b {
  font-size: 40px;
}
@media (max-width: 1000px) {
  .es-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .es-addon {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .es-plans {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 16px;
  }
  .es-plan {
    padding: 24px;
  }
  .es-addon {
    margin: 16px 16px 0;
    padding: 24px;
  }
}

/* How to use Eightsend (site.html, #how-it-works): three cards, each a picture of that part of the product (a panel
   on a soft crimson backdrop, cut off at the right and bottom), a name, a line and a link. */
.es-use {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
}
.es-use h2 {
  margin: 0;
}
.es-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--page-gutter);
}
.es-use-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.es-use-pic {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: 6px;
  background: #e9dfe1 center / cover no-repeat;
}
.es-pic-media {
  background-image: url(/images/eightsend/textures/silk-launch.webp);
  background-position: 20% 30%;
}
.es-pic-ads {
  background-image: url(/images/eightsend/textures/silk-create.webp);
}
.es-pic-report {
  background-image: url(/images/eightsend/textures/silk-report.webp);
  background-position: 85% 70%;
}
.es-use-card h3 {
  margin: 22px 0 0;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
}
.es-use-card p {
  max-width: 44ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.es-use-more {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}
.es-use-more span {
  display: inline-block;
  transition: transform 0.18s;
}
@media (hover: hover) and (pointer: fine) {
  .es-use-card:hover .es-use-more {
    color: #b3122e;
  }
  .es-use-card:hover .es-use-more span {
    transform: translateX(4px);
  }
}
.es-use-card:focus-visible {
  outline: 2px solid #b3122e;
  outline-offset: 6px;
  border-radius: 6px;
}

/* The panel inside each picture. */
.es-panel {
  position: absolute;
  top: 20%;
  left: 16%;
  width: 104%;
  min-height: 90%;
  border-radius: 12px 0 0 0;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1214, 0 30px 60px -30px #2c0d1280;
  font-family: var(--font-product, Inter, Arial, sans-serif);
  color: #2c0d12;
  font-size: 14px;
}
.es-panel small {
  color: #2c0d1294;
  font-size: 12px;
}
.es-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #2c0d1217;
  font-weight: 500;
}
.es-panel-head small {
  margin-right: 20%;
  white-space: nowrap;
}
.es-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: #f4f4f4;
  font-weight: 400;
}
.es-tabs > * {
  padding: 4px 10px;
  border-radius: 6px;
  color: #2c0d1294;
}
.es-tabs b {
  background: #fff;
  color: #2c0d12;
  font-weight: 500;
  box-shadow: 0 1px 2px #2c0d1220;
}

/* Media buying: the week's campaigns and the last budget move. */
.es-camp {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  padding-right: calc(20% + 18px);
  border-bottom: 1px solid #2c0d120f;
}
.es-camp b {
  display: block;
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.es-camp em {
  font-style: normal;
  font-size: 13px;
  color: #2c0d12;
}
.es-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cdb8bb;
}
.es-live {
  background: #1d8a4a;
}
.es-move {
  margin: 14px 18px;
  margin-right: calc(20% + 18px);
  padding: 10px 12px;
  border-radius: 8px;
  background: #fbe7ea;
  color: #6b1120;
  font-size: 13px;
}

/* Ad creation: three of the week's ads and their copy. */
.es-ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 18px 0;
}
.es-ad-grid figure {
  margin: 0;
}
.es-ad-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}
.es-ad-grid figcaption {
  margin-top: 6px;
  color: #2c0d1294;
  font-size: 11px;
}
.es-copy {
  display: grid;
  gap: 2px;
  margin: 14px 18px;
  margin-right: calc(20% + 18px);
  padding-top: 12px;
  border-top: 1px solid #2c0d120f;
}
.es-copy b {
  margin-bottom: 8px;
  font-weight: 500;
}

/* Strategy and reporting: the week's numbers, a trend and what changes next. */
.es-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 18px 0;
  padding-right: calc(20% + 18px);
}
.es-kpis > div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f4f4f4;
}
.es-kpis small {
  white-space: nowrap;
}
.es-kpis b {
  font-size: 20px;
  font-weight: 500;
}
.es-kpis em {
  font-style: normal;
  color: #1d8a4a;
  font-size: 12px;
}
.es-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin: 16px 18px 0;
  margin-right: calc(20% + 18px);
  padding-bottom: 8px;
  border-bottom: 1px solid #2c0d1217;
}
.es-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #b3122e, #6b1120);
}
.es-next {
  display: grid;
  gap: 4px;
  margin: 14px 18px;
  margin-right: calc(20% + 18px);
}
.es-next b {
  font-weight: 500;
  line-height: 1.4;
}

/* Between tablet and desktop the cards are narrow: the report keeps two numbers and the headers drop their dates. */
@media (min-width: 901px) and (max-width: 1100px) {
  .es-panel {
    font-size: 13px;
  }
  .es-panel-head small,
  .es-tabs > :last-child {
    display: none;
  }
  .es-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .es-kpis > div:nth-child(2) {
    display: none;
  }
  .es-kpis b {
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  .es-uses {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .es-use-pic {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 760px) {
  .es-uses {
    padding: 0 24px;
  }
  .es-use-pic {
    aspect-ratio: 1 / 1.05;
  }
  .es-panel {
    top: 14%;
    left: 10%;
  }
}

/* Without / with Eightsend (site.html, #why): the whole process, step by step (tools, strategy, ads, reports), the
   usual way on grey above, Eightsend's on crimson below. Each tile is a small sketch, not a screenshot. */
/* Right under the hero, so it brings its own space above; "How to use" below brings the space between them. */
.es-vs {
  padding-top: var(--section-space-y);
}
.es-vs .es-vs-tile:nth-last-child(-n + 4) {
  margin-bottom: 0;
}
.es-vs-grid {
  display: grid;
  grid-template-columns: 170px repeat(4, minmax(0, 1fr));
  gap: 0 20px;
  padding: 0 var(--page-gutter);
}
.es-vs-label {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.es-vs-label:nth-of-type(2) {
  color: var(--ink);
}
.es-vs-tile {
  margin: 0 0 40px;
  min-width: 0;
}
.es-vs-pic {
  display: grid;
  place-items: center;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 6px;
  background: #ebe8e6;
}
.es-vs-new .es-vs-pic {
  background: url(/images/eightsend/textures/silk-create.webp) center / cover;
}
.es-vs-new:nth-of-type(odd) .es-vs-pic {
  background-image: url(/images/eightsend/textures/silk-report.webp);
  background-position: 30% 20%;
}
.es-vs-tile figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}
.es-vs-new figcaption {
  color: var(--ink);
}

/* The sketches. */
.es-ill {
  position: relative;
  width: 62%;
}
.es-ill-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  background: #f8f7f6;
  box-shadow: 0 0 0 1px #2c0d1214, 0 14px 28px -18px #2c0d1259;
}
.es-vs-new .es-ill-card {
  background: #fff;
}
.es-bar {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #cfc8c5;
}
.es-bar:first-child {
  background: #b9b0ac;
}
.es-vs-new .es-bar {
  background: #e3c3c9;
}
.es-vs-new .es-bar:first-child {
  background: #c98b97;
}
.es-vs-new .es-bar-soft {
  background: #f1dfe2;
}
.es-vs-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1e6d4;
  color: #6e5427;
  box-shadow: 0 4px 10px -4px #2c0d1240;
}
.es-vs-ok {
  background: #fbe7ea;
  color: #b3122e;
}

/* Without: five small apps, fanned. */
.es-ill-apps {
  display: flex;
  justify-content: center;
}
.es-mini {
  display: grid;
  align-content: start;
  gap: 5px;
  width: 30%;
  flex: none;
  margin-left: -9%;
  padding: 8px;
  border-radius: 7px;
  background: #f8f7f6;
  box-shadow: 0 0 0 1px #2c0d1214, 0 8px 16px -10px #2c0d1259;
  aspect-ratio: 0.8;
}
.es-mini:first-child {
  margin-left: 0;
}
.es-mini .es-bar {
  height: 5px;
}
.es-ill-apps .es-mini:nth-child(odd) {
  transform: rotate(-6deg) translateY(4px);
}
.es-ill-apps .es-mini:nth-child(even) {
  transform: rotate(5deg);
}

/* Without: the back and forth with an agency. */
.es-bub {
  display: grid;
  gap: 5px;
  width: 72%;
  padding: 8px;
  border-radius: 8px;
  background: #ebe8e6;
}
.es-bub .es-bar,
.es-bub .es-bar:first-child {
  background: #cfc8c5;
}
.es-bub-me {
  justify-self: end;
  background: #e2dcd9;
}

/* Without: an ad that hasn't arrived. */
.es-ph {
  aspect-ratio: 2;
  border-radius: 6px;
  background: repeating-linear-gradient(-45deg, #e6e1df 0 6px, #efebe9 6px 12px);
}

/* Without: three dashboards that don't agree. */
.es-ill-dash {
  display: flex;
  justify-content: center;
}
.es-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  aspect-ratio: 1;
  width: 38%;
}
.es-ill-dash .es-mini-chart {
  margin-left: -8%;
}
.es-ill-dash .es-mini-chart:first-child {
  margin-left: 0;
  transform: rotate(-5deg);
}
.es-ill-dash .es-mini-chart:nth-child(3) {
  transform: rotate(5deg) translateY(6px);
}
.es-mini-chart span {
  flex: 1;
  border-radius: 2px;
  background: #cfc8c5;
}

/* With: one connection to each account. */
.es-links {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.es-links span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d121f;
}
.es-links img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* With: the plan, ready to approve. */
.es-go {
  display: block;
  width: 38%;
  height: 18px;
  margin-top: 4px;
  border-radius: 6px;
  background: #b3122e;
}

/* With: this week's ads. */
.es-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.es-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
}

/* With: one report, trending up. */
.es-up {
  width: 100%;
  aspect-ratio: 2.4;
  padding-bottom: 4px;
  border-bottom: 1px solid #2c0d1217;
}
.es-up span {
  background: linear-gradient(180deg, #b3122e, #6b1120);
}

@media (max-width: 1100px) {
  .es-vs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .es-vs-label {
    grid-column: 1 / -1;
    margin: 0 0 14px;
  }
  .es-bub:nth-child(3) {
    display: none;
  }
  .es-bub {
    padding: 6px;
  }
  .es-links span {
    width: 30px;
    height: 30px;
  }
  .es-links img {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 760px) {
  .es-vs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    padding: 0 24px;
  }
  .es-vs-tile {
    margin-bottom: 28px;
  }
  .es-vs-tile figcaption {
    font-size: 15px;
  }
  .es-ill {
    width: 70%;
  }
  .es-ill-card {
    gap: 6px;
    padding: 10px;
  }
  .es-vs-badge {
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
  }
  .es-vs-badge svg {
    width: 14px;
    height: 14px;
  }
  .es-links {
    gap: 5px;
  }
  .es-links span {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .es-links img {
    width: 13px;
    height: 13px;
  }
}


/* Before / with Eightsend (site.html, #why, right under the hero): the pain in one line, then two cards: the pile
   of tools, chats and invoices, and the one loop Eightsend runs instead. */
.es-ba {
  padding: var(--section-space-y) var(--page-gutter) 0;
  text-align: center;
}
.es-ba h2 {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: var(--type-section);
  font-weight: 400;
  line-height: var(--type-leading);
  letter-spacing: var(--type-tracking);
  text-wrap: balance;
}
.es-ba-lead {
  max-width: 50ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  text-wrap: balance;
}
.es-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1220px;
  margin: 56px auto 0;
  text-align: left;
}
.es-ba-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  padding: 32px;
  border-radius: 24px;
}
.es-ba-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
}
.es-ba-card > p {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.45;
}
.es-ba-before {
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1217;
}
.es-ba-before > p {
  color: var(--muted);
}
.es-ba-after {
  background: #2c0d12;
  color: #fff;
}
.es-ba-after > p {
  color: #ffffffa3;
}

/* Before: the pile, fading out toward the top. */
.es-pile {
  position: relative;
  flex: 1;
  margin: 24px -32px -32px;
  -webkit-mask-image: linear-gradient(0deg, #000 55%, #0000 100%);
  mask-image: linear-gradient(0deg, #000 55%, #0000 100%);
}
.es-pile > * {
  position: absolute;
  transform: rotate(var(--r));
}
.es-pile-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d121a, 0 10px 20px -14px #2c0d1259;
}
.es-pile-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.85;
}
.es-pile-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d121f, 0 8px 16px -12px #2c0d1259;
  color: #2c0d12a6;
  font-size: 14px;
  white-space: nowrap;
}

/* With Eightsend: four steps on a ring around the mark, a light travelling round it. */
.es-loop {
  position: relative;
  flex: 1;
  min-height: 380px;
  margin-top: 24px;
}
.es-loop-ring,
.es-loop-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(300px, 74%);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.es-loop-ring {
  border: 1px solid #ffffff38;
}
.es-loop-dot::before {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a74;
  box-shadow: 0 0 14px 3px #ff5a7499;
}
@media (prefers-reduced-motion: no-preference) {
  .es-loop-dot {
    animation: es-orbit 8s linear infinite;
  }
}
@keyframes es-orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.es-loop-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #6b1120, #3b1118 70%);
  box-shadow: 0 0 0 1px #ffffff26, 0 0 60px 6px #b3122e59;
  transform: translate(-50%, -50%);
}
.es-loop-core img {
  width: 56px;
  height: auto;
  filter: brightness(0) invert(1);
}
.es-loop-tag {
  position: absolute;
  padding: 8px 16px;
  border-radius: 10px;
  background: #3b1118;
  box-shadow: 0 0 0 1px #ffffff21;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.es-t-top {
  top: calc(50% - min(150px, 37%));
  left: 50%;
  transform: translate(-50%, -50%);
}
.es-t-bottom {
  top: calc(50% + min(150px, 37%));
  left: 50%;
  transform: translate(-50%, -50%);
}
.es-t-left {
  top: 50%;
  left: calc(50% - min(150px, 37%));
  transform: translate(-50%, -50%);
}
.es-t-right {
  top: 50%;
  left: calc(50% + min(150px, 37%));
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  .es-ba-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .es-ba-card {
    min-height: 460px;
  }
}
@media (max-width: 760px) {
  .es-ba {
    padding-inline: 24px;
  }
  .es-ba-lead {
    font-size: 17px;
  }
  .es-ba-card {
    padding: 24px;
  }
  .es-pile {
    margin: 16px -24px -24px;
  }
  .es-pile-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .es-pile-icon img {
    width: 21px;
    height: 21px;
  }
  .es-pile-chip {
    font-size: 12px;
    padding: 6px 11px;
  }
  /* Three of the five chips fit a phone. */
  .es-pile-chip:nth-last-child(-n + 2) {
    display: none;
  }
  .es-loop {
    min-height: 320px;
  }
  .es-loop-tag {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* The three feature sections (site.html: media buying, ad creation, strategy and reporting). Each: a centred
   heading, then a card on the left (what it is, two actions, three tabs) and, on the right, the app showing the
   chosen tab on a crimson backdrop, with what it works with underneath. site.js switches the tabs. */
.es-feat {
  padding: calc(var(--section-space-y) * 1.25) var(--page-gutter) 0;
}
.es-feat-intro {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
}
.es-feat-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-section);
  font-weight: 400;
  line-height: var(--type-leading);
  letter-spacing: var(--type-tracking);
  text-wrap: balance;
}
.es-feat-intro h2 {
  margin-top: 16px;
}
.es-feat-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  align-items: center;
  gap: 64px;
  max-width: 1220px;
  margin: 56px auto 0;
}
/* The middle one swaps sides, so the three read as a zig-zag rather than a stack of the same block. */
.es-feat-flip .es-feat-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.8fr);
}
.es-feat-flip .es-feat-card {
  order: 2;
}
.es-feat-flip .es-feat-stage {
  padding: 22px 48px 28px 0;
}
.es-feat-flip .es-app {
  border-radius: 0 14px 14px 0;
}
.es-feat-flip .es-feat-pill,
.es-feat-flip .es-feat-foot {
  margin-left: 0;
  margin-right: -48px;
}
.es-feat-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.es-feat-lead {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
  text-wrap: pretty;
}
.es-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #b3122e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.es-eyebrow span {
  color: #2c0d1266;
  font-variant-numeric: tabular-nums;
}
.es-eyebrow span::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  vertical-align: middle;
}
.es-feat-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.es-feat-cta .button {
  margin: 0;
}
.es-feat-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.es-feat-tabs {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
/* The tabs: a quiet list; the chosen one darkens and gets a crimson line on its left. */
.es-feat-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  box-shadow: inset 2px 0 0 transparent;
  color: #2c0d128c;
  font: inherit;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, box-shadow 0.25s;
}
.es-feat-tabs button[aria-selected="true"] {
  color: #2c0d12;
  box-shadow: inset 2px 0 0 #b3122e;
}
.es-feat-tabs button[aria-selected="true"] svg {
  color: #b3122e;
}
@media (hover: hover) and (pointer: fine) {
  .es-feat-tabs button[aria-selected="false"]:hover {
    color: #2c0d12;
  }
  .es-feat-more:hover {
    color: #b3122e;
  }
}
.es-feat-tabs button:focus-visible {
  outline: 2px solid #b3122e;
  outline-offset: 2px;
}

/* The stage: the app on crimson, cut off at the right. */
.es-feat-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 22px 0 28px 48px;
  border-radius: 24px;
  background: linear-gradient(180deg, #2c0d1259, #2c0d1200 30%, #2c0d1273),
    url(/images/eightsend/textures/silk-launch.webp) center / cover;
  color: #fff;
}
#ad-creation .es-feat-stage {
  background-image: linear-gradient(180deg, #2c0d1259, #2c0d1200 30%, #2c0d1273),
    url(/images/eightsend/textures/silk-create.webp);
}
#strategy .es-feat-stage {
  background-image: linear-gradient(180deg, #2c0d1259, #2c0d1200 30%, #2c0d1273),
    url(/images/eightsend/textures/silk-report.webp);
}
.es-feat-pill {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  margin: 0 0 22px -48px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff26;
  box-shadow: inset 0 0 0 1px #ffffff33;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 15px;
  font-weight: 500;
}
.es-app {
  flex: 1;
  min-height: 430px;
  overflow: hidden;
  border-radius: 14px 0 0 14px;
  background: #fff;
  box-shadow: 0 30px 60px -30px #2c0d12b3;
  color: #2c0d12;
  font-family: var(--font-product, Inter, Arial, sans-serif);
  font-size: 14px;
}
.es-app-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid #2c0d1214;
}
.es-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.es-app-search {
  flex: 1;
  max-width: 340px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #f4f4f4;
  color: #2c0d1280;
  font-size: 13px;
}
.es-app-body {
  padding: 18px 22px 22px;
}
.es-app-body {
  display: grid;
}
/* Every view sits in the same cell, so the app keeps the height of the tallest and the page doesn't jump. */
.es-view {
  grid-area: 1 / 1;
  min-width: 0;
}
.es-view[hidden] {
  display: block;
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .es-view {
    animation: es-view-in 0.35s ease;
  }
}
@keyframes es-view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.es-view-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 16px;
}
.es-view-head b {
  font-weight: 600;
}
.es-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #2c0d12a6;
  font-size: 12px;
}
.es-chip-ok {
  background: #e3f3e8;
  color: #1d6b3a;
}
.es-feat-foot {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 24px 0 0 -48px;
}
.es-feat-foot small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.es-feat-foot div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.es-feat-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}
.es-feat-foot img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Views: shared pieces. */
.es-table {
  width: 100%;
  border-collapse: collapse;
}
.es-table th {
  padding: 8px 10px;
  border-bottom: 1px solid #2c0d1217;
  color: #2c0d1280;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.es-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #2c0d120d;
  white-space: nowrap;
}
.es-table td:first-child {
  font-weight: 500;
}
.es-table .es-dot {
  display: inline-block;
  margin-right: 10px;
  vertical-align: 1px;
}
.es-meter {
  display: inline-block;
  width: 100%;
  max-width: 160px;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #f1e4e6;
  vertical-align: middle;
}
.es-meter i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #6b1120, #b3122e);
}
.es-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fbe7ea;
  color: #6b1120;
  font-size: 13px;
  line-height: 1.45;
}

/* Media buying: budget and its log, the week's ads. */
.es-splits {
  display: grid;
  gap: 12px;
  padding: 4px 0 16px;
  border-bottom: 1px solid #2c0d1214;
}
.es-split {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 44px 80px;
  align-items: center;
  gap: 12px;
}
.es-split .es-meter {
  max-width: none;
  height: 10px;
}
.es-split em {
  font-style: normal;
  font-size: 12px;
  text-align: right;
}
.es-up-t {
  color: #1d6b3a;
}
.es-down {
  color: #b3122e;
}
.es-log {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.es-log li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  line-height: 1.45;
}
.es-log small {
  color: #2c0d1280;
  font-size: 12px;
  padding-top: 2px;
}
.es-adlist {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.es-adlist li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #2c0d120d;
}
.es-adlist img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.es-adlist b {
  display: block;
  font-weight: 500;
}
.es-adlist small {
  color: #2c0d1280;
  font-size: 12px;
}
.es-state {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.es-ok {
  background: #e3f3e8;
  color: #1d6b3a;
}
.es-off {
  background: #f4f4f4;
  color: #2c0d1280;
}

/* Ad creation: brand kit, copy, sizes. */
.es-kit2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.es-kit2 > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f6f5;
  line-height: 1.4;
}
.es-kit2 small {
  color: #2c0d1280;
  font-size: 12px;
}
.es-swatches {
  display: flex;
  gap: 6px;
}
.es-swatches i {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px #2c0d121a;
}
.es-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}
.es-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.es-shots img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}
.es-copylist {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.es-copylist li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #2c0d120d;
  line-height: 1.4;
}
.es-copylist small {
  color: #2c0d1280;
  font-size: 12px;
}
.es-copylist span {
  font-weight: 500;
}
.es-copylist em {
  padding: 2px 9px;
  border-radius: 999px;
  background: #fbe7ea;
  color: #6b1120;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.es-sizes {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.es-size {
  margin: 0;
  flex: none;
}
.es-size img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: 10px;
  box-shadow: 0 10px 20px -14px #2c0d1280;
}
.es-size figcaption {
  margin-top: 8px;
  color: #2c0d1280;
  font-size: 12px;
}
.es-sq {
  width: 170px;
}
.es-sq img {
  aspect-ratio: 1;
}
.es-tall {
  width: 150px;
}
.es-tall img {
  aspect-ratio: 4 / 5;
}
/* Not .es-story: that is the customer story page. */
.es-size-story {
  width: 118px;
}
.es-size-story img {
  aspect-ratio: 9 / 16;
}
.es-wide {
  width: 240px;
}
.es-wide img {
  aspect-ratio: 1.91;
}

/* Strategy and reporting: buyers, plan, report. */
.es-buyers2 td:nth-child(2) {
  width: 40%;
}
.es-buyers2 td:nth-child(2) b {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
}
.es-buyers2 .es-meter {
  max-width: 140px;
}
.es-planrows {
  display: grid;
}
.es-planrows > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #2c0d120d;
  line-height: 1.4;
}
.es-planrows small {
  color: #2c0d1280;
  font-size: 12px;
  padding-top: 2px;
}
.es-planrows span {
  font-weight: 500;
}
.es-kpis2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.es-kpis2 > div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f6f5;
}
.es-kpis2 small {
  color: #2c0d1280;
  font-size: 12px;
}
.es-kpis2 b {
  font-size: 22px;
  font-weight: 500;
}
.es-kpis2 .es-flat {
  color: #2c0d1280;
}
.es-kpis2 em {
  color: #1d6b3a;
  font-size: 12px;
  font-style: normal;
}
.es-bars2 {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2c0d1217;
}
.es-bars2 i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #b3122e, #6b1120);
}

@media (max-width: 1100px) {
  .es-feat-grid,
  .es-feat-flip .es-feat-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .es-feat-flip .es-feat-card {
    order: 0;
  }
  .es-feat-flip .es-feat-stage {
    padding: 22px 0 28px 48px;
  }
  .es-feat-flip .es-app {
    border-radius: 14px 0 0 14px;
  }
  .es-feat-flip .es-feat-pill,
  .es-feat-flip .es-feat-foot {
    margin-right: 0;
    margin-left: -48px;
  }
  .es-feat-card {
    max-width: 640px;
  }
  .es-feat-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
  }
  .es-feat-tabs button {
    padding: 14px 10px;
    box-shadow: inset 0 -2px 0 transparent;
    font-size: 15px;
  }
  .es-feat-tabs button[aria-selected="true"] {
    box-shadow: inset 0 -2px 0 #b3122e;
  }
}
@media (max-width: 760px) {
  .es-feat {
    padding-inline: 24px;
  }
  .es-feat-lead {
    font-size: 17px;
  }
  .es-feat-grid,
  .es-feat-flip .es-feat-grid {
    margin-top: 28px;
    gap: 28px;
  }
  .es-feat-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
  .es-feat-tabs button,
  .es-feat-tabs button[aria-selected="true"] {
    padding: 14px 0 14px 14px;
    box-shadow: inset 2px 0 0 transparent;
  }
  .es-feat-tabs button[aria-selected="true"] {
    box-shadow: inset 2px 0 0 #b3122e;
  }
  .es-feat-stage,
  .es-feat-flip .es-feat-stage {
    padding: 18px 0 22px 18px;
  }
  .es-feat-pill,
  .es-feat-foot,
  .es-feat-flip .es-feat-pill,
  .es-feat-flip .es-feat-foot {
    margin-left: -18px;
  }
  .es-feat-pill {
    font-size: 13px;
  }
  .es-app {
    min-height: 380px;
    font-size: 13px;
  }
  .es-app-search {
    display: none;
  }
  .es-app-body {
    padding: 14px;
  }
  .es-feat-foot span {
    font-size: 14px;
  }
  .es-kpis2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* No guide lines down the sides of the page: the frame and the dark band keep their width, not their borders. */
.home-module__txgM7a__frame {
  border-inline: 0;
}

/* Space between the last feature section and the dark band after it. */
.es-feat + .home-start-module__G2dK-q__band {
  margin-top: calc(var(--section-space-y) * 1.25);
}

/* The dark band runs edge to edge of the window; its content keeps the page width. */
html {
  overflow-x: clip;
}
.home-start-module__G2dK-q__band {
  margin-inline: calc(50% - 50vw);
}

/* The closing call to action: the full width of the screen, on the brand's wine silk, without the grain. */
.home-closing-module__F2AjUq__closing {
  margin-inline: calc(50% - 50vw);
  background: #efe9ea;
}
.home-closing-module__F2AjUq__closing::after {
  display: none;
}
.home-closing-module__F2AjUq__sky {
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, #ffffffd9, #ffffff80 60%, #ffffff1a),
    url(/images/eightsend/textures/wine-silk.webp) 50% 55% / cover;
}

/* The pricing page (/eightsend/pricing): the plans start below the header. */
.es-pricing-page .es-pricing {
  padding-top: calc(var(--section-space-y) + 40px);
}

/* The hero (site.html): a fan of cards on a wide arc, the week's work from research to results with this week's ad in
   the middle, and the headline under it with the ad platforms set into the sentence. The cards sit on a circle whose
   centre is far below the hero: each one is turned by its angle (--a) and pushed out by the radius (--r). */
.es-hero {
  --r: 940px;
  --cw: 250px;
  --ch: 320px;
  --top: 64px;
  position: relative;
  overflow: hidden;
  min-height: 920px;
  padding: 0 var(--page-gutter);
  margin-inline: calc(50% - 50vw);
  text-align: center;
}
.es-arc {
  position: absolute;
  left: 50%;
  top: calc(var(--top) + var(--ch) / 2 + var(--r));
  width: 0;
  height: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .es-arc {
    animation: es-sway 16s ease-in-out infinite alternate;
  }
}
@keyframes es-sway {
  from {
    transform: rotate(-1deg);
  }
  to {
    transform: rotate(1deg);
  }
}
/* The cards fade into the page as the arc drops toward the words, so the headline reads clean. */
.es-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    46% 34% at 50% calc(var(--top) + var(--ch) + 260px),
    var(--cream, #fff) 62%,
    transparent 100%
  );
  pointer-events: none;
}
.es-card2 {
  position: absolute;
  left: calc(var(--cw) / -2);
  top: calc(var(--ch) / -2);
  display: flex;
  flex-direction: column;
  width: var(--cw);
  height: var(--ch);
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  background: #f6f3f2;
  box-shadow: 0 0 0 1px #2c0d120f, 0 24px 48px -32px #2c0d1259;
  color: #2c0d12;
  font-family: var(--font-product, Inter, Arial, sans-serif);
  font-size: 13px;
  text-align: left;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1));
}
.es-card2 small {
  color: #2c0d1280;
  font-size: 12px;
}
.es-c-far {
  opacity: 0.5;
}
.es-c-mid {
  opacity: 0.75;
}
.es-mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Researching: a field of dots, as if read from many places at once. */
.es-dots {
  flex: 1;
  margin: 14px -18px -18px;
  background: radial-gradient(circle, #2c0d1238 1.2px, transparent 1.6px) 0 0 / 9px 9px;
  -webkit-mask-image: radial-gradient(70% 60% at 45% 55%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 45% 55%, #000, transparent);
}
.es-c-rows {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.es-c-rows p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #2c0d1214;
  font-weight: 500;
}
.es-c-bars {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.es-c-bars p {
  display: grid;
  gap: 6px;
  margin: 0;
  font-weight: 500;
}
.es-c-bars i {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #6b1120, #b3122e);
}
/* This week's ad, in the middle. */
.es-c-hero {
  padding: 0;
  background: #1f3b2d;
  box-shadow: 0 0 0 1px #2c0d121a, 0 40px 70px -36px #2c0d1299;
}
.es-c-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.es-c-cap {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #2c0d12c7;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 15px;
}
.es-c-cap small {
  color: #ffffffb3;
}
.es-c-line {
  width: 100%;
  margin-top: auto;
  color: #b3122e;
}
.es-c-note {
  margin: 12px 0 0;
  font-weight: 500;
}
.es-c-dark {
  background: #2c0d12;
  color: #fff;
}
.es-c-dark small {
  color: #ffffff8c;
}
.es-c-dark b {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}
.es-c-foot {
  margin-top: auto;
}
.es-c-big {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  color: #b3122e;
}
.es-c-big + .es-c-foot {
  margin-top: 10px;
}

/* The label under the middle card, then the words. */
.es-hero-label {
  position: relative;
  z-index: 2;
  margin: calc(var(--top) + var(--ch) + 16px) 0 0;
  font-size: 14px;
  font-weight: 500;
}
.es-hero-label span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
  font-size: 11px;
}
.es-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 56px auto 0;
  padding-bottom: 72px;
}
.es-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: var(--type-tracking);
  color: var(--ink);
}
/* The platforms, set into the sentence. */
.es-chips {
  display: inline-flex;
  vertical-align: 0.06em;
  margin: 0 0.12em;
}
.es-chips i {
  font-size: inherit;
  display: grid;
  place-items: center;
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  background: #f6f3f2;
  box-shadow: 0 0 0 3px var(--cream, #fff), 0 0 0 4px #2c0d1214;
}
.es-chips i + i {
  margin-left: -0.18em;
}
.es-chips img {
  width: 56%;
  height: 56%;
  object-fit: contain;
}
.es-hero-lead {
  max-width: 46ch;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  text-wrap: balance;
}
.es-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.es-hero-actions .button {
  margin: 0;
  min-height: 48px;
  padding-inline: 24px;
  font-size: 16px;
}
.es-hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .es-hero {
    --r: 760px;
    --cw: 210px;
    --ch: 270px;
  }
}
@media (max-width: 760px) {
  .es-hero {
    --r: 520px;
    --cw: 150px;
    --ch: 196px;
    --top: 40px;
    min-height: 0;
    padding-inline: 24px;
  }
  .es-card2 {
    padding: 12px;
    border-radius: 14px;
    font-size: 11px;
  }
  .es-card2 small {
    font-size: 10px;
  }
  .es-card2.es-c-hero {
    padding: 0;
  }
  .es-c-cap {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 7px 9px;
    font-size: 12px;
  }
  .es-c-dark b {
    font-size: 17px;
  }
  .es-c-big {
    font-size: 44px;
  }
  .es-hero-copy {
    margin-top: 36px;
    padding-bottom: 48px;
  }
  .es-hero-lead {
    font-size: 17px;
  }
}

/* Customer stories (/eightsend/customers and /eightsend/customers/<slug>, app/eightsend/stories.ts): the results up
   front in big figures, the cover, then the story in one reading column, and cards for the other stories. */
.es-story {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: calc(var(--section-space-y) + 40px) var(--page-gutter) var(--section-space-y);
}
.es-story-hero {
  max-width: 880px;
}
.es-story-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.es-story h1 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.es-story h1 span {
  color: var(--muted);
}
.es-story-dek {
  margin: 20px 0 0;
  max-width: 680px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
}
.es-story-hero .button {
  margin-top: 32px;
}
.es-story-figs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
}
.es-story-figs > div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.es-story-figs dt {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.es-story-figs dd {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}
.es-story-results > div {
  border-left: 2px solid var(--ink);
}
.es-story-work dt {
  font-size: clamp(30px, 3vw, 40px);
}
.es-story-note,
.es-story-pending {
  margin: 20px 0 0;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.es-story-pending {
  font-size: 16px;
}
.es-story-cover {
  margin: 56px 0 0;
}
.es-story-cover img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 16px;
}
.es-story-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}
.es-story-body section {
  margin-top: 64px;
}
.es-story-body h2,
.es-story-more h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.es-story-body h2 > span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.es-story-body p {
  margin: 16px 0 0;
}
.es-story-body ol {
  margin: 16px 0 0;
  padding-left: 24px;
}
.es-story-body ol li + li {
  margin-top: 8px;
}
.es-story-link {
  display: inline-flex;
  gap: 8px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.es-story-quote {
  margin: 32px 0;
  padding-left: 20px;
  border-left: 2px solid var(--ink);
}
.es-story-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
}
.es-story-quote figcaption,
.es-story-ads figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.es-story-ads {
  display: grid;
  gap: 16px;
  max-width: 420px;
  margin: 32px 0;
}
.es-story-ads-many {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}
.es-story-ads img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.es-story-takeaways ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.es-story-takeaways li {
  padding-left: 16px;
  border-left: 2px solid var(--line);
}
.es-story-takeaways li + li {
  margin-top: 14px;
}
.es-story-faq {
  margin: 8px 0 0;
}
.es-story-faq > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.es-story-faq dt {
  font-weight: 500;
}
.es-story-faq dd {
  margin: 8px 0 0;
  color: var(--muted);
}
.es-story-more {
  margin-top: calc(var(--section-space-y) * 1.25);
}
.es-story-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.es-story-more .es-story-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.es-story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.es-story-card:hover {
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.es-story-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}
.es-story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.es-story-card-client {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.es-story-card strong {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.es-story-card-label {
  flex: 1;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.45;
}
.es-story-card .es-story-link {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .es-story-figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .es-story-cards,
  .es-story-more .es-story-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .es-story {
    padding-inline: 24px;
  }
  .es-story-body {
    font-size: 17px;
  }
}

/* A story's "In their words": the client's team on working with us, in cards across the page under the cover. */
.es-story-praise {
  margin-top: 56px;
}
.es-story-praise h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
}
.es-story-praise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.es-story-praise figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.es-story-praise blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.3;
}
.es-story-praise figcaption {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .es-story-praise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The rest of the page's textures: cuts of the same wine silk as the closing section, a different one in each place. */
.home-start-module__G2dK-q__band::before {
  background-image: linear-gradient(100deg, #2c0d12f0 0%, #2c0d12d6 48%, #2c0d1299 100%),
    url(/images/eightsend/textures/silk-band.webp);
}
.offer-comparison-module__yIqSeG__platformProof,
.use-case-pictures-module__MABIEq__tile[data-side="with"] {
  background-image: url(/images/eightsend/textures/silk-card.webp);
}
.platform-apps-stage-module__-ycdya__stage,
.growth-platform-scene-module__kib1YG__stage,
.seasonal-page-module__Es3v5W__heroPanel::before {
  background-image: url(/images/eightsend/textures/silk-band.webp);
}
.platform-feature-visual-module__ax7KfG__example {
  background-image: url(/images/eightsend/textures/silk-create.webp);
}

/* The dark band: the heading centred, the apps drifting past in two rows, and the four steps as stops on one line
   that ends lit at Autopilot. */
.es-start {
  max-width: var(--content-max);
  margin: auto;
  padding: var(--section-space-y) var(--page-gutter);
}
.es-start-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.es-start-head h2 {
  color: #fff;
  font-size: clamp(34px, 3.8vw, 54px);
  text-wrap: balance;
}
.es-start-head h2 > span {
  color: #ffffff9e;
}
.es-start-head > p {
  max-width: 46ch;
  margin: 22px 0 0;
  color: #ffffffc2;
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}
.es-start-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin-top: 30px;
}
.es-start-actions .button {
  color: var(--action);
  background: #fff;
}
.es-start-actions .button > span {
  color: #fff;
  background: var(--action);
}
.es-start-actions .button:focus-visible,
.es-start-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.es-start-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.es-start-link > span {
  transition: transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .es-start-link:hover > span {
    transform: translate(5px);
  }
}

.es-start-apps {
  display: grid;
  gap: 14px;
  margin: 64px calc(var(--page-gutter) * -1) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.es-start-row {
  overflow: hidden;
}
.es-start-track,
.es-start-copy {
  display: flex;
  gap: 14px;
  width: max-content;
}
.es-start-track {
  padding-right: 14px;
  animation: es-start-drift 110s linear infinite;
}
.es-start-row-back .es-start-track {
  animation-direction: reverse;
  animation-duration: 130s;
}
@keyframes es-start-drift {
  to {
    transform: translateX(-50%);
  }
}
.es-start-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: #ffffff14;
  box-shadow: inset 0 0 0 1px #ffffff21;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.es-start-chip img {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 7px;
  border-radius: 50%;
  background: #fff;
}

.es-start-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}
.es-start-path::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff2e, #ffffff47 60%, #e04a62);
}
.es-start-path li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 34px;
}
.es-start-path i {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2c0d12;
  box-shadow: inset 0 0 0 2px #ffffffa8;
}
.es-start-path li:last-child i {
  background: #e04a62;
  box-shadow: 0 0 0 6px #e04a6233, 0 0 24px 4px #e04a6280;
}
.es-start-num {
  color: #ffffff8f;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.es-start-path b {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}
.es-start-path p {
  margin: 10px 0 0;
  color: #ffffffbd;
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .es-start-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .es-start-path::before {
    display: none;
  }
}
@media (max-width: 560px) {
  .es-start-apps {
    margin-top: 44px;
  }
  .es-start-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 52px;
  }
  .es-start-path li {
    padding: 0 0 28px 34px;
  }
  .es-start-path::before {
    display: block;
    top: 0;
    bottom: 28px;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #ffffff2e, #ffffff47 60%, #e04a62);
  }
  .es-start-path b {
    margin-top: 2px;
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .es-start-track {
    animation: none;
  }
  .es-start-row {
    overflow-x: auto;
  }
}

/* Ad creation's first tab: the ad library the research reads, and one thing it found. */
.es-library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.es-library figure {
  margin: 0;
  min-width: 0;
}
.es-library img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}
.es-library figcaption {
  display: grid;
  margin-top: 7px;
  color: #2c0d1280;
  font-size: 12px;
  line-height: 1.35;
}
.es-library figcaption b {
  color: #2c0d12;
  font-weight: 600;
}
.es-finding {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #2c0d120d;
  line-height: 1.4;
}
.es-finding small {
  color: #2c0d1280;
  font-size: 12px;
}
.es-finding span {
  font-weight: 500;
}
@media (max-width: 560px) {
  .es-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .es-finding {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* The hero's analytics cards: a heading row with its period or change, the number first, then the chart. */
.es-c-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.es-c-tag,
.es-c-delta {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.es-c-tag {
  background: #2c0d120d;
  color: #2c0d1299;
}
.es-c-delta {
  background: #e3f3e8;
  color: #1d6b3a;
}
.es-c-bars {
  gap: 14px;
}
.es-c-bars p {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 6px;
}
.es-c-bars em {
  color: #2c0d1299;
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.es-c-bars i {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #2c0d1210;
}
.es-c-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #6b1120, #b3122e);
}
.es-c-bars p + p i::after {
  opacity: 0.7;
}
.es-c-kpi {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.es-c-sub {
  margin-top: 6px;
}
.es-c-line {
  flex: 1;
  min-height: 0;
  height: auto;
  margin-top: 12px;
}
.es-c-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #2c0d1266;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.es-c-big {
  margin-top: 14px;
}
.es-c-big + .es-c-sub {
  margin-top: 6px;
}
.es-c-cols {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 4px;
  min-height: 0;
  margin-top: 14px;
}
.es-c-cols i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: #b3122e2e;
}
.es-c-cols i:last-child {
  background: linear-gradient(180deg, #b3122e, #6b1120);
}
.es-c-push {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px 8px 8px;
  border-radius: 10px;
  background: #1a0a0dcc;
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 0 0 1px #ffffff1f;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.es-c-push img {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  object-fit: contain;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
}
.es-c-push span {
  margin-left: auto;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .es-c-tag,
  .es-c-axis {
    display: none;
  }
  .es-c-delta {
    padding: 1px 6px;
    font-size: 9px;
  }
  .es-c-kpi {
    margin-top: 8px;
    font-size: 26px;
  }
  .es-c-bars {
    gap: 9px;
    margin-top: 12px;
  }
  .es-c-bars em {
    font-size: 10px;
  }
  .es-c-push {
    right: 7px;
    bottom: 7px;
    left: 7px;
    gap: 6px;
    padding: 5px 8px 5px 5px;
    border-radius: 8px;
    font-size: 10px;
  }
  .es-c-push img {
    width: 12px;
    height: 12px;
    padding: 3px;
  }
}

/* The managed service photo is a portrait in a landscape frame: keep the face in it. */
.offer-comparison-module__yIqSeG__growthProof > img {
  object-position: 50% 80%;
}

/* The managed service page (/eightsend/managed-service, sections/managed-service.html): how we run a client's Meta ads in
   weekly packs. .es-ms is the page; .es-am is a Meta Ads Manager window drawn in HTML (tabs, toolbar, the table). */
.es-ms-hero {
  padding: calc(var(--section-space-y) + 40px) var(--page-gutter) 0;
  text-align: center;
}
.es-ms-eyebrow,
.es-ms-tag {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.es-ms-hero h1 {
  max-width: 20ch;
  margin: 16px auto 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: var(--type-leading);
  letter-spacing: var(--type-tracking);
  text-wrap: balance;
}
.es-ms-hero h1 span {
  color: var(--muted);
}
.es-ms-lead {
  max-width: 56ch;
  margin: 22px auto 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  text-wrap: balance;
}
.es-ms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
}
.es-ms-link {
  color: inherit;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.es-ms-hero-am {
  max-width: 1120px;
  margin: 64px auto 0;
  text-align: left;
}
.es-ms-section {
  padding: var(--section-space-y) 0 0;
}
.es-ms-section > :not(.home-module__txgM7a__sectionHeading) {
  margin-inline: var(--page-gutter);
}

/* Four pillars. */
.es-ms-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.es-ms-pillars article {
  padding-top: 20px;
  border-top: 1px solid #2c0d1226;
}
.es-ms-pillars h3,
.es-ms-steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 500;
}
.es-ms-pillars p,
.es-ms-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* How it works: five numbered steps. */
.es-ms-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}
.es-ms-steps li {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1217;
}
.es-ms-steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

/* Inside a pack: the copy and its legend beside the ad sets, then the ads. */
.es-ms-split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}
.es-ms-copy p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
}
.es-ms-legend {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}
.es-ms-legend div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.es-ms-legend dt {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 6px;
  background: #2c0d120f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.es-ms-legend dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.es-ms-ads {
  margin-top: 24px;
}

/* By avatar or by concept; who does what. */
.es-ms-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.es-ms-card {
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1217;
}
.es-ms-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}
.es-ms-card > p:not(.es-ms-tag) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.es-ms-card .es-am-mini {
  margin-top: 24px;
}
.es-ms-card-dark {
  background: #2c0d12;
  box-shadow: none;
  color: #fff;
}
.es-ms-card-dark .es-ms-tag {
  color: #ffffffa3;
}
.es-ms-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.es-ms-list li {
  padding: 12px 0;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 14%, transparent);
  font-size: 17px;
}

/* The weekly read: a condition and what we do. */
.es-ms-rules {
  margin: 0;
  padding: 0;
  list-style: none;
}
.es-ms-rules li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #2c0d1217;
}
.es-ms-rules p {
  margin: 0;
  font-size: 19px;
}
.es-ms-do {
  padding: 12px 16px;
  border-radius: 12px;
  background: #2c0d120a;
  color: #2c0d12;
  font-size: 16px;
  line-height: 1.45;
}
.es-ms-keep {
  background: #31a24c1a;
}
.es-ms-cut {
  background: #e4111117;
}
.es-ms-faq {
  margin-top: var(--section-space-y);
}

/* An Ads Manager window: Meta's colours and type, our names. */
.es-am {
  --am-ink: #1c2b33;
  --am-sub: #65676b;
  --am-line: #dadde1;
  --am-blue: #0866ff;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px #2c0d1217, 0 30px 60px -36px #2c0d1259;
  color: var(--am-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
}
.es-am-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--am-line);
  font-size: 15px;
}
.es-am-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #0866ff, #00c6ff, #0866ff);
}
.es-am-acct,
.es-am-date {
  padding: 6px 10px;
  border: 1px solid var(--am-line);
  border-radius: 6px;
  color: var(--am-ink);
  font-size: 13px;
}
.es-am-acct {
  margin-left: 8px;
}
.es-am-date {
  margin-left: auto;
}
.es-am-crumb {
  padding: 12px 16px;
  border-bottom: 1px solid var(--am-line);
  color: var(--am-sub);
}
.es-am-crumb b {
  color: var(--am-ink);
  font-weight: 600;
}
.es-am-tabs {
  display: flex;
  gap: 4px;
  padding: 0 12px;
  border-bottom: 1px solid var(--am-line);
  background: #f5f6f7;
  overflow: hidden;
  white-space: nowrap;
}
.es-am-tabs span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: var(--am-sub);
  font-weight: 600;
}
.es-am-tabs .es-am-on {
  margin-bottom: -1px;
  border: 1px solid var(--am-line);
  border-bottom-color: #fff;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: var(--am-blue);
}
.es-am-tabs i {
  width: 14px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 2px;
}
.es-am-tabs .es-am-i-s {
  border-radius: 50%;
  height: 14px;
}
.es-am-tabs .es-am-i-a {
  border-radius: 3px;
  box-shadow: inset 0 -4px 0 -2px currentColor;
}
.es-am-tools {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--am-line);
  white-space: nowrap;
  overflow: hidden;
}
.es-am-tools span {
  padding: 7px 12px;
  border: 1px solid var(--am-line);
  border-radius: 6px;
  font-weight: 600;
}
.es-am-tools .es-am-create {
  border-color: #31a24c;
  background: #31a24c;
  color: #fff;
}
.es-am-scroll {
  overflow-x: auto;
}
.es-am table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.es-ms-ads table {
  min-width: 600px;
}
.es-ms-split .es-am table {
  min-width: 0;
}
.es-ms-split .es-am td {
  white-space: normal;
}
.es-am th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--am-line);
  background: #f5f6f7;
  color: var(--am-sub);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.es-am td {
  padding: 12px;
  border-bottom: 1px solid #edeef0;
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}
.es-am th:nth-child(-n + 2),
.es-am td:nth-child(-n + 2) {
  text-align: left;
}
.es-am th:first-child,
.es-am td:first-child {
  width: 56px;
}
.es-am td small {
  display: block;
  margin-top: 2px;
  color: var(--am-sub);
  font-size: 11px;
}
.es-am td.es-am-name {
  color: var(--am-blue);
  font-weight: 500;
  white-space: normal;
  min-width: 220px;
}
.es-am-name em {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e7f0ff;
  font-size: 11px;
  font-style: normal;
}
.es-am tr.es-am-hl td {
  background: #f2f7ff;
}
.es-am tr.es-am-offrow td {
  color: var(--am-sub);
}
.es-am tr.es-am-offrow td.es-am-name {
  color: #6f8ab3;
}
.es-am-tg {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: var(--am-blue);
  vertical-align: middle;
}
.es-am-tg::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 15px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}
.es-am-tg.es-am-off {
  background: #ccd0d5;
}
.es-am-tg.es-am-off::after {
  left: 2px;
}
.es-am-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #31a24c;
}
.es-am-dot.es-am-learn {
  background: #fff;
  box-shadow: inset 0 0 0 2px #31a24c;
}
.es-am-dot.es-am-grey {
  background: #bec3c9;
}
.es-am-share {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--am-blue) var(--w), #e4e6eb var(--w));
}
.es-am-thumb {
  display: inline-block;
  width: 22px;
  height: 27px;
  margin: -4px 10px -6px 0;
  border-radius: 3px;
  background: linear-gradient(160deg, #e9d6cf, #b78f86);
  vertical-align: middle;
}
.es-am-thumb.es-am-v {
  width: 16px;
  height: 28px;
  background: linear-gradient(160deg, #5a3a3f, #c49a8f);
}
.es-am-note {
  margin: 0;
  padding: 10px 16px;
  color: var(--am-sub);
  font-size: 12px;
}
.es-am-mini ul {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.es-am-mini li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #edeef0;
  color: var(--am-blue);
  font-weight: 500;
}
.es-am-mini li:last-child {
  border-bottom: 0;
}

@media (max-width: 1100px) {
  .es-ms-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .es-ms-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .es-ms-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .es-ms-hero {
    padding-inline: 24px;
  }
  .es-ms-section > :not(.home-module__txgM7a__sectionHeading),
  .es-ms-hero-am {
    margin-inline: 24px;
  }
  .es-ms-hero-am {
    margin-inline: 0;
  }
  .es-ms-lead {
    font-size: 17px;
  }
  .es-ms-pillars,
  .es-ms-steps,
  .es-ms-two,
  .es-ms-rules li {
    grid-template-columns: minmax(0, 1fr);
  }
  .es-ms-rules li {
    gap: 10px;
  }
  .es-ms-card {
    padding: 22px;
  }
  .es-am-acct {
    display: none;
  }
  .es-ms-split .es-am table {
    min-width: 600px;
  }
}

/* The Y Combinator banner above the header (site.html): it scrolls away; the header stays. */
.es-yc-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  background: #f26625;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}
.es-yc-banner b {
  font-weight: 600;
}
.es-yc-mark {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
@media (max-width: 520px) {
  .es-yc-banner {
    font-size: 13px;
  }
  .es-yc-sep {
    display: none;
  }
  .es-yc-raise {
    display: block;
  }
}
