/* Fiducia marketing — ConsumerBrand teal / ink / warm gold */
:root {
  --ink: #071614;
  --ink-soft: #1a2e2b;
  --ink-muted: #5b726c;
  --paper: #f4faf8;
  --paper-deep: #e6f2ef;
  --cream: #f8fffe;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-light: #14b8a6;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --warm: #f59e0b;
  --warm-deep: #d97706;
  --warm-soft: rgba(245, 158, 11, 0.14);
  --line: rgba(7, 22, 20, 0.1);
  --line-strong: rgba(7, 22, 20, 0.16);
  --ok: #047857;
  --danger: #dc2626;
  --warn: #b45309;
  --shadow-sm: 0 8px 24px rgba(7, 22, 20, 0.06);
  --shadow: 0 20px 50px rgba(7, 22, 20, 0.1);
  --shadow-lg: 0 32px 80px rgba(7, 22, 20, 0.14);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shell: min(1060px, calc(100% - 3.5rem));
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.05rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.15rem, 1.6vw, 1.3rem);
  --text-xl: clamp(1.45rem, 2.4vw, 1.85rem);
  --text-2xl: clamp(1.85rem, 3.4vw, 2.55rem);
  --text-3xl: clamp(2.35rem, 5vw, 3.5rem);
  --text-display: clamp(2.9rem, 7.2vw, 5.1rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 450;
  color: var(--ink);
  background:
    radial-gradient(980px 420px at 6% -10%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(780px 360px at 94% 8%, rgba(245, 158, 11, 0.08), transparent 48%),
    radial-gradient(640px 320px at 50% 100%, rgba(15, 118, 110, 0.06), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 45%, var(--paper-deep) 100%);
  line-height: 1.62;
  min-height: 100vh;
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
}

body.nav-open { overflow: hidden; }

main#main { flex: 1 0 auto; }

img, svg, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(13, 148, 136, 0.22); color: var(--ink); }

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Content measure: match header. Full-bleed only for intentional backgrounds (hero, CTA band, footer atmosphere) — inner content stays in .shell. */
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* —— Header —— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.25);
  background: rgba(248, 255, 254, 0.82);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 255, 254, 0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header-h);
  column-gap: clamp(0.75rem, 2vw, 1.75rem);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: inherit; text-decoration: none; flex-shrink: 0;
  grid-column: 1;
}
.brand:hover { color: inherit; }
.brand-mark {
  width: 2.55rem; height: 2.55rem; border-radius: 50%;
  display: block;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 22, 20, 0.08), 0 4px 14px rgba(7, 22, 20, 0.1);
}
.brand-text {
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.14rem; line-height: 1;
  padding-top: 0.02rem;
}
.brand-text strong {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1;
}
.brand-text em {
  font-style: normal; font-size: 0.66rem; font-weight: 650;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); line-height: 1;
}

.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem); min-width: 0;
  grid-column: 2 / -1;
}
.nav-links {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 0.05rem;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-links > a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  padding: 0.42rem 0.58rem; border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links > a:hover { color: var(--ink); background: rgba(7, 22, 20, 0.05); }
.nav-links > a.is-active {
  color: var(--ink); background: rgba(13, 148, 136, 0.1);
}
.header-ctas {
  display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0;
}
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.52rem 0.95rem !important;
  border-radius: 999px; font-weight: 700 !important;
  font-size: 0.9rem !important;
  background: var(--ink); color: #f0fdfa !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: #000; color: #fff !important; }
.nav-cta.ghost {
  background: transparent !important; color: var(--ink) !important;
  border: 1px solid var(--line-strong);
}
.nav-cta.ghost:hover { background: rgba(7, 22, 20, 0.04) !important; }
.nav-cta.text {
  background: transparent !important;
  color: var(--ink-soft) !important;
  border: 0 !important;
  padding-inline: 0.55rem !important;
  font-weight: 650 !important;
}
.nav-cta.text:hover { color: var(--ink) !important; background: transparent !important; }
.nav-toggle {
  display: none; border: 0; background: transparent;
  width: 2.6rem; height: 2.6rem; border-radius: var(--radius-sm);
  flex-direction: column; justify-content: center; gap: 0.35rem; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 1.25rem; margin-inline: auto;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* —— Hero —— */
.hero {
  position: relative; min-height: min(86vh, 780px);
  display: grid; align-items: end; overflow: hidden;
  padding: 6.25rem 0 5.5rem;
  width: 100%;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem;
  background: linear-gradient(180deg, transparent, rgba(238, 247, 244, 0.92));
  z-index: 1; pointer-events: none;
}
.hero-atmosphere {
  position: absolute; inset: 0;
  background:
    linear-gradient(118deg, rgba(7, 22, 20, 0.92) 0%, rgba(7, 22, 20, 0.55) 46%, rgba(13, 148, 136, 0.28) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.045'%3E%3Cpath d='M0 70h140M70 0v140'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 74% 26%, #14b8a6 0, transparent 40%),
    radial-gradient(circle at 18% 78%, rgba(245, 158, 11, 0.35) 0, transparent 38%),
    linear-gradient(155deg, #071614, #0f3d38 48%, #0a1f1c);
  transform: scale(1.02);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-1.2%, 0.8%, 0); }
}
.hero-content {
  position: relative; z-index: 2; color: #f0fdfa;
  justify-self: center;
  padding-bottom: 0.5rem;
}
.hero-content > .eyebrow,
.hero-content > .hero-brand,
.hero-content > .hero-lead,
.hero-content > .hero-actions { max-width: 40rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: clamp(1.08rem, 1.55vw, 1.22rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--accent-deep);
  margin: 0 0 0.95rem;
}
.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 3px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  flex-shrink: 0;
}
.hero .eyebrow {
  color: rgba(245, 158, 11, 0.95);
  letter-spacing: 0.11em;
  font-size: clamp(1.12rem, 1.7vw, 1.28rem);
}
.hero .eyebrow::before {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.95), rgba(20, 184, 166, 0.75));
}
.hero-brand {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-display); line-height: 0.98;
  letter-spacing: -0.035em; margin: 0 0 1rem;
  max-width: 11em;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(7, 22, 20, 0.55), 0 1px 2px rgba(7, 22, 20, 0.35);
  animation: rise 0.85s var(--ease) both;
}
.hero-lead, .lead {
  font-size: var(--text-lg); line-height: 1.55; max-width: 38rem;
  color: var(--ink-soft); margin: 0;
  animation: rise 0.95s var(--ease) 0.08s both;
}
.hero-lead {
  color: rgba(240, 253, 250, 0.95);
  max-width: 36rem;
  text-shadow: 0 1px 22px rgba(7, 22, 20, 0.55), 0 0 1px rgba(7, 22, 20, 0.4);
}
.lead.wide { max-width: 48rem; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.75rem; animation: rise 1s var(--ease) 0.14s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.88rem 1.3rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 700; font-size: 0.98rem;
  text-decoration: none !important; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--accent); color: #fff !important;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.32);
}
.btn.primary:hover { background: var(--accent-deep); color: #fff !important; }
.btn.secondary {
  background: rgba(255, 255, 255, 0.1); color: inherit !important;
  border-color: rgba(255, 255, 255, 0.28);
}
.section .btn.secondary, .page-hero + .section .btn.secondary, .prose .btn.secondary {
  color: var(--ink) !important; background: transparent; border-color: var(--line-strong);
}
.section .btn.secondary:hover, .prose .btn.secondary:hover {
  background: rgba(7, 22, 20, 0.04);
}
.btn.wide { width: 100%; }
.btn.sm { padding: 0.48rem 0.85rem; font-size: 0.88rem; }
.btn:disabled, .btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* —— Sections —— */
.section { padding: clamp(3rem, 5.2vw, 4.5rem) 0; }
.section.muted {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid var(--line);
}
.section h2, .page-hero h1, .prose h2, .tutorial-list h3, .advantage-grid h3, .download-card h3, .chapter-block h2 {
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.15; color: var(--ink);
}
.page-hero h1,
.hero-brand,
.brand-text strong,
.footer-brand,
.cta-band h2,
.section-intro h2 {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.03em;
}
.section h2 { font-size: var(--text-2xl); margin: 0 0 0.85rem; }
.page-hero {
  padding: clamp(3.25rem, 6vw, 4.5rem) 0 1.25rem;
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.7;
}
.page-hero h1 { font-size: var(--text-3xl); margin: 0 0 0.8rem; }
.page-hero .lead { max-width: 40rem; }

.split { display: grid; gap: 2.25rem; grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.feature-spotlight { align-items: center; gap: clamp(1.5rem, 4vw, 2.75rem); }

.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  padding: 0.8rem 0 0.8rem 1.55rem; border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink-soft); font-size: var(--text-sm); font-weight: 550;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.checklist.compact li { padding: 0.5rem 0 0.5rem 1.55rem; border-bottom: 0; }
.checklist.compact li::before { top: 0.85rem; width: 0.45rem; height: 0.45rem; box-shadow: none; }

.trio, .advantage-grid, .download-grid, .steps { display: grid; gap: clamp(1rem, 2vw, 1.35rem); }
/* Grids fill their parent; do not set width here — co-located .shell must keep --shell measure */
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advantage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio article, .download-card, .steps article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.45rem 1.4rem; box-shadow: var(--shadow-sm);
}
.trio h3, .download-card h3 {
  font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; letter-spacing: -0.02em;
}
.trio p, .download-card p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); }

.section-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  text-align: left;
}
.section-intro h2 {
  margin: 0 0 0.75rem;
  font-size: var(--text-2xl);
  line-height: 1.12;
  max-width: 22ch;
  text-wrap: balance;
}
.section-intro .lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46rem;
}

.product-family-grid,
.principles-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
  align-items: stretch;
}
.product-family-grid article,
.principles-trio article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.78)),
    var(--surface-strong);
  border: 1px solid rgba(7, 22, 20, 0.09);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.7rem 1.55rem 1.7rem 1.65rem;
  box-shadow: 0 14px 36px rgba(7, 22, 20, 0.05);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-family-grid article::before,
.principles-trio article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-light), var(--warm));
  opacity: 0.9;
}
.product-family-grid article:nth-child(1)::before {
  background: linear-gradient(180deg, var(--warm), var(--accent));
}
.product-family-grid article:hover,
.principles-trio article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.28);
}
.product-sku,
.principle-letter {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-deep);
}
.principle-letter {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent-deep);
  line-height: 1;
}
.product-family-grid h3,
.principles-trio h3 {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.8vw, 1.38rem);
  font-weight: 650;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.product-family-grid p,
.principles-trio p:not(.product-sku):not(.principle-letter) {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
  flex: 1 1 auto;
}
.product-family-band {
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}
.product-family-grid.compact article {
  padding: 1.4rem 1.3rem 1.45rem 1.4rem;
}
.product-family-band .section-more {
  margin-top: 1.65rem;
  text-align: left;
}

.cta-band {
  background:
    radial-gradient(700px 280px at 82% 0%, rgba(13, 148, 136, 0.35), transparent 55%),
    radial-gradient(480px 220px at 12% 100%, rgba(245, 158, 11, 0.18), transparent 50%),
    linear-gradient(140deg, #071614, #0f3d38 58%, #0a1f1c);
  color: #f0fdfa; text-align: center;
}
.cta-band h2 { color: #f0fdfa; }
.cta-band p { color: rgba(240, 253, 250, 0.82); max-width: 36rem; margin: 0 auto 0.35rem; }
.cta-band .btn.primary { margin-top: 1rem; }
.cta-band .btn.secondary {
  color: #f0fdfa !important;
  border-color: rgba(240, 253, 250, 0.32);
  background: rgba(255, 255, 255, 0.06);
}
.cta-band .hero-actions { justify-content: center; }

.prose { max-width: 42rem; }
.prose.wide { max-width: 48rem; }
.prose p { color: var(--ink-soft); }
.prose ol { padding-left: 1.2rem; color: var(--ink-soft); }
.prose code {
  font-family: ui-monospace, Consolas, monospace; font-size: 0.92em;
  background: rgba(7, 22, 20, 0.06); padding: 0.15rem 0.4rem; border-radius: 6px;
}

.steps { grid-template-columns: 1fr; max-width: 44rem; }
/* When steps share the .shell node, keep the shared content measure */
.shell.steps { max-width: none; }
.steps article { position: relative; padding-left: 1.5rem; }
.step-num {
  display: inline-block; font-family: var(--font-body); color: var(--accent);
  font-size: 0.95rem; font-weight: 800; margin-bottom: 0.3rem; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tutorial-list article { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.tutorial-list h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }

/* —— Forms —— */
.form-shell { max-width: 36rem; }
/* Keep shell on the shared grid; constrain only the form column (left-aligned) */
.shell.form-shell {
  max-width: none;
  width: var(--shell);
}
.shell.form-shell > form,
.shell.form-shell > .notice,
.shell.form-shell > .signup-form {
  max-width: 36rem;
  width: 100%;
}
/* Co-located layout utilities must not stretch past --shell (same specificity as width:100% utilities loses by source order otherwise) */
.shell.trio,
.shell.advantage-grid,
.shell.download-grid,
.shell.feature-band-inner,
.shell.steps,
.shell.split,
.shell.proof-inner,
.shell.hero-content,
.shell.header-inner,
.shell.footer-grid,
.shell.prose {
  width: var(--shell);
  max-width: none;
}

/* Demo / lead capture: centered form column (~720–860px) inside the shared shell */
.page-form {
  padding-bottom: clamp(3rem, 5.5vw, 4.75rem);
}
.page-form::after { display: none; }
.page-form > .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-form-intro {
  margin-bottom: 1.25rem;
  max-width: 52rem; /* ~832px */
  width: 100%;
  text-align: left;
}
.page-form-intro .lead { max-width: none; }
.page-form > .shell > .notice {
  max-width: 52rem;
  width: 100%;
}
.form-panel {
  max-width: 52rem; /* ~832px — shared axis with intro */
  width: 100%;
  margin-inline: auto;
  padding: clamp(1.2rem, 2.4vw, 1.7rem) clamp(1.15rem, 2.2vw, 1.65rem);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(7, 22, 20, 0.09);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82)),
    linear-gradient(90deg, rgba(13, 148, 136, 0.04), transparent 42%);
  box-shadow: var(--shadow-sm);
}
.form-panel .signup-form {
  max-width: none;
  width: 100%;
  gap: 0.85rem;
}
.form-panel .field-row { gap: 0.85rem; }
.form-panel textarea { min-height: 5.5rem; }
.form-panel .btn.wide { margin-top: 0.2rem; }

.signup-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.38rem; min-width: 0; }
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}
.field-row .field select,
.field-row .field input,
.field-row .field textarea { min-width: 0; width: 100%; }
label { font-weight: 700; font-size: var(--text-sm); color: var(--ink); }
input, textarea, select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.78rem 0.9rem; background: var(--surface-strong);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.35rem;
  background-color: var(--surface-strong);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%235b726c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
input:hover, textarea:hover, select:hover { border-color: rgba(7, 22, 20, 0.24); }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { resize: vertical; min-height: 7rem; }
.field-validation-error, .validation-summary-errors, span[data-valmsg-for] {
  color: var(--danger); font-size: 0.86rem; font-weight: 600;
}
.notice {
  border-radius: var(--radius-sm); padding: 0.95rem 1.05rem; margin-bottom: 1rem;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
}
.notice.error { border-color: rgba(220, 38, 38, 0.3); color: var(--danger); background: rgba(220, 38, 38, 0.05); }
.notice.warn { border-color: rgba(180, 83, 9, 0.3); color: var(--warn); background: rgba(180, 83, 9, 0.06); }
.notice.ok { border-color: rgba(4, 120, 87, 0.3); color: var(--ok); background: rgba(4, 120, 87, 0.06); }
.form-footnote { font-size: var(--text-sm); color: var(--ink-muted); margin: 0.35rem 0 0; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.download-card .meta { opacity: 0.75; font-size: 0.88rem; margin: 0.35rem 0 0.75rem !important; }
.download-card .notes { white-space: pre-wrap; margin-bottom: 1rem !important; }
.download-card .btn { margin-top: 0.35rem; }

/* —— Footer —— */
.site-footer {
  margin-top: auto; padding: 3rem 0 2.25rem;
  border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.5);
}
.footer-grid {
  display: grid; gap: 1.5rem 2rem;
  grid-template-columns: 1.2fr 1fr auto; align-items: start;
}
.footer-brand-row {
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.55rem;
}
.footer-seal {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line);
}
.footer-brand { font-family: var(--font-display); font-size: 1.35rem; margin: 0; font-weight: 700; }
.footer-tag { margin: 0.15rem 0 0; color: var(--ink-muted); font-size: var(--text-sm); max-width: 24rem; }
.footer-company { margin: 0.55rem 0 0; color: var(--ink-soft); font-size: var(--text-sm); max-width: 28rem; line-height: 1.5; }
.footer-copy { margin: 0; color: var(--ink-muted); font-size: var(--text-xs); grid-column: 1 / -1; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.15rem;
  font-size: var(--text-sm); font-weight: 600;
}
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* —— Carousel —— */
.hero-carousel { align-items: end; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 58% center;
  filter: brightness(0.92) saturate(1.1) contrast(1.02);
  transform: scale(1.03);
  animation: kenburns 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-slide--1 img { object-position: 62% 42%; }
.hero-slide--2 img { object-position: 55% 40%; }
.hero-slide--3 img { object-position: 48% 45%; }
.hero-slide--4 img { object-position: 70% 55%; }
.hero-slide--5 img { object-position: 42% 35%; }
.hero-slide.is-active img { animation-play-state: running; }
.hero-slide:not(.is-active) img { animation: none; }
.hero-carousel.is-paused .hero-slide.is-active img { animation-play-state: paused; }
@keyframes kenburns {
  from { transform: scale(1.03); }
  to { transform: scale(1.09); }
}
/* Soft left-side scrim under copy — keep photography visible on the right */
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(7, 22, 20, 0.62) 0%, rgba(7, 22, 20, 0.32) 22%, rgba(7, 22, 20, 0.08) 42%, transparent 62%),
    linear-gradient(180deg, rgba(7, 22, 20, 0.12) 0%, transparent 22%, transparent 72%, rgba(7, 22, 20, 0.22) 100%);
}
/* Keep hero copy alone — no caption stickers over media */
.hero-slide figcaption { display: none; }
.hero-dots {
  position: absolute; left: 50%; bottom: 1.35rem; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 22, 20, 0.28);
  backdrop-filter: blur(8px);
}
.hero-dots button {
  width: 0.45rem; height: 0.45rem; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.38); cursor: pointer; padding: 0;
  transition: width 0.3s var(--ease), background 0.2s;
}
.hero-dots button.is-active {
  background: linear-gradient(90deg, #14b8a6, rgba(245, 158, 11, 0.85));
  width: 1.55rem;
}
.hero-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 2.55rem; height: 2.55rem; border-radius: 999px; border: 0;
  background: rgba(7, 22, 20, 0.42); color: #fff; font-size: 1.35rem;
  cursor: pointer; backdrop-filter: blur(6px);
  opacity: 0; transition: background 0.2s, opacity 0.25s;
}
.hero-carousel:hover .hero-nav,
.hero-carousel:focus-within .hero-nav { opacity: 1; }
.hero-nav:hover { background: rgba(7, 22, 20, 0.72); }
.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }

/* —— Videos —— */
.chapter-block { margin-top: 2.75rem; }
.chapter-block h2, .chapter-block h3 { margin: 0 0 0.45rem; }
.chapter-block > p { color: var(--ink-soft); max-width: 40rem; }
.video-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem; margin-top: 1.25rem;
}
.video-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.85rem; box-shadow: var(--shadow-sm);
}
.video-card h3, .video-card h4 {
  font-family: var(--font-body); font-weight: 700; margin: 0.8rem 0 0.35rem; font-size: 1.08rem; letter-spacing: -0.02em;
}
.video-card p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); }
.video-card time { display: block; margin-top: 0.55rem; font-size: 0.82rem; color: var(--ink-muted); }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; background: #071614;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section-more { margin-top: 2rem; }
.otp-panel {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.05rem; display: grid; gap: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
}

/* —— Feature storytelling —— */
.proof-strip {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
  margin-top: -1.5rem;
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(7, 22, 20, 0.04) 0%, transparent 28%),
    radial-gradient(920px 360px at 12% 0%, rgba(13, 148, 136, 0.12), transparent 58%),
    radial-gradient(780px 320px at 92% 18%, rgba(245, 158, 11, 0.08), transparent 52%),
    linear-gradient(180deg, #eef7f4 0%, var(--cream) 42%, #f7fcfa 100%);
}
.proof-strip::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3.5rem;
  background: linear-gradient(180deg, rgba(7, 22, 20, 0.16), transparent);
  pointer-events: none; z-index: 0;
}
.proof-atmosphere {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(7, 22, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 22, 20, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 78%);
  opacity: 0.7;
}
.proof-inner {
  position: relative;
  z-index: 1;
  /* inherits .shell width — keep proof cards aligned with header/grids */
}
.proof-strip .section-intro {
  margin-bottom: 1.85rem;
}
.proof-strip .section-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin: 0;
  padding: 0;
  border-top: 0;
  position: relative;
  width: 100%;
  align-items: stretch;
}
.proof-metrics > div {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.55rem 1.35rem 1.55rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(7, 22, 20, 0.09);
  box-shadow: 0 14px 36px rgba(7, 22, 20, 0.05);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.2s;
}
.proof-metrics > div::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--warm));
  opacity: 0.9;
}
.proof-metrics > div:nth-child(2)::before {
  background: linear-gradient(180deg, var(--accent-deep), var(--accent-light));
}
.proof-metrics > div:nth-child(3)::before {
  background: linear-gradient(180deg, var(--warm), var(--accent));
}
.proof-metrics > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.22);
}
.proof-metrics dt {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.2;
}
.proof-index {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}
.proof-metrics dd {
  margin: 0;
  display: grid;
  gap: 0.42rem;
  margin-top: auto;
}
.proof-metrics dd span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  line-height: 1.35;
}
.proof-metrics dd span::before {
  content: "";
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}

.capability-pills { display: none; }

.feature-band {
  padding: clamp(2.5rem, 4.5vw, 3.75rem) 0;
  border-top: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(238, 247, 244, 0.65) 0%, transparent 18%),
    transparent;
}
.product-family-band + .feature-band {
  border-top: 0;
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
}
.feature-band:nth-of-type(even) { background: rgba(255, 255, 255, 0.38); }
.feature-band-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.6rem, 4vw, 3.25rem); align-items: center;
}
.feature-band.is-reverse .feature-band-inner { grid-template-columns: 0.95fr 1.05fr; }
.feature-band.is-reverse .feature-media { order: 2; }
.feature-band.is-reverse .feature-copy { order: 1; }

.feature-media {
  margin: 0; border-radius: calc(var(--radius) + 2px); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: #071614; aspect-ratio: 16 / 9;
}
.feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 1s var(--ease);
}
.feature-band:hover .feature-media img { transform: scale(1.05); }
.feature-media.inset { max-width: 100%; }

.feature-copy h2 {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.18; margin: 0 0 0.75rem;
}
.feature-body {
  font-size: var(--text-md); color: var(--ink-soft);
  margin: 0 0 1rem; max-width: 36rem; line-height: 1.6;
}

.advantage-grid.rich { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.advantage-grid.rich article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.2s;
}
.advantage-grid.rich article:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.28);
}
.advantage-grid.rich h3 {
  font-family: var(--font-body); font-weight: 750; margin: 0 0 0.45rem; font-size: 1.1rem; letter-spacing: -0.02em;
}
.advantage-grid.rich p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.55; }

/* —— Reveal motion —— */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.admin-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-atmosphere, .hero-brand, .hero-lead, .hero-actions,
  .feature-media img, .hero-slide img, [data-reveal], .advantage-grid.rich article,
  .proof-metrics > div, .product-family-grid article, .principles-trio article {
    animation: none !important; transition: none !important;
  }
  .hero-slide { transition: none !important; }
  .hero-slide:not(.is-active) { display: none; }
  .hero-slide.is-active { opacity: 1; }
  .hero-slide img { transform: none; filter: brightness(0.92) saturate(1.06) contrast(1.02); }
  [data-reveal] { opacity: 1; transform: none; }
  .proof-metrics > div:hover,
  .product-family-grid article:hover,
  .principles-trio article:hover { transform: none; }
}

@media (min-width: 901px) {
  /* Brand | centered nav | CTAs — balanced shell alignment */
  .site-nav { display: contents; }
  .nav-links {
    grid-column: 2;
    justify-content: center;
  }
  .header-ctas {
    grid-column: 3;
    justify-self: end;
  }
}

@media (max-width: 1100px) {
  .nav-links > a { padding: 0.38rem 0.42rem; font-size: 0.84rem; }
  .nav-cta { padding: 0.48rem 0.8rem !important; font-size: 0.84rem !important; }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr; }
  .advantage-grid.rich { grid-template-columns: 1fr 1fr; }
  .product-family-grid,
  .principles-trio { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split, .trio, .advantage-grid, .advantage-grid.rich, .download-grid, .field-row, .video-grid,
  .feature-band-inner, .proof-metrics, .product-family-grid, .principles-trio { grid-template-columns: 1fr; }
  .feature-band.is-reverse .feature-media,
  .feature-band.is-reverse .feature-copy { order: unset; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { grid-column: 1; }
  .nav-toggle { display: flex; grid-column: 2; justify-self: end; }
  .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0;
    grid-column: 1 / -1;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 1rem 1.25rem 2rem; gap: 0.85rem;
    background: rgba(248, 255, 254, 0.98); border-bottom: 1px solid var(--line);
    overflow-y: auto; z-index: 45;
  }
  .site-nav.open { display: flex; }
  .nav-links {
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem; width: 100%;
  }
  .nav-links > a { padding: 0.85rem 0.9rem; font-size: 1rem; }
  .header-ctas {
    flex-direction: column; align-items: stretch; width: 100%;
    padding-top: 0.35rem; border-top: 1px solid var(--line);
  }
  .nav-cta, .nav-cta.ghost { margin: 0; width: 100%; }
  .proof-strip { margin-top: -1rem; }
  .proof-metrics > div,
  .product-family-grid article { padding: 1.35rem 1.2rem 1.4rem 1.35rem; }
  .section-intro { margin-bottom: 1.5rem; }
  .section-intro h2 { max-width: none; }
  .hero { min-height: min(78vh, 640px); padding: 4.5rem 0 4.25rem; }
  .hero-content > * { max-width: none; }
  .hero-brand { max-width: 10em; }
  .hero-nav { display: none; }
  .hero-slide img { object-position: 50% 35%; }
  .hero-slide--1 img { object-position: 68% 40%; }
  .hero-slide--2 img { object-position: 50% 38%; }
  .hero-slide--3 img { object-position: 45% 42%; }
  .hero-slide--4 img { object-position: 72% 50%; }
  .hero-slide--5 img { object-position: 40% 30%; }
  .hero-dots { bottom: 1rem; }
}
