/* ==========================================================================
   Manatoko DPDP v4 — style.css
   Brand: Amberoon Inc. · Font: DM Sans · Palette: Amber + Navy
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --amber: #FFC107;
  --amber-dark: #F59E0B;
  --amber-light: #FFF8E1;
  --navy: #1A237E;
  --navy-light: #283593;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F5F5F5;
  --border: #E0E0E0;
  --text: #212121;
  --text-secondary: #616161;
  --text-faint: #9E9E9E;
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --error: #C62828;
  --error-bg: #FFEBEE;
  --info: #1565C0;
  --info-bg: #E3F2FD;
  --eth-dark: #1B1F36;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-stat: 0 20px 60px rgba(0,0,0,0.3);
  --shadow-gate: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-amber-glow: rgba(255,193,7,0.2) 0 0 0 3px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--navy-light);
}

/* ---------- Typography ---------- */
h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: var(--navy);
}

h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  color: var(--navy);
}

h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--navy-light);
}

.body-secondary {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

.body-small {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-faint);
}

.kpi-label {
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
}

.kpi-value {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--navy);
}

.tagline-text {
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0;
}

/* ---------- Layout Container ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-padding {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary {
  background-color: var(--amber);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--surface);
}

.btn-secondary-light {
  background-color: transparent;
  color: var(--surface);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

.btn-small {
  font-size: 14px;
  padding: 10px 20px;
}

/* ---------- 2A — Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 68px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 36px;
  width: auto;
}

.header-logo-svg {
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.header-brand-name {
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  line-height: 1.2;
}

.header-brand-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.2;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.header-nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.header-cta {
  font-size: 14px;
  padding: 10px 20px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- 2B — Hero ---------- */
.hero {
  background-color: var(--navy);
  color: var(--surface);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: center;
}

.hero h1 {
  color: var(--surface);
  font-size: 44px;
  line-height: 54px;
  margin-bottom: var(--space-6);
}

.hero-sub {
  font-size: 17px;
  line-height: 28px;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  margin-bottom: var(--space-8);
}

.trust-item {
  font-weight: 500;
  font-size: 13px;
  color: var(--amber);
  white-space: nowrap;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero-enforcement {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255,255,255,0.5);
}

/* Hero SVG illustration */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* ---------- 2C — What is DPDP ---------- */
.what-is-dpdp {
  background-color: var(--surface);
}

.section-header {
  margin-bottom: var(--space-10);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-body-copy {
  font-size: 16px;
  line-height: 28px;
  color: var(--text);
  max-width: 780px;
  margin-bottom: var(--space-10);
}

.section-body-copy p + p {
  margin-top: var(--space-4);
}

/* KPI Cards */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

.kpi-accent {
  height: 3px;
  background-color: var(--amber);
  border-radius: 3px 3px 0 0;
  margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-4)) var(--space-3);
}

.kpi-card .kpi-label {
  margin-bottom: var(--space-2);
}

.kpi-card .kpi-value {
  font-size: 24px;
}

.kpi-card .kpi-desc {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ---------- 2D — The Problem ---------- */
.the-problem {
  background-color: var(--bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.problem-col {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.problem-col--wrong {
  background-color: var(--error-bg);
}

.problem-col--right {
  background-color: var(--success-bg);
}

.problem-col h3 {
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.problem-col--wrong h3 {
  color: var(--error);
}

.problem-col--right h3 {
  color: var(--success);
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.problem-list li {
  font-size: 15px;
  line-height: 24px;
  padding-left: var(--space-6);
  position: relative;
}

.problem-list li::before {
  position: absolute;
  left: 0;
  font-weight: 600;
}

.problem-col--wrong .problem-list li::before {
  content: '✕';
  color: var(--error);
}

.problem-col--right .problem-list li::before {
  content: '✓';
  color: var(--success);
}

/* ---------- 2E — Five Workflow Layers ---------- */
.workflow-layers {
  background-color: var(--surface);
}

.layers-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.layer-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  position: relative;
}

.layer-card:not(:last-child) {
  border-bottom: none;
}

.layer-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.layer-number {
  width: 36px;
  height: 36px;
  background-color: var(--navy);
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.layer-connector {
  width: 2px;
  flex: 1;
  background-color: var(--border);
  margin-top: var(--space-2);
}

.layer-card:last-child .layer-connector {
  display: none;
}

.layer-content h3 {
  margin-bottom: var(--space-2);
}

.layer-agent-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
}

.layer-content p {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
}

.layer-content .manatoko-id-note {
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background-color: var(--amber-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
  border-left: 3px solid var(--amber);
}

/* ---------- 2F — 90-Day Program ---------- */
.program-90day {
  background-color: var(--bg);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.timeline-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}

.timeline-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--amber);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.timeline-phase-label {
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-faint);
  margin-bottom: var(--space-2);
}

.timeline-block h3 {
  margin-bottom: var(--space-4);
}

.timeline-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.timeline-block li {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  padding-left: var(--space-5);
  position: relative;
}

.timeline-block li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--amber-dark);
  font-weight: 600;
}

.timeline-block .human-gate {
  font-weight: 600;
  color: var(--amber-dark);
}

.program-note {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-4);
  background-color: var(--amber-light);
  border-radius: var(--radius-md);
}

/* ---------- 2G — What You Get ---------- */
.what-you-get {
  background-color: var(--surface);
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.output-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.output-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.output-icon {
  width: 40px;
  height: 40px;
  background-color: var(--amber-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 20px;
  color: var(--amber-dark);
}

.output-card h3 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: var(--space-2);
  color: var(--navy);
}

.output-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* ---------- 2H — Who It Is For ---------- */
.who-for {
  background-color: var(--bg);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.persona-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.persona-icon {
  width: 56px;
  height: 56px;
  background-color: var(--amber-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 24px;
}

.persona-card h3 {
  margin-bottom: var(--space-3);
}

.persona-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* ---------- 2I — Tagline + Demo Bridge ---------- */
.tagline-section {
  background-color: transparent;
  text-align: center;
  padding: 0;
}

.demo-bridge {
  max-width: 760px;
  margin: var(--space-8) auto 0;
  text-align: center;
}

.demo-bridge p {
  font-size: 15px;
  line-height: 26px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.demo-bridge p:last-of-type {
  margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  background-color: var(--bg);
}

.law-firm-callout {
  background-color: var(--amber-light);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
}

.faq-group {
  margin-bottom: var(--space-8);
}

.faq-group-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background-color: var(--navy);
  color: var(--surface);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.faq-group-header:hover {
  background-color: var(--navy-light);
}

.faq-group-header .group-number {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.7;
  margin-right: var(--space-2);
}

.faq-group-header .toggle-icon {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-group.is-open .toggle-icon {
  transform: rotate(180deg);
}

.faq-group--legal .faq-group-header {
  background-color: var(--amber);
  color: var(--navy);
}

.faq-group--legal .faq-group-header:hover {
  background-color: var(--amber-dark);
}

.legal-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: rgba(255,255,255,0.3);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.faq-group-body {
  display: none;
  padding: 0 var(--space-2);
}

.faq-group.is-open .faq-group-body {
  display: block;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-4);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--navy);
}

.faq-question .q-icon {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--amber-dark);
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question .q-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-4) var(--space-5);
  font-size: 15px;
  line-height: 26px;
  color: var(--text-secondary);
}

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

.faq-answer p + p {
  margin-top: var(--space-3);
}

/* ---------- Demo Section ---------- */
.demo-section {
  background-color: var(--surface);
  position: relative;
}

.demo-section .section-header {
  text-align: center;
}

.demo-section .section-header p {
  font-size: 15px;
  line-height: 26px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

#demo-gate {
  margin-top: var(--space-10);
}

#demo-content {
  display: none;
  margin-top: var(--space-8);
}

/* ---------- Contact Section ---------- */
.contact-section {
  background-color: var(--navy);
  color: var(--surface);
}

.contact-heading {
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  line-height: 36px;
  color: var(--surface);
  text-align: center;
  margin-bottom: var(--space-12);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-quotes {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-6);
}

.pull-quote {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding-left: var(--space-6);
  border-left: 3px solid var(--amber);
  font-style: italic;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-group label .required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: var(--text);
  background-color: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: var(--shadow-amber-glow);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23616161' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--amber);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-consent label {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
}

.form-submit-btn {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}

.form-success .success-icon {
  font-size: 48px;
  margin-bottom: var(--space-4);
}

.form-success h3 {
  color: var(--success);
  margin-bottom: var(--space-2);
}

.form-success p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo {
  width: 32px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-col p {
  font-size: 11px;
  line-height: 18px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-right-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}

.footer-right-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right-links a:hover {
  color: var(--surface);
}

.footer-disclaimer {
  border-top: 1px solid var(--navy-light);
  padding-top: var(--space-6);
  font-size: 11px;
  line-height: 18px;
  color: var(--text-faint);
}

/* ---------- Demo Closing ---------- */
.demo-closing {
  margin-top: var(--space-10);
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.demo-closing-disclaimer {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-faint);
  max-width: 640px;
  margin: 0 auto var(--space-6);
}

.demo-closing-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---------- Mobile Menu Active State ---------- */
.mobile-menu-btn.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav CTA button */
@media (max-width: 960px) {
  .header-nav .header-cta {
    display: none;
  }

  .header-nav.is-open .header-cta {
    display: inline-flex;
    margin-top: var(--space-4);
  }
}

/* ---------- Section 2E — Data Custody Elimination ---------- */
.custody-elimination {
  background-color: #1B1F36;
  padding: 80px 0;
}

.custody-elimination .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.custody-header {
  margin-bottom: var(--space-10);
  text-align: center;
}

.custody-header h2 {
  color: #FFFFFF;
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  max-width: 820px;
  margin: 0 auto;
}

.custody-body {
  max-width: 820px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.custody-body p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 28px;
  margin-bottom: var(--space-5);
}

.custody-body p:last-child {
  margin-bottom: 0;
}

/* Three-Card Architecture Panel */
.custody-cards-panel {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: var(--space-12);
  flex-wrap: nowrap;
}

.custody-card {
  background-color: #FFF8E1;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  flex: 1;
  min-width: 0;
}

.custody-card-number {
  width: 36px;
  height: 36px;
  background-color: var(--navy);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.custody-card h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: var(--space-3);
}

.custody-card p {
  color: #616161;
  font-size: 14px;
  line-height: 24px;
}

.custody-card-arrow {
  color: #FFC107;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  flex-shrink: 0;
  align-self: center;
}

/* DPDP Consequences */
.custody-consequences {
  max-width: 820px;
  margin: 0 auto var(--space-10);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid rgba(255,193,7,0.2);
}

.custody-consequences h3 {
  color: #FFC107;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-5);
}

.custody-consequences-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  counter-reset: consequences;
}

.custody-consequences-list li {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 26px;
  padding-left: var(--space-8);
  position: relative;
  counter-increment: consequences;
}

.custody-consequences-list li::before {
  content: counter(consequences) ".";
  position: absolute;
  left: 0;
  color: #FFC107;
  font-weight: 700;
  font-size: 15px;
}

.custody-consequences-list li strong {
  color: #FFFFFF;
}

/* Honest Limits callout */
.custody-limits {
  max-width: 820px;
  margin: 0 auto;
  background-color: #FFF8E1;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  position: relative;
}

.custody-limits-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.custody-limits p {
  color: var(--text);
  font-size: 15px;
  line-height: 26px;
  margin: 0;
}

/* ---------- Tagline Section v5 Updates ---------- */
.tagline-amber-block {
  background-color: #FFF8E1;
  border-top: 3px solid #FFC107;
  border-bottom: 3px solid #FFC107;
  padding: 40px var(--space-8);
  text-align: center;
}

.tagline-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.btn-tagline-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.btn-tagline-link:hover {
  opacity: 0.7;
  color: var(--navy);
}

/* ---------- Contact Form v5 Additional Fields ---------- */
.v5-form-fields {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23616161' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  font-size: 15px;
  line-height: 24px;
}

.form-optional {
  color: var(--text-faint);
  font-weight: 400;
  font-size: 13px;
}

.form-consent {
  padding-top: var(--space-2);
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

.form-consent-checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--navy);
}

/* ---------- Responsive — Section 2E ---------- */
@media (max-width: 960px) {
  .custody-cards-panel {
    flex-direction: column;
    gap: var(--space-4);
  }
  .custody-card-arrow {
    transform: rotate(90deg);
    padding: var(--space-2) 0;
    justify-content: center;
  }
  .custody-header h2 {
    font-size: 26px;
    line-height: 36px;
  }
}

@media (max-width: 640px) {
  .custody-elimination {
    padding: 56px 0;
  }
  .custody-elimination .container {
    padding: 0 var(--space-4);
  }
  .custody-header h2 {
    font-size: 22px;
    line-height: 32px;
  }
  .custody-limits {
    padding: var(--space-5);
  }
  .custody-consequences {
    padding: var(--space-5);
  }
  .tagline-amber-block {
    padding: 32px var(--space-5);
  }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.text-center {
  text-align: center;
}

/* ---------- RESPONSIVE — Tablet (max-width: 960px) ---------- */
@media (max-width: 960px) {
  .header-nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-logo {
    height: 28px;
  }

  .header-brand-name {
    font-size: 16px;
  }

  .header-brand-tagline {
    font-size: 10px;
  }

  .header-nav.is-open .header-nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: var(--space-6);
    border-bottom: 3px solid var(--amber);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .trust-strip {
    justify-content: center;
  }

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

  .hero-illustration {
    display: none;
  }

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

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

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

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

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

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

  .contact-quotes {
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right-links {
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- RESPONSIVE — Mobile (max-width: 640px) ---------- */
@media (max-width: 640px) {
  h1 {
    font-size: 32px;
    line-height: 40px;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .section-padding {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

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

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

  .container {
    padding: 0 var(--space-4);
  }

  .contact-form-card {
    padding: var(--space-5);
  }

  .demo-bridge {
    padding: var(--space-6) var(--space-5);
  }

  .tagline-text {
    font-size: 18px;
  }

  .pull-quote {
    font-size: 16px;
    line-height: 24px;
  }
}
