:root {
  color-scheme: light;
  --bg: #fbf8f3;
  --soft: #f3ede4;
  --ink: #17151f;
  --muted: #5d5969;
  --line: #e7e0d5;
  --accent: #e9553a;
  --accent-dark: #c9432b;
  --deep: #1c1a2b;
  --deep-2: #26233a;
  --on-deep: #f4f1ec;
  --on-deep-muted: #b9b4c6;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 80px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; letter-spacing: -0.04em; }
.brand-mark span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-dark); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes svg { color: var(--accent); flex: none; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, #f6cfc2 0%, rgba(246, 207, 194, 0) 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.phone {
  position: relative; width: 280px; height: 570px; border-radius: 44px; padding: 12px;
  background: var(--ink); box-shadow: 0 40px 80px -30px rgba(23, 21, 31, 0.45);
}
.phone-screen { height: 100%; border-radius: 34px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: 10px; padding: 26px 18px 12px; }
.app-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #6b5cf6, #9b6bf2); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.app-name { font-weight: 700; font-size: 14px; }
.app-bell { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #f1eef8; position: relative; }
.app-bell::after { content: ""; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.stories { display: flex; gap: 10px; padding: 6px 18px 14px; }
.stories span { width: 40px; height: 40px; border-radius: 50%; flex: none; border: 2px solid #8b7bf5; background: #ece8fb; }
.stories span:nth-child(2) { background: #fde3d9; }
.stories span:nth-child(3) { background: #dff1e6; }
.stories span:nth-child(4) { background: #fbefcf; }
.stories span:nth-child(5) { background: #e2ecfa; }
.feed { flex: 1; background: #f6f4fa; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.post { background: #fff; border-radius: 16px; padding: 12px; }
.post-head { display: flex; align-items: center; gap: 8px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: #fde3d9; flex: none; }
.avatar.b { background: #dff1e6; }
.line { height: 7px; border-radius: 4px; background: #e9e6f0; }
.post-head .line { width: 70px; }
.post-text { display: grid; gap: 6px; margin-top: 10px; }
.post-media { height: 92px; border-radius: 12px; margin-top: 10px; background: linear-gradient(135deg, #8b7bf5, #f08a6d); }
.post-foot { display: flex; gap: 12px; margin-top: 10px; }
.post-foot span { height: 7px; width: 34px; border-radius: 4px; background: #efe9fb; }
.tabbar { display: flex; justify-content: space-around; padding: 12px 18px 20px; background: #fff; border-top: 1px solid #efedf3; }
.tabbar span { width: 22px; height: 22px; border-radius: 7px; background: #e9e6f0; }
.tabbar span:first-child { background: #8b7bf5; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(23, 21, 31, 0.35); white-space: nowrap;
}
.float-chip i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.chip-a { top: 70px; left: -4px; }
.chip-a i { background: #dff1e6; color: #237a4b; }
.chip-b { bottom: 96px; right: -10px; }
.chip-b i { background: #fde3d9; color: var(--accent-dark); }

/* Generic section */
.section { padding: 104px 0; }
.section-alt { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-text p + p { margin-top: 18px; }
.about-text p { color: var(--muted); font-size: 18px; }
.about-text strong { color: var(--ink); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.pillars li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.pillars .ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--accent-dark); }
.pillars h3 { font-size: 18px; font-weight: 700; }
.pillars p { color: var(--muted); margin-top: 4px; font-size: 16px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
.service { padding: 32px 0; border-top: 1px solid var(--line); }
.service .ico { color: var(--accent); margin-bottom: 18px; }
.service h3 { font-size: 20px; font-weight: 700; }
.service p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 40px; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; margin-bottom: 14px;
}
.step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.step:first-child::after { background: var(--accent); }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Audience */
.audience { display: flex; flex-wrap: wrap; gap: 12px; }
.audience span { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 700px; }

/* Contact */
.contact { background: var(--deep); color: var(--on-deep); }
.contact .kicker { color: #ff9a82; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.contact-intro p:not(.kicker) { margin-top: 18px; color: var(--on-deep-muted); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; color: var(--on-deep-muted); font-size: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { color: #ff9a82; flex: none; }
.form { background: var(--deep-2); border-radius: 24px; padding: 32px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--on-deep); }
.field label .opt { font-weight: 400; color: var(--on-deep-muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--on-deep);
  background: var(--deep); border: 1.5px solid #3a3652; border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7f7a92; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: #ff9a82; }
.form .btn { width: 100%; height: 52px; margin-top: 4px; }
.form-legal { font-size: 13px; color: var(--on-deep-muted); }
.form-legal a { color: var(--on-deep); }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-deep-muted); border-top: 1px solid #2f2b45; padding: 40px 0; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer .brand { color: var(--on-deep); }
.site-footer .brand-mark { background: var(--on-deep); color: var(--deep); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--on-deep-muted); }
.footer-links a:hover { color: var(--on-deep); }

/* Simple pages (privacy, thanks) */
.page { padding: 72px 0 104px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.page .updated { color: var(--muted); margin-top: 12px; font-size: 15px; }
.page h2 { font-size: 22px; font-weight: 700; margin-top: 44px; }
.page p, .page li { color: var(--muted); }
.page p { margin-top: 14px; }
.page ul { padding-left: 22px; margin: 14px 0 0; }
.page li + li { margin-top: 8px; }
.thanks { min-height: calc(100vh - 72px - 105px); display: grid; place-items: center; text-align: center; padding: 72px 0; }
.thanks .badge { width: 72px; height: 72px; border-radius: 50%; background: #dff1e6; color: #237a4b; display: grid; place-items: center; margin: 0 auto 28px; }
.thanks h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; }
.thanks p { color: var(--muted); font-size: 18px; margin: 16px auto 32px; max-width: 520px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 48px 0 80px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { height: 64px; gap: 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .phone { width: 250px; height: 510px; }
  .chip-a { left: -8px; top: 40px; }
  .chip-b { right: -8px; bottom: 70px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
