/* Vita — первый экран. Стиль: кремовый фон, цветные скруглённые плитки,
   жирные заголовки (Unbounded) с маркерными выделениями, моноширинные подписи. */

:root {
  --bg: #fbf6ec;
  --fg: #141a17;
  --muted: #5a645f;
  --teal: #1a8f9e;
  --teal-ink: #0f6a76;
  --green: #137a5e;
  --sun: #ffd66b;
  --sun-deep: #f5bd2c;
  --violet: #8a62d6;
  --white: #fff;
  --r: 28px;
  --r-sm: 18px;
  --shadow: 0 18px 44px -24px rgba(20, 26, 23, .35);
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-text); font-size: 17px; line-height: 1.5; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* лёгкая «бумажная» текстура, как мазки на фоне в референсе */
  background-image:
    radial-gradient(60vw 40vw at 110% 30%, rgba(255, 214, 107, .22), transparent 60%),
    radial-gradient(40vw 30vw at -10% 70%, rgba(26, 143, 158, .10), transparent 60%);
}
a { color: inherit; text-decoration: none; }
p, h1 { margin: 0; }

.page { max-width: 1240px; margin: 0 auto; padding: 14px clamp(12px, 2.5vw, 28px) 64px; }

/* ---- плитка ---- */
.tile { border-radius: var(--r); position: relative; }

/* ---- шапка: белая капсула, как в референсах ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 12px 10px 16px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow);
  position: sticky; top: 10px; z-index: 10;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.logo-text i { color: var(--teal); font-style: normal; }
.logo-mark svg rect { fill: var(--green); }
.logo-mark svg path { fill: none; stroke: var(--sun); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; gap: 26px; font-family: var(--font-mono); font-size: 13.5px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }

/* ---- кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--fg); box-shadow: 0 10px 22px -12px rgba(245, 189, 44, .9); }
.btn-sun:hover { box-shadow: 0 14px 26px -12px rgba(245, 189, 44, 1); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.spark { font-size: 15px; line-height: 1; color: var(--teal-ink); }
.link-more { font-family: var(--font-mono); font-size: 14px; color: var(--white); border-bottom: 1.5px dashed rgba(255, 255, 255, .6); padding-bottom: 2px; }
.link-more:hover { border-bottom-style: solid; }

/* ---- главный блок ---- */
.hero {
  margin-top: 14px; overflow: hidden; min-height: min(640px, 82svh);
  display: grid; align-items: center; justify-items: start; text-align: left;
  background: #1f3a33; color: var(--white); isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; display: block; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  /* затемнение слева под текст, справа фото остаётся открытым */
  background:
    linear-gradient(90deg, rgba(14, 24, 20, .82) 0%, rgba(14, 24, 20, .62) 42%, rgba(14, 24, 20, .18) 72%, rgba(14, 24, 20, .05) 100%),
    linear-gradient(180deg, rgba(14, 24, 20, .25) 0%, transparent 30%, transparent 70%, rgba(14, 24, 20, .35) 100%);
}
.hero-body { padding: clamp(56px, 9vh, 96px) clamp(18px, 5vw, 64px); max-width: 640px; }
.kicker { font-family: var(--font-mono); font-size: 13px; line-height: 1.4; letter-spacing: .02em; text-transform: lowercase; opacity: .95; }
h1 {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5.4vw, 66px); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.hl { padding: 0 .12em; border-radius: .25em; color: var(--fg); background: transparent; }
.hl-sun {
  /* «маркер»: скошенная заливка */
  background: linear-gradient(104deg, transparent 2%, var(--sun) 3%, var(--sun) 97%, transparent 98%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.under { position: relative; display: inline-block; }
.under::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c30-6 60-4 90-2s70 4 106-2' fill='none' stroke='%231a8f9e' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.hero-text { margin: 24px 0 0; max-width: 56ch; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6; opacity: .95; }
.hero-cta { margin-top: 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---- рисованные штрихи ---- */
.doodle { position: absolute; pointer-events: none; }
.doodle svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.doodle-leaf { right: 4%; bottom: 8%; width: 86px; height: 86px; opacity: .9; transform: rotate(-12deg); }
.doodle-leaf svg { stroke: var(--sun); }
.doodle-flower { left: 6%; top: 12%; width: 72px; height: 72px; }
.doodle-flower svg { stroke: var(--violet); }

/* ---- принцип ---- */
.principle { position: relative; text-align: center; padding: clamp(56px, 9vh, 96px) 16px 24px; }
.principle-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 2.3vw, 28px); line-height: 1.35; letter-spacing: -.01em;
  max-width: 24em; margin: 0 auto; text-wrap: balance;
}
.marker-line { display: block; width: min(320px, 70%); height: 18px; margin: 14px auto 0; }
.marker-line path { fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; }

/* ---- плитки с цифрами ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stats .tile { padding: 28px 26px 26px; min-height: 230px; display: flex; flex-direction: column; }
.tile-sun { background: var(--sun); color: var(--fg); }
.tile-teal { background: var(--teal); color: var(--white); }
.tile-raised { transform: translateY(-10px); box-shadow: 0 22px 40px -26px rgba(26, 143, 158, .8); }
.squares { position: absolute; top: 20px; right: 22px; display: flex; gap: 6px; }
.squares i { width: 12px; height: 12px; border-radius: 3px; background: var(--violet); display: block; }
.tile-teal .squares i { background: #0e3d44; }
.num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.03em; }
.unit { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.tile-teal .unit { color: #e9fbff; }
.stats p { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; opacity: .9; }

/* ---- тост ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 20; max-width: min(92vw, 460px);
  padding: 14px 18px; border-radius: 16px;
  background: var(--fg); color: var(--bg); font-size: 14.5px; font-weight: 600; text-align: center;
  box-shadow: var(--shadow); animation: toast-in .25s ease-out;
}
.toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---- адаптив ---- */
@media (max-width: 1024px) { .nav-links { display: none; } }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .tile-raised { transform: none; }
  .stats .tile { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .page { padding-left: 10px; padding-right: 10px; }
  .nav { padding: 8px 8px 8px 12px; }
  .nav .btn { height: 42px; padding: 0 14px; font-size: 14px; }
  .hero { min-height: 78svh; border-radius: 22px; align-items: end; }
  .hero-photo img { object-position: 60% 20%; }
  .hero-shade { background: linear-gradient(180deg, rgba(14, 24, 20, .15) 0%, rgba(14, 24, 20, .55) 40%, rgba(14, 24, 20, .88) 100%); }
  .hero-body { padding: 180px 18px 44px; }
  h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-text { font-size: 13px; }
  .btn-lg { width: 100%; height: 54px; }
  .doodle-leaf { width: 56px; height: 56px; right: 6%; bottom: 5%; }
  .doodle-flower { width: 48px; height: 48px; left: 4%; top: 6%; }
  .principle { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .toast { animation: none; } }

/* ===== Остальные блоки ===== */
.block { padding-top: clamp(64px, 10vh, 112px); position: relative; }
.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance;
}
.accent-teal { color: var(--teal); }
.accent-violet { color: var(--violet); }
.label { font-family: var(--font-mono); font-size: 13px; color: var(--teal-ink); background: #e3f3f5; display: inline-block; padding: 6px 12px; border-radius: 999px; }
.sub { margin-top: 14px; max-width: 48ch; color: var(--muted); font-size: 17px; }
.tile-violet { background: var(--violet); color: var(--white); }
.tile-white { background: var(--white); color: var(--fg); box-shadow: 0 10px 30px -24px rgba(20, 26, 23, .35); }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.step { padding: 26px 24px 28px; min-height: 260px; display: flex; flex-direction: column; }
.step-dots { display: flex; gap: 6px; margin-bottom: 26px; }
.step-dots i { width: 14px; height: 14px; border-radius: 50%; display: block; background: rgba(255, 255, 255, .55); }
.tile-sun .step-dots i { background: var(--violet); opacity: .7; }
.tile-white .step-dots i { background: var(--teal); opacity: .6; }
.step-num { font-family: var(--font-mono); font-size: 13px; opacity: .8; }
.step h3 { margin: 8px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.01em; }
.step p { margin: 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55; opacity: .92; }

/* помощник */
.assistant { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.assistant-photo { overflow: hidden; min-height: 460px; background: #2a2622; }
.assistant-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chat { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.msg { font-size: 14px; line-height: 1.45; padding: 11px 14px; max-width: 86%; box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .5); }
.msg-user { margin-left: auto; background: var(--sun); color: var(--fg); border-radius: 16px 16px 4px 16px; font-weight: 600; }
.msg-ai { background: var(--white); color: var(--fg); border-radius: 4px 16px 16px 16px; }
.assistant-copy .h2 { margin-top: 16px; }
.checks { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.checks li b { color: var(--fg); display: block; font-weight: 700; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.doodle-leaf2 { right: -6px; top: 40px; width: 70px; height: 70px; transform: rotate(30deg); }
.doodle-leaf2 svg { stroke: var(--violet); }

/* бенто */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cell { padding: 26px 24px; min-height: 190px; }
.cell-wide { grid-column: span 2; }
.cell h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.cell p { margin: 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55; opacity: .9; }
.tile-white.cell p { color: var(--muted); opacity: 1; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; align-items: stretch; }
.plan { padding: 30px 28px 28px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.price { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1; }
.per { font-family: var(--font-mono); font-size: 13px; opacity: .8; margin-top: 6px; }
.plan ul { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: "—"; position: absolute; left: 0; opacity: .6; }
.plan .btn { margin-top: auto; }
.plan-main { transform: translateY(-10px); box-shadow: 0 26px 44px -26px rgba(26, 143, 158, .9); }
.badge { position: absolute; top: -14px; right: 22px; background: var(--sun); color: var(--fg); font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; border-radius: 999px; font-weight: 500; }
.btn-outline { border: 2px solid var(--fg); background: transparent; color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }

/* вопросы */
.faq-list { margin-top: 32px; display: grid; gap: 12px; max-width: 860px; }
.faq-list details { padding: 0 26px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 700; font-family: var(--font-text); }
.faq-list details[open] summary::after { content: "–"; background: var(--teal); color: var(--white); }
.faq-list details p { margin: 0; padding: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 64ch; }

/* финал */
.cta { margin-top: clamp(64px, 10vh, 112px); background: var(--green); color: var(--white); text-align: center; padding: clamp(48px, 8vh, 80px) 24px; overflow: hidden; }
.cta p { margin: 16px auto 28px; max-width: 46ch; font-family: var(--font-mono); font-size: 14px; opacity: .92; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 214, 107, .18); }
.cta::before { width: 320px; height: 320px; left: -120px; bottom: -160px; }
.cta::after { width: 220px; height: 220px; right: -80px; top: -100px; }

/* подвал */
.footer { margin-top: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; padding: 28px 10px 0; border-top: 1px solid rgba(20, 26, 23, .1); }
.footer-brand .logo-text { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.footer-brand .logo-text i { color: var(--teal); font-style: normal; }
.footer-brand p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; font-family: var(--font-mono); font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--fg); }
.footer-note { grid-column: 1 / -1; margin: 10px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: 0; }
}
@media (max-width: 860px) {
  .assistant { grid-template-columns: 1fr; }
  .assistant-photo { min-height: 380px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; }
  .plan-main { transform: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .steps, .bento { grid-template-columns: 1fr; }
  .cell-wide { grid-column: auto; }
  .cell { min-height: 0; }
  .assistant-photo { min-height: 340px; }
  .faq-list details { padding: 0 18px; }
  .faq-list summary { font-size: 16px; }
  .doodle-leaf2 { display: none; }
}

/* отступ якорей под липкую шапку */
.block, .cta { scroll-margin-top: 90px; }

/* логотип «Насытно»: миска и пар */
.logo-mark svg .bowl { fill: var(--sun); stroke: none; }
.logo-mark svg .steam { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.logo-mark svg path:not(.bowl):not(.steam) { display: none; }
.logo { font-size: 20px; }
