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

:root {
  --bg: #f5f5f0;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #3db54a;
  --wa: #25d366;
  --violet: #5a318e;
  --text: #111114;
  --muted: #a0a0a8;
  --muted2: #666670;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shell: min(100% - 2rem, 1180px);
}

html, body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.018'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

.glow {
  position: fixed;
  width: 26.25rem;
  height: 26.25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 63, 160, 0.07) 0%, transparent 70%);
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.logo-name {
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-icon,
.icon-img {
  display: block;
  flex-shrink: 0;
}

nav,
footer {
  position: relative;
  z-index: 10;
  width: var(--shell);
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1rem;
  border-bottom: 1px solid var(--border);
}

nav .logo-icon {
  width: 22px;
  height: 22px;
}

.nav-btn,
.cta,
.modal-close,
.footer-contact button {
  min-height: 40px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-btn:hover { opacity: 0.82; }

main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 2.5rem 0 calc(2.75rem + var(--safe-b));
}

h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.35rem, 10vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 10ch;
  animation: rise 0.9s var(--ease) both;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--violet);
}

.subheadline {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted2);
  animation: rise 0.9s 0.1s var(--ease) both;
}

.waitlist-block {
  width: 100%;
  max-width: 34rem;
  margin-top: 1.9rem;
  animation: rise 0.9s 0.2s var(--ease) both;
}

.nav-btn {
  display: none;
}

.mobile-waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  padding: 0.82rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 24px rgba(17, 17, 20, 0.12);
  transition: opacity 0.2s, transform 0.15s;
}

.main-cta:hover { opacity: 0.86; }
.main-cta:active { opacity: 0.88; transform: scale(0.97); }

.mobile-waitlist .signup-hint {
  max-width: 20rem;
  text-align: center;
}

.signup-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.honeypot-field {
  display: none;
}

.signup-label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 0.875rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.country-code {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted2);
}

.input-row:focus-within {
  border-color: rgba(61, 181, 74, 0.4);
  box-shadow: 0 0 0 4px rgba(61, 181, 74, 0.08);
}

.input-row.wa:focus-within {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.08);
}

.input-row.error { border-color: rgba(255, 90, 90, 0.5) !important; }

.input-row input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  padding: 0;
}

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

.form-error {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #d13a3a;
}

.form-error.show {
  display: block;
}

.cta {
  width: 100%;
  color: #fff;
  border: none;
  border-radius: 16px;
  min-height: 50px;
  padding: 0.88rem 1.1rem;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(17, 17, 20, 0.08);
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.cta:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(17, 17, 20, 0.12);
}

.cta-email { background: linear-gradient(180deg, #44c94f 0%, #38b946 100%); }
.cta-wa { background: linear-gradient(180deg, #2fd66f 0%, #21bf5a 100%); }

.signup-form .cta {
  align-self: stretch;
  margin-top: 1rem;
}

.signup-switch {
  margin-top: 0.75rem;
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--violet);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.signup-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(102, 102, 112, 0.82);
  letter-spacing: 0.01em;
}

.success-msg {
  display: none;
  margin-top: 1rem;
  text-align: left;
  padding: 1rem 1.05rem;
  background: rgba(61, 181, 74, 0.07);
  border: 1px solid rgba(61, 181, 74, 0.22);
  border-radius: 16px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: rgba(61, 181, 74, 0.16);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}

.success-msg strong {
  display: block;
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 700;
}

.success-msg span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--muted2);
}

.success-action {
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: none;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.social-proof {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  animation: rise 0.9s 0.25s var(--ease) both;
}

.early-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(61, 181, 74, 0.4);
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(61, 181, 74, 0.78);
  text-transform: uppercase;
}

.early-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

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

.avatar-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.avatars { display: flex; }

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  margin-left: -6px;
  color: #fff;
}

.avatars .avatar:first-child { margin-left: 0; }
.av1 { background: #6b3fa0; }
.av2 { background: #3db54a; }
.av3 { background: #e8824a; }
.av4 { background: #4a9de8; }

.avatar-text {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted2);
}

.avatar-text strong { color: var(--text); font-weight: 700; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem 1rem 1.2rem;
  width: 100%;
  max-width: 28rem;
  position: relative;
  animation: modalIn 0.35s var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  transition: color 0.2s, border-color 0.2s;
}

.modal-close:hover { color: var(--text); border-color: var(--text); }

.modal-logo { margin-bottom: 1.2rem; }
.modal-logo .logo-name { font-size: 1rem; }

.modal h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.modal h2 em { font-style: italic; color: var(--violet); }

.modal-sub {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted2);
  margin-bottom: 1.3rem;
  max-width: 30ch;
}

.sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 20, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 190;
  align-items: flex-end;
}

.sheet-overlay.open { display: flex; }

.sheet {
  width: 100%;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  padding: 1rem 1rem calc(2rem + var(--safe-b));
  animation: sheetUp 0.35s var(--ease) both;
}

.sheet-logo {
  margin-bottom: 1.4rem;
}

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  margin: 0 auto 1.6rem;
}

.sheet h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.sheet h3 em { font-style: italic; color: var(--violet); }

.sheet-sub {
  font-size: 0.85rem;
  color: var(--muted2);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.8rem 0 calc(1.8rem + var(--safe-b));
  border-top: none;
}

.footer-contact {
  display: none;
  align-items: center;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.28rem 0.28rem 0.9rem;
  gap: 0.45rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-contact:focus-within {
  border-color: rgba(107, 63, 160, 0.3);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.06);
}

.footer-contact input {
  flex: 1;
  min-width: 0;
  min-height: 24px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
}

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

.footer-contact button {
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--text);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.footer-contact .icon-img {
  width: 12px;
  height: 12px;
}

.footer-contact button:hover { opacity: 0.75; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  width: 100%;
}

.footer-legal span,
.footer-legal a {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--muted2); }

.legal-page {
  display: block;
  min-height: auto;
  overflow-x: clip;
}

.legal-page nav,
.legal-page footer {
  width: min(100% - 2rem, 1180px);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.legal-page main {
  flex: 0 0 auto;
  min-height: auto;
  align-items: stretch;
  justify-content: flex-start;
}

.legal-main {
  width: min(100% - 2rem, 860px);
  margin: 0 auto;
  padding: 2.4rem 0 3.5rem;
  display: block;
  text-align: left;
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-title {
  max-width: 12ch;
  margin-bottom: 0.75rem;
}

.legal-meta {
  margin-bottom: 1.6rem;
  color: var(--muted2);
  font-size: 0.95rem;
}

.legal-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 20px 60px rgba(17, 17, 20, 0.05);
}

.legal-card section + section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-card h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--muted2);
  line-height: 1.75;
  font-size: 0.96rem;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul {
  margin-top: 0.9rem;
}

.legal-card ul {
  list-style: none;
  padding-left: 0;
}

.legal-card li {
  position: relative;
  padding-left: 1.1rem;
}

.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

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

@media (min-width: 768px) {
  :root {
    --shell: min(100% - 3rem, 1180px);
  }

  .glow {
    width: 42rem;
    height: 42rem;
    top: 34%;
  }

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

  nav .logo-icon {
    width: 26px;
    height: 26px;
  }

  nav {
    padding: 1.15rem 0 1rem;
  }

  .nav-btn {
    display: inline-flex;
  }

  .nav-btn {
    padding-inline: 1.25rem;
  }

  main {
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: calc(100vh - 11rem);
    padding: 4rem 0 3rem;
  }

  h1 {
    font-size: clamp(3rem, 6vw, 4.1rem);
    max-width: none;
    line-height: 1.1;
  }

  .subheadline {
    margin-top: 1.1rem;
    font-size: 1.03rem;
    max-width: 32rem;
    line-height: 1.65;
  }

  .waitlist-block {
    margin-top: 2rem;
    max-width: 20rem;
  }

  .input-row {
    padding: 0 0.95rem;
  }

  .input-row input {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .cta {
    width: auto;
    min-width: 220px;
    border-radius: 14px;
    padding: 0.82rem 1.3rem;
    font-size: 0.82rem;
  }

  .signup-form .cta {
    align-self: flex-start;
  }

  .signup-switch {
    font-size: 0.86rem;
  }

  .social-proof {
    align-items: center;
    margin-top: 2.1rem;
  }

  .avatar-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .modal-overlay {
    padding: 1.5rem;
  }

  .modal {
    padding: 2rem 1.8rem 1.7rem;
    border-radius: 24px;
  }

  footer {
    border-top: 1px solid var(--border);
    padding: 1.15rem 0 1.4rem;
    gap: 1.2rem;
  }

  .footer-contact {
    display: flex;
    max-width: 340px;
    border-radius: 999px;
    padding: 0.3rem 0.3rem 0.3rem 0.95rem;
  }

  .footer-contact input {
    min-height: 36px;
    font-size: 0.82rem;
  }

  .footer-contact button {
    width: 40px;
    height: 40px;
  }

  .footer-legal {
    align-items: center;
    gap: 0.9rem 1.2rem;
  }

  .footer-legal span,
  .footer-legal a {
    font-size: 0.72rem;
  }

  .legal-main {
    padding: 3.4rem 0 4.5rem;
  }

  .legal-page nav,
  .legal-page footer {
    width: min(100% - 3rem, 1180px);
  }

  .legal-card {
    border-radius: 22px;
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --shell: min(100% - 5rem, 1180px);
  }

  .glow {
    width: 44rem;
    height: 44rem;
    top: 42%;
  }

  nav {
    padding: 1.4rem 0;
  }

  .logo-name {
    font-size: 1.1rem;
  }

  .nav-btn {
    padding: 0.55rem 1.35rem;
    font-size: 0.78rem;
    min-height: 40px;
  }

  main {
    padding: 4rem 0 3rem;
  }

  h1 {
    font-size: clamp(3.2rem, 5vw, 4rem);
    line-height: 1.1;
  }

  .subheadline {
    font-size: 1.05rem;
    max-width: 24rem;
  }

  .waitlist-block {
    max-width: 500px;
  }

  .input-row {
    padding: 0 1rem;
  }

  .input-row input {
    font-size: 0.96rem;
    font-weight: 400;
  }

  .cta {
    min-height: 40px;
    padding: 0.82rem 1.45rem;
    font-size: 0.84rem;
  }

  .signup-hint {
    font-size: 0.73rem;
  }

  .social-proof {
    margin-top: 2rem;
  }

  .avatar {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
  }

  .avatar-text {
    font-size: 0.78rem;
  }

  .modal {
    max-width: 420px;
    padding: 2.2rem 2rem 2rem;
    border-radius: 20px;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    min-height: 28px;
  }

  .modal h2 {
    font-size: 1.7rem;
  }

  .modal-sub {
    font-size: 0.85rem;
  }

  footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem 0;
  }

  .footer-contact {
    flex: 1;
    max-width: 280px;
  }

  .footer-legal {
    width: auto;
    flex-shrink: 0;
  }

  .legal-main {
    padding: 4rem 0 5rem;
  }

  .legal-page nav,
  .legal-page footer {
    width: min(100% - 5rem, 1180px);
  }

  .legal-card {
    border-radius: 24px;
  }

  .legal-card h2 {
    font-size: 1.45rem;
  }
}
