:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --surface-soft: #fff0f3;
  --ink: #291f26;
  --muted: #6f626a;
  --accent: #e85d75;
  --accent-dark: #bd3d58;
  --border: #eadde2;
  --shadow: 0 18px 60px rgba(76, 36, 51, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(232,93,117,.10), transparent 28rem),
    radial-gradient(circle at 100% 20%, rgba(255,198,211,.28), transparent 32rem),
    var(--bg);
  line-height: 1.65;
}

a { color: var(--accent-dark); }

img { max-width: 100%; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255,250,248,.86);
  border-bottom: 1px solid rgba(234,221,226,.8);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.03em;
  font-size: 1.1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ff9caf);
  color: white;
  box-shadow: 0 8px 24px rgba(232,93,117,.25);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  font-size: .95rem;
}

.nav-links a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(232,93,117,.28);
}

.button-primary:hover { background: var(--accent-dark); }

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
}

.button-danger {
  color: #8c2136;
  background: #fff0f3;
  border: 1px solid #f4bdc8;
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--surface-soft);
  border: 1px solid #f6cbd4;
  font-size: .83rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -.045em;
}

h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  max-width: 820px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 { margin: 0 0 10px; }

.lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  padding: 28px;
  background: linear-gradient(145deg, #fff, #fff4f6);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.preview {
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 26px;
  color: white;
  background:
    linear-gradient(180deg, transparent, rgba(34,18,27,.72)),
    radial-gradient(circle at 30% 20%, #ffa7b8, transparent 35%),
    linear-gradient(135deg, #9d3850, #321e2a);
  overflow: hidden;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 750;
}

.preview-story {
  max-width: 470px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 900;
}

.preview-caption {
  margin-top: 18px;
  color: rgba(255,255,255,.8);
  font-size: .93rem;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: rgba(255,255,255,.64);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading p,
.muted { color: var(--muted); }

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

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(76,36,51,.06);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-soft);
  font-size: 1.35rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p { color: var(--muted); }

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, #3d2733, #772f45);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta p { color: rgba(255,255,255,.78); }

.legal {
  max-width: 820px;
  padding: 64px 0 96px;
}

.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }

.legal h2 {
  margin-top: 42px;
  font-size: 1.65rem;
}

.legal h3 {
  margin-top: 26px;
  font-size: 1.2rem;
}

.legal p, .legal li { color: #51464d; }

.notice {
  padding: 16px 18px;
  border: 1px solid #f0c6cf;
  border-radius: 14px;
  background: #fff2f5;
}

.connect-shell {
  min-height: calc(100vh - 152px);
  display: grid;
  place-items: center;
  padding: 72px 0;
}

.connect-card {
  width: min(620px, 100%);
  padding: 38px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.connect-card ul {
  text-align: left;
  color: var(--muted);
}

.status {
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f7f3f5;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.64);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}

.small {
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 820px) {
  .hero-grid, .grid-3, .cta, .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 64px; }
  .preview { min-height: 340px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1120px); }
  .nav { min-height: 64px; }
  .nav .button { min-height: 42px; padding: 0 14px; font-size: .87rem; }
  .hero-card, .connect-card, .cta { padding: 24px; }
  .section { padding: 60px 0; }
}
