@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,680&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --ink: #172033;
  --navy: #101828;
  --gold: #8d6b3a;
  --gold-soft: #f3eadb;
  --cream: #f6f3ee;
  --paper: #fffcf8;
  --muted: #5c6678;
  --line: #e6e0d6;
  --teal: #1f6f66;
}
* { box-sizing: border-box; }
body.pub {
  margin: 0;
  font-family: Outfit, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 1.05rem;
  line-height: 1.65;
}
h1, h2, h3, .display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.pub-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,252,248,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.pub-bar {
  max-width: 1160px; margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.pub-brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; letter-spacing: 0.08em; font-size: 0.92rem; flex-shrink: 0; }
.pub-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.pub-nav { display: flex; gap: 1.35rem; margin-left: 0.5rem; font-size: 0.95rem; font-weight: 600; color: #3d4758; }
.pub-nav a { padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.pub-nav a.active, .pub-nav a:hover { color: var(--navy); border-color: var(--gold); }
.pub-actions { margin-left: auto; display: flex; gap: 0.55rem; align-items: center; }
.pub-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 999px;
  font-weight: 600; border: 1px solid transparent; font-family: inherit;
}
.pub-btn.ghost { background: #fff; border-color: #d9d2c6; color: var(--navy); }
.pub-btn.solid { background: var(--navy); color: #fff; }
.pub-btn { white-space: nowrap; }
.pub-nav-cta { display: none; }
.pub-nav-kicker { display: none; margin: 0; }
.pub-btn.gold { background: var(--gold); color: #fff; }
.pub-menu { display: none; background: transparent; border: 0; font-size: 1.4rem; color: var(--navy); }

.hero {
  max-width: 1160px; margin: 0 auto; padding: 3.2rem 1.25rem 1rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: Outfit, sans-serif;
}
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.4rem, 4.4vw, 4.1rem); color: var(--navy); }
.lede { margin: 0 0 1.4rem; color: var(--muted); font-size: 1.12rem; max-width: 38rem; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hero-frame {
  background: var(--navy);
  border-radius: 28px;
  padding: 0.7rem;
  box-shadow: 0 24px 50px rgba(16,24,40,0.18);
  position: relative;
}
.hero-frame img { width: 100%; height: 420px; object-fit: cover; object-position: center 62%; border-radius: 20px; display: none; }
.hero-frame img.on { display: block; }
.slide-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #efe7da; padding: 0.85rem 0.7rem 0.35rem; }
.slide-meta strong { display: block; font-family: Fraunces, Georgia, serif; font-weight: 560; color: #fff; }
.slide-meta span { color: #d9cbb6; font-size: 0.9rem; }
.slide-dots { display: flex; gap: 0.4rem; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.35); cursor: pointer; }
.slide-dots button.on { background: #fff; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.5rem;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
}
.stat b { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.7rem; font-weight: 560; }
.stat span { color: var(--muted); font-size: 0.95rem; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }
.prose p { color: #3e4858; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem 1.25rem 1.4rem;
}
.card h3 { margin: 0 0 0.45rem; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }
.card.legal p { margin: 0 0 0.9rem; color: #3e4858; line-height: 1.6; }
.card.legal h2 { margin: 1.2rem 0 0.35rem; font-size: 1.2rem; }
.auth-ok { background: #ecfdf5; color: #047857; border-radius: 12px; padding: 0.75rem 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.step { background: var(--navy); color: #f6f1e8; border-radius: 20px; padding: 1.2rem; min-height: 180px; }
.step em { display: block; font-style: normal; color: #e4c89a; font-weight: 700; letter-spacing: 0.12em; font-size: 0.75rem; }
.step h3 { color: #fff; margin: 0.55rem 0; font-size: 1.25rem; }
.step p { margin: 0; color: #d5d0c7; font-size: 0.95rem; }

.meet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.meet { background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.meet img { width: 100%; height: 280px; object-fit: cover; object-position: center 28%; display: block; }
.meet div { padding: 1rem 1.15rem 1.2rem; }
.meet h3 { margin: 0 0 0.25rem; font-size: 1.35rem; }
.meet p { margin: 0; color: var(--muted); }

.band {
  background: var(--navy);
  color: #f4efe6;
  border-radius: 28px;
  padding: 2.2rem;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
}
.band h2 { color: #fff; margin: 0.3rem 0 0.4rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.band p { margin: 0; color: #d9d1c5; max-width: 38rem; }

.page-hero { padding: 3.2rem 1.25rem 0.4rem; max-width: 1160px; margin: 0 auto; }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.2rem; }
.contact-grid label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.35rem; }
.contact-grid input, .contact-grid textarea {
  width: 100%; border: 1px solid #ddd4c8; border-radius: 12px;
  padding: 0.8rem 0.9rem; font: inherit; margin-bottom: 0.85rem; background: #fff;
}
textarea { min-height: 150px; resize: vertical; }
.note { background: #e8f6ef; color: #0f6b45; border-radius: 12px; padding: 0.8rem 1rem; font-weight: 600; margin-bottom: 0.8rem; }

.pub-footer { background: var(--navy); color: #d7d1c7; padding: 2.4rem 1.25rem 1.6rem; margin-top: 1rem; }
.foot {
  max-width: 1160px; margin: 0 auto; padding: 0 1.25rem;
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 1.5rem;
}
.pub-footer strong { color: #fff; }
.pub-footer a { color: #fff; font-weight: 600; }
.fine { margin: 1.4rem auto 0; max-width: 1160px; padding: 0 1.25rem; color: #9aa3b2; font-size: 0.85rem; }

@media (max-width: 900px) {
  .pub-header { position: sticky; }
  .pub-bar { padding: 0.65rem 1rem; gap: 0.75rem; }
  .pub-brand img { width: 42px; height: 42px; }
  .pub-nav { display: none; }
  .pub-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    background: #fff; padding: 1.15rem 1.2rem 1.2rem;
    border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 22px 50px rgba(16, 24, 40, 0.16);
  }
  .pub-nav-kicker {
    display: block; margin: 0 0 0.35rem;
    color: var(--gold); font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; font-size: 0.68rem;
  }
  .pub-nav > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 0.15rem; border-bottom: 0;
    font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 560;
    letter-spacing: -0.02em; color: var(--navy);
  }
  .pub-nav > a::after {
    content: ""; width: 7px; height: 7px; flex: none;
    border-right: 1.5px solid #c4b49a; border-top: 1.5px solid #c4b49a;
    transform: rotate(45deg); margin-right: 4px;
  }
  .pub-nav > a.active { color: var(--gold); }
  .pub-nav > a.active::after { border-color: var(--gold); }
  .pub-nav-cta {
    display: flex; flex-direction: column; gap: 0.6rem;
    margin-top: 0.45rem; padding-top: 0.95rem; border-top: 1px solid var(--line);
  }
  .pub-nav-cta .pub-btn { width: 100%; min-height: 48px; padding: 0.55rem 1.1rem; border-bottom: 0; border-radius: 14px; }
  .pub-nav-social {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    margin-top: 0.15rem; padding: 0.15rem 0 0; border: 0;
    color: var(--navy); font-weight: 600; font-size: 0.92rem; font-family: Outfit, sans-serif;
  }
  .pub-actions .pub-btn, .pub-actions .pub-social { display: none; }
  .pub-menu {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: var(--navy); padding: 0;
  }
  .pub-menu span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
  .pub-menu.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .pub-menu.is-open span:nth-child(2) { opacity: 0; }
  .pub-menu.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .hero, .split, .cards, .steps, .meet-grid, .contact-grid, .stats, .foot { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .hero-frame img, .meet img { height: 240px; }
  .hero { padding-top: 1.8rem; }
  .auth-card { margin: 1.25rem 1rem 2rem; padding: 1.25rem 1rem 1.5rem; }
}

.pub-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d9d2c6; color: var(--navy); font-weight: 700; font-size: 0.85rem; }
.pub-social:hover { border-color: var(--navy); }

.auth-card {
  max-width: 720px; margin: 2.5rem auto 3rem; padding: 2rem 2rem 2.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 18px 40px rgba(16,24,40,0.06);
}
.auth-card h1 { margin: 0.25rem 0 0.45rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.auth-lead { margin: 0 0 1.4rem; color: var(--muted); }
.auth-note { background: #fef2f2; color: #b91c1c; border-radius: 12px; padding: 0.75rem 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.form-section-title { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0.2rem 0 0.9rem; }
.form-group-saas { margin-bottom: 0.9rem; }
.label-saas, .auth-card .form-label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.35rem; }
.input-saas, .auth-card input[type="text"], .auth-card input[type="password"], .auth-card input[type="email"], .auth-card input[type="tel"] {
  width: 100%; border: 1px solid #ddd4c8; border-radius: 12px; padding: 0.8rem 0.9rem; margin: 0 0 0.85rem;
  font: inherit; background: #fff; color: var(--ink);
}
.grid-resp { display: grid; gap: 0.8rem; }
.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.text-muted { color: var(--muted); font-size: 0.92rem; }
.required-mark { color: #ef4444; }
.wizard-steps { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.wizard-steps button { flex: 1; text-align: center; font-size: 0.85rem; font-weight: 700; color: #94a3b8; padding: 0.7rem 0.4rem; border: none; border-bottom: 2px solid #e2e8f0; background: transparent; cursor: pointer; font-family: inherit; }
.wizard-steps button.on { color: #0f766e; border-color: #0d9488; }
.step-panel { display: none; }
.step-panel.on { display: block; }
.rc-slot { display: none; }
.rc-slot.on { display: block; }
.choice { display: flex; gap: 0.75rem; align-items: center; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.65rem; cursor: pointer; background: #fff; }
.choice input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: #0d9488; }
.choice:has(input:checked) { border-color: #0d9488; background: #f0fdfa; }
.btn-premium { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.7rem 1.1rem; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-premium-primary { background: var(--navy); color: #fff; }
.btn-premium-outline { background: #fff; color: var(--navy); border-color: #d9d2c6; }
.wizard-nav { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.wizard-nav .btn-premium { flex: 1; }
.field-error { color: #b91c1c; font-size: 0.8rem; font-weight: 600; margin-top: 0.3rem; }
.city-combo { position: relative; }
.city-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 12px 30px rgba(15,23,42,0.12); max-height: 240px; overflow: auto; margin: 0; padding: 0.35rem; list-style: none; }
.city-menu[hidden] { display: none; }
.city-menu button { width: 100%; text-align: left; border: none; background: transparent; padding: 0.65rem 0.75rem; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.city-menu button:hover { background: #f0fdfa; color: #0f766e; }
.file-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; min-height: 132px; width: 100%; padding: 1.15rem 1rem; border: 1.5px dashed #94a3b8; border-radius: 14px; background: #f8fafc; cursor: pointer; text-align: center; position: relative; }
.file-drop input[type="file"] { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; border: 0 !important; opacity: 0 !important; }
.file-drop__icon, .file-drop__title, .file-drop__hint, .file-drop__btn { pointer-events: none; }
.file-drop__title { font-weight: 800; }
.file-drop__hint { font-size: 0.8rem; color: var(--muted); }
.file-drop__btn { margin-top: 0.2rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: #fff; border: 1px solid #cbd5e1; color: #0f766e; font-size: 0.75rem; font-weight: 800; }
.file-drop.has-file { border-style: solid; border-color: #99f6e4; background: #f0fdfa; }
@media (max-width: 700px) { .grid-cols-2 { grid-template-columns: 1fr; } }
