:root {
  --primary-dark: #1a1a1a;
  --primary-mid: #2d2d2d;
  --accent-gold: #c9a961;
  --text-light: #f5f5f5;
  --text-gray: #666;
  --border-light: #e0e0e0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--primary-dark);
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.hero-text-content {
  max-width: 800px;
  margin: 0 auto;
}

.logo-placeholder {
  margin-bottom: 1rem;
}

.logo-box {
  display: inline-block;
  padding: 0.5rem 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  font-weight: 300;
  border: 2px solid var(--accent-gold);
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.accent-line {
  display: inline-block;
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 2rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(245, 245, 245, 0.95);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(245, 245, 245, 0.8);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.brand-name::after {
  content: "™";
  font-size: 0.35em;
  vertical-align: super;
  margin-left: 0.1em;
  opacity: 0.7;
}
.coming-soon-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

/* Call to Action Section */
.cta-section {
  margin: 3rem auto;
  max-width: 700px;
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  min-width: 250px;
  flex: 0 1 300px;
  border: 2px solid rgba(201, 169, 97, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.2);
}

.cta-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  stroke-width: 1.5;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
  transform: scale(1.1);
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cta-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-light);
}

.cta-subtitle {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
  font-weight: 300;
}

/* Email Signup Form */
.signup-form {
  max-width: 500px;
  margin: 3rem auto 3rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
}

.signup-form p {
  color: rgba(245, 245, 245, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.form-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(201, 169, 97, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
}

.form-button {
  padding: 1rem 2rem;
  background: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.form-button:hover:not(:disabled) {
  background: var(--text-light);
  transform: translateY(-2px);
}

.form-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.6);
  font-style: italic;
}

/* Success and Error Messages */
.success-message,
.error-message {
  display: none;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  border-radius: 4px;
}

.success-message {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: var(--text-light);
}

.error-message {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  color: var(--text-light);
}

.success-message.show,
.error-message.show {
  display: block;
}

/* Features Section */
.features-section {
  background: #ffffff;
  padding: 4rem 2rem;
}

.features-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f9f9f9;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent-gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Static Demo Section */
.verification-demo-section {
  background:
    radial-gradient(circle at top right, rgba(201, 169, 97, 0.12), transparent 30%),
    linear-gradient(180deg, #fcfaf5 0%, #f5f0e3 100%);
  padding: 5rem 2rem;
}

.verification-demo-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-eyebrow {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Darken eyebrow on light backgrounds for WCAG 4.5:1 contrast */
.section--white .section-eyebrow,
.section--warm .section-eyebrow {
  color: #7a6520;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.2;
  color: var(--primary-dark);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section--dark .section-title,
.section--dark .section-intro {
  color: var(--text-light);
}

.section--dark .section-intro {
  opacity: 0.85;
}

.section-intro {
  color: #4c4c4c;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Repeated page-hero intro sizing (was a duplicated inline style on
   several pages: text-verification, audio-authentication, faq,
   privacy-principles). */
.section-intro--wide {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Repeated narrow/dimmed intro used above the scanner and waveform demos */
.section-intro--narrow {
  max-width: 36rem;
  margin: 0 auto;
  opacity: 0.85;
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.demo-step {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(201, 169, 97, 0.28);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 18px 36px rgba(26, 26, 26, 0.06);
}

.demo-step-number {
  display: inline-block;
  color: var(--accent-gold);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.demo-step-title {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.demo-step-text {
  color: #565656;
  font-size: 0.95rem;
  line-height: 1.7;
}

.demo-example-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.demo-context-card,
.demo-results-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(201, 169, 97, 0.32);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
}

.demo-card-label {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.demo-card-title {
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.demo-card-copy {
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.demo-context-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.demo-context-list li {
  color: #505050;
  padding: 0.85rem 1rem;
  background: rgba(201, 169, 97, 0.08);
  border-left: 3px solid var(--accent-gold);
}

.demo-context-list strong {
  color: var(--primary-dark);
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.demo-metric {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.96) 0%, rgba(45, 45, 45, 0.96) 100%);
  border-radius: 14px;
  padding: 1rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.18);
}

.demo-metric-label {
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.demo-metric-value {
  color: var(--accent-gold);
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
}

.demo-meaning-box {
  background: rgba(201, 169, 97, 0.1);
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}

.demo-meaning-title {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.demo-meaning-text {
  color: #555;
  line-height: 1.7;
}

.demo-details {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(201, 169, 97, 0.24);
  padding-top: 1rem;
}

.demo-details summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 500;
}

.demo-details-content {
  margin-top: 1rem;
}

.demo-code-block {
  margin: 0;
  background: #111;
  color: #f3e8c5;
  border-radius: 14px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.65;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.18);
}

/* Trust Strip — landing page, above CTA */
.trust-strip {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border-light);
}

.trust-strip-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.trust-strip-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-gray);
  letter-spacing: 0.02em;
}

.trust-strip-separator {
  color: var(--accent-gold);
}

/* Footer */
.footer {
  position: relative;
  margin-top: 0;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--primary-dark);
  color: rgba(245, 245, 245, 0.7);
}

.footer-trust {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.footer-text {
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.85rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-link {
  color: rgba(245, 245, 245, 0.6);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.policy-page {
  min-height: 100vh;
  background: #ffffff;
  padding: 2rem;
  }
  
  .policy-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
    color: var(--text-light);
    padding: 3rem 2rem;
    text-align: center;
    margin: -2rem -2rem 3rem;
  }
  
  .policy-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
  }
  
  .policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
  }
  
  .policy-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
  }
  
  .policy-content p {
    margin-bottom: 1rem;
    color: var(--text-gray);
  }
  
  .policy-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-gray);
  }
  
  .policy-content li {
    margin-bottom: 0.5rem;
  }
  
  .policy-content strong {
    color: var(--primary-dark);
    font-weight: 500;
  }
  
  .last-updated {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
  }
  
  .back-link {
    display: inline-block;
    margin: 2rem 0;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
  }
  
  .back-link:hover {
    text-decoration: underline;
  }

  .policy-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.75rem;
  }

  .policy-content a {
    color: var(--accent-gold);
    text-decoration: none;
  }

  .policy-content a:hover {
    text-decoration: underline;
  }

  .thank-you {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  .document-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--primary-dark, #1a1a2e);
    color: var(--text-light, #e8e8e8);
    min-height: 100vh;
  }
  
  .document-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--accent-gold, #c9a961);
  }
  
  .document-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold, #c9a961);
    margin-bottom: 0.5rem;
  }
  
  .document-subtitle {
    font-size: 1rem;
    color: var(--text-muted, #a0a0a0);
  }
  
  .last-updated {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted, #a0a0a0);
    margin-bottom: 3rem;
    font-style: italic;
  }
  
  .document-content h2 {
    font-size: 1.75rem;
    color: var(--accent-gold, #c9a961);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .document-content h3 {
    font-size: 1.3rem;
    color: var(--text-light, #e8e8e8);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
  }
  
  .document-content p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--text-light, #e8e8e8);
  }
  
  .document-content ul, .document-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
  }
  
  .document-content li {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: var(--text-light, #e8e8e8);
  }
  
  .document-content strong {
    color: var(--accent-gold, #c9a961);
  }
  
  .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--accent-gold, #c9a961);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
  }
  
  .back-link:hover {
    opacity: 0.7;
  }
  
  .policy-content .contact-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(201, 169, 97, 0.05);
    border-left: 3px solid var(--accent-gold);
  }

  .document-container .contact-section {
    background: rgba(201, 169, 97, 0.1);
    border-left: 3px solid var(--accent-gold, #c9a961);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
  }
   
/* ========== Site Navigation ========== */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease;
}

.site-nav--transparent {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.site-nav--solid {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}

.nav-logo {
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 1rem;
}

.nav-link {
  color: rgba(245, 245, 245, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}

.nav-link:hover {
  color: var(--text-light);
}

.nav-link--active {
  color: var(--accent-gold);
  border-bottom: 1px solid var(--accent-gold);
}

/* Sign in — pill-style nav action, visually distinct from plain nav links */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--accent-gold);
  border-radius: 999px;
  color: var(--accent-gold);
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.nav-lang-toggle {
  display: flex;
  gap: 0;
  align-items: center;
  border: 1px solid rgba(245, 245, 245, 0.3);
  overflow: hidden;
}

.nav-lang-toggle > span {
  color: rgba(245, 245, 245, 0.3);
  font-size: 0.75rem;
  line-height: 1;
}

.nav-lang-btn {
  background: transparent;
  border: none;
  color: rgba(245, 245, 245, 0.5);
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-lang-btn:first-child {
  border-right: 1px solid rgba(245, 245, 245, 0.3);
}

.nav-lang-btn:hover {
  color: var(--text-light);
}

.nav-lang-btn.active {
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 500;
}

/* ========== Section Patterns ========== */
.section--dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: var(--text-light);
}

.section--warm {
  background: linear-gradient(180deg, #fcfaf5 0%, #f5f0e3 100%);
}

.section--white {
  background: #ffffff;
}

.section-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Keep existing .section-eyebrow, add emphasis variant */
.section-title--emphasis {
  font-size: 2.8rem;
  font-weight: 400;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 1.25rem;
}

/* ========== Capability Grid ========== */
.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.capability-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 8px;
}

.capability-card-icon {
  color: var(--accent-gold);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.capability-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.capability-card-text {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ========== Callout Box ========== */
.callout-box {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(201, 169, 97, 0.1);
  border-left: 4px solid var(--accent-gold);
  border-radius: 6px;
}

.callout-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.callout-box strong {
  color: var(--primary-dark);
}

/* ========== Differentiation Box ========== */
.diff-box {
  padding: 1rem;
  background: rgba(201, 169, 97, 0.08);
  border-radius: 6px;
  margin-top: 1rem;
}

.diff-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.diff-box strong {
  color: var(--primary-dark);
}

/* ========== Pill Tags ========== */
.tag-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(45, 45, 45, 0.96));
  border-radius: 24px;
  border: 1px solid rgba(201, 169, 97, 0.18);
  color: var(--text-light);
  font-size: 0.85rem;
}

.tag-pill-check {
  color: var(--accent-gold);
}

/* ========== Audience Cards ========== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 8px;
}

.audience-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.audience-card-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== Tool Link Cards (landing page) ========== */
.tool-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 750px;
  margin: 0 auto;
}

.tool-card {
  display: block;
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  border-radius: 12px;
  color: var(--text-light);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tool-card-eyebrow {
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tool-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.tool-card-text {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.tool-card-link {
  font-size: 0.9rem;
  color: var(--accent-gold);
}

/* ========== Challenge Cards (landing page) ========== */
.challenge-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.challenge-card {
  padding: 1rem;
  background: #f9f9f9;
  border-left: 3px solid var(--accent-gold);
}

.challenge-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.challenge-card-text {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ========== Answer Icons (landing page) ========== */
.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.answer-item {
  text-align: center;
  padding: 1.25rem;
}

.answer-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
  color: var(--accent-gold);
  font-size: 1rem;
}

.answer-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.answer-text {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ========== Format Badges ========== */
.format-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.format-badge {
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
}

/* ========== Phone Mockup (audio page) ========== */
.phone-feature {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 650px;
  margin: 0 auto;
}

.phone-mockup {
  flex: 0 0 160px;
  background: #000;
  border-radius: 20px;
  padding: 0.6rem;
  border: 2px solid #333;
}

.phone-screen {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-mid));
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.phone-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.phone-play-icon {
  width: 0;
  height: 0;
  border-left: 14px solid var(--accent-gold);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.phone-status {
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.7);
  margin-bottom: 0.6rem;
}

.phone-waveform {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 24px;
  margin-bottom: 0.6rem;
}

.phone-waveform-bar {
  width: 3px;
  background: var(--accent-gold);
  border-radius: 1px;
}

.phone-verified {
  font-size: 0.7rem;
  color: #4caf50;
  font-weight: 600;
}

.phone-verified-detail {
  font-size: 0.6rem;
  color: rgba(245, 245, 245, 0.5);
  margin-top: 0.2rem;
}

.phone-feature-text {
  flex: 1;
}

.phone-feature-text p {
  font-size: 0.95rem;
  color: rgba(245, 245, 245, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-checklist {
  display: grid;
  gap: 0.6rem;
}

.feature-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.7);
}

.feature-check-icon {
  color: var(--accent-gold);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

.fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}

.fade-in-up-d1 { animation-delay: 0.1s; }
.fade-in-up-d2 { animation-delay: 0.2s; }
.fade-in-up-d3 { animation-delay: 0.3s; }
.fade-in-up-d4 { animation-delay: 0.4s; }
.fade-in-up-d5 { animation-delay: 0.5s; }

/* Staggered card entrance */
.capability-card,
.challenge-card,
.tool-card,
.audience-card,
.answer-item {
  animation: fadeInUp 0.6s ease-out both;
}

.capability-grid > :nth-child(1),
.challenge-cards > :nth-child(1),
.tool-cards > :nth-child(1),
.audience-grid > :nth-child(1),
.answer-grid > :nth-child(1) { animation-delay: 0.1s; }

.capability-grid > :nth-child(2),
.challenge-cards > :nth-child(2),
.tool-cards > :nth-child(2),
.audience-grid > :nth-child(2),
.answer-grid > :nth-child(2) { animation-delay: 0.2s; }

.capability-grid > :nth-child(3),
.audience-grid > :nth-child(3),
.answer-grid > :nth-child(3) { animation-delay: 0.3s; }

.capability-grid > :nth-child(4) { animation-delay: 0.4s; }

/* ========== Visual Depth & Micro-Interactions ========== */

/* Subtle grain texture on dark sections */
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.section--dark {
  position: relative;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

/* Enhanced card hover effects */
.capability-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-gold);
}

.audience-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Card text centering */
.capability-card {
  text-align: center;
}

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

/* Gold glow on CTA hover */
.cta-button:hover {
  box-shadow: 0 8px 32px rgba(201, 169, 97, 0.25);
}

/* Form button glow */
.form-button:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
}

/* Pill hover effect */
.tag-pill {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Phone waveform animation */
.phone-waveform-bar {
  animation: waveform 1.2s ease-in-out infinite;
}

.phone-waveform-bar:nth-child(1) { animation-delay: 0s; }
.phone-waveform-bar:nth-child(2) { animation-delay: 0.15s; }
.phone-waveform-bar:nth-child(3) { animation-delay: 0.3s; }
.phone-waveform-bar:nth-child(4) { animation-delay: 0.45s; }
.phone-waveform-bar:nth-child(5) { animation-delay: 0.6s; }
.phone-waveform-bar:nth-child(6) { animation-delay: 0.75s; }
.phone-waveform-bar:nth-child(7) { animation-delay: 0.9s; }

/* Nav logo with display font */
.nav-logo {
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

/* Enhanced accent line shimmer */
.accent-line {
  background: linear-gradient(90deg, var(--accent-gold), #e0c97a, var(--accent-gold));
  background-size: 200% auto;
  animation: shimmer 3s ease-in-out infinite;
}

/* Callout box enhanced */
.callout-box {
  transition: box-shadow 0.3s ease;
}

.callout-box:hover {
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.12);
}

/* Section heading display font */
.challenge-card-title,
.answer-title,
.tool-card-title,
.capability-card-title,
.audience-card-title {
  font-family: var(--font-display);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .cta-buttons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-button {
    padding: 1.5rem 1rem;
  }

  .cta-icon {
    width: 40px;
    height: 40px;
  }

  .cta-title {
    font-size: 1.1rem;
  }

  .form-group {
    flex-direction: column;
  }

  .form-button {
    width: 100%;
  }

  .features-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .verification-demo-section {
    padding: 4rem 1.25rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .demo-steps,
  .demo-example-grid,
  .demo-metrics {
    grid-template-columns: 1fr;
  }
  
  .footer-link {
    display: block;
    margin: 0.5rem 0;
  }

  .policy-header h1 {
    font-size: 2rem;
  }
  
  .policy-content {
    padding: 0 1rem;
  }


  .document-container {
    padding: 2rem 1.5rem;
  }
  
  .document-title {
    font-size: 2rem;
  }
  
  .document-content h2 {
    font-size: 1.5rem;
  }
  
  .document-content h3 {
    font-size: 1.2rem;
  }

  /* Nav responsive */
  .site-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  /* New grids to single column */
  .capability-grid,
  .challenge-cards,
  .tool-cards {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .answer-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Phone feature stacks */
  .phone-feature {
    flex-direction: column;
  }

  .phone-mockup {
    flex: none;
    width: 180px;
  }

  .section-title--emphasis {
    font-size: 2rem;
  }

  .tag-pills {
    justify-content: center;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-links {
    font-size: 0.85rem;
  }
}

/* ==============================
   Privacy Principles Page
   ============================== */

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.principle-item:first-child {
  padding-top: 0;
}

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

.principle-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.principle-content {
  flex: 1;
}

.principle-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.principle-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.principles-cta-link {
  display: inline-block;
  color: var(--accent-gold);
  font-weight: 500;
  text-decoration: none;
  font-size: 1.05rem;
  transition: opacity 0.3s ease;
}

.principles-cta-link:hover {
  opacity: 0.8;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.faq-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 1.25rem 0;
  line-height: 1.3;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--accent-gold);
  transition: transform 0.2s ease;
}

.faq-item[open] > .faq-question::after {
  content: '\2212';
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  padding: 0 0 1.25rem;
  max-width: 38rem;
}

.faq-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* ==============================
   CAI Membership & Partners
   ============================== */

.credentials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 0.5rem 0;
}

.cai-membership {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cai-membership--centred {
  align-items: center;
  text-align: center;
}

/* Adjacent standards-body lockups (CAI + C2PA). Wraps to stack on narrow viewports. */
.standards-lockups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3rem;
  margin: 1.25rem 0 1rem;
}

/* CAI Member Lockup — compliant with CAI brand guidelines p.16
   Format: [symbol + wordmark] | vertical divider | [member name], all vertically centred */
.cai-member-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
}

.cai-full-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* CAI symbol: compliant with brand guidelines
   — no colour change, no effects, minimum 40px, clearspace respected */
.cai-symbol-mark {
  width: 48px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.cai-wordmark {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: 0.01em;
}

.cai-lockup-divider {
  display: block;
  width: 1px;
  height: 2.75rem;
  background: rgba(26, 26, 26, 0.25);
  flex-shrink: 0;
}

.cai-member-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.cai-description {
  font-size: 0.88rem;
  color: #666;
  max-width: 26rem;
  line-height: 1.65;
}

/* C2PA text attribution (text-only — no logo, pending JDF written permission).
   Three stacked lines balance the [symbol + 3-line wordmark] shape of the CAI lockup. */
.c2pa-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.c2pa-tier {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #888;
  margin: 0 0 0.35rem;
  text-align: center;
}

.c2pa-text-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
}

.c2pa-tm {
  font-size: 0.55em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 0.1em;
  color: #888;
}

.c2pa-full-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #666;
  margin: 0.35rem 0 0;
  line-height: 1.35;
  max-width: 13rem;
  text-align: center;
}

.c2pa-text-block:hover .c2pa-text-name {
  text-decoration: underline;
  text-decoration-color: rgba(26, 26, 26, 0.4);
  text-underline-offset: 0.2em;
}

/* Founding Partners */
.founding-partners {
  border-left: 1px solid rgba(26, 26, 26, 0.1);
  padding-left: 3rem;
}

.partners-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #999;
  margin-bottom: 1.75rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  min-height: 72px;
}

/* Real partner logo images (shown when available) */
.partner-logo-img {
  height: 40px;
  width: auto;
  opacity: 0.72;
  transition: opacity 0.25s;
  display: block;
}

.partner-logo-img:hover {
  opacity: 1;
}

.partners-placeholder {
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.3);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .credentials-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .founding-partners {
    border-left: none;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    padding-left: 0;
    padding-top: 2rem;
  }
}

/* Reduced motion preference — WCAG 2.3.3 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   ANIMATION SYSTEM — modernisation
   Scroll reveal · Hero field · Nav glass · Scanner · Waveform
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --font-mono: 'Courier New', Courier, monospace;
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 400ms; }

/* ── Hero Entrance ──────────────────────────────────────────── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-section .logo-placeholder { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.hero-section .hero-title        { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }
.hero-section .accent-line       { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
.hero-section .hero-subtitle     { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero-section .hero-description  { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both; }

/* ── Hero Character Field ───────────────────────────────────── */
.hero-char-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-char-field span {
  position: absolute;
  color: var(--accent-gold);
  font-family: var(--font-display);
  animation: char-float linear infinite;
  will-change: transform;
}

@keyframes char-float {
  0%   { transform: translateY(0)    rotate(0deg); }
  50%  { transform: translateY(-14px) rotate(4deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

/* ── Nav Glass on Scroll ────────────────────────────────────── */
.site-nav--glass {
  background: rgba(18, 18, 18, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 1px 0 rgba(201, 169, 97, 0.14), 0 4px 20px rgba(0, 0, 0, 0.28) !important;
}

/* ── Tool Card Hover Shimmer ────────────────────────────────── */
.tool-card {
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 97, 0.2) 0%, transparent 68%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.tool-card:hover::before { opacity: 1; }
.tool-card > *           { position: relative; z-index: 1; }

/* ── Shared Demo Readout ────────────────────────────────────── */
.demo-readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 2rem;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin-top: 1.2rem;
}

.readout-row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.55;
}

.readout-label {
  color: rgba(245, 245, 245, 0.35);
  letter-spacing: 0.12em;
  min-width: 90px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.readout-value {
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  word-break: break-all;
}

.demo-replay-btn {
  background: transparent;
  border: 1px solid rgba(201, 169, 97, 0.28);
  color: rgba(245, 245, 245, 0.55);
  padding: 0.5rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease, border-color 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.demo-replay-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ─────────────────────────────────────────────────────────────
   TEXT SCANNER DEMO
   ───────────────────────────────────────────────────────────── */

.scanner-demo {
  max-width: 640px;
  margin: 2.5rem auto 0;
}

.scanner-text-wrap {
  position: relative;
  padding: 2rem 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.scanner-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.95;
  color: rgba(245, 245, 245, 0.85);
  position: relative;
  z-index: 1;
  user-select: none;
}

.scanner-word {
  display: inline;
  transition: color 0.12s ease, text-shadow 0.12s ease;
}

.scanner-word--glow {
  color: #e8c87a;
  text-shadow: 0 0 14px rgba(201, 169, 97, 0.85), 0 0 4px rgba(201, 169, 97, 0.5);
}

.scanner-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(201, 169, 97, 0.2) 12%,
    rgba(201, 169, 97, 0.65) 50%,
    rgba(201, 169, 97, 0.2) 88%,
    transparent 100%
  );
  left: -3px;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.4), 0 0 26px rgba(201, 169, 97, 0.1);
}

.scanner-heatmap {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(201, 169, 97, 0.03),
    rgba(201, 169, 97, 0.065),
    rgba(201, 169, 97, 0.03)
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

/* ─────────────────────────────────────────────────────────────
   WAVEFORM WATERMARK DEMO
   ───────────────────────────────────────────────────────────── */

.waveform-demo {
  max-width: 700px;
  margin: 2.5rem auto 0;
}

.waveform-stage {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(201, 169, 97, 0.14);
  border-radius: 12px;
  padding: 1.6rem 1.6rem 1.4rem;
}

.wf-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wf-label-main  { color: rgba(245, 245, 245, 0.35); }
.wf-label-ghost {
  color: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.65s ease;
}

.wf-bars-wrap {
  position: relative;
  height: 88px;
}

.wf-bars,
.wf-ghost-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wf-bars      { z-index: 2; }
.wf-ghost-bars { z-index: 1; }

.wf-bar {
  flex: 1;
  min-width: 1px;
  border-radius: 1px;
  background: rgba(245, 245, 245, 0.28);
  min-height: 3px;
}

.wf-bar--ghost {
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.wf-scan {
  position: absolute;
  top: -10px;
  bottom: -10px;
  width: 2px;
  left: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 169, 97, 0.72),
    transparent
  );
  box-shadow: 0 0 12px rgba(201, 169, 97, 0.5);
}

/* ── Reduced motion overrides for animation system ──────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-section .logo-placeholder,
  .hero-section .hero-title,
  .hero-section .accent-line,
  .hero-section .hero-subtitle,
  .hero-section .hero-description {
    animation: none !important;
    opacity: 1 !important;
  }

  .hero-char-field  { display: none; }
  .scanner-beam,
  .scanner-heatmap  { display: none; }
  .wf-scan          { display: none; }
  .wf-bar--ghost    { opacity: 0.82 !important; }
  .wf-label-ghost   { opacity: 1 !important; }
  .demo-replay-btn  { opacity: 1 !important; pointer-events: auto !important; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .demo-readout     { grid-template-columns: 1fr; gap: 0.5rem; }
  .scanner-text     { font-size: 0.96rem; line-height: 1.85; }
  .wf-bars-wrap     { height: 64px; }
  .readout-label    { min-width: 78px; }
}

/* ============================================================
   Links page (links.html) — "link in bio" style social hub
   Moved from an inline <style> block; scoped under .links-page
   so these rules cannot leak onto other pages. Colour tokens
   (--accent-gold, --text-light, etc.) reuse the shared :root
   values defined at the top of this file.
   ============================================================ */

body.links-page {
  font-family: var(--font-body);
  background: linear-gradient(160deg, var(--primary-dark) 0%, #0f0f0f 40%, var(--primary-mid) 100%);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

body.links-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(201, 169, 97, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.links-page .links-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.links-page .links-logo {
  display: inline-block;
  padding: 0.5rem;
  border: 2px solid var(--accent-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: links-fade-up 0.6s ease forwards;
}

.links-page .links-logo img {
  display: block;
  width: 80px;
  height: 80px;
}

.links-page .links-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: links-fade-up 0.6s ease 0.1s forwards;
}

.links-page .links-title::after {
  content: "\2122";
  font-size: 0.35em;
  vertical-align: super;
  margin-left: 0.1em;
  opacity: 0.7;
}

.links-page .links-accent {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: links-fade-up 0.6s ease 0.2s forwards;
}

.links-page .links-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 245, 245, 0.7);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: links-fade-up 0.6s ease 0.25s forwards;
}

.links-page .links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links-page .link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  opacity: 0;
  animation: links-fade-up 0.5s ease forwards;
}

.links-page .link-item:nth-child(1) { animation-delay: 0.3s; }
.links-page .link-item:nth-child(2) { animation-delay: 0.37s; }
.links-page .link-item:nth-child(3) { animation-delay: 0.44s; }
.links-page .link-item:nth-child(4) { animation-delay: 0.51s; }
.links-page .link-item:nth-child(5) { animation-delay: 0.58s; }
.links-page .link-item:nth-child(6) { animation-delay: 0.65s; }

.links-page .link-item:hover {
  border-color: var(--accent-gold);
  background: rgba(201, 169, 97, 0.08);
  transform: translateY(-2px);
}

.links-page .link-item:active {
  transform: translateY(0);
}

.links-page .link-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--accent-gold);
}

.links-page .link-label {
  flex: 1;
  text-align: left;
}

.links-page .link-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: rgba(245, 245, 245, 0.3);
  transition: all 0.3s ease;
}

.links-page .link-item:hover .link-arrow {
  fill: var(--accent-gold);
  transform: translateX(3px);
}

.links-page .links-back {
  margin-top: 2.5rem;
  opacity: 0;
  animation: links-fade-up 0.5s ease 0.8s forwards;
}

.links-page .links-back a {
  color: rgba(245, 245, 245, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.links-page .links-back a:hover {
  color: var(--accent-gold);
}

@keyframes links-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .links-page .links-title { font-size: 1.8rem; }
  .links-page .link-item { padding: 0.8rem 1rem; font-size: 0.9rem; }
}
