/* StackFit Software — marketing site
   Deep ink + electric teal, light surfaces, premium small-business studio */

:root {
  --ink: #0b1c2c;
  --ink-soft: #1a3348;
  --ink-muted: #4a6478;
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-deep: #0f766e;
  --lime: #a3e635;
  --lime-soft: #d9f99d;
  --surface: #f7f9fb;
  --surface-2: #eef3f7;
  --white: #ffffff;
  --border: #d5e0ea;
  --border-strong: #b8c9d9;
  --shadow: 0 12px 40px rgba(11, 28, 44, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 28, 44, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --max: 1120px;
  --nav-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.section-ink {
  background: linear-gradient(165deg, var(--ink) 0%, #123047 55%, #0d3d3a 100%);
  color: var(--white);
}

.section-ink .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-ink h2,
.section-ink h3 {
  color: var(--white);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 42rem;
}

.muted {
  color: var(--ink-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

.section-ink .eyebrow {
  color: var(--lime-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.nav-end {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--ink) 0%, var(--teal-deep) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-cta {
  margin-left: 0.35rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--white);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: inherit;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(163, 230, 53, 0.28);
}

.btn-lime:hover {
  background: var(--lime-soft);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero .btn-row {
  width: fit-content;
}

.hero-note {
  margin: 0.85rem 0 0;
  width: fit-content;
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-muted);
  text-align: center;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.15rem;
}

.hero h1 .line2 {
  color: var(--teal-deep);
}

.hero-visual {
  min-width: 0;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.15rem 0.55rem;
  position: relative;
  width: 100%;
}

.hero-card .shot {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.hero-card .shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

/* Layout only — type from .demo-meta */
.hero-caption {
  margin: 0.45rem 0 0;
  text-align: left;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Cards & grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 4px 18px rgba(11, 28, 44, 0.04);
  height: 100%;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.problem-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 18px rgba(11, 28, 44, 0.04);
}

.problem-list strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.problem-list .muted {
  margin: 0;
}

/* Demo product cards */
.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 28, 44, 0.04);
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

a.demo-card:hover,
.demo-card:has(.demo-card-media:hover) {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  color: inherit;
}

.demo-card-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.demo-card-media:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.demo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

.demo-card-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.demo-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.demo-card-link:hover .demo-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

.demo-replaces {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(13, 148, 136, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

/* Screenshot frames — OS-neutral (no window chrome / traffic lights) */
.shot-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-frame img {
  width: 100%;
  display: block;
}

/* Lightbox-capable screenshots */
.shot-frame img[data-lightbox],
.shot img[data-lightbox],
button.lightbox-trigger {
  cursor: zoom-in;
}

.shot-frame:has(img[data-lightbox]) {
  cursor: zoom-in;
}

.shot-frame img[data-lightbox]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Full-screen image lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 16, 28, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1200px, 100%);
  max-height: 100%;
  width: 100%;
  outline: none;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: min(88vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: var(--surface-2);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid #a3e635;
  outline-offset: 2px;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  z-index: 1002;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-counter {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.lightbox-counter[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .lightbox-nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.4rem;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }
}

.gallery-block {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.gallery-block:last-child {
  margin-bottom: 0;
}

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gallery-head h2 {
  margin-bottom: 0.35rem;
}

.gallery-shots {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  /* Don't stretch the main shot to the full side-column height — that creates a big empty white box under the left screenshot */
  align-items: start;
}

.gallery-shots > .shot-frame {
  align-self: start;
}

.gallery-shots .side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.gallery-shots .shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.gallery-caption {
  display: none; /* captions removed from examples page copy */
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
}

.steps-horizontal {
  display: grid;
  /* 6 steps: one row on wide desktops */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps-horizontal li {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.1rem 0.95rem;
  min-width: 0;
}

.steps-horizontal li::before {
  content: counter(step);
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.steps-horizontal h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.steps-horizontal p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* Tablet: 2 columns for 8-step density */
@media (max-width: 1100px) and (min-width: 901px) {
  .steps-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 28, 44, 0.04);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table th {
  width: 38%;
  background: var(--surface-2);
  font-weight: 700;
}

.price-amount {
  font-weight: 750;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.price-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
}

.choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.choice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.choice-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}

.choice-card .tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-deep);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.note-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-top: 1.5rem;
}

.note-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.note-box li {
  margin-bottom: 0.35rem;
}

.note-box li:last-child {
  margin-bottom: 0;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}

.form-card.wide {
  max-width: 48rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.field .req {
  color: var(--teal-deep);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
  font-size: 0.95rem;
  line-height: 1.35;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.field .hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field .error-msg {
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
}

.field.error .error-msg {
  display: block;
}

.form-footer {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  background: rgba(163, 230, 53, 0.15);
  border: 1px solid rgba(163, 230, 53, 0.45);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-success p {
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

.form-success p:last-child {
  margin-bottom: 0;
}

.form-error {
  display: none;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  color: #9b1c1c;
}

.form-error.show {
  display: block;
}

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

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Equal start under matching eyebrows (process page lower section) */
.split-equal-start .split-col {
  display: flex;
  flex-direction: column;
}

.split-equal-start .split-col > .eyebrow {
  margin-bottom: 1rem;
}

.split-equal-start .check-list,
.split-equal-start .diff-cards {
  margin-top: 0;
  flex: 1;
}

/* Checklist with checkmark to the LEFT of text */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .check-list-2 {
    grid-template-columns: 1fr;
  }
}

.check-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 18px rgba(11, 28, 44, 0.04);
}

.check-list .check-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.check-list li > div {
  min-width: 0;
  flex: 1;
}

.check-list strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.check-list .muted {
  margin: 0;
}

.diff-cards {
  display: grid;
  gap: 0.85rem;
}

.diff-cards .card {
  margin: 0;
}







/* Pricing page Next step — LEFT half (where "What you're not buying" was) */
.pricing-next {
  display: flex !important;
  justify-content: flex-start !important; /* pack to the LEFT */
  width: 100%;
}
.pricing-next-step {
  width: min(100%, calc((100% - 2.5rem) / 2));
  max-width: none;
  margin: 0 auto 0 0 !important; /* left align */
  padding: 2rem 2rem 1.75rem;
  box-sizing: border-box;
}
.pricing-next-step h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}
@media (max-width: 900px) {
  .pricing-next {
    display: block !important;
  }
  .pricing-next-step {
    width: 100%;
    margin: 0 !important;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime-soft);
}

.site-footer h3,
.site-footer .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.site-footer .logo {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.callout strong {
  color: var(--teal-deep);
}

.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero h1 {
  max-width: 18ch;
}

/* Contact H1: single line on tablet/desktop; wrap OK on narrow mobile.
   Override the global 18ch cap that was forcing "help" onto a second line. */
.page-hero h1.nowrap-desktop {
  max-width: none;
}

@media (min-width: 640px) {
  .page-hero h1.nowrap-desktop {
    white-space: nowrap;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  }
}

@media (max-width: 639px) {
  .page-hero h1.nowrap-desktop {
    max-width: 12ch; /* allow natural wrap on phones only */
    white-space: normal;
  }
}

/* Mobile / small tablet */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .gallery-shots,
  .choice-cards,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
}

@media (max-width: 560px) {
  .steps-horizontal {
    grid-template-columns: 1fr;
  }

  .gallery-shots .side {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-end {
    margin-left: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav {
    position: relative;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table th {
    border-bottom: 0;
    padding-bottom: 0.25rem;
  }

  .price-table td {
    padding-top: 0.35rem;
  }

  .price-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
  }

  .price-table tr:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .gallery-shots .side {
    grid-template-columns: 1fr;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .demo-card,
  .lightbox {
    transition: none;
  }
}

/* Print */
@media print {
  .site-header,
  .nav-toggle,
  .btn-row {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}


/* steps 7-up responsive */
@media (max-width: 1200px) {
  .steps-horizontal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .steps-horizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .steps-horizontal {
    grid-template-columns: 1fr;
  }
}
