/*
 * Sabra Business One · "Coming soon" section (sabrasoftware.tech).
 * Uses the site's own tokens (--void, --grad, --line, --font-display…) with fallbacks, and only `cs`-prefixed
 * classes, so nothing else on the page is affected.
 */

.section--coming-soon {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y, clamp(72px, 9vw, 128px));
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 77, 255, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(79, 139, 255, .18), transparent 60%),
    var(--deep, #0a0d1f);
  color: var(--starlight, #f4f6ff);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid var(--line, rgba(140, 150, 255, .16));
  isolation: isolate;
}

/* The scroll-over effect: this section slides over the pinned hero (the role About had before; see README). */
@media (max-width: 1024px) { .section--coming-soon.section--overlap { margin-top: -32px !important; } }
.film-pin .section--coming-soon.section--overlap { margin-top: calc(-1 * var(--app-h, 100svh)) !important; }
.section--coming-soon { z-index: 4; }

.cs-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: conic-gradient(from 200deg at 50% 50%, transparent, rgba(155, 107, 255, .16), transparent 40%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.cs { display: grid; gap: clamp(32px, 4vw, 56px); }
/* A bit wider than the site's usual container, so the laptop can be as tall as the sign-up column beside it. */
.section--coming-soon > .container.cs { max-width: max(var(--container, 1240px), 1400px); }

/* ---------- heading ---------- */

.cs__head { max-width: 760px; margin-inline: auto; text-align: center; }

.cs__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line, rgba(140, 150, 255, .16));
  border-radius: 999px;
  background: rgba(14, 18, 48, .62);
  color: var(--blue-deep, #8fb3ff);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cs__pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green, #34d399);
}
.cs__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green, #34d399);
  animation: cs-pulse 1.8s var(--ease-out, ease-out) infinite;
}
@keyframes cs-pulse {
  from { transform: scale(.6); opacity: .9; }
  to { transform: scale(1.8); opacity: 0; }
}

.cs__logo {
  display: block;
  width: min(460px, 86%);
  height: auto;
  margin: 20px auto 25px;
  filter: drop-shadow(0 0 32px rgba(124, 77, 255, .55));
}

.cs__title {
  margin: 0;
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.cs__grad {
  background: var(--grad-vivid, linear-gradient(120deg, #8fb3ff 0%, #4f8bff 35%, #7c4dff 70%, #9b6bff 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs__lead {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--ink-2, #c3caee);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
}

.cs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 1080px) {
  .cs__grid { grid-template-columns: minmax(0, 2.2fr) minmax(320px, 1fr); }
}
/* Smaller desktops: tighten the sign-up column so the laptop's bottom still lines up with the card's bottom. */
@media (min-width: 1080px) and (max-width: 1399px) {
  .cs__grid { grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr); }
  .section--coming-soon .cs__showcase { --cs-phone-gap: clamp(60px, calc(70vw - 836px), 140px); }
  .section--coming-soon .cs__features { gap: 8px; margin-bottom: 18px; }
  .section--coming-soon .cs__features li { font-size: 14px; }
  .section--coming-soon .cs__card { padding: 22px; }
}

/* ---------- screenshot showcase ---------- */

.cs__tabs {
  display: flex;
  gap: 3px;
  margin: 0 var(--cs-phone-gap, 0px) 16px 0;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line, rgba(140, 150, 255, .16));
  border-radius: 14px;
  background: rgba(14, 18, 48, .62);
}
.cs__tabs::-webkit-scrollbar { display: none; }

.cs__tab {
  flex: 1 0 auto; /* fill the bar evenly; scrolls sideways only when it truly can't fit */
  padding: 8px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-3, #8e96bf);
  font: 600 12.5px/1 var(--font-body, "Sora", system-ui, sans-serif);
  cursor: pointer;
  transition: color var(--dur-fast, .18s), background var(--dur-fast, .18s);
}
.cs__tab:hover { color: var(--starlight, #f4f6ff); }
.cs__tab.is-active { background: var(--grad, linear-gradient(120deg, #4f8bff, #7c4dff)); color: #fff; box-shadow: 0 6px 18px -6px rgba(124, 77, 255, .7); }
.cs__tab:focus-visible { outline: 2px solid var(--focus, #8fb3ff); outline-offset: 2px; }

/* Room on the right for the phone; the tab menu above uses the same gap, so it lines up with the laptop. */
.cs__showcase { --cs-phone-gap: clamp(0px, 7vw, 100px); }
.cs__stage { position: relative; padding-right: var(--cs-phone-gap); padding-bottom: clamp(0px, 3vw, 36px); }

.cs__browser {
  overflow: hidden;
  border: 1px solid rgba(140, 150, 255, .28);
  border-radius: 16px;
  background: #0e1230;
  box-shadow: 0 40px 80px -30px rgba(10, 13, 31, .9), 0 0 0 1px rgba(255, 255, 255, .03), 0 0 60px -20px rgba(124, 77, 255, .5);
}
.cs__chrome {
  display: flex;
  align-items: center;
  position: relative;
  gap: 7px;
  padding: 7px 14px;
  background: #141a2e;
  border-bottom: 1px solid rgba(140, 150, 255, .14);
}
.cs__chrome > span { width: 10px; height: 10px; border-radius: 50%; background: #2a3050; }
.cs__chrome > span:nth-child(1) { background: #ff5f57; }
.cs__chrome > span:nth-child(2) { background: #febc2e; }
.cs__chrome > span:nth-child(3) { background: #28c840; }
.cs__url {
  /* Centered in the window bar, like a real browser's address bar. */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 46%);
  padding: 1px 12px;
  border-radius: 6px;
  background: #2a3050;
  color: var(--ink-3, #8e96bf);
  font-size: 10.5px;
  line-height: 15px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs__screens { position: relative; overflow: hidden; aspect-ratio: 1280 / 800; background: #f6f7fb; }
/* Waiting off to the right; the active one slides in as the old one leaves to the left. */
.cs__screen {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.cs__screen.is-active, .cs__screen.is-leaving,
.cs__phone-screen img.is-active, .cs__phone-screen img.is-leaving {
  visibility: visible;
  /* Same speed in and out, so both pictures are seen moving together. */
  transition: transform .85s cubic-bezier(.65, 0, .35, 1);
}
.cs__screen.is-active, .cs__phone-screen img.is-active { transform: translate3d(0, 0, 0); }
.cs__screen.is-leaving, .cs__phone-screen img.is-leaving { transform: translate3d(-100%, 0, 0); }
.cs__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cs__screen figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* read by screen readers; shown below */

.cs__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(150px, 26%, 280px);
  padding: 14px 7px 9px; /* a slightly deeper top bezel, like a real phone */
  border-radius: 20px;
  background: linear-gradient(160deg, #2a3050, #0a0d1f);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(140, 150, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
/* The screen keeps the screenshots' exact shape (1020×2208), so nothing is cropped or stretched. */
.cs__phone-screen {
  position: relative;
  aspect-ratio: 1020 / 2208;
  overflow: hidden;
  border-radius: 10px; /* gentle corners so the logo at the top isn't clipped */
  /* Behind the screenshots: the app's dark top bar on top, its light page below, so no light edge ever shows
     through the anti-aliased corners or during the crossfade. */
  background: linear-gradient(#141a2f 0 50%, #f5f7fb 50% 100%);
  isolation: isolate;
}
/* The screenshots end on the light page; fade it softly into the top bar's dark color so the bottom corners
   round off dark and seamless, just like the top. */
.cs__phone-screen::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: clamp(18px, 6%, 32px);
  background: linear-gradient(rgba(20, 26, 47, 0), #141a2f 92%);
  pointer-events: none;
}
/* Glass: a dark inner edge where the screen meets the bezel, plus a faint reflection. */
.cs__phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(5, 6, 13, .85), inset 0 0 6px rgba(5, 6, 13, .35);
  background: linear-gradient(125deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 38%);
}
.cs__phone-screen img {
  position: absolute;
  inset: -1px; /* bleed a pixel so no sub-pixel seam shows at the edges */
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  visibility: hidden;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
@media (max-width: 640px) { .cs__phone { display: none; } .cs__showcase { --cs-phone-gap: 0px; } }

/* Phones: tap a screenshot to open it full screen and zoom in. */
.cs__zoom-hint { display: none; }
@media (max-width: 640px), (pointer: coarse) and (max-height: 500px) {
  .cs__screens { cursor: zoom-in; }
  .cs__zoom-hint {
    display: block;
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    min-height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 13, 31, .82);
    color: #fff;
    font: 600 11px/28px var(--font-body, "Sora", system-ui, sans-serif);
  }
}
.cs-zoom {
  position: fixed;
  inset: 0;
  z-index: 100000; /* above the floating call, email and back-to-top buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #05060d;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.cs-zoom[hidden] { display: none; }
.cs-zoom__img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; transform-origin: center; pointer-events: none; }
.cs-zoom__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(20, 26, 46, .85);
  color: #fff;
  font: 400 26px/1 var(--font-body, "Sora", system-ui, sans-serif);
  cursor: pointer;
}
.cs-zoom__close:focus-visible { outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 2px; box-shadow: none; }
.cs-zoom__tip {
  position: absolute;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font: 500 13px/1.4 var(--font-body, "Sora", system-ui, sans-serif);
  text-align: center;
  pointer-events: none;
}

.cs__caption {
  min-height: 1.6em;
  margin: 16px 0 0;
  color: var(--ink-2, #c3caee);
  font-size: 14px;
  text-align: center;
  transition: opacity .3s;
}

/* ---------- features + sign-up ---------- */

.cs__features { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.cs__features li { display: flex; align-items: center; gap: 12px; color: var(--ink-2, #c3caee); font-size: 15px; }
.cs__check {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--cs-check-bg, var(--grad, linear-gradient(120deg, #4f8bff, #7c4dff)));
  box-shadow: 0 4px 12px -4px var(--cs-check-glow, rgba(124, 77, 255, .7));
  transition: background .45s, box-shadow .45s;
}

/* One list per screen, stacked in the same spot (the box is as tall as the longest, so nothing jumps). */
.cs__feature-sets { display: grid; }
.cs__feature-sets > .cs__features {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s linear, transform .16s linear, visibility 0s .16s; /* quick, so the old list is gone before the new bullets arrive */
}
.cs__feature-sets > .cs__features.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s .08s var(--ease-out, ease), transform .45s .08s var(--ease-out, ease);
}
/* The bullets appear one by one each time the list changes. */
.js .cs__feature-sets:not(.is-seen) > .cs__features li { opacity: 0; }
.cs__feature-sets.is-seen > .cs__features.is-active li { animation: cs-bullet .5s cubic-bezier(.22, 1, .36, 1) both; }
.cs__feature-sets.is-seen > .cs__features.is-active li:nth-child(1) { animation-delay: .1s; }
.cs__feature-sets.is-seen > .cs__features.is-active li:nth-child(2) { animation-delay: .19s; }
.cs__feature-sets.is-seen > .cs__features.is-active li:nth-child(3) { animation-delay: .28s; }
.cs__feature-sets.is-seen > .cs__features.is-active li:nth-child(4) { animation-delay: .37s; }
.cs__feature-sets.is-seen > .cs__features.is-active li:nth-child(5) { animation-delay: .46s; }
.cs__feature-sets.is-seen > .cs__features.is-active li:nth-child(6) { animation-delay: .55s; }
@keyframes cs-bullet {
  from { opacity: 0; transform: translate3d(16px, 0, 0); }
  to { opacity: 1; transform: none; }
}
/* Checkmarks in each screen's color from the app (light colors get a dark tick, like in the app). */
.cs__features[data-module="dashboard"] { --cs-check-bg: linear-gradient(135deg, #3b82f6, #1d4ed8); --cs-check-glow: rgba(29, 78, 216, .75); }
.cs__features[data-module="leads"] { --cs-check-bg: linear-gradient(135deg, #34d399, #10b981); --cs-check-glow: rgba(16, 185, 129, .6); --cs-check-tick: #022c22; }
.cs__features[data-module="invoices"] { --cs-check-bg: linear-gradient(135deg, #4ade80, #22c55e); --cs-check-glow: rgba(34, 197, 94, .6); --cs-check-tick: #052e16; }
.cs__features[data-module="proposals"] { --cs-check-bg: linear-gradient(135deg, #c084fc, #a855f7); --cs-check-glow: rgba(168, 85, 247, .7); }
.cs__features[data-module="calendar"] { --cs-check-bg: linear-gradient(135deg, #fb7185, #f43f5e); --cs-check-glow: rgba(244, 63, 94, .65); }
.cs__features[data-module="tasks"] { --cs-check-bg: linear-gradient(135deg, #a3e635, #84cc16); --cs-check-glow: rgba(132, 204, 22, .6); --cs-check-tick: #1a2e05; }
.cs__features[data-module="reports"] { --cs-check-bg: linear-gradient(135deg, #60a5fa, #2563eb); --cs-check-glow: rgba(37, 99, 235, .7); }
.cs__check::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid var(--cs-check-tick, #fff);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cs__card {
  display: grid;
  align-content: center;
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-lg, 20px);
  background: linear-gradient(180deg, rgba(20, 25, 64, .85), rgba(14, 18, 48, .85));
  border: 1px solid rgba(140, 150, 255, .22);
  box-shadow: 0 30px 60px -30px rgba(10, 13, 31, .9);
}
.cs__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(143, 179, 255, .7), rgba(124, 77, 255, .2) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cs__card-title { margin: 0; font-family: var(--font-display, "Sora", system-ui, sans-serif); font-size: 22px; font-weight: 600; }
.cs__card-text { margin: 8px 0 20px; color: var(--ink-2, #c3caee); font-size: 14.5px; line-height: 1.6; }

.cs__label { display: block; margin-bottom: 8px; color: var(--ink-2, #c3caee); font-size: 13px; font-weight: 600; }
.cs__row { display: flex; flex-wrap: wrap; gap: 10px; }
.cs__input {
  flex: 1 1 200px;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid rgba(140, 150, 255, .3);
  border-radius: 12px;
  background: rgba(5, 6, 13, .55);
  color: var(--starlight, #f4f6ff);
  font: 500 16px var(--font-body, "Sora", system-ui, sans-serif); /* under 16px, iPhones zoom in on focus */
  transition: border-color var(--dur-fast, .18s), box-shadow var(--dur-fast, .18s);
}
.cs__input::placeholder { color: var(--ink-3, #8e96bf); }
.cs__input:focus { outline: none; border-color: var(--azure, #4f8bff); box-shadow: 0 0 0 4px rgba(79, 139, 255, .22); }
.cs__input[aria-invalid="true"] { border-color: var(--danger, #ff6b81); }

/* Works with the site's .btn.btn--primary; these keep it right if those styles change. */
.cs__submit {
  position: relative;
  flex: 1 1 140px;
  height: 50px;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--grad, linear-gradient(120deg, #4f8bff, #7c4dff));
  color: #fff;
  font: 600 15px var(--font-body, "Sora", system-ui, sans-serif);
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(124, 77, 255, .8);
  transition: transform var(--dur-fast, .18s), box-shadow var(--dur-fast, .18s), opacity var(--dur-fast, .18s);
}
.cs__submit:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(124, 77, 255, .95); }
.cs__submit:disabled { opacity: .75; cursor: progress; transform: none; }
.cs__spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -3px;
  animation: cs-spin .8s linear infinite;
}
.cs__form.is-busy .cs__spinner { display: inline-block; }
@keyframes cs-spin { to { transform: rotate(360deg); } }

.cs__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cs__status { min-height: 1.4em; margin: 10px 0 0; font-size: 13.5px; color: var(--danger, #ff6b81); }
.cs__status.is-ok { color: var(--green, #34d399); }
.cs__fine { margin: 6px 0 0; color: var(--ink-3, #8e96bf); font-size: 12.5px; }

/* ---------- thank-you popup (replaces the sign-up in the card) ---------- */

.cs__signup-body[hidden] { display: none; }
.cs__thanks {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 14px 6px;
  text-align: center;
  animation: cs-pop .55s var(--ease-out, cubic-bezier(.22, 1, .36, 1)) both;
}
.cs__thanks[hidden] { display: none; }
.cs__thanks-check {
  width: 76px;
  height: 76px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .12);
  box-shadow: 0 0 0 8px rgba(52, 211, 153, .07), 0 12px 40px -10px rgba(52, 211, 153, .6);
}
.cs__thanks-ring {
  fill: var(--green, #34d399);
  stroke: var(--green, #34d399);
  stroke-width: 2;
  transform-origin: center;
  animation: cs-ring .45s var(--ease-out, ease) both;
}
.cs__thanks-tick {
  fill: none;
  stroke: #05060d;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: cs-tick .45s .3s var(--ease-out, ease) forwards;
}
.cs__thanks-title {
  margin: 0;
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.cs__thanks-text { max-width: 320px; margin: 0; color: var(--ink-2, #c3caee); font-size: 14.5px; line-height: 1.6; word-break: break-word; }
.cs__thanks-text strong { color: var(--starlight, #f4f6ff); }

@keyframes cs-pop { from { opacity: 0; transform: scale(.92) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cs-ring { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cs-tick { to { stroke-dashoffset: 0; } }


@media (prefers-reduced-motion: reduce) {
  .cs__pulse::after, .cs__spinner, .cs__thanks, .cs__thanks-ring { animation: none; }
  .cs__thanks-tick { animation: none; stroke-dashoffset: 0; }
  .cs__screen, .cs__phone-screen img, .cs__tab, .cs__submit { transition: none !important; }
  .cs__screen.is-leaving, .cs__phone-screen img.is-leaving { visibility: hidden; }
  .cs__feature-sets.is-seen > .cs__features.is-active li { animation: none; }
  .js .cs__feature-sets:not(.is-seen) > .cs__features li { opacity: 1; }
}

/* One spacing for every section, so the gap at the end of one section matches the gap at the start of the next.
   The bottom adds the overlap, because the next section's rounded top slides up over this one. */
:root { --sec-gap: var(--section-y, clamp(72px, 9vw, 128px)); --sec-overlap: 40px; }
@media (max-width: 1024px) { :root { --sec-gap: calc(var(--section-y, 72px) + 40px); --sec-overlap: 28px; } }
@media (max-width: 640px) { :root { --sec-gap: 64px; } }
#main > .section { padding-top: var(--sec-gap); padding-bottom: calc(var(--sec-gap) + var(--sec-overlap)); }
#main > .section > .container:last-child { padding-block: 0; }
#main > .section > .container:last-child > :last-child { margin-bottom: 0; }
.section-head > .eyebrow:first-child, #about .eyebrow, #faq .eyebrow, #contact .eyebrow { display: flex; } /* inline, it sat 8px low on an invisible text line */
footer.site-footer.site-footer--deep { padding-top: var(--sec-gap); }
footer.site-footer--deep > .site-footer__grid { padding-top: 0; }

/* Phones: extra room at the top of every section, and above the sign-up box. */
@media (max-width: 640px) {
  #main > .section, footer.site-footer.site-footer--deep { padding-top: calc(var(--sec-gap) + 35px); }
  .section--coming-soon .cs__card { margin-top: 10px; }
  .section--coming-soon .cs__badge { margin-bottom: 10px; }
  .section--coming-soon .cs__logo { margin-top: 25px; }
}

/* Phones and tablets: pull the "Have a Project in Mind?" text up a little. */
@media (max-width: 1024px) {
  #main > .section--cta > .footer-cta { margin-top: -35px; }
}
