:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EEE8;
  --bg-dark: #1B4332;
  --fg: #1B2E1A;
  --fg-muted: #5A6B58;
  --fg-light: #8A9A86;
  --accent: #2D6A4F;
  --accent-warm: #C8773A;
  --accent-warm-light: #F4A940;
  --accent-cream: #FFF3E0;
  --border: #D4CFC6;
  --border-light: #EAE5DE;
  --success: #2D6A4F;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
}
.nav-badge {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* SECTIONS */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Frame graphic */
.hero-frame-graphic {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 40px;
}
.frame-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--border);
}
.frame-ring-outer {
  width: 240px; height: 240px;
  top: 0; left: 0;
  border-color: var(--border);
}
.frame-ring-mid {
  width: 180px; height: 180px;
  top: 30px; left: 30px;
  border-color: var(--accent);
  opacity: 0.4;
}
.frame-ring-inner {
  width: 110px; height: 110px;
  top: 65px; left: 65px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
}
.check-mark { width: 48px; height: 48px; }

.frame-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.frame-badge-left { top: 100px; left: -60px; }
.frame-badge-right { top: 100px; right: -70px; }
.badge-icon { width: 14px; height: 14px; display: flex; }
.badge-icon svg { width: 100%; height: 100%; color: var(--accent); }

/* Proof stats */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  max-width: 560px;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}
.proof-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--fg);
}
.proof-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 32px;
}

/* PROBLEM */
.problem {
  background: var(--bg-alt);
  padding: 80px 0;
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 40px 0 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-card {
  background: var(--bg);
  padding: 36px 32px;
}
.problem-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-warm);
  margin-bottom: 16px;
  opacity: 0.5;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.problem-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.problem-quote {
  border-left: 3px solid var(--accent-warm);
  padding-left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* SOLUTION */
.solution {
  padding: 80px 0;
}
.solution-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.solution-intro {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.solution-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.solution-panel {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.solution-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.08);
  border-color: var(--accent);
}
.panel-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.panel-icon svg { width: 24px; height: 24px; }
.solution-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.solution-panel p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* HOW */
.how {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.how .section-label { color: var(--accent-warm-light); }
.how .section-heading { color: white; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
  margin-top: 40px;
}
.step {
  grid-column: span 1;
}
.step-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent-warm-light);
  margin-bottom: 12px;
  opacity: 0.7;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.step-body p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.step-connector {
  grid-column: span 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(244,169,64,0.4));
  margin: 0 8px;
}

/* MANIFESTO */
.manifesto {
  padding: 80px 0;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.manifesto-quote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  position: sticky;
  top: 40px;
}
.manifesto-principles {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.principle h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.principle p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* DEMO */
.demo {
  padding: 80px 0;
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.demo-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.demo-frame {
  max-width: 720px;
}
.demo-profile {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(27, 46, 26, 0.06);
}
.demo-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border-light);
}
.demo-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.demo-avatar svg { width: 36px; height: 36px; }
.demo-profile-info {
  flex: 1;
}
.demo-profile-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.demo-profile-meta {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.demo-trust-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  background: rgba(45, 106, 79, 0.08);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.demo-trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.demo-trust-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}
.demo-credentials {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-credential-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.demo-credential-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
  margin-bottom: 4px;
}
.demo-credential-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.demo-profile-footer {
  padding: 14px 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.demo-view-count { font-weight: 500; }
.demo-separator { color: var(--border); }

/* CLOSING */
.closing {
  background: var(--accent);
  padding: 80px 0;
  color: white;
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-headline em {
  font-style: italic;
  font-weight: 300;
}
.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.closing-visual {
  position: relative;
  width: 120px;
  height: 64px;
  margin: 0 auto;
}
.closing-badge {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 0;
  left: 0;
  color: white;
}
.closing-badge-offset {
  left: 56px;
  opacity: 0.4;
}

/* FOOTER */
.footer {
  background: var(--fg);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: white;
}
.footer-tagline {
  font-size: 0.85rem;
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-links a:hover { color: white; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* PROFILE PAGE */
.profile-page {
  padding: 60px 0 80px;
}
.profile-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}
.profile-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.profile-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
}
.credentials-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.credentials-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
}
.credentials-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--fg-muted);
}
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credential-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}
.credential-item:hover {
  border-color: var(--accent);
}
.credential-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.credential-name {
  font-weight: 600;
  color: var(--fg);
}
.credential-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.credential-separator {
  color: var(--border);
}
.credential-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.badge-verified {
  background: rgba(45, 106, 79, 0.1);
  color: var(--accent);
}
.badge-pending {
  background: rgba(200, 119, 58, 0.1);
  color: var(--accent-warm);
}
.badge-failed {
  background: rgba(180, 60, 60, 0.1);
  color: #b43c3c;
}
.badge-icon {
  width: 16px;
  height: 16px;
}
.add-credential-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.add-credential-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 20px;
}
.add-credential-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
}
.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.form-group input::placeholder {
  color: var(--fg-light);
}
.btn-primary {
  align-self: flex-start;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover {
  background: var(--bg-dark);
}
.btn-primary:active {
  transform: scale(0.98);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-frame-graphic { width: 180px; height: 180px; transform: scale(0.85); transform-origin: top left; }
  .frame-ring-outer { width: 180px; height: 180px; }
  .frame-ring-mid { width: 136px; height: 136px; top: 22px; left: 22px; }
  .frame-ring-inner { width: 82px; height: 82px; top: 49px; left: 49px; }
  .check-mark { width: 36px; height: 36px; }
  .frame-badge-left { left: -20px; }
  .frame-badge-right { right: -20px; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
  .proof-stat { padding-right: 0; width: 45%; }
  
  .problem-grid { grid-template-columns: 1fr; }
  .solution-panels { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .step-connector { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-quote p { position: static; }
}

@media (max-width: 480px) {
  .solution-panels { grid-template-columns: 1fr; }
  .hero-frame-graphic { display: none; }
  .profile-header { flex-direction: column; text-align: center; gap: 16px; padding: 32px 0; }
  .credential-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
}

/* WAITLIST FORM */
.waitlist-input-row {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}
.waitlist-input-row input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.waitlist-input-row input::placeholder {
  color: rgba(255,255,255,0.45);
}
.waitlist-input-row input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
}
.btn-waitlist {
  padding: 13px 24px;
  background: white;
  color: var(--accent);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-waitlist:hover:not(:disabled) {
  background: var(--bg-alt);
  transform: translateY(-1px);
}
.btn-waitlist:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-waitlist:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-waitlist-loading {
  display: inline-flex;
}
.spinner {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.waitlist-error {
  color: #ffd6c0;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0;
}
.waitlist-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.waitlist-success-icon {
  width: 36px;
  height: 36px;
}
.waitlist-success-icon svg {
  width: 100%;
  height: 100%;
  color: white;
}
.waitlist-success-text {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-family: var(--font-display);
  font-style: italic;
}