/* ==========================================================================
   Tenance — Marketing Redesign Design System
   Editorial-luxury direction, keeping the existing brand (forest green +
   terracotta, Clash Display / Gothic A1). Built per the redesign-skill /
   high-end-visual-design / emil-design-eng craft guidelines.
   ========================================================================== */

@font-face {
  font-family: "Clash Display";
  src: url("/6669581e22545cf6dcdb2456/6669581e22545cf6dcdb24ea_ClashDisplay-Extralight.otf") format("opentype");
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/6669581e22545cf6dcdb2456/6669581e22545cf6dcdb24e6_ClashDisplay-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/6669581e22545cf6dcdb2456/6669581e22545cf6dcdb24e7_ClashDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/6669581e22545cf6dcdb2456/6669581e22545cf6dcdb24e9_ClashDisplay-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/6669581e22545cf6dcdb2456/6669581e22545cf6dcdb24e5_ClashDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* --- brand (kept from the live site) --- */
  --forest: #244b36;
  --forest-deep: #14261b;
  --forest-ink: #10201a;
  --terracotta: #e09b6b;
  --terracotta-deep: #c97f4e;

  /* --- editorial-luxury neutrals built around the brand --- */
  --cream: #faf6ee;
  --cream-2: #f2ead9;
  --cream-3: #ece1c9;
  --paper: #fffdf9;
  --ink: #16241c;
  --muted: #6e6a5c;
  --muted-2: #948f80;
  --line: rgba(22, 36, 28, 0.1);
  --line-soft: rgba(22, 36, 28, 0.06);
  --white: #ffffff;

  /* --- type --- */
  --font-display: "Clash Display", "Gothic A1", system-ui, sans-serif;
  --font-body: "Gothic A1", system-ui, -apple-system, sans-serif;

  /* --- radius --- */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-pill: 999px;

  /* --- shadow (tinted with the forest hue) --- */
  --shadow-sm: 0 1px 2px rgba(16, 32, 26, 0.06), 0 1px 1px rgba(16, 32, 26, 0.04);
  --shadow-md: 0 12px 30px -12px rgba(16, 32, 26, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(16, 32, 26, 0.28);
  --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.6);

  /* --- motion --- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); transition: text-decoration-color 200ms var(--ease-out); }
p a:hover { text-decoration-color: currentColor; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-ink);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--terracotta); color: var(--forest-ink); }

/* --- grain overlay: fixed, pointer-events none, never on scrolling content --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- skip link --- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--forest);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Layout
   ========================================================================== */

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

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 54ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Nav — floating glass pill
   ========================================================================== */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px 0;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 20px;
  border-radius: var(--r-pill);
  background: rgba(250, 246, 238, 0.72);
  border: 1px solid rgba(22, 36, 28, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms var(--ease-out), background 300ms var(--ease-out);
}
.nav-wrap.is-scrolled .nav { box-shadow: var(--shadow-md); background: rgba(250, 246, 238, 0.92); }

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* the source mark is a pale outline meant for dark backgrounds; recolor it
   solid for the light cream nav so it doesn't wash out */
.nav-logo img { height: 30px; width: auto; filter: brightness(0) saturate(100%); opacity: 0.86; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav-logo:hover img { transform: rotate(-6deg) scale(1.06); }
}

/* crop a stray artifact line baked into the top edge of a source asset */
.crop-top { clip-path: inset(3% 0 0 0); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--forest-ink);
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--cream-2); }
.nav-links a[aria-current="page"] { background: var(--forest); color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
  gap: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
  cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.lang-switch button.is-active { background: var(--forest); color: var(--white); }
.lang-switch button:not(.is-active):hover { color: var(--forest-ink); }

.btn {
  --btn-fg: var(--white);
  --btn-bg: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 14.5px;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out), background 250ms var(--ease-out);
  box-shadow: 0 1px 1px rgba(255,255,255,0.15) inset, var(--shadow-sm);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: var(--shadow-md); }
  .btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.04); }
}
.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out);
}
.btn-icon svg { width: 15px; height: 15px; }

/* Buttons that carry the trailing icon circle need asymmetric padding to
   give it room; buttons without one stay symmetric so the label centers. */
.btn:has(.btn-icon) { padding: 6px 6px 6px 20px; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest-ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost .btn-icon { background: var(--cream-2); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { background: var(--cream-2); }
}

.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline-light .btn-icon { background: rgba(255,255,255,0.14); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: var(--forest-ink);
  border-radius: 2px;
  transition: transform 320ms var(--ease-drawer), opacity 200ms var(--ease-out), top 320ms var(--ease-drawer);
}
.menu-toggle span { top: 19px; left: 12px; }
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after { top: 6px; left: 0; }
.nav.is-open .menu-toggle span { background: transparent; }
.nav.is-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 33, 25, 0.001);
  backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), backdrop-filter 320ms var(--ease-out);
}
.nav.is-open ~ .mobile-panel,
.nav-wrap .mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(20px);
  background: rgba(20, 33, 25, 0.86);
}
.mobile-panel-inner {
  padding: 120px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-panel a {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 30px;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.mobile-panel.is-open a { opacity: 1; transform: translateY(0); }
.mobile-panel.is-open a:nth-child(1) { transition-delay: 60ms; }
.mobile-panel.is-open a:nth-child(2) { transition-delay: 100ms; }
.mobile-panel.is-open a:nth-child(3) { transition-delay: 140ms; }
.mobile-panel.is-open a:nth-child(4) { transition-delay: 180ms; }
.mobile-panel.is-open a:nth-child(5) { transition-delay: 220ms; }
.mobile-panel-foot { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 14px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-panel { display: block; }
  .nav-actions .btn span.btn-label { display: none; }
}

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

.hero {
  position: relative;
  padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 8vw, 88px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(224, 155, 107, 0.32), rgba(224, 155, 107, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(36, 75, 54, 0.16), rgba(36, 75, 54, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 0.98;
  font-weight: 500;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--terracotta-deep);
}
.hero-copy p.lede {
  margin-top: 24px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted-2); }

.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--forest-ink);
  font-weight: 500;
}
.hero-stats div > span { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hero-stats strong .count { display: inline; font: inherit; color: inherit; margin: 0; }

.hero-visual { position: relative; }

/* The source photos are pre-rendered device mockups (own frame + shadow
   baked in, transparent surround) — no extra frame around them, just an
   ambient glow and a slow continuous float for a sense of life. */
.device-shot {
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(16, 32, 26, 0.28));
  transition: transform 400ms var(--ease-out);
}
/* the float animation lives on the <img> itself, and cursor-parallax (JS)
   moves the wrapper — two different elements so the transforms don't fight */
.device-shot img { width: 100%; animation: device-float 6s var(--ease-in-out) infinite; }
.device-shot--small { max-width: 260px; }

@keyframes device-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .device-shot { animation: none; }
}

.hero-visual .floaty {
  position: absolute;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.hero-visual .floaty.f1 { top: 10%; left: -8%; animation: float-a 7s var(--ease-in-out) infinite; }
.hero-visual .floaty.f2 { bottom: 14%; right: -10%; animation: float-b 8s var(--ease-in-out) infinite; }
.floaty .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; }
.floaty .dot.green { background: var(--forest); }

@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .hero-visual .floaty { display: none; }
}

/* ==========================================================================
   Showcase image band
   ========================================================================== */

.showcase {
  background: var(--forest-deep);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  color: var(--cream);
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(224,155,107,0.18), transparent 55%);
  pointer-events: none;
}
.showcase-head { max-width: 480px; position: relative; }
.showcase-head h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 38px); }
.showcase-frame {
  margin-top: 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.showcase-frame img { width: 100%; }

/* ==========================================================================
   Feature rows — editorial split, alternating
   ========================================================================== */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
}
.feature-row:first-of-type { border-top: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }

.feature-copy .index {
  font-family: var(--font-display);
  color: var(--terracotta-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.feature-copy h3 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 10px; }
.feature-copy p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.feature-copy .tag { display: inline-block; margin-bottom: 4px; color: var(--forest); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

.feature-media {
  background: var(--cream-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  position: relative;
}
.feature-media img { max-height: 210px; width: auto; filter: drop-shadow(0 24px 30px rgba(20,33,25,0.16)); }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-media, .feature-row.reverse .feature-copy { order: initial; }
}

/* ==========================================================================
   Cards (double-bezel)
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-lg);
  padding: 8px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
}
.card-core {
  background: var(--paper);
  border-radius: calc(var(--r-lg) - 8px);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--shadow-inset);
}
.card-core img { width: 46px; height: 46px; margin-bottom: 20px; transition: transform 300ms var(--ease-out); }

/* compact icon + label row, used for the big all-features grid */
.feature-pill { display: flex; align-items: center; gap: 14px; }
.feature-pill img { width: 26px; height: 26px; margin-bottom: 0; flex-shrink: 0; opacity: 0.8; }
.feature-pill p { margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-core img { transform: scale(1.08) rotate(-2deg); }
}
.card-core h4 { font-size: 19px; font-weight: 600; }
.card-core p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat {
  padding: 44px 28px;
  text-align: center;
  background: var(--paper);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--forest);
  display: block;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.stat > span { color: var(--muted); font-size: 14px; margin-top: 6px; display: block; }
.stat strong .count { display: inline; font: inherit; color: inherit; margin: 0; }

@media (max-width: 700px) { .stats-band { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } }

/* ==========================================================================
   Bento (about / mission-vision-values)
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.bento-lead {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-lead h3 { color: var(--white); font-size: clamp(24px, 2.8vw, 32px); }
.bento-lead p { margin-top: 16px; color: rgba(250,246,238,0.82); }
.bento-list { display: flex; flex-direction: column; gap: 20px; }
.bento-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  display: flex;
  gap: 16px;
}
.bento-item img { width: 30px; height: 30px; flex-shrink: 0; }
.bento-item p { color: var(--muted); font-size: 14.5px; }

@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } }

/* ==========================================================================
   Split (how it works)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.split-step { display: flex; gap: 16px; align-items: flex-start; }
.split-step .n {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; color: var(--forest);
  flex-shrink: 0;
}
.split-step p { color: var(--muted); font-size: 15px; }
.split-media { display: flex; justify-content: center; }
.split-media .bezel-outer { max-width: 320px; }

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

/* ==========================================================================
   Vacancy / pricing-style 3-card
   ========================================================================== */

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vacancy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .vacancy-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
}
.vacancy-card img { width: 100%; max-width: 130px; margin: 0 auto 20px; }
.vacancy-card h3 { font-size: 19px; font-weight: 600; }
.vacancy-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; flex-grow: 1; }
.vacancy-card .link-arrow { margin-top: 18px; }

@media (max-width: 860px) { .vacancy-grid { grid-template-columns: 1fr; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--forest);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
.link-arrow:hover svg { transform: translate(3px, -2px); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--forest);
  border-radius: var(--r-lg);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(224,155,107,0.28), transparent 55%);
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); position: relative; }
.cta-band p { color: rgba(250,246,238,0.78); margin-top: 14px; position: relative; }
.cta-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter-copy h2 { font-size: clamp(24px, 2.8vw, 32px); }
.newsletter-copy p { margin-top: 10px; color: var(--muted); max-width: 42ch; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; min-width: 320px; flex: 1; max-width: 420px; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
}
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--forest); outline-offset: 2px; }
.newsletter-form button { border: 0; }
.form-msg { font-size: 14px; padding: 12px 18px; border-radius: var(--r-md); background: var(--cream-2); }
.form-msg.error { background: #f6e6df; color: #8a3f1f; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-ink);
  color: rgba(250,246,238,0.72);
  padding: 56px 0 28px;
  margin-top: 32px;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand img { height: 24px; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; font-size: 14px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5,
.footer-col .footer-col-heading { color: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; padding: 5px 0; transition: color 200ms var(--ease-out); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(250,246,238,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: rgba(250,246,238,0.5); text-decoration: none; font-size: 12px; }
.footer-legal a:hover { color: #c8923a; }

/* ==========================================================================
   Utility page (404 / coming soon)
   ========================================================================== */

.utility-hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.utility-hero .kicker {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 140px);
  line-height: 1;
  color: var(--cream-3);
  -webkit-text-stroke: 1.5px var(--forest);
  color: transparent;
  margin-bottom: 8px;
}
.utility-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.utility-hero p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.utility-hero .btn { margin-top: 32px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
}

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

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .newsletter { flex-direction: column; }
  .footer-top { flex-direction: column; }
}

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

.pricing-toggle-row { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 48px; }
.pricing-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
  gap: 2px;
}
.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.pricing-toggle button.is-active { background: var(--forest); color: var(--white); }
.pricing-toggle button:not(.is-active):hover { color: var(--forest-ink); }
.pricing-toggle .save-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(224, 155, 107, 0.22);
  color: var(--terracotta-deep);
}
.pricing-toggle button.is-active .save-pill { background: rgba(255,255,255,0.22); color: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}
.pricing-card--highlight {
  border-color: var(--forest);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(36,75,54,0.04), var(--paper) 140px);
}
@media (hover: hover) and (pointer: fine) {
  .pricing-card--highlight { transform: translateY(-6px); }
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--forest);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.pricing-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--forest-ink); }
.pricing-tagline { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 40px; }
.pricing-price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pricing-price { font-family: var(--font-display); font-size: 42px; font-weight: 600; color: var(--forest-ink); letter-spacing: -0.01em; white-space: nowrap; }
.pricing-price-period { color: var(--muted); font-size: 14px; }
.pricing-price-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); min-height: 18px; }

.pricing-units {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--cream-2);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.pricing-units-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--forest-ink); text-transform: uppercase; letter-spacing: 0.04em; }
.pricing-units-box {
  width: 62px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.pricing-units-box:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.pricing-slider { width: 100%; margin-top: 12px; accent-color: var(--forest); cursor: pointer; }
.pricing-units-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }

.pricing-cta { margin-top: 26px; width: 100%; }
.pricing-features { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.pricing-features li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: var(--forest); }
.pricing-features li.is-muted { color: var(--muted); }
.pricing-features li.is-muted svg { color: var(--muted-2); }

.tooltip-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream-3);
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  flex-shrink: 0;
  cursor: help;
  position: relative;
  margin-left: 2px;
}
.tooltip-dot .tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 240px;
  background: var(--forest-deep);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  z-index: 20;
}
.tooltip-dot .tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--forest-deep);
}
.tooltip-dot:hover .tooltip-bubble,
.tooltip-dot.is-open .tooltip-bubble { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
@media (max-width: 480px) {
  .tooltip-dot .tooltip-bubble { width: 200px; left: auto; right: -10px; transform: translateY(4px); }
  .tooltip-dot:hover .tooltip-bubble, .tooltip-dot.is-open .tooltip-bubble { transform: translateY(0); }
}

.pricing-compare-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 40px; }
.pricing-compare-note a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }

/* Contact-sales form */
.sales-form-wrap {
  background: var(--forest-deep);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  color: var(--cream);
}
.sales-form-head { max-width: 560px; margin: 0 auto 32px; text-align: center; }
.sales-form-head .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: var(--cream); }
.sales-form-head h2 { color: var(--white); }
.sales-form-head p { margin-top: 12px; color: rgba(250,246,238,0.72); }
.sales-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; }
.sales-form .field-full { grid-column: 1 / -1; }
.sales-form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(250,246,238,0.6); margin-bottom: 7px; }
.sales-form input, .sales-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.sales-form input::placeholder, .sales-form textarea::placeholder { color: rgba(250,246,238,0.4); }
.sales-form input:focus, .sales-form textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.sales-form textarea { resize: vertical; min-height: 90px; }
.sales-form-submit { grid-column: 1 / -1; margin-top: 6px; }
@media (max-width: 640px) { .sales-form { grid-template-columns: 1fr; } }

/* General lead-capture form — deliberately light (vs. the dark Enterprise
   form above it), so two similar dark blocks don't stack on /contact. */
.lead-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
.lead-form .field-full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 7px; }
.lead-form input, .lead-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted-2); }
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form-submit { grid-column: 1 / -1; margin-top: 6px; width: 100%; justify-content: center; }
@media (max-width: 640px) { .lead-form { grid-template-columns: 1fr; } }

/* ── FAQ accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 18px 4px;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  list-style: none;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; flex-shrink: 0;
  font-size: 20px; font-weight: 300; color: var(--muted, #888);
  transition: transform .2s;
}
.faq-item[open] > .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 4px 18px;
  font-size: 15px; color: var(--muted, #555); line-height: 1.7;
}
