@font-face { font-family: 'ManusCC0'; src: url('/fonts/ManusCC0-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'ManusCC0'; src: url('/fonts/ManusCC0-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --ink: #2e1f6b;
  --ink-soft: #5a4a9a;
  --lilac: #a78bfa;
  --lilac-bg: #e9dfff;
  --mint: #4cddb0;
  --mint-dark: #25b58a;
  --coral: #ff5f93;
  --card: rgba(255, 255, 255, 0.92);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: 'ManusCC0', 'Trebuchet MS', system-ui, sans-serif; font-size: 18px; line-height: 1.55;
  background: radial-gradient(1200px 700px at 15% -10%, #f6efff 0%, transparent 60%), radial-gradient(900px 600px at 100% 10%, #ffd9ea 0%, transparent 55%), linear-gradient(180deg, #cdb8ff 0%, #b69cf8 100%) fixed;
  min-height: 100vh;
}
a { color: var(--ink); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(233, 223, 255, 0.82); border-bottom: 2px solid rgba(255, 255, 255, 0.6); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-head nav { display: flex; align-items: center; gap: 4px; }
.site-head nav a { text-decoration: none; padding: 8px 12px; border-radius: 14px; font-weight: 700; font-size: 16px; color: var(--ink-soft); }
.site-head nav a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.site-head nav a.cta { background: var(--mint); color: #fff; box-shadow: 0 3px 0 var(--mint-dark); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15); }
@media (max-width: 640px) { .site-head nav a:not(.cta) { display: none; } .brand span { font-size: 17px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 21px; text-decoration: none; cursor: pointer; border: 0; transition: transform .12s; }
.btn:active { transform: translateY(2px); }
.btn.primary { background: linear-gradient(180deg, #5ee8bd, #3fd0a1); color: #fff; box-shadow: 0 6px 0 var(--mint-dark), 0 12px 24px rgba(37, 181, 138, 0.35); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
.btn.ghost { background: rgba(255, 255, 255, 0.85); color: var(--ink); box-shadow: 0 5px 0 rgba(90, 60, 190, 0.25); }

/* Hero */
.hero { padding: 36px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero h1 { margin: 6px 0 12px; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: 0.2px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p.lead { font-size: 21px; color: var(--ink-soft); margin: 0 0 22px; max-width: 30em; }
.hero .logo { width: min(360px, 78%); filter: drop-shadow(0 12px 20px rgba(70, 40, 160, 0.3)); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .fine { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { background: rgba(255, 255, 255, 0.8); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.hero-phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; aspect-ratio: 390 / 844; border-radius: 34px; border: 8px solid #2b1c63; background: #2b1c63; box-shadow: 0 22px 44px rgba(46, 31, 107, 0.4); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-phones .p1 { left: 4%; top: 36px; transform: rotate(-6deg); }
.hero-phones .p2 { right: 2%; top: 0; transform: rotate(5deg); z-index: 2; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .actions, .badges { justify-content: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-phones { height: 470px; }
  .phone { width: 210px; }
}

/* Sections */
section { padding: 34px 0; }
section > .wrap > h2 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); text-align: center; }
section > .wrap > p.sub { margin: 0 auto 26px; text-align: center; color: var(--ink-soft); max-width: 36em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 0 rgba(90, 60, 190, 0.22); }
.card h3 { margin: 8px 0 4px; font-size: 22px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.card .ico { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screenshot strip */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 6px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shots .phone { position: relative; width: 230px; }
.shots figcaption { margin-top: 10px; font-weight: 700; font-size: 16px; color: var(--ink); }

/* Chapters */
.chapters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.chapter { background: var(--card); border-radius: 22px; padding: 14px 10px 12px; text-align: center; box-shadow: 0 5px 0 rgba(90, 60, 190, 0.2); border-top: 6px solid var(--c, var(--lilac)); }
.chapter img { width: 76px; height: 76px; object-fit: contain; }
.chapter b { display: block; font-size: 17px; margin-top: 4px; }
.chapter small { display: block; color: var(--ink-soft); font-size: 13.5px; line-height: 1.3; margin-top: 3px; }
@media (max-width: 860px) { .chapters { grid-template-columns: repeat(2, 1fr); } }

/* Pals */
.pals { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pals img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(70, 40, 160, 0.25)); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 20px; padding: 14px 18px; box-shadow: 0 4px 0 rgba(90, 60, 190, 0.18); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; }
.faq details p { margin: 8px 0 2px; color: var(--ink-soft); }

/* CTA band */
.band { text-align: center; padding: 38px 20px; background: rgba(255, 255, 255, 0.55); border-radius: 34px; }
.band h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); }
.band p { margin: 0 0 18px; color: var(--ink-soft); }

/* Document pages */
.doc { padding: 34px 0 50px; }
.doc .paper { background: var(--card); border-radius: 30px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 8px 0 rgba(90, 60, 190, 0.22); max-width: 820px; margin: 0 auto; }
.doc h1 { margin: 0 0 4px; font-size: clamp(32px, 5vw, 46px); }
.doc .meta { color: var(--ink-soft); margin: 0 0 22px; font-size: 16px; }
.doc h2 { margin: 28px 0 6px; font-size: 25px; }
.doc p, .doc li { color: #3b2f78; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 2px solid #ece5ff; vertical-align: top; }
.doc th { color: var(--ink-soft); }
.note { background: #f4eeff; border-radius: 16px; padding: 12px 16px; margin: 14px 0; font-size: 16.5px; }

/* Footer */
.site-foot { padding: 30px 0 44px; text-align: center; color: var(--ink-soft); font-size: 15.5px; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.site-foot a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
