/* NexInvoice promotional landing — matches product tokens (no frameworks) */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #f4f3f1;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --faint: #9ca3af;
  --soft: #ebe9e6;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --accent: #ff6600;
  --accent-fg: #ffffff;
  --accent-soft: #fff1e8;
  --success: #067647;
  --danger: #dc2626;
  --ink-panel: #171a1c;
  --radius-sm: 8px;
  --radius-md: 12px;
  --font-display: "Space Grotesk", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  --max: 1120px;
  --ease: 180ms ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
}

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

.wrap-wide {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* —— Top notice —— */
.topnote {
  background: var(--ink-panel);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
}

.topnote-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.topnote span {
  opacity: 0.85;
}

.topnote strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 720px) {
  .topnote {
    font-size: 0.6875rem;
    letter-spacing: 0.01em;
  }

  .topnote-inner {
    justify-content: center;
    text-align: center;
    padding: 0.4rem 0;
    gap: 0;
  }

  .topnote-primary {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .topnote-secondary {
    display: none;
  }
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 243, 241, 0.97);
  border-bottom: 1px solid var(--border);
}

.nav.is-open {
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  min-height: 56px;
}

.nav-brand {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 28px;
  width: auto;
  max-width: min(160px, 48vw);
  display: block;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav.is-open .nav-toggle-bars {
  background: transparent;
}

.nav.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-actions .nav-cta {
    display: none !important;
  }

  .nav-brand img {
    height: 24px;
    max-width: min(140px, 52vw);
  }

  .nav-inner {
    padding: 0.55rem 0;
    min-height: 52px;
  }
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-backdrop,
  .nav-mobile {
    display: none !important;
  }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  border: 0;
  padding: 0;
  cursor: pointer;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  width: min(320px, 88vw);
  margin: 0;
  padding: 1.1rem 1.25rem 1.5rem;
  background: var(--surface);
  border: 0;
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 40px rgba(17, 24, 39, 0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

body.nav-open .nav-mobile {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--soft);
}

.nav-mobile-head span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.nav-mobile-close:hover {
  border-color: var(--border-strong);
}

.nav-mobile-links a {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--soft);
}

.nav-mobile-links a:active,
.nav-mobile-links a:hover {
  color: var(--accent);
}

.nav-mobile-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.nav-mobile-ctas .btn {
  justify-content: center;
  width: 100%;
  white-space: nowrap;
}

body.nav-lock {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nav-backdrop,
  .nav-mobile {
    transition: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg) !important;
}

.btn-primary:hover {
  background: #e55c00;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--soft);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 1.4rem;
  font-size: 1rem;
}

.btn-on-dark {
  background: var(--accent);
  color: #fff !important;
}

.btn-on-dark-secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-on-dark-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 0;
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%, rgba(255, 102, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #ebe9e6 0%, var(--bg) 100%);
}

.hero-copy {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero-brand {
  display: block;
  height: 42px;
  width: auto;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.hero-ctas .btn {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding-inline: 1.1rem;
    font-size: 0.95rem;
  }
}

.hero-alt-buy {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-alt-buy a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-alt-buy a:hover {
  color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-stage {
  margin-top: 2rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: var(--ink-panel);
  box-shadow: 0 -12px 40px rgba(17, 24, 39, 0.08);
}

.hero-stage img,
.hero-stage-media img {
  width: 100%;
  display: block;
}

.hero-stage-media {
  position: relative;
  background: #0f1215;
}

.hero-stage.has-video .hero-stage-media > img,
.hero-stage.has-video .hero-stage-media picture img {
  filter: brightness(0.55);
  transition: filter 0.35s ease;
}

.hero-stage.has-video:not(.is-playing) .hero-stage-media:hover > img,
.hero-stage.has-video:not(.is-playing) .hero-stage-media:hover picture img {
  filter: brightness(0.48);
}

.hero-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  font: inherit;
}

.hero-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -6px;
}

.hero-play-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-play-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent #fff;
}

.hero-play:hover .hero-play-icon,
.hero-play:focus-visible .hero-play-icon {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.hero-play-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-stage.is-playing .hero-play,
.hero-stage.is-playing .hero-stage-media > img,
.hero-stage.is-playing .hero-stage-media picture {
  display: none;
}

.hero-stage.is-playing .hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage.has-video .hero-stage-media > img,
  .hero-stage.has-video .hero-stage-media picture img,
  .hero-play-icon {
    transition: none;
  }
}

/* —— Status ribbon (signature) —— */
.ledger {
  width: 100%;
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.ledger-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.ledger-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.ledger-track::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 7px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--muted) 0%,
    #1d4ed8 33%,
    #b45309 66%,
    var(--success) 100%
  );
  opacity: 0.35;
  border-radius: 2px;
}

.ledger-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.8125rem;
}

.ledger-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  background: var(--border-strong);
}

.ledger-label {
  font-weight: 600;
  color: var(--ink);
}

.ledger-item[data-tone="draft"] .ledger-dot { background: var(--muted); }
.ledger-item[data-tone="sent"] .ledger-dot { background: #1d4ed8; }
.ledger-item[data-tone="partial"] .ledger-dot { background: #b45309; }
.ledger-item[data-tone="paid"] .ledger-dot { background: var(--success); }

.ledger-item[data-tone="draft"] .ledger-label { color: var(--muted); }
.ledger-item[data-tone="sent"] .ledger-label { color: #1d4ed8; }
.ledger-item[data-tone="partial"] .ledger-label { color: #b45309; }
.ledger-item[data-tone="paid"] .ledger-label { color: var(--success); }

@media (max-width: 560px) {
  .ledger {
    padding: 0.7rem 0.75rem 0.8rem;
  }

  .ledger-eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .ledger-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .ledger-track::before {
    display: block;
    left: 11%;
    right: 11%;
    top: 5px;
    height: 2px;
  }

  .ledger-item {
    gap: 0.3rem;
    min-width: 0;
  }

  .ledger-dot {
    width: 11px;
    height: 11px;
    border-width: 2px;
  }

  .ledger-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark {
  background: var(--ink-panel);
  color: #fff;
}

.section-dark .section-kicker {
  color: #ff9a4d;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

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

/* —— Feature catalog —— */
.feature-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-cell {
  background: var(--surface);
  padding: 1.35rem 1.25rem 1.45rem;
}

.feature-cell h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-cell p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.55;
}

.feature-cell ul {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-cell li {
  position: relative;
  padding-left: 0.9rem;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--ink);
}

.feature-cell li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
}

/* —— Split showcase —— */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }
  .split.reverse {
    grid-template-columns: 1.15fr 1fr;
  }
  .split.reverse .split-copy {
    order: 2;
  }
  .split.reverse .split-media {
    order: 1;
  }
}

.split-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.split-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 2px;
}

.split-media {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--soft);
}

.split-media img {
  width: 100%;
  height: auto;
  display: block;
}

.split-media picture,
.gallery picture {
  display: block;
  width: 100%;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-caption {
  margin: 0.55rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* —— Gallery —— */
.gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
}

.gallery figcaption {
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-top: 1px solid var(--border);
  color: var(--ink);
}

.section-dark .gallery figure {
  border-color: rgba(255, 255, 255, 0.12);
}

.section-dark .gallery figcaption {
  color: var(--ink);
  border-top-color: var(--border);
}

/* —— Steps —— */
.steps {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 800px) {
  .step {
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }
  .step:last-child {
    border-right: 0;
  }
}

.step-num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Tech strip —— */
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* —— Include / package —— */
.include-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .include-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.include-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1.5rem;
}

.include-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.include-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.include-panel li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--soft);
  font-size: 0.95rem;
}

.include-panel li:first-child {
  border-top: 0;
  padding-top: 0;
}

.include-cta {
  background: var(--ink-panel);
  color: #fff;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.include-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.include-cta p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.include-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.include-cta .btn-row .btn {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .include-cta .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .include-cta .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— FAQ —— */
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.faq-q span {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--faint);
}

.faq-a {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-item.is-open .faq-q span {
  color: var(--accent);
}

/* —— Final CTA —— */
.final-cta {
  text-align: center;
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 102, 0, 0.14), transparent 60%),
    var(--bg);
}

.final-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}

.final-cta p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--muted);
}

.final-cta .hero-ctas {
  justify-content: center;
}

.final-cta .hero-alt-buy {
  text-align: center;
  margin-bottom: 0;
}

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-logo {
  display: block;
  height: 30px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-credit {
  margin: 0 0 0.65rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
  color: var(--ink) !important;
  max-width: none !important;
}

.footer-credit a {
  color: var(--accent);
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 28rem;
}

.footer h4 {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: var(--ink);
  font-size: 0.925rem;
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--faint);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.feature-cell.reveal {
  transition-delay: calc(var(--i, 0) * 45ms);
}

/* —— Icons —— */
.ico {
  width: 1.15em;
  height: 1.15em;
  display: block;
  flex-shrink: 0;
}

.ico-sm {
  width: 0.95rem;
  height: 0.95rem;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.3rem;
}

.btn .ico {
  width: 1.05rem;
  height: 1.05rem;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform var(--ease), background var(--ease);
}

.feature-cell:hover .feature-icon {
  transform: translateY(-2px) scale(1.04);
  background: #ffe4d1;
}

.feature-icon .ico {
  width: 1.25rem;
  height: 1.25rem;
}

/* —— Hero motion —— */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orb-float 12s ease-in-out infinite;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: -60px;
  right: 8%;
  background: rgba(255, 102, 0, 0.28);
}

.orb-b {
  width: 180px;
  height: 180px;
  top: 40%;
  left: -40px;
  background: rgba(17, 24, 39, 0.08);
  animation-delay: -4s;
}

.orb-c {
  width: 140px;
  height: 140px;
  bottom: 18%;
  right: 22%;
  background: rgba(255, 102, 0, 0.16);
  animation-delay: -7s;
}

@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

.hero-enter {
  animation: rise-in 0.7s ease-out both;
}

.hero-enter-delay {
  animation: rise-in 0.85s ease-out 0.18s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
}

.hero-stage {
  position: relative;
}

.hero-stage-chrome {
  display: flex;
  gap: 6px;
  padding: 0.65rem 0.85rem;
  background: #121518;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stage-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-stage-chrome span:nth-child(1) { background: #ff5f57; }
.hero-stage-chrome span:nth-child(2) { background: #febc2e; }
.hero-stage-chrome span:nth-child(3) { background: #28c840; }

.section[id],
.final-cta[id] {
  scroll-margin-top: 5.5rem;
}

/* —— Trust band —— */
.trust-band {
  background: var(--bg);
}

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

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  padding: 1.25rem 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform var(--ease), border-color var(--ease);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: #ffc299;
}

.trust-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.trust-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Testimonials / social proof —— */
.proof-strip {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 700px) {
  .proof-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proof-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.proof-item span {
  font-size: 0.8rem;
  color: var(--faint);
}

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

@media (min-width: 800px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.testimonial-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.25rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.testimonial-quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}

.testimonial-quote::before {
  content: "“";
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 0;
  margin-right: 0.1rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-person picture,
.testimonial-person img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--soft);
}

.testimonial-person cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.testimonial-person span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Flow track —— */
.flow-section {
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 102, 0, 0.08), transparent 55%),
    var(--surface);
  border-block: 1px solid var(--border);
}

.flow-track {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem 0.35rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
}

.flow-step {
  position: relative;
  z-index: 1;
  flex: 1 1 120px;
  max-width: 150px;
  text-align: center;
  padding: 0.85rem 0.5rem;
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.65rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  animation: icon-bob 3.6s ease-in-out infinite;
}

.flow-step:nth-child(3) .flow-icon { animation-delay: 0.2s; }
.flow-step:nth-child(5) .flow-icon { animation-delay: 0.4s; }
.flow-step:nth-child(7) .flow-icon { animation-delay: 0.6s; }
.flow-step:nth-child(9) .flow-icon { animation-delay: 0.8s; }

@keyframes icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.flow-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.flow-step span:last-child {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.flow-step.is-accent .flow-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.flow-arrow {
  display: none;
  align-items: center;
  color: var(--faint);
  z-index: 1;
}

@media (min-width: 900px) {
  .flow-arrow {
    display: inline-flex;
  }
}

.flow-pulse {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 40% 100%;
  animation: flow-line 3.2s linear infinite;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .flow-section.section {
    padding-block: 2.75rem;
  }

  .flow-track {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.35rem 0.85rem 0.85rem;
  }

  .flow-arrow,
  .flow-pulse {
    display: none !important;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon desc";
    column-gap: 0.8rem;
    row-gap: 0.12rem;
    align-items: center;
    flex: none;
    max-width: none;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.1rem;
    border-bottom: 1px solid var(--soft);
  }

  .flow-step.is-accent {
    border-bottom: 0;
  }

  .flow-icon {
    grid-area: icon;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 11px;
    animation: none;
  }

  .flow-step strong {
    grid-area: title;
    font-size: 0.9rem;
  }

  .flow-step > span:not(.flow-icon) {
    grid-area: desc;
    margin-top: 0;
    font-size: 0.75rem;
  }
}

@keyframes flow-line {
  0% { background-position: -40% 0; }
  100% { background-position: 140% 0; }
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.gallery figure {
  transition: transform var(--ease), box-shadow var(--ease);
}

.gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.split-media {
  transition: transform 0.45s ease;
}

.split.reveal.is-in .split-media {
  animation: media-settle 0.7s ease both;
}

@keyframes media-settle {
  from {
    opacity: 0.4;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orb,
  .hero-enter,
  .hero-enter-delay,
  .flow-icon,
  .flow-pulse,
  .split.reveal.is-in .split-media {
    animation: none !important;
  }
}

/* —— SEO inner pages —— */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--border-strong);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.seo-prose {
  max-width: 42rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}
.seo-prose p { margin: 0 0 1rem; color: var(--muted); }
.seo-prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.seo-prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--muted);
}
.seo-prose li { margin-bottom: 0.4rem; }
.seo-prose a { color: var(--accent); font-weight: 600; }
.seo-prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.seo-section-title {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.feature-cell h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

/* —— Invoice generator tool —— */
.promo-tool-banner {
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 102, 0, 0.07);
}

.promo-tool-banner strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.promo-tool-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.promo-tool-banner .hero-ctas {
  margin: 0.85rem 0 0;
}

.invoice-tool-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: grid;
  gap: 1.1rem;
}

.tool-field {
  display: grid;
  gap: 0.45rem;
}

.tool-field label,
.tool-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.invoice-tool-form input,
.invoice-tool-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}

.invoice-tool-form textarea {
  min-height: 88px;
  resize: vertical;
}

.invoice-tool-form input:focus,
.invoice-tool-form textarea:focus {
  outline: 2px solid rgba(255, 102, 0, 0.35);
  outline-offset: 1px;
  border-color: var(--accent);
}

.tool-grid,
.tool-meta,
.tool-items {
  display: grid;
  gap: 0.75rem;
}

.tool-item-row {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

.tool-item-row input:first-child {
  grid-column: 1 / -1;
}

.tool-add-line {
  justify-self: start;
  margin-top: 0.15rem;
}

.tool-submit {
  width: 100%;
}

.invoice-preview {
  margin-top: 1.75rem;
}

.invoice-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.invoice-preview-bar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.invoice-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.invoice-sheet-top {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.invoice-sheet-logo {
  height: 28px;
  width: auto;
  margin-bottom: 0.65rem;
  display: block;
}

.invoice-sheet-name {
  font-weight: 700;
}

.invoice-sheet-muted {
  white-space: pre-line;
  color: var(--muted);
  font-size: 0.9rem;
}

.invoice-sheet-right {
  text-align: left;
}

.invoice-sheet-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.invoice-sheet-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.invoice-sheet-billto {
  margin-bottom: 1.15rem;
}

.invoice-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}

.invoice-table th,
.invoice-table td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--soft);
  text-align: left;
}

.invoice-table th:not(:first-child),
.invoice-table td:not(:first-child) {
  text-align: right;
}

.invoice-table thead tr {
  border-bottom: 2px solid var(--border);
}

.invoice-totals {
  margin-top: 1rem;
  margin-left: auto;
  max-width: 240px;
  font-size: 0.925rem;
}

.invoice-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
}

.invoice-total-row {
  margin-top: 0.25rem;
  padding-top: 0.5rem !important;
  border-top: 2px solid var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.invoice-notes {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.invoice-foot {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--faint);
}

@media (min-width: 640px) {
  .invoice-tool-form {
    padding: 1.35rem;
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool-meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-meta-notes {
    grid-template-columns: 1fr 2fr;
  }

  .tool-item-row {
    grid-template-columns: 2fr 0.7fr 0.9fr;
  }

  .tool-item-row input:first-child {
    grid-column: auto;
  }

  .tool-submit {
    width: auto;
    justify-self: start;
  }

  .invoice-sheet {
    padding: 2rem;
    max-width: 720px;
  }

  .invoice-sheet-top {
    grid-template-columns: 1fr 1fr;
  }

  .invoice-sheet-right {
    text-align: right;
  }
}

@media print {
  .topnote,
  .nav,
  .nav-mobile,
  .nav-backdrop,
  .footer,
  .promo-tool-banner,
  .section-head,
  .invoice-tool-form,
  .invoice-preview-bar,
  .hero-ctas,
  button {
    display: none !important;
  }

  .invoice-sheet {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none !important;
  }

  body {
    background: #fff !important;
  }
}
