/* ==========================================================================
   Kaptured — design system
   Direction: "Viewfinder" — chamfered corners, angled bands, waveform motifs.
   Palette and content unchanged from the previous build; geometry rebuilt.
   ========================================================================== */

:root {
  /* Color — drawn from the Kaptured mark (teal circle, white mic) */
  --teal-900: #0a4a45;
  --teal-800: #0c5f58;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --mint-50: #f2fdfb;
  --mint-100: #d8f6ef;
  --cream: #fffdf9;
  --white: #ffffff;
  --border: #e1ebe7;
  --border-soft: rgba(15, 118, 110, 0.14);
  --amber: #f59e0b;

  --ink: #163430;
  --ink-soft: #4c6864;
  --ink-faint: #8aa39e;
  --on-teal: #f0fdfa;
  --on-teal-soft: #a9ddd4;

  --surface: var(--cream);

  /* Type */
  --font-display: "Saira", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --container: 1160px;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;

  /* Chamfer scale — the shape language of the whole site.
     Every surface loses its top-left and bottom-right corner at 45deg. */
  --cut-xl: polygon(34px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 34px);
  --cut-lg: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  --cut-md: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  --cut-sm: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --cut-xs: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);

  /* Angle of every band edge — rises to the right, always */
  --slant: 56px;

  /* Fill used behind hairline-outlined controls; overridden per surface */
  --btn-inner: var(--cream);

  --shadow-card: 0 14px 34px -22px rgba(15, 54, 48, 0.5);
  --shadow-raised: 0 40px 70px -34px rgba(13, 148, 136, 0.55);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.62;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
}
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
}
.section--deep :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--teal-400); }

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

/* ==========================================================================
   Eyebrow — a slanted mono tag, not a dot-and-label
   ========================================================================== */

.eyebrow {
  position: relative;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
  padding: 6px 13px 6px 15px;
  isolation: isolate;
}
.eyebrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mint-100);
  transform: skewX(-14deg);
  z-index: -1;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal-500);
  transform: skewX(-14deg);
  z-index: -1;
}
.eyebrow.on-teal { color: var(--teal-400); }
.eyebrow.on-teal::before { background: rgba(45, 212, 191, 0.13); }
.eyebrow.on-teal::after { background: var(--teal-400); }

/* ==========================================================================
   Sections + angled bands
   ========================================================================== */

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 68px 0; }

/* Diagonal band: teal, slanted top and bottom, leaning right */
.section--deep {
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(45, 212, 191, 0.22), transparent 60%),
    linear-gradient(155deg, var(--teal-700), var(--teal-900));
  color: var(--on-teal);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding: calc(104px + var(--slant)) 0;
  margin: calc(var(--slant) * -0.5) 0;
  --btn-inner: var(--teal-800);
}
.section--deep::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(240, 253, 250, 0.05) 0 1px, transparent 1px 13px);
  pointer-events: none;
}
.section--deep h2, .section--deep h3, .section--deep h4 { color: var(--white); }
.section--deep p { color: var(--on-teal-soft); }

/* Mint band with the same lean */
.section--tint {
  background: linear-gradient(175deg, var(--mint-50), #eafaf6);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding: calc(104px + var(--slant)) 0;
  margin: calc(var(--slant) * -0.5) 0;
  --btn-inner: var(--mint-50);
}
.section--tint.section--tight { padding: calc(68px + var(--slant)) 0; }
.section--deep.section--tight { padding: calc(68px + var(--slant)) 0; }

.section-head { max-width: 660px; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 18px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.section-head p { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }
.section--deep .section-head p { color: var(--on-teal-soft); }

/* ==========================================================================
   Buttons — chamfered, with an angled sweep on the primary
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  clip-path: var(--cut-sm);
  transition: transform 0.18s cubic-bezier(.2,.7,.3,1), color 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(118deg, var(--teal-500), var(--teal-700) 65%);
  color: var(--white);
  filter: drop-shadow(0 10px 20px rgba(13, 148, 136, 0.34));
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -70%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s cubic-bezier(.2,.7,.3,1);
  z-index: 1;
  pointer-events: none;
}
.btn--primary:hover { filter: drop-shadow(0 14px 26px rgba(13, 148, 136, 0.46)); }
.btn--primary:hover::after { left: 130%; }

/* Outline on dark surfaces — glass fill, no hairline to break at the cut */
.btn--outline {
  background: rgba(240, 253, 250, 0.1);
  color: var(--on-teal);
  box-shadow: inset 0 0 0 1px rgba(240, 253, 250, 0.22);
}
.btn--outline:hover { background: rgba(45, 212, 191, 0.2); color: var(--white); }

/* Outline on light surfaces — hairline drawn as two clipped layers so the
   45deg edge keeps its line */
.btn--outline-light {
  background: transparent;
  color: var(--ink);
}
.btn--outline-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--border);
  clip-path: var(--cut-sm);
  z-index: -2;
  transition: background 0.18s ease;
}
.btn--outline-light::after {
  content: "";
  position: absolute;
  inset: 1.4px;
  background: var(--btn-inner);
  clip-path: var(--cut-sm);
  z-index: -1;
}
.btn--outline-light:hover { color: var(--teal-700); }
.btn--outline-light:hover::before { background: var(--teal-500); }

.btn--lg { padding: 16px 30px; font-size: 15px; clip-path: var(--cut-md); }
.btn--lg.btn--outline-light::before, .btn--lg.btn--outline-light::after { clip-path: var(--cut-md); }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--teal-500) 50%, var(--border) 88%, transparent);
  opacity: 0.55;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 10px 30px -22px rgba(15, 54, 48, 0.7);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .container { height: 64px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand img {
  height: 34px;
  width: 34px;
  clip-path: var(--cut-xs);
  object-fit: cover;
}
.brand-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-fallback span { color: var(--teal-600); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 15px;
  isolation: isolate;
  transition: color 0.18s ease;
}
.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mint-100);
  transform: skewX(-14deg) scaleY(0.4);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(.2,.7,.3,1);
  z-index: -1;
}
.nav-links a:hover { color: var(--teal-700); }
.nav-links a:hover::before { opacity: 1; transform: skewX(-14deg) scaleY(1); }
.nav-links a[aria-current="page"] { color: var(--teal-700); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--teal-500);
  transform: skewX(-24deg);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
}
.header-actions .btn--outline:hover {
  background: var(--mint-100);
  color: var(--teal-700);
  box-shadow: inset 0 0 0 1px var(--teal-500);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  box-shadow: inset 0 0 0 1px var(--border);
  clip-path: var(--cut-xs);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 10px 24px 22px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 14px 4px 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mobile-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--teal-500);
  transform: skewX(-14deg);
}
.mobile-nav .header-actions { margin-top: 18px; flex-direction: column; }
.mobile-nav .btn { width: 100%; }
.mobile-nav .btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
}

body.nav-open .mobile-nav { display: flex; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .header-actions .btn--outline { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Capture frame — the signature: viewfinder crop marks + waveform
   ========================================================================== */

.capture-frame { position: relative; }

.capture-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--teal-500);
  border-style: solid;
  border-width: 0;
  opacity: 0.95;
  pointer-events: none;
  z-index: 3;
}
.capture-corner.tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.capture-corner.tr { top: -8px; right: -8px; border-top-width: 2px; border-right-width: 2px; }
.capture-corner.bl { bottom: -8px; left: -8px; border-bottom-width: 2px; border-left-width: 2px; }
.capture-corner.br { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  padding-top: 16px;
}
.meta-strip span { display: inline-flex; align-items: center; gap: 7px; }
.meta-strip .dot {
  width: 7px;
  height: 7px;
  background: var(--teal-500);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

/* Waveform bars — a live audio meter, not decoration */
.waveform { display: flex; align-items: center; gap: 3px; height: 30px; }
.waveform span {
  width: 3px;
  min-height: 3px;
  background: var(--teal-400);
  opacity: 0.9;
  transform-origin: center;
}
.waveform.is-live span { animation: waveBar 1.1s ease-in-out infinite; }
.waveform.is-live span:nth-child(3n)   { animation-duration: 1.45s; }
.waveform.is-live span:nth-child(4n)   { animation-duration: 0.85s; }
.waveform.is-live span:nth-child(5n)   { animation-duration: 1.7s; }
.waveform.is-live span:nth-child(1)  { animation-delay: .00s }
.waveform.is-live span:nth-child(2)  { animation-delay: .07s }
.waveform.is-live span:nth-child(3)  { animation-delay: .14s }
.waveform.is-live span:nth-child(4)  { animation-delay: .21s }
.waveform.is-live span:nth-child(5)  { animation-delay: .28s }
.waveform.is-live span:nth-child(6)  { animation-delay: .35s }
.waveform.is-live span:nth-child(7)  { animation-delay: .42s }
.waveform.is-live span:nth-child(8)  { animation-delay: .49s }
.waveform.is-live span:nth-child(9)  { animation-delay: .56s }
.waveform.is-live span:nth-child(10) { animation-delay: .63s }
.waveform.is-live span:nth-child(11) { animation-delay: .70s }
.waveform.is-live span:nth-child(12) { animation-delay: .77s }
.waveform.is-live span:nth-child(13) { animation-delay: .84s }
.waveform.is-live span:nth-child(14) { animation-delay: .91s }
.waveform.is-live span:nth-child(15) { animation-delay: .98s }
.waveform.is-live span:nth-child(16) { animation-delay: 1.05s }
.waveform.is-live span:nth-child(17) { animation-delay: 1.12s }
.waveform.is-live span:nth-child(18) { animation-delay: 1.19s }
.waveform.is-live span:nth-child(19) { animation-delay: 1.26s }
.waveform.is-live span:nth-child(20) { animation-delay: 1.33s }
.waveform.is-live span:nth-child(21) { animation-delay: 1.40s }
.waveform.is-live span:nth-child(22) { animation-delay: 1.47s }
.waveform.is-live span:nth-child(23) { animation-delay: 1.54s }
.waveform.is-live span:nth-child(24) { animation-delay: 1.61s }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.28); opacity: 0.5; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding: 92px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

/* Angled stage: a skewed mint wedge that the mockup sits on */
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -18%;
  width: 58%;
  height: 150%;
  background: linear-gradient(200deg, var(--mint-100), rgba(242, 253, 251, 0) 72%);
  border-left: 1px solid rgba(20, 184, 166, 0.28);
  transform: skewX(-12deg);
  z-index: -2;
  pointer-events: none;
}
/* Diagonal hairline field */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(15, 118, 110, 0.045) 0 1px, transparent 1px 16px);
  -webkit-mask-image: linear-gradient(200deg, rgba(0,0,0,0.9), transparent 62%);
  mask-image: linear-gradient(200deg, rgba(0,0,0,0.9), transparent 62%);
  z-index: -2;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.hero-copy { max-width: 620px; }
.hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
  margin-top: 22px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--teal-700);
}
.hero-copy p.lede {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-metrics {
  display: flex;
  gap: 0;
  margin-top: 8px;
  padding-top: 34px;
  position: relative;
  flex-wrap: wrap;
}
.hero-metrics::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-500), rgba(20, 184, 166, 0.08));
}
.hero-metrics .metric {
  position: relative;
  padding: 0 40px 0 0;
  margin-right: 40px;
}
.hero-metrics .metric + .metric { padding-left: 0; }
.hero-metrics .metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--border);
  transform: skewX(-14deg);
}
.hero-metrics .metric-value {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--teal-700);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-metrics .metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 9px;
}

/* Mockup ------------------------------------------------------------------ */

.hero-mockup-wrap { padding: 0; position: relative; }

.hero-mockup { position: relative; }

.browser-frame {
  background: var(--white);
  clip-path: var(--cut-lg);
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 34px 54px rgba(13, 90, 82, 0.24));
}
.browser-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--teal-500), rgba(20, 184, 166, 0.15) 45%, var(--border));
  clip-path: var(--cut-lg);
  z-index: -2;
}
.browser-frame::after {
  content: "";
  position: absolute;
  inset: 1.2px;
  background: var(--white);
  clip-path: var(--cut-lg);
  z-index: -1;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--mint-50), rgba(242, 253, 251, 0.4));
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 8px; height: 8px; background: var(--border); transform: rotate(45deg); }
.browser-bar .url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--border);
  padding: 5px 12px;
  clip-path: var(--cut-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-mock { padding: 22px; position: relative; }

/* Live capture rail inside the mockup */
.wave-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: linear-gradient(110deg, var(--teal-800), var(--teal-700));
  clip-path: var(--cut-sm);
  overflow: hidden;
}
.wave-rail .rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  flex-shrink: 0;
}
.wave-rail .rec i {
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
  animation: recPulse 1.6s ease-in-out infinite;
}
.wave-rail .waveform { flex: 1; min-width: 0; overflow: hidden; }
.wave-rail .waveform span { background: var(--teal-400); }
.wave-rail .time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--on-teal-soft);
  flex-shrink: 0;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
}

.dash-grid { display: grid; grid-template-columns: 186px 1fr; gap: 20px; }
.dash-side { display: flex; flex-direction: column; gap: 4px; }
.dash-side .item {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 9px 12px;
  position: relative;
  clip-path: var(--cut-xs);
}
.dash-side .item.active {
  background: var(--mint-100);
  color: var(--teal-700);
  font-weight: 600;
}
.dash-side .item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal-500);
}

.transcript-panel { display: flex; flex-direction: column; gap: 11px; }
.transcript-line {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.transcript-line mark {
  background: linear-gradient(0deg, var(--mint-100), var(--mint-100));
  background-size: 100% 100%;
  color: var(--teal-700);
  font-weight: 600;
  padding: 1px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.trigger-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--mint-50);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  clip-path: var(--cut-xs);
  padding: 10px 13px;
  font-size: 12.5px;
  color: var(--teal-700);
}
.trigger-row .chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  background: var(--teal-600);
  color: var(--white);
  padding: 4px 9px;
  clip-path: var(--cut-xs);
  flex-shrink: 0;
}

/* ==========================================================================
   Chamfered surfaces — the shared card treatment
   A hairline that survives the 45deg cut needs two clipped layers.
   ========================================================================== */

.card,
.testimonial,
.industry-card,
.fit-card,
.price-card,
.info-card,
.form-card,
.faq-item,
.compare-table-wrap,
.feature-visual {
  position: relative;
  isolation: isolate;
  background: transparent;
  clip-path: var(--cut-md);
}
.card::before,
.testimonial::before,
.industry-card::before,
.fit-card::before,
.price-card::before,
.info-card::before,
.form-card::before,
.faq-item::before,
.compare-table-wrap::before,
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--border);
  clip-path: var(--cut-md);
  z-index: -2;
  transition: background 0.25s ease;
}
.card::after,
.testimonial::after,
.industry-card::after,
.fit-card::after,
.price-card::after,
.info-card::after,
.form-card::after,
.faq-item::after,
.compare-table-wrap::after,
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--white);
  clip-path: var(--cut-md);
  z-index: -1;
}

/* ==========================================================================
   Grids + pillar cards
   ========================================================================== */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Staggered rhythm — breaks the row of identical boxes */
@media (min-width: 1025px) {
  .grid-3 > *:nth-child(3n + 2) { margin-top: 28px; }
  .grid-3 > *:nth-child(3n) { margin-top: 56px; }
  .testimonial-strip > *:nth-child(2) { margin-top: 28px; }
  .testimonial-strip > *:nth-child(3) { margin-top: 56px; }
}

.card {
  padding: 30px 28px 32px;
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1), filter 0.28s ease;
}
.card:hover { transform: translateY(-6px); filter: drop-shadow(0 22px 34px rgba(15, 54, 48, 0.13)); }
.card:hover::before { background: linear-gradient(150deg, var(--teal-500), var(--border) 55%); }

.pillar-icon {
  width: 48px;
  height: 48px;
  clip-path: var(--cut-sm);
  background: linear-gradient(140deg, var(--teal-500), var(--teal-700));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.pillar-icon svg { width: 22px; height: 22px; stroke: white; }

.card h3 { font-size: 19px; margin-bottom: 11px; letter-spacing: -0.02em; }
.card p { color: var(--ink-soft); font-size: 14.5px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.testimonial {
  padding: 30px 28px;
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
}
.testimonial:hover { transform: translateY(-5px); }
.testimonial:hover::before { background: linear-gradient(150deg, var(--teal-500), var(--border) 55%); }
.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.62;
  position: relative;
  padding-left: 18px;
}
.testimonial blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  background: var(--teal-500);
  transform: skewX(-14deg);
}
.testimonial .who {
  font-size: 11px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-left: 18px;
}

/* ==========================================================================
   CTA band — a leaning teal slab
   ========================================================================== */

.cta-band {
  background: linear-gradient(112deg, var(--teal-700), var(--teal-900));
  clip-path: var(--cut-xl);
  padding: 58px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  --btn-inner: var(--teal-800);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -6%;
  width: 46%;
  height: 180%;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.26), rgba(45, 212, 191, 0.02));
  transform: skewX(-16deg);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(240, 253, 250, 0.055) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(25px, 3.2vw, 36px); letter-spacing: -0.03em; }
.cta-band p { color: var(--on-teal-soft); margin-top: 12px; }

/* ==========================================================================
   Feature blocks (features.html)
   ========================================================================== */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
  padding: 72px 0;
  position: relative;
}
.feature-block::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-500), rgba(20, 184, 166, 0.05) 60%, transparent);
  transform: skewY(-0.35deg);
}
.feature-block:last-child::after { display: none; }
.feature-block.reverse .feature-copy { order: 2; }
.feature-block.reverse .feature-visual { order: 1; }

.feature-copy .eyebrow { margin-bottom: 18px; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; letter-spacing: -0.03em; }
.feature-copy p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 22px; }
.feature-copy ul { display: flex; flex-direction: column; gap: 11px; }
.feature-copy li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink);
}
.feature-copy li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 4px;
  stroke: var(--teal-600);
  stroke-width: 2.4;
}

.feature-visual {
  padding: 32px;
  min-height: 272px;
  display: flex;
  align-items: center;
  justify-content: center;
  --btn-inner: var(--mint-50);
}
.feature-visual::after { background: var(--mint-50); }
.feature-visual.on-deep::before { background: transparent; }
.feature-visual.on-deep::after {
  background:
    radial-gradient(110% 90% at 85% 5%, rgba(45, 212, 191, 0.24), transparent 62%),
    linear-gradient(155deg, var(--teal-700), var(--teal-900));
}
.feature-visual.on-deep { color: var(--on-teal); }

/* Spec card */
.spec-card {
  background:
    radial-gradient(100% 120% at 88% 0%, rgba(45, 212, 191, 0.22), transparent 58%),
    linear-gradient(150deg, var(--teal-700), var(--teal-900));
  clip-path: var(--cut-xl);
  padding: 46px;
  color: var(--on-teal);
  position: relative;
  overflow: hidden;
}
.spec-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(240, 253, 250, 0.05) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.spec-card > * { position: relative; z-index: 1; }
.spec-card h3 { color: var(--white); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 32px; position: relative; z-index: 1; }
.spec-grid > div { position: relative; padding-left: 18px; }
.spec-grid > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: var(--teal-400);
  transform: skewX(-14deg);
  opacity: 0.7;
}
.spec-grid dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-400);
  margin-bottom: 10px;
}
.spec-grid dd { margin: 0; font-size: 14.5px; color: var(--on-teal); }
.feature-visual.on-deep::after { inset: 0; }

/* ==========================================================================
   Solutions — industry cards + workflow
   ========================================================================== */

.industry-card {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1), filter 0.28s ease;
}
.industry-card:hover { transform: translateY(-6px); filter: drop-shadow(0 22px 34px rgba(15, 54, 48, 0.12)); }
.industry-card:hover::before { background: linear-gradient(150deg, var(--teal-500), var(--border) 55%); }
.industry-card .eyebrow { align-self: flex-start; }
.industry-card h3 { font-size: 20px; letter-spacing: -0.02em; }
.industry-card ul { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.industry-card li { font-size: 14px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.industry-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--teal-500);
  transform: skewX(-40deg);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.workflow-steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(45, 212, 191, 0.5) 0 7px, transparent 7px 15px);
  transform: skewY(-0.8deg);
}
.workflow-step { position: relative; padding: 0 26px 0 0; text-align: left; }
.workflow-step .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal-400);
  width: 50px;
  height: 50px;
  background: var(--teal-800);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.5);
  clip-path: var(--cut-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}
.workflow-step h4 { color: var(--white); font-size: 18px; margin-bottom: 10px; letter-spacing: -0.02em; }
.workflow-step p { color: var(--on-teal-soft); font-size: 14px; }

/* "Is this for you" cards */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.fit-card { padding: 30px 28px; }
.fit-card:hover::before { background: linear-gradient(150deg, var(--teal-500), var(--border) 55%); }
.fit-card .q {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-700);
  margin-bottom: 12px;
  padding-left: 16px;
  position: relative;
}
.fit-card .q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 2px;
  width: 3px;
  background: var(--teal-500);
  transform: skewX(-14deg);
}
.fit-card .a { font-size: 14.5px; color: var(--ink-soft); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--border);
  clip-path: var(--cut-sm);
  padding: 5px;
  margin-bottom: 8px;
}
.billing-toggle button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  clip-path: var(--cut-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.billing-toggle button:hover { color: var(--teal-700); }
.billing-toggle button.active {
  background: linear-gradient(118deg, var(--teal-600), var(--teal-800));
  color: var(--white);
}
.billing-toggle .save-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--teal-500);
  margin-left: 5px;
}
.billing-toggle button.active .save-tag { color: var(--teal-400); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin: 48px auto 0;
  max-width: 1080px;
}
.pricing-grid.pricing-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; }

.price-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  clip-path: var(--cut-lg);
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
}
.price-card::before, .price-card::after { clip-path: var(--cut-lg); }
.price-card:hover { transform: translateY(-6px); }

.price-card.popular {
  margin-top: -18px;
  padding-top: 46px;
  filter: drop-shadow(0 26px 44px rgba(13, 148, 136, 0.22));
}
.price-card.popular::before { background: linear-gradient(150deg, var(--teal-500), var(--teal-700)); }
.price-card.popular::after { inset: 2px; }
.price-card .popular-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(118deg, var(--teal-600), var(--teal-800));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 18px 8px 26px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.price-card.partner { --btn-inner: var(--teal-800); color: var(--on-teal); }
.price-card.partner::before { background: transparent; }
.price-card.partner::after {
  inset: 0;
  background:
    radial-gradient(110% 90% at 88% 0%, rgba(45, 212, 191, 0.24), transparent 60%),
    linear-gradient(150deg, var(--teal-700), var(--teal-900));
}
.price-card.partner h3 { color: var(--white); }
.price-card.partner .price-desc { color: var(--on-teal-soft); }
.price-card.partner .amount { color: var(--white); }
.price-card.partner li { color: var(--on-teal); }
.price-card.partner li svg { stroke: var(--teal-400); }

.price-card h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -0.02em; }
.price-card .price-line { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.price-card .amount {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.price-card .period { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.price-card .price-desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.price-card li { display: flex; gap: 11px; font-size: 14px; align-items: flex-start; }
.price-card li svg { width: 15px; height: 15px; stroke: var(--teal-600); stroke-width: 2.4; flex-shrink: 0; margin-top: 4px; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; margin-top: 34px; font-size: 14px; color: var(--ink-soft); }
.pricing-note a { color: var(--teal-700); font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal-400); }

.compare-table-wrap { overflow-x: auto; margin-top: 24px; }
table.compare { width: 100%; border-collapse: collapse; background: transparent; font-size: 14px; min-width: 560px; }
table.compare th, table.compare td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-700);
  font-weight: 500;
  background: var(--mint-50);
}
table.compare td.check { color: var(--teal-600); text-align: center; font-weight: 700; }
table.compare td.dash { color: var(--ink-faint); text-align: center; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td:first-child { color: var(--ink-soft); }
table.compare tbody tr { transition: background 0.15s ease; }
table.compare tbody tr:hover { background: var(--mint-50); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { transition: transform 0.2s ease; }
.faq-item[open]::before { background: linear-gradient(150deg, var(--teal-500), var(--border) 60%); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 21px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.18s ease;
}
.faq-item summary:hover { color: var(--teal-700); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform 0.25s cubic-bezier(.2,.7,.3,1); flex-shrink: 0; color: var(--teal-600); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--teal-700); }
.faq-item .faq-body {
  color: var(--ink-soft);
  font-size: 14.5px;
  border-left: 2px solid var(--teal-400);
  margin: 0 26px 0 26px;
  padding: 2px 0 24px 22px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }

.form-card { padding: 40px 38px; clip-path: var(--cut-lg); --btn-inner: var(--white); }
.form-card::before, .form-card::after { clip-path: var(--cut-lg); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: none;
  clip-path: var(--cut-xs);
  box-shadow: inset 0 0 0 1px var(--border);
  padding: 12px 15px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--mint-50);
  transition: box-shadow 0.18s ease, background 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--teal-600);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg {
  display: none;
  color: #c02626;
  font-size: 12.5px;
  margin-top: 7px;
  font-weight: 500;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 2px #c02626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  align-items: center;
  gap: 11px;
  background: var(--mint-100);
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.32);
  clip-path: var(--cut-sm);
  color: var(--teal-700);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-success.show { display: flex; }

.info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  padding: 24px;
  display: flex;
  gap: 17px;
  align-items: flex-start;
  transition: transform 0.24s cubic-bezier(.2,.7,.3,1);
}
.info-card:hover { transform: translateX(5px); }
.info-card:hover::before { background: linear-gradient(150deg, var(--teal-500), var(--border) 55%); }
.info-card .icon {
  width: 42px;
  height: 42px;
  clip-path: var(--cut-xs);
  flex-shrink: 0;
  background: linear-gradient(140deg, var(--teal-500), var(--teal-700));
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card .icon svg { width: 18px; height: 18px; stroke: white; }
.info-card h4 { font-size: 16px; margin-bottom: 6px; letter-spacing: -0.02em; }
.info-card p { font-size: 13.5px; color: var(--ink-soft); }
.info-card a.link {
  color: var(--teal-700);
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: inset 0 -2px 0 var(--teal-400);
}

.support-teaser {
  background:
    radial-gradient(110% 90% at 88% 0%, rgba(45, 212, 191, 0.22), transparent 60%),
    linear-gradient(150deg, var(--teal-700), var(--teal-900));
  color: var(--on-teal);
  clip-path: var(--cut-md);
  padding: 26px;
  --btn-inner: var(--teal-800);
}
.support-teaser h4 { color: var(--white); font-size: 16px; margin-bottom: 8px; letter-spacing: -0.02em; }
.support-teaser p { font-size: 13.5px; color: var(--on-teal-soft); margin-bottom: 18px; }

/* ==========================================================================
   Page hero (inner pages) — slanted foot
   ========================================================================== */

.page-hero {
  position: relative;
  background:
    radial-gradient(90% 130% at 88% 0%, rgba(45, 212, 191, 0.26), transparent 58%),
    linear-gradient(152deg, var(--teal-700), var(--teal-900));
  color: var(--on-teal);
  padding: 84px 0 calc(72px + var(--slant));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  margin-bottom: calc(var(--slant) * -0.55);
  overflow: hidden;
  --btn-inner: var(--teal-800);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(240, 253, 250, 0.055) 0 1px, transparent 1px 15px);
  pointer-events: none;
}
.page-hero .container { z-index: 1; }
.page-hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-top: 20px;
  max-width: 720px;
}
.page-hero p.lede { margin-top: 18px; font-size: 17px; color: var(--on-teal-soft); max-width: 580px; }

/* ==========================================================================
   Footer — slanted head, matching the band lean
   ========================================================================== */

.site-footer {
  position: relative;
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(45, 212, 191, 0.14), transparent 60%),
    linear-gradient(160deg, var(--teal-800), var(--teal-900));
  color: var(--on-teal-soft);
  padding: calc(76px + var(--slant)) 0 30px;
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -0.4);
  --btn-inner: var(--teal-900);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(240, 253, 250, 0.04) 0 1px, transparent 1px 15px);
  pointer-events: none;
}
.site-footer .container { z-index: 1; }
.site-footer .brand-fallback { color: var(--white); }
.site-footer .brand-fallback span { color: var(--teal-400); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 52px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; max-width: 270px; margin-bottom: 22px; }
.footer-cta { display: inline-flex; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin: 0 0 18px;
  padding-left: 12px;
  position: relative;
  font-weight: 500;
}
.footer-col h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 2px;
  background: var(--teal-400);
  transform: skewX(-16deg);
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; transition: color 0.16s ease, padding-left 0.16s ease; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(240, 253, 250, 0.13);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--teal-400); }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   Desktop hero — two columns, mockup on its own angled plate
   ========================================================================== */

@media (min-width: 1025px) {
  .hero { padding: 100px 0 104px; }
  .hero .container {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    grid-template-areas:
      "copy mock"
      "metrics metrics";
    gap: 60px 58px;
    align-items: center;
  }
  .hero-copy { grid-area: copy; }
  .hero-mockup-wrap { grid-area: mock; }
  .hero-metrics { grid-area: metrics; margin-top: 26px; }

  .hero-mockup-wrap::before {
    content: "";
    position: absolute;
    inset: 22px -26px -26px 34px;
    background: linear-gradient(150deg, var(--teal-600), var(--teal-800));
    opacity: 0.13;
    transform: skewX(-6deg);
    z-index: -1;
  }
  .hero-mockup { z-index: 1; }
}

/* ==========================================================================
   Motion — page-load sequence inside the mockup, scroll reveal elsewhere
   ========================================================================== */

.capture-corner { animation: cornerIn 0.7s cubic-bezier(.2,.7,.3,1) both; }
.capture-corner.tl { animation-delay: 0.15s; }
.capture-corner.tr { animation-delay: 0.24s; }
.capture-corner.bl { animation-delay: 0.33s; }
.capture-corner.br { animation-delay: 0.42s; }

@keyframes cornerIn {
  from { opacity: 0; transform: scale(0.55); }
  to   { opacity: 0.95; transform: scale(1); }
}

.hero .transcript-line mark {
  background-image: linear-gradient(var(--mint-100), var(--mint-100));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  animation: markSweep 0.55s cubic-bezier(.2,.7,.3,1) both;
}
.hero .transcript-line mark:nth-of-type(1) { animation-delay: 0.7s; }
.hero .transcript-line mark:nth-of-type(2) { animation-delay: 1.0s; }

@keyframes markSweep {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}

.hero .trigger-row { animation: rowIn 0.6s cubic-bezier(.2,.7,.3,1) both; }
.hero .trigger-row:nth-of-type(1) { animation-delay: 1.35s; }
.hero .trigger-row:nth-of-type(2) { animation-delay: 1.55s; }
.hero .trigger-row:nth-of-type(3) { animation-delay: 1.75s; }

@keyframes rowIn {
  from { opacity: 0; translate: -14px 0; }
  to   { opacity: 1; translate: 0 0; }
}

/* Scroll reveal — applied by script.js, so no-JS pages stay fully visible */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.65s cubic-bezier(.2,.7,.3,1), translate 0.65s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* ==========================================================================
   Corrections + surface-level overrides
   ========================================================================== */

/* Anchored sections (#faq, #is-this-for-you) must clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* Hairline-outlined buttons sitting on a white card need a white inner fill */
.card,
.testimonial,
.industry-card,
.fit-card,
.price-card,
.info-card,
.faq-item,
.browser-frame { --btn-inner: var(--white); }

/* The band's hatch overlay must sit under its content */
.section--deep .container { z-index: 1; }

/* Viewfinder marks inside a clipped panel have to sit inside the clip,
   otherwise the chamfer crops them away entirely */
.feature-visual.capture-frame .capture-corner.tl { top: 14px; left: 14px; }
.feature-visual.capture-frame .capture-corner.tr { top: 14px; right: 14px; }
.feature-visual.capture-frame .capture-corner.bl { bottom: 14px; left: 14px; }
.feature-visual.capture-frame .capture-corner.br { bottom: 14px; right: 14px; }

/* Trigger rows on the dark feature panel: the hairline has to invert */
.feature-visual.on-deep .trigger-row {
  box-shadow: inset 0 0 0 1px rgba(240, 253, 250, 0.18);
  color: var(--on-teal);
}
.feature-visual.on-deep .transcript-line { color: var(--on-teal-soft); border-bottom-color: rgba(240, 253, 250, 0.18); }

/* The comparison table scrolls sideways on mobile, so it carries its own fill */
table.compare { background: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  :root { --slant: 40px; }
  .grid-3, .testimonial-strip, .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .price-card.popular { margin-top: 0; padding-top: 46px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 34px; }
  .workflow-steps::before { display: none; }
  .feature-block { gap: 44px; }
  .hero { padding: 68px 0 84px; }
}

@media (max-width: 768px) {
  :root { --slant: 30px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 52px 0; }
  .section--deep, .section--tint { padding: calc(72px + var(--slant)) 0; }
  .section--deep.section--tight, .section--tint.section--tight { padding: calc(52px + var(--slant)) 0; }
  .section-head { margin-bottom: 40px; }

  .grid-3, .grid-2, .grid-4, .testimonial-strip, .fit-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .feature-block.reverse .feature-copy, .feature-block.reverse .feature-visual { order: initial; }

  .hero-metrics { gap: 22px 0; }
  .hero-metrics .metric { padding-right: 26px; margin-right: 26px; }
  .hero-metrics .metric-value { font-size: 28px; }

  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dashboard-mock { padding: 18px; }
  .browser-bar .url { font-size: 10px; }

  .cta-band { padding: 38px 26px; flex-direction: column; align-items: flex-start; clip-path: var(--cut-lg); }
  .spec-card { padding: 32px 26px; }
  .spec-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item .faq-body { margin-left: 20px; padding: 0 20px 20px 18px; }
  .card, .testimonial, .industry-card, .fit-card { padding: 26px 24px; }
  .price-card { padding: 30px 26px; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 34px; }
  .hero-ctas .btn { width: 100%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; translate: none; }
  .waveform.is-live span { animation: none; transform: scaleY(1); }
  .hero .transcript-line mark { background-size: 100% 100%; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header, .mobile-nav, .cta-band, .hero-mockup-wrap { display: none; }
  body { background: #fff; color: #000; }
  .section--deep, .page-hero, .site-footer { clip-path: none; }
}
