* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: #CCFBF1; color: #0F766E; }
body { font-family: 'DM Sans', 'Avenir Next', system-ui, sans-serif; color: #1E293B; background: #FAFCFB; -webkit-font-smoothing: antialiased; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,252,251,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226,232,240,0.6); padding: 14px 0; }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-size: 19px; font-weight: 700; color: #1E293B; letter-spacing: -0.3px; }
.wordmark span { font-weight: 400; color: #0D9488; }
.wordmark.small { font-size: 15px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: #64748B; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #0D9488; }
.nav-login { color: #0D9488 !important; font-weight: 600 !important; }
.nav-cta { background: #0D9488 !important; color: #fff !important; padding: 9px 22px !important; border-radius: 10px; font-weight: 600 !important; box-shadow: 0 2px 8px rgba(13,148,136,0.2); transition: all 0.25s ease !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.3) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; color: #475569; cursor: pointer; }

.hero { padding: 140px 24px 80px; }
.hero.loaded .hero-content, .hero.loaded .hero-demo { opacity: 1; transform: translateY(0); }
.hero-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-content { flex: 1 1 500px; max-width: 720px; opacity: 0; transform: translateY(40px); transition: all 0.8s ease 0.1s; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 20px; background: #F0FDFA; border: 1px solid #CCFBF1; margin-bottom: 28px; font-size: 13px; font-weight: 600; color: #0D9488; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #0D9488; }
.hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 5.5vw, 60px); font-weight: 600; line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px; }
.hero-title span { color: #0D9488; }
.hero-sub { font-size: 20px; line-height: 1.65; color: #475569; max-width: 560px; margin-bottom: 16px; }
.hero-sub-accent { font-size: 16px; line-height: 1.6; color: #0D9488; font-weight: 500; font-style: italic; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: #0D9488; color: #fff; padding: 14px 32px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 16px rgba(13,148,136,0.25); transition: all 0.25s ease; cursor: pointer; border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.3); }
.btn-ghost { display: inline-block; border: 1.5px solid #CBD5E1; background: transparent; color: #475569; padding: 13px 32px; border-radius: 12px; font-size: 16px; font-weight: 500; text-decoration: none; transition: background 0.2s; cursor: pointer; }
.btn-ghost:hover { background: rgba(13,148,136,0.08); }
.llm-dropdown { margin-top: 20px; }
.llm-dropdown summary { font-size: 14px; font-weight: 600; color: #475569; cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.llm-dropdown summary::-webkit-details-marker { display: none; }
.llm-dropdown summary::after { content: "\25BC"; font-size: 9px; transition: transform 0.2s; }
.llm-dropdown[open] summary::after { transform: rotate(180deg); }
.llm-dropdown p { font-size: 14px; line-height: 1.7; color: #64748B; max-width: 480px; margin-top: 12px; }

.hero-demo { flex-basis: 100%; margin-top: 64px; max-width: 580px; margin-left: auto; opacity: 0; transform: translateY(40px); transition: all 0.8s ease 0.4s; }
.demo-chat-card { background: white; border-radius: 20px; padding: 24px; border: 1px solid #E2E8F0; box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04); }
.demo-zone-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 8px; background: #FFF7ED; border: 1px solid #FED7AA; font-size: 12px; font-weight: 600; color: #D97706; float: right; margin-bottom: 16px; }
.zone-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.zone-dot.amber { background: #D97706; }
.demo-user-msg { clear: both; display: flex; justify-content: flex-end; margin-bottom: 14px; }
.demo-user-msg:not(.small) { padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: #1E293B; color: white; font-size: 14px; line-height: 1.55; max-width: 80%; margin-left: auto; }
.demo-user-msg.small { padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #1E293B; color: white; font-size: 13px; max-width: 80%; margin-left: auto; line-height: 1.5; }
.demo-agent-row { display: flex; gap: 10px; align-items: flex-start; }
.demo-agent-avatar { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; background: #F0FDFA; border: 1px solid #CCFBF1; display: flex; align-items: center; justify-content: center; }
.demo-agent-msg { padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: #FAFCFB; border: 1px solid #E8ECF0; font-size: 14px; line-height: 1.6; }

.js-enabled .fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-enabled .fade-up.visible { opacity: 1; transform: translateY(0); }

.section { padding: 100px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label { font-size: 13px; font-weight: 700; color: #0D9488; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.section-heading { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.section-sub { font-size: 17px; color: #64748B; max-width: 560px; margin: 0 auto 48px; line-height: 1.6; }
.section-body { font-size: 17px; line-height: 1.7; color: #475569; margin-bottom: 28px; }
.section-text-block { max-width: 680px; margin-bottom: 40px; }
.section-center { text-align: center; margin-bottom: 56px; }
.section-center .section-heading { margin-bottom: 16px; }

.problem-section { background: white; }
.stats-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-card { flex: 1 1 0; min-width: 200px; padding: 22px 20px; background: #F8FAFB; border-radius: 14px; border: 1px solid #F1F5F9; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600; color: #0D9488; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #64748B; line-height: 1.5; }

.modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mode-card { padding: 24px 22px; border-radius: 16px; background: white; border: 1px solid #E8ECF0; box-shadow: 0 1px 3px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: all 0.3s ease; }
.mode-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.mode-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.mode-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.mode-card p { font-size: 14.5px; line-height: 1.6; color: #475569; margin-bottom: 16px; flex: 1; }
.mode-example { font-size: 13px; font-style: italic; color: #94A3B8; padding: 10px 14px; background: #F8FAFB; border-radius: 10px; line-height: 1.5; margin-bottom: 0; flex: none; }

.rehearsal-section { background: white; }
.rehearsal-grid { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.rehearsal-text { flex: 1 1 400px; }
.rehearsal-demo { flex: 1 1 340px; }
.persona-list { margin-top: 16px; }
.persona-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #475569; margin-bottom: 8px; }
.rehearsal-card { background: #F8FAFB; border-radius: 20px; padding: 28px; border: 1px solid #E2E8F0; box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.rehearsal-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 8px; background: #EFF6FF; border: 1px solid #BFDBFE; font-size: 12px; font-weight: 600; color: #2563EB; margin-bottom: 20px; }
.rehearsal-persona-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.persona-avatar { width: 26px; height: 26px; border-radius: 7px; background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.persona-msg { padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: #EFF6FF; border: 1px solid #BFDBFE; font-size: 13px; max-width: 80%; line-height: 1.5; }
.coach-note { margin-left: 34px; padding: 10px 14px; background: #F0FDFA; border-left: 3px solid #0D9488; border-radius: 0 8px 8px 0; }
.coach-note-label { font-size: 10px; font-weight: 700; color: #0D9488; letter-spacing: 0.5px; margin-bottom: 3px; }
.coach-note-text { font-size: 12.5px; color: #0D9488; line-height: 1.5; }

.tools-section { background: white; }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-card { padding: 28px 24px; border-radius: 16px; background: #FAFCFB; border: 1px solid #E8ECF0; box-shadow: 0 1px 3px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: all 0.3s ease; }
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.tool-icon { width: 52px; height: 52px; border-radius: 14px; background: white; border: 1px solid #E8ECF0; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tool-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #1E293B; }
.tool-card p { font-size: 14.5px; line-height: 1.6; color: #475569; margin-bottom: 16px; flex: 1; }
.tool-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: #F0FDFA; color: #0D9488; border: 1px solid #CCFBF1; }
@media (max-width: 640px) { .tools-grid { grid-template-columns: 1fr; } }

.law-tags { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.law-tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: white; border: 1px solid #E8ECF0; font-size: 14px; font-weight: 500; color: #475569; }

.safety-section { background: white; }
.zones-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.zone-card { flex: 1 1 0; min-width: 240px; padding: 24px 22px; border-radius: 16px; }
.zone-card.zone-green { background: #F0FDF4; border: 1.5px solid #BBF7D0; }
.zone-card.zone-amber { background: #FFF7ED; border: 1.5px solid #FED7AA; }
.zone-card.zone-red { background: #FEF2F2; border: 1.5px solid #FECACA; }
.zone-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.zone-dot-lg { width: 10px; height: 10px; border-radius: 50%; }
.zone-dot-lg.green { background: #16A34A; }
.zone-dot-lg.amber { background: #D97706; }
.zone-dot-lg.red { background: #DC2626; }
.zone-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; }
.zone-name.green { color: #16A34A; }
.zone-name.amber { color: #D97706; }
.zone-name.red { color: #DC2626; }
.zone-role { font-size: 15px; font-weight: 500; color: #475569; }
.zone-desc { font-size: 14px; font-weight: 600; color: #1E293B; margin-bottom: 8px; }
.zone-examples { font-size: 14px; color: #64748B; line-height: 1.6; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.trust-item { padding: 18px 16px; border-radius: 12px; background: #F8FAFB; border: 1px solid #F1F5F9; transition: all 0.25s ease; }
.trust-item:hover { background: white; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.trust-icon { font-size: 24px; margin-bottom: 10px; }
.trust-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.trust-item p { font-size: 13.5px; color: #64748B; line-height: 1.5; }

.who-section { background: white; }
.who-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.who-card { flex: 1 1 0; min-width: 200px; max-width: 280px; padding: 22px 20px; border-radius: 14px; border: 1px solid #E8ECF0; }
.who-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #0D9488; }
.who-card p { font-size: 14.5px; color: #64748B; line-height: 1.6; }

.cta-section { padding: 100px 24px; }
.cta-card { background: linear-gradient(135deg, #0F766E 0%, #0D9488 50%, #14B8A6 100%); border-radius: 24px; padding: 64px 40px; text-align: center; color: white; }
.cta-card h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 600; margin-top: 20px; margin-bottom: 16px; }
.cta-card p { font-size: 18px; opacity: 0.85; max-width: 500px; margin: 0 auto 32px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { display: inline-block; padding: 16px 36px; border-radius: 12px; background: white; color: #0D9488; font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: all 0.25s ease; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-cta-outline { display: inline-block; padding: 14px 36px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.4); background: transparent; color: white; font-size: 16px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); }

.footer { padding: 40px 24px 32px; border-top: 1px solid #F1F5F9; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #64748B; }
.footer-copy { font-size: 12px; color: #94A3B8; }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid #E2E8F0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .hero-demo { margin-left: 0; }
  .zones-grid { flex-direction: column; }
  .rehearsal-grid { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}

.legal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; padding: 24px; }
.legal-overlay.open { display: flex; }
.legal-modal { background: white; border-radius: 16px; padding: 36px; max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.legal-modal h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; color: #1E293B; margin-bottom: 20px; }
.legal-modal p { font-size: 14px; line-height: 1.75; color: #475569; margin-bottom: 16px; }
.legal-modal p:last-child { margin-bottom: 0; }
.legal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 28px; color: #94A3B8; cursor: pointer; line-height: 1; padding: 4px; }
.legal-close:hover { color: #475569; }
