/* ---------- Imprint shared styles ---------- */

:root {
  --bg: #fff7ef;
  --bg-deep: #ffeadc;
  --ink: #2a1c17;
  --ink-soft: #6b5a52;
  --ink-mute: #9a8a82;
  --line: #f0dcc9;
  --line-strong: #e6cdb3;
  --coral: #e85d5d;
  --coral-deep: #c94545;
  --coral-soft: #ffb5b5;
  --sage: #7da87d;
  --pink: #ffd9d9;
  --peach: #ffd0a8;
  --cream: #fff4e6;
  --shadow-sm: 0 1px 2px rgba(45, 31, 26, 0.04);
  --shadow: 0 1px 2px rgba(45, 31, 26, 0.04), 0 8px 24px rgba(45, 31, 26, 0.06);
  --shadow-lg: 0 4px 12px rgba(45, 31, 26, 0.06), 0 24px 48px rgba(45, 31, 26, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --max: 1080px;
  --serif: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;

  /* Soft warm gradient base */
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #ffd9d9 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 20%, #ffd0a8 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 30%, #ffe0e8 0%, transparent 55%),
    linear-gradient(180deg, #fff7ef 0%, #fff2e3 100%);
  background-attachment: fixed;
}

/* Decorative gradient blobs floating behind everything */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

body::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #ffb5b5 0%, transparent 70%);
  top: -120px;
  left: -120px;
  animation: drift1 18s ease-in-out infinite alternate;
}

body::after {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #ffd0a8 0%, transparent 70%);
  top: 200px;
  right: -100px;
  animation: drift2 22s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.08); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 40px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}

/* layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.legal-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- floating pill nav ---------- */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  padding: 0 16px;
}

.nav-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  background: rgba(255, 248, 240, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(234, 216, 200, 0.6);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 1px 2px rgba(45, 31, 26, 0.04),
    0 12px 32px rgba(45, 31, 26, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff8585 0%, var(--coral) 50%, #ff7a4a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(232, 93, 93, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.nav-links a.cta {
  background: var(--ink);
  color: #fff8f0;
}

.nav-links a.cta:hover {
  background: var(--coral);
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 181, 181, 0.5);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 93, 93, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 93, 93, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(232, 93, 93, 0.05); }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--coral) 0%, #ff8a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* hero illustration */
.hero-art {
  margin: 36px auto 12px;
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 24px 40px rgba(45, 31, 26, 0.12));
}

/* waitlist form */
.waitlist {
  display: flex;
  gap: 6px;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(234, 216, 200, 0.7);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.waitlist input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.waitlist input::placeholder { color: var(--ink-mute); }

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral) 0%, #ff7a4a 100%);
  color: white;
  transition: transform 0.1s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 4px 12px rgba(232, 93, 93, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(232, 93, 93, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn:active { transform: translateY(1px); }

.waitlist-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
}

.waitlist-success {
  display: none;
  margin-top: 14px;
  font-size: 14px;
  color: var(--sage);
  font-weight: 500;
}

/* ---------- features ---------- */
.features {
  padding: 96px 0 48px;
  position: relative;
}

.features h2,
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 44px);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.1;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 auto 56px;
  max-width: 540px;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(234, 216, 200, 0.6);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--coral-soft);
}

.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff4e6 0%, #ffd9d9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.feature h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- how it works ---------- */
.how {
  padding: 64px 0 96px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe0e0 0%, #ffd0a8 100%);
  color: var(--coral-deep);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(232, 93, 93, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid rgba(234, 216, 200, 0.6);
  padding: 40px 0 56px;
  margin-top: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 234, 220, 0.5) 100%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-meta {
  font-size: 14px;
  color: var(--ink-mute);
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--coral); }

/* ---------- legal pages ---------- */
.legal {
  padding: 64px 0 96px;
}

.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.05;
}

.legal .subtitle {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 19px;
  margin: 0 0 6px;
}

.legal .dates {
  color: var(--ink-mute);
  font-size: 14px;
  margin: 0 0 36px;
}

.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
  color: var(--ink);
}

.legal h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal p {
  margin: 0 0 14px;
  color: #3d2e28;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal ul li {
  margin-bottom: 8px;
  color: #3d2e28;
}

.legal a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal strong { color: var(--ink); font-weight: 600; }

.legal .toc {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(234, 216, 200, 0.6);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 40px;
  box-shadow: var(--shadow-sm);
}

.legal .toc h4 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.legal .toc ol {
  columns: 2;
  column-gap: 28px;
  padding-left: 20px;
  margin: 0;
  font-size: 14px;
}

.legal .toc ol li {
  margin-bottom: 5px;
  break-inside: avoid;
}

.legal .toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.legal .toc a:hover { color: var(--coral); }

.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.legal .back:hover { color: var(--coral); }

.legal .caps {
  text-transform: uppercase;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  background: rgba(255, 244, 230, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--coral);
  line-height: 1.6;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .nav { top: 10px; padding: 0 10px; }
  .nav-inner { padding: 8px 10px 8px 14px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 13px; padding: 7px 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 32px; }
  .features, .how { padding: 64px 0 32px; }
  .legal .toc ol { columns: 1; }
  .waitlist {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 10px;
  }
  .waitlist input { padding: 14px 16px; text-align: center; }
  .btn { padding: 14px 22px; }
  body::before { width: 320px; height: 320px; }
  body::after { width: 320px; height: 320px; }
}

@media (max-width: 460px) {
  .nav-links a:not(.cta) { display: none; }
}
