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

:root {
  --cream: #FAF9F6;
  --ink: #0E0E0D;
  --sand: #C9AE92;
  --sand-light: #EDE4D8;
  --sand-mid: #D4C4B0;
  --muted: rgba(14,14,13,0.45);
  --muted2: rgba(14,14,13,0.65);
  --border: rgba(14,14,13,0.08);
  --border2: rgba(14,14,13,0.12);
  --serif: 'Instrument Serif', serif;
  --mono: 'DM Mono', monospace;
}

html {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250,249,246,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-logo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(201,174,146,0.2);
  flex-shrink: 0;
}

.nav-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--border2);
  border-radius: 40px;
}

.banner {
  margin-top: 64px;
  padding: 0 24px;
  margin-bottom: 48px;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 24px;
  gap: 32px;
  align-items: start;
  padding-bottom: 80px;
}

.hero-left {
  padding-top: 16px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(64px, 5.5vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

.hero-title em {
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted2);
  max-width: 380px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border2);
  padding-top: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}

.stat-item {
  padding-right: 24px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.hero-right {
  opacity: 0;
  animation: fadeLeft 0.9s ease 0.45s forwards;
}

.signup-card {
  background: white;
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 24px 60px -28px rgba(14,14,13,0.18);
  position: relative;
  overflow: hidden;
}

.signup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,174,146,0.6), transparent);
}

.card-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 4px rgba(201,174,146,0.15);
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,174,146,0.15); }
  50% { box-shadow: 0 0 0 7px rgba(201,174,146,0.08); }
}

.card-heading {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card-heading em {
  font-style: italic;
}

.card-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted2);
  margin-bottom: 28px;
}

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.form-input-wrap {
  flex: 1;
  position: relative;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #F4F2EE;
  border: 1px solid var(--border2);
  border-radius: 100px;
  outline: none;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-input:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(201,174,146,0.18);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.btn-primary {
  height: 48px;
  padding: 0 26px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 14px 32px -16px rgba(14,14,13,0.5);
  flex-shrink: 0;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(14,14,13,0.55);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  font-size: 14px;
}

.form-error {
  font-family: var(--mono);
  font-size: 11px;
  color: #c0392b;
  min-height: 16px;
  margin-bottom: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.form-error.visible {
  opacity: 1;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.form-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-note-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
  flex-shrink: 0;
}

.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.4);
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
}

.marquee-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand-mid);
  flex-shrink: 0;
}

.about-section {
  padding: 140px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.about-title {
  font-family: var(--serif);
  font-size: clamp(44px, 3.5vw, 58px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about-title em {
  font-style: italic;
}

.about-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted2);
  max-width: 440px;
}

.about-right {
  padding-top: 60px;
}

.feature-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}

.feature-item:first-child {
  border-top: 1px solid var(--border);
}

.feature-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px;
}

.feature-title {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.feature-title em {
  font-style: italic;
}

.feature-desc {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.how-section {
  padding: 120px 24px;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: 'aligned';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 200px;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
  line-height: 1;
}

.how-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.how-step {
  background: var(--ink);
  padding: 40px 36px;
  transition: background 0.2s;
}

.how-step:hover {
  background: rgba(255,255,255,0.03);
}

.step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 24px;
}

.step-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 12px;
}

.step-title em {
  font-style: italic;
}

.step-desc {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.cta-section {
  padding: 160px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,174,146,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 620px;
}

.cta-title em {
  font-style: italic;
}

.cta-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted2);
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.cta-form-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.cta-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 20px;
}

.cta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
}

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 72px 24px 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: white;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 340px;
}

.footer-col-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.footer-copy {
  color: rgba(255,255,255,0.35);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}

.success-msg.show {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.page-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.page-overlay.active {
  display: flex;
}

.page-overlay-content {
  background: var(--cream);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  animation: fadeUp 0.3s ease;
}

.page-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.page-overlay-close:hover {
  background: var(--border2);
}

#page-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--ink);
}

#page-content h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}

#page-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted2);
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .hero { padding: 0 32px; gap: 36px; }
  .about-section { padding: 100px 40px; gap: 60px; }
  .how-section { padding: 100px 40px; }
  .cta-section { padding: 120px 40px; }
  footer { padding: 56px 40px 32px; }
  .banner { padding: 0 40px; }
  nav { padding: 0 40px; }
  .hero-title { font-size: clamp(48px, 5vw, 72px); }
  .card-heading { font-size: 34px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-badge { display: none; }
  .banner { padding: 0 20px; margin-bottom: 32px; }
  .banner-img { border-radius: 8px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 48px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: 48px;
    max-width: 100%;
  }

  .hero-subtitle { max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-item { padding-right: 0; }
  .stat-number { font-size: 26px; }

  .signup-card { padding: 28px 20px; }
  .card-heading { font-size: 28px; }
  .form-row { flex-direction: column; }
  .btn-primary { width: 100%; justify-content: center; }

  .about-section {
    grid-template-columns: 1fr;
    padding: 80px 20px;
    gap: 40px;
  }

  .about-title { font-size: 36px; }
  .about-body { max-width: 100%; }
  .about-right { padding-top: 0; }

  .how-section { padding: 80px 20px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step { padding: 32px 24px; }

  .cta-section { padding: 100px 20px; }
  .cta-title { font-size: 42px; }
  .cta-form-row { flex-direction: column; }

  footer { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-tagline { max-width: 100%; }

  .page-overlay-content { padding: 32px 20px; max-width: 440px; }
  #page-content h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding-top: 20px;
  }

  .stat-number { font-size: 22px; }
  .stat-label { font-size: 8px; }

  .signup-card { border-radius: 14px; padding: 24px 16px; }
  .card-heading { font-size: 24px; }

  .about-title { font-size: 30px; }
  .about-body { font-size: 17px; }

  .how-step { padding: 24px 20px; }
  .step-title { font-size: 22px; }

  .cta-title { font-size: 34px; }
  .cta-sub { font-size: 16px; }

  .feature-item { grid-template-columns: 24px 1fr; gap: 14px; }
  .feature-title { font-size: 18px; }
  .feature-desc { font-size: 11px; }

  .marquee-item { font-size: 13px; gap: 20px; padding: 0 20px; }

  .page-overlay-content { padding: 24px 16px; max-width: 390px; }
  #page-content h2 { font-size: 20px; }
}
