/* StaffSumo marketing site
 *
 * Design read: redesign-overhaul of a B2B landing site for owner-operators of
 * shift businesses. Plain, operational, evidence-first. Native CSS, a single
 * grotesque with its mono companion, restrained motion.
 *
 * Dials: DESIGN_VARIANCE 6, MOTION_INTENSITY 4, VISUAL_DENSITY 4.
 * Variance sits mid-range on purpose: the audience is a cafe owner comparing
 * three products at 11pm, not a design jury. Motion is 4 rather than 3 because
 * the page now actually moves: the showcase rotates through four product
 * surfaces. That is the only animation on the site, it is doing a job, and it
 * stops for hover, focus, a hidden tab and prefers-reduced-motion.
 *
 * Locks, held across every page:
 *   Theme   - light, always. Not auto. A dark-mode browser still gets the light
 *             page, because `color-scheme: light` is declared and no
 *             prefers-color-scheme block overrides the tokens.
 *   Accent  - Robin Green #0FBF7F, from DesignTokens.swift. One accent. No
 *             second colour is introduced anywhere for emphasis.
 *   Shape   - documented mixed system: interactive controls are full pill,
 *             surfaces are 4px, media is 8px. Nothing else carries a radius.
 *
 * Headline register is borrowed from crazysound.ai, the sibling project: heavy
 * Geist carrying the sentence, one word set in Instrument Serif italic, and the
 * closing clause in the accent. Two families and three weights in one line give
 * a headline editorial weight without raising its voice. The serif appears on
 * exactly one word per headline; used on more it stops being an accent.
 */

:root {
  color-scheme: light;

  --ink: #14181f;
  --body: #414a58;
  --muted: #6b7480;
  --faint: #99a1ad;

  --accent: #0fbf7f;
  --accent-deep: #06795a;
  --accent-wash: #edfbf5;
  --accent-line: #b7ead6;

  --canvas: #ffffff;
  --canvas-alt: #f6f8f7;
  --line: #e3e7e6;
  --line-soft: #eef1f0;

  --container: 1160px;

  /* Shape lock */
  --r-surface: 4px;
  --r-media: 8px;
  --r-control: 999px;

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-accent: "Instrument Serif", Georgia, serif;
}


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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

/* Hierarchy comes from weight and colour before raw size, so the page has a
 * voice rather than a shout. */
h1 {
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* The product the slider is showing, named in the headline so the sentence and
 * the picture are about the same thing. Accent coloured, in the same heavy sans
 * as the rest of the line: it is the subject of the sentence, not an aside. */
.swap {
  color: var(--accent);
  transition: opacity 0.18s ease;
  /* Kept whole. A product name split across a line break reads as two things,
   * and the break moved every time the word changed. */
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .swap {
    transition: none;
  }
}

/* The register change. Normal weight and a step down in colour so the italic
 * reads as hand-set beside the bold sans rather than competing with it.
 * Leading and the padding reserve are not optional: at 1.08 an italic
 * descender (g, y, p) clips against the line below. */
.accent-word {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--body);
  letter-spacing: -0.01em;
  line-height: 1.12;
  padding-bottom: 0.06em;
}


h2 {
  font-size: clamp(26px, 2.9vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
  max-width: 62ch;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .container {
  display: flex;
  align-items: stretch;
  gap: 26px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-surface);
  background: var(--accent);
  color: #04231a;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--r-surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
}

.nav-link:hover {
  background: var(--canvas-alt);
  text-decoration: none;
}

.nav-link svg {
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

/* Opens flush against the header. An 8px gap between the trigger and the panel
 * belongs to neither, so crossing it drops :hover on both and the menu closes
 * under the pointer. */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 430px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  box-shadow: 0 10px 30px -14px rgba(20, 24, 31, 0.28);
  padding: 10px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  display: grid;
}

.mega-wide {
  min-width: 560px;
  grid-template-columns: repeat(3, 1fr);
}

.mega a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--r-surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}

.mega a:hover {
  background: var(--accent-wash);
  text-decoration: none;
}

.mega a span {
  display: block;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 1px;
}

.mega-all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  margin-top: 5px;
  padding-top: 5px;
}

.mega-all a {
  color: var(--accent-deep);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-self: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--r-control);
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.12s ease;
}

.btn:hover {
  text-decoration: none;
}

/* Raised on a hard offset with no blur, and it travels the full offset when
 * pressed, so the control behaves like something physical. */
.btn-primary,
.btn-ghost {
  box-shadow: 0 3px 0 0 var(--btn-shade);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 0 var(--btn-shade);
}

/* #04231a on #0fbf7f is 8.9:1. The obvious white-on-green is 2.1:1 and would
 * fail AA on the most important control on the site. */
.btn-primary {
  --btn-shade: #067a52;
  background: var(--accent);
  color: #04231a;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #0bab71;
  border-color: #0bab71;
}

.btn-ghost {
  --btn-shade: var(--line);
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--faint);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 15px;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: 66px 0;
}

.section-air {
  padding: 96px 0;
}

.section-tight {
  padding: 44px 0;
}

/* A tint inside the same theme, never an inversion. */
.section-alt {
  background: var(--canvas-alt);
  border-block: 1px solid var(--line-soft);
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 + p,
.section-head h2 + .lede {
  margin-top: 14px;
}

/* -------------------------------------------------------------------- hero */

.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line-soft);
}

/* Split Hero Layout (Left text & CTAs, Right visual) */
.hero-split-section {
  padding: 64px 0 72px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-split-left {
  text-align: left;
}

.hero-header-centered {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 38px;
}

.hero-split-title {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-align: center;
}

.hero-split-title .hero-title-line {
  display: block;
}

.hero-split-title .hero-accent {
  color: var(--accent);
}

.hero-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 26px;
  width: 100%;
}

.feature-stack-item {
  display: flex;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--canvas-alt);
  border: 1px solid var(--line-soft);
  border-left: 3.5px solid transparent;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.feature-stack-item:hover,
.feature-stack-item:focus-visible,
.feature-stack-item.is-active {
  background: #FFFFFF;
  border-color: rgba(15, 191, 127, 0.3);
  border-left-color: var(--accent);
  transform: translateX(6px);
  box-shadow: 0 8px 24px -4px rgba(15, 191, 127, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.feature-stack-item.is-active .feature-stack-content h4 {
  color: var(--accent-deep);
}

.feature-stack-content h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.feature-stack-content p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-split-left .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 52ch;
  margin: 0 0 28px;
}

.hero-split-left .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-split-left .hero-microcopy {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-split-left .hero-microcopy span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-split-left .hero-microcopy svg {
  color: var(--accent);
}

.hero-split-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08), 0 4px 20px -2px rgba(15, 191, 127, 0.08);
  border: 1px solid var(--line-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-visual-wrap.dreamy-visual {
  background: radial-gradient(circle at 50% 48%, rgba(240, 253, 248, 0.95) 0%, #FFFFFF 72%);
}

.hero-visual-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px -12px rgba(15, 23, 42, 0.12), 0 8px 24px -2px rgba(15, 191, 127, 0.12);
}

.hero-base-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

/* Dreamy frosted gossamer veil that softens the background when a card is active */
.dreamy-backdrop-veil {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.dreamy-visual.has-active .dreamy-backdrop-veil {
  opacity: 1;
}

/* Dreamy Ambient Aura Backlight */
.dreamy-aura {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 191, 127, 0.28) 0%, rgba(52, 211, 153, 0.16) 42%, rgba(16, 185, 129, 0) 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 1;
  animation: dreamyAuraPulse 6.5s ease-in-out infinite alternate;
}

@keyframes dreamyAuraPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.98);
    opacity: 0.75;
  }
}

/* Floating dreamy particles / motes */
.dreamy-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.7;
}

.dreamy-particle.p1 {
  width: 12px;
  height: 12px;
  top: 14%;
  left: 12%;
  background: radial-gradient(circle, rgba(15, 191, 127, 0.85) 0%, rgba(15, 191, 127, 0) 70%);
  box-shadow: 0 0 14px rgba(15, 191, 127, 0.6);
  animation: dreamyFloat1 7s ease-in-out infinite alternate;
}

.dreamy-particle.p2 {
  width: 16px;
  height: 16px;
  top: 52%;
  right: 8%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.8) 0%, rgba(52, 211, 153, 0) 70%);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.55);
  animation: dreamyFloat2 8.5s ease-in-out infinite alternate;
}

.dreamy-particle.p3 {
  width: 10px;
  height: 10px;
  bottom: 16%;
  left: 20%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.85) 0%, rgba(16, 185, 129, 0) 70%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  animation: dreamyFloat3 6s ease-in-out infinite alternate;
}

@keyframes dreamyFloat1 {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0.5; }
  50% { transform: translate(8px, -12px) scale(1.15); opacity: 0.9; }
  100% { transform: translate(-6px, -20px) scale(0.95); opacity: 0.6; }
}

@keyframes dreamyFloat2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-10px, 14px) scale(1.2); opacity: 0.95; }
  100% { transform: translate(8px, 6px) scale(0.85); opacity: 0.55; }
}

@keyframes dreamyFloat3 {
  0% { transform: translate(0, 0) scale(0.85); opacity: 0.45; }
  50% { transform: translate(12px, -8px) scale(1.1); opacity: 0.85; }
  100% { transform: translate(-8px, -14px) scale(0.9); opacity: 0.5; }
}

/* Graceful Overlay Cards */
.hero-card-layer {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
  transform-origin: center center;
  transform: scale(1);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  outline: none;
  will-change: transform, opacity, filter;
}

.hero-card-layer img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.hero-card-layer.card-sched {
  top: 21.763%;
  left: 9.667%;
  width: 32.167%;
}

.hero-card-layer.card-time {
  top: 20.089%;
  left: 59.833%;
  width: 27.5%;
}

.hero-card-layer.card-check {
  top: 59.487%;
  left: 61.167%;
  width: 29.833%;
}

/* Inactive cards remain non-interfering at opacity 0 */
.hero-card-layer.is-dimmed {
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transition: opacity 0.4s ease,
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active card when hovered or focused: slow, graceful scale without translation */
.hero-card-layer:hover,
.hero-card-layer:focus-visible,
.hero-card-layer.is-active {
  opacity: 1 !important;
  pointer-events: auto;
  z-index: 25 !important;
  transform: scale(1.075);
  filter: drop-shadow(0 20px 38px rgba(15, 191, 127, 0.42)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .dreamy-aura,
  .dreamy-particle {
    animation: none !important;
  }
  .feature-stack-item,
  .hero-card-layer,
  .hero-base-img,
  .dreamy-backdrop-veil {
    transition: none !important;
  }
}

.hero h1 {
  max-width: 26ch;
}

/* Each part on its own line, set by the markup rather than by the measure */
.hero-lines > span {
  display: block;
}

.hero-content h1.hero-lines,
.hero-lines {
  max-width: none;
  line-height: 1.16;
  text-align: center;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-lines .hero-accent,
.hero-lines .hero-price {
  color: var(--accent);
}

/* Hero Headline Lockup with Vertical Product Checklist */
.hero-content h1.hero-headline-group,
.hero-headline-group {
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.hero-headline-group .hero-bracket,
.hero-headline-group .hero-price {
  display: block;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-products-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 16px auto 18px;
}

.hero-product-title {
  display: block;
  font-size: clamp(22px, 2.7vw, 28px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

/* Centred with the headline, so the whole opening reads as one block rather
 * than a centred title with everything under it starting from the left. */
.hero-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-copy .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .hero-actions {
  justify-content: center;
}

/* The hero runs headline, then the showcase, then the sentence and the ask.
 * Both text blocks keep a reading measure; the showcase between them takes the
 * full width. */
.hero-stack > div:first-child,
.hero-copy {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .showcase {
  margin-top: 4px;
}

.hero-copy {
  padding-top: 10px;
}

.hero-copy .hero-actions {
  margin-top: 24px;
}

.hero h1 + .lede {
  margin-top: 20px;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  max-width: none;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.15;
}

.hero-content .lede {
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-content .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-microcopy span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-microcopy svg {
  color: var(--accent-deep);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-showcase-wrap {
  margin-top: 52px;
}

/* Copy at reading width, then the product across the full container. A 1466px
 * screenshot in a half-width column renders at 450px and cannot be read. */
.hero-stack {
  display: grid;
  gap: 44px;
}

/* --------------------------------------------------------------- the split */

/* Capped at two consecutive uses. A page of alternating image-and-text rows is
 * the same section repeated with the picture moved. */
.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.media-flip .media-text {
  order: 2;
}

.media-text h2 + p {
  margin-top: 14px;
}

.link-out {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-weight: 500;
  color: var(--accent-deep);
}

.link-out svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------------- media */

.shot {
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--canvas);
}

.shot img {
  width: 100%;
  height: auto;
}


/* ------------------------------------------------------------------- lists */

/* Asymmetric rather than three equal columns: the first item carries the
 * argument, the other two support it. */
.feature-lead {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.feature-rest {
  display: grid;
  gap: 30px;
}

.feature-rest > div {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.feature-rest h3 + p {
  margin-top: 8px;
}

.feature-rest p {
  font-size: 16px;
}

.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.checklist svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

/* Twelve links as twelve bordered rows is a spec sheet. Grouped into named
 * clusters, a reader finds their own trade instead of scanning all twelve. */
.clusters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.cluster h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.cluster ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.cluster a {
  display: block;
  padding: 9px 0;
  color: var(--body);
  font-size: 16px;
}

.cluster a:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

/* -------------------------------------------------------------------- misc */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.stats > div {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.stat-n {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-l {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 26ch;
}

.quote {
  max-width: 42ch;
}

.quote p {
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 560px;
}

th,
td {
  text-align: left;
  padding: 16px 20px 16px 0;
  vertical-align: top;
}

/* One rule above the group, not a hairline under every single row. */
thead th {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}

tbody td {
  border-bottom: 1px solid var(--line-soft);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td strong {
  color: var(--ink);
  font-weight: 500;
}

/* ----------------------------------------------------------------- pricing */

/* ----------------------------------------------------------------- pricing (Dribbble Logistics SaaS Inspired) */

.pricing-container {
  max-width: 980px;
  margin: 0 auto;
}

.pricing-billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 40px;
}

.billing-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

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

.billing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: var(--line);
  border: 1px solid var(--line);
  padding: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
  outline: none;
}

.billing-toggle.active,
.billing-toggle[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent-deep);
}

.billing-toggle-knob {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transform: translateX(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.billing-toggle.active .billing-toggle-knob,
.billing-toggle[aria-checked="true"] .billing-toggle-knob {
  transform: translateX(24px);
}

.billing-discount-badge {
  display: inline-block;
  background: var(--accent-wash);
  color: var(--accent-deep);
  border: 1px solid var(--accent-line);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

/* Pricing Cards Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(15, 191, 127, 0.12);
}

.pricing-free-intro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.free-badge {
  display: inline-block;
  background: var(--accent-wash);
  color: var(--accent-deep);
  border: 1px solid var(--accent-line);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

.then-text {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-plan-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-plan-badge.badge-featured {
  color: var(--accent-deep);
  background: var(--accent-wash);
  border-color: var(--accent-line);
}

.pricing-plan-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.pricing-plan-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  min-height: 42px;
}

.pricing-price-box {
  background: var(--canvas-alt);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line-soft);
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-right: 1px;
}

.pricing-val {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 14.5px;
  color: var(--muted);
  margin-left: 4px;
  font-weight: 500;
}

.pricing-billing-detail {
  margin-top: 6px;
}

.billed-text {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.pricing-card .btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  border: 1.5px solid var(--accent-line);
  box-shadow: 0 4px 0 var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
  text-decoration: none;
}

.pricing-card:hover .btn-block {
  background: var(--accent-deep);
  color: #ffffff;
  border-color: #04523d;
}

.pricing-card .btn-block:hover {
  background: #04523d;
  color: #ffffff;
  border-color: #033c2d;
}

.pricing-card .btn-block:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--ink);
}

.pricing-cta-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

.pricing-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 24px;
}

.pricing-features {
  flex-grow: 1;
}

.pricing-features-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 14px;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.4;
}

.pricing-feature-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-featured {
  background: var(--accent-wash);
  color: var(--accent-deep);
  border: 1px solid var(--accent-line);
}

/* Trust Strip */
.pricing-trust-strip {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
}

.trust-icon-svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.trust-icon-svg svg {
  width: 18px;
  height: 18px;
}

.trust-text strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 3px;
}

.trust-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* Feature Matrix Table */
.matrix-section {
  margin-top: 64px;
}

.matrix-table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th,
.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}

.matrix-table th {
  background: var(--canvas-alt);
  font-weight: 700;
  color: var(--ink);
}

.matrix-table .matrix-group-header td {
  background: #f8fafc;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 12px 20px;
}

.matrix-table .col-feature {
  width: 50%;
  color: var(--ink);
  font-weight: 500;
}

.matrix-table .col-plan {
  width: 25%;
  text-align: center;
}

.matrix-check {
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 16px;
}

.matrix-cross {
  color: var(--faint);
  font-size: 16px;
}

@media (max-width: 820px) {
  .pricing-cards-grid,
  .pricing-trust-strip {
    grid-template-columns: 1fr;
  }
  .pricing-card-featured {
    order: -1;
  }
}





/* --------------------------------------------------------------------- faq */

.faq {
  max-width: 780px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 31px;
}

.faq details p {
  padding-bottom: 22px;
  max-width: 68ch;
}

/* ------------------------------------------------------------------ closer */

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-top: 40px;
  border-top: 2px solid var(--ink);
}

.cta-band p {
  margin-top: 12px;
  max-width: 52ch;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 32px;
  font-size: 15.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-grid a {
  color: var(--body);
}

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

.footer-base {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  color: var(--faint);
  font-size: 14.5px;
}

.footer-base nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-base a {
  color: var(--muted);
}

.crumbs {
  font-size: 14.5px;
  color: var(--faint);
  padding-top: 24px;
}

.crumbs a {
  color: var(--muted);
}


/* Closes a feature page: full measure, no figure, points in two columns, so
 * the page ends on an argument rather than a third picture beside a third
 * paragraph. */
.wide-close {
  padding-top: 40px;
  border-top: 2px solid var(--ink);
}

.wide-close .lede {
  margin-top: 14px;
}

.checklist-split {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 44px;
}

@media (max-width: 720px) {
  .checklist-split {
    grid-template-columns: 1fr;
  }
}

/* The button and its reassurance line, kept together and centred as one block
 * rather than relying on the card's own alignment. */
.pricing-cta-wrap {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

/* One promise in the trust strip: icon over heading over line. */
.trust-item {
  display: grid;
  gap: 6px;
  align-content: start;
}

/* ------------------------------------------------------- reconciled pieces */

/* Two-column hero, used where the page has no screenshot to run full width. */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-stack-text h1 {
  max-width: 20ch;
}


/* Cards are for reference content where a boundary is the point: the security
 * page, the legal pages, the honest half of the comparison. Feature rows do
 * not use them. */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  padding: 24px;
}

.card h3 + p {
  margin-top: 10px;
}




@media (max-width: 940px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards-2 {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------- testimonials */

.quotes-section {
  padding: 52px 0 44px;
}

.section-head-tight {
  margin-bottom: 28px;
}

.quotes-slider {
  max-width: 760px;
  margin: 0 auto;
}

.quote-stage {
  display: grid;
  align-items: start;
}

.quote-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  width: 100%;
}

.quote-slide[data-active="true"] {
  opacity: 1;
  visibility: visible;
}

.quote-slide .testimonial-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  text-align: left;
}

.quote-slide .testimonial-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 20px;
}

.quote-slide .testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.quote-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.quote-dot:hover {
  background: var(--muted);
}

.quote-dot[aria-selected="true"] {
  width: 24px;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .quote-slide,
  .quote-dot {
    transition: none;
  }
}

/* ------------------------------------------------------------- browser showcase */

.browser-window {
  background: var(--canvas);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  text-align: left;
}

.browser-header {
  height: 48px;
  background: var(--canvas-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 4px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-url svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}

.showcase-inner {
  display: flex;
  flex-direction: column;
}

.showcase-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.showcase-tab-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 3px solid transparent;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}

.showcase-tab-btn:last-child {
  border-right: 0;
}

.showcase-tab-btn:hover {
  background: var(--canvas-alt);
}

.showcase-tab-btn.active,
.showcase-tab-btn[aria-selected="true"] {
  background: var(--accent-wash);
  border-bottom-color: var(--accent);
}

.tab-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.tab-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.showcase-stage {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  position: relative;
}

.showcase-frame {
  flex: 1;
  display: grid;
  aspect-ratio: 1466 / 700;
  overflow: hidden;
  background: #f8fafc;
}

.showcase-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
}

.showcase-panel.active,
.showcase-panel[data-active="true"] {
  opacity: 1;
  visibility: visible;
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  display: block;
}

.showcase-footer-benefit {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.benefit-stage {
  flex: 1;
  display: grid;
}

.benefit-row {
  grid-area: 1 / 1;
  font-size: 14.5px;
  color: var(--body);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  line-height: 1.5;
}

.benefit-row.active,
.benefit-row[data-active="true"] {
  opacity: 1;
  visibility: visible;
}

.benefit-row strong {
  color: var(--ink);
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.showcase-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.showcase-dot[aria-selected="true"] {
  width: 22px;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-dot {
    transition: none;
  }
}

/* ------------------------------------------------------------------ metrics bar */

.metrics-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas-alt);
  padding: 36px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.metric-num {
  font-family: var(--font);
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-label strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.metric-label span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ operational pillars */

.operational-pillars {
  padding: 92px 0;
}

.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.pillar-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.pillar-row.reverse .pillar-copy {
  order: 2;
}

.pillar-row.reverse .pillar-media {
  order: 1;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pillar-copy h3 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.pillar-copy p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}

.feature-checklist li svg {
  color: var(--accent-deep);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.pillar-media {
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  aspect-ratio: 1466 / 700;
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}

/* ------------------------------------------------------------------ workflow / how it works */

.workflow-section {
  background: var(--canvas-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.workflow-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.workflow-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--ink);
}

.workflow-card p {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
}

/* ------------------------------------------------------------------ testimonials grid */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.testimonial-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.author-role {
  font-size: 13px;
  color: var(--muted);
}

.author-biz {
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-weight: 600;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-panel {
    transition: none;
  }

  .showcase-tab-btn {
    transition: none;
  }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .showcase-nav {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }

  .showcase-tab-btn {
    flex: 1 0 240px;
    border-right: 1px solid var(--line);
    border-bottom: 3px solid transparent;
    padding: 14px 18px;
    white-space: normal;
  }

  .showcase-tab-btn:last-child {
    border-right: 0;
  }

  .showcase-tab-btn.active,
  .showcase-tab-btn[aria-selected="true"] {
    border-bottom-color: var(--accent);
  }

  .tab-desc {
    display: block;
    font-size: 12px;
  }

  .pillars-stack {
    gap: 64px;
  }

  .pillar-row,
  .pillar-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillar-row.reverse .pillar-copy {
    order: 1;
  }

  .pillar-row.reverse .pillar-media {
    order: 2;
  }

  .metrics-grid,
  .workflow-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .media,
  .hero-stack,
  .feature-lead,
  .cta-band {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .media-flip .media-text {
    order: 0;
  }

  .clusters,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav,
  .header-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .section {
    padding: 52px 0;
  }

  .section-air {
    padding: 64px 0;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-split-left {
    text-align: center;
  }

  .hero-split-left .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-feature-stack {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-split-left .hero-actions {
    justify-content: center;
  }

  .hero-split-left .hero-microcopy {
    justify-content: center;
  }

  .hero-visual-wrap {
    margin: 0 auto;
    max-width: 520px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero-split-section {
    padding: 44px 0 40px;
  }

  .hero-header-centered {
    margin-bottom: 26px;
  }

  .hero-split-title {
    font-size: clamp(24px, 6.8vw, 34px);
    line-height: 1.2;
  }

  .hero-split-title .hero-title-line {
    display: block;
  }

  .hero-split-left .lede {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero-split-left .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-split-left .hero-actions .btn {
    width: 100%;
  }

  .hero-split-left .hero-microcopy {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .hero-content h1.hero-lines {
    font-size: clamp(18px, 4.8vw, 24px);
    line-height: 1.22;
  }

  .hero-content h1.hero-lines > span {
    display: block;
  }

  .hero-headline-group .hero-bracket,
  .hero-headline-group .hero-price {
    font-size: clamp(21px, 5.8vw, 28px);
    line-height: 1.2;
    color: var(--ink);
  }

  .hero-products-list {
    gap: 6px;
    margin: 12px auto 14px;
  }

  .hero-product-title {
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.25;
  }

  .hero-content .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-content .hero-actions .btn {
    width: 100%;
  }

  .clusters,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding: 44px 0;
  }

  .cta-band {
    align-items: start;
  }
}

@media (max-width: 940px) {
  body.nav-open .nav {
    display: grid;
    position: fixed;
    inset: 66px 0 auto;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    gap: 2px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  body.nav-open .nav-item {
    position: static;
    display: block;
  }

  body.nav-open .mega {
    display: grid;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 12px;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  body.nav-open .nav-link svg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
