@font-face { font-family: 'Onest'; src: url('fonts/Onest-Variable.woff') format('woff'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('fonts/Unbounded-Variable.woff') format('woff'); font-weight: 200 900; font-display: swap; }

:root {
  --emerald: #0F4D3A;
  --deep: #0B3A2C;
  --lime: #B8E04A;
  --cream: #F6F1E7;
  --graphite: #13241D;
  --muted: #3D5048;
  --muted-light: #CFE3D8;
  --border: #E4DCCB;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--graphite);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { padding: 20px 0; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 22px; color: var(--emerald); text-decoration: none; letter-spacing: -0.3px; }
.logo .coin { display: inline-flex; width: 17px; height: 17px; border-radius: 50%; background: var(--lime); align-items: center; justify-content: center; margin: 3px 1px 0; }
.logo .coin svg { width: 9px; height: 9px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--emerald); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 14px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--lime); color: var(--emerald); }
.btn-primary:hover { background: #C6EA5F; color: var(--emerald); }
.btn-dark { background: var(--emerald); color: var(--cream); }
.btn-dark:hover { background: var(--deep); color: var(--cream); }

/* Hero */
.hero { background: var(--emerald); color: var(--cream); border-radius: 28px; padding: 56px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 48px; line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { margin: 0 0 28px; font-size: 19px; color: var(--muted-light); max-width: 30em; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted-light); }
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 88%; padding: 12px 16px; font-size: 16px; line-height: 1.45; }
.bubble.me { align-self: flex-start; background: var(--deep); border-radius: 18px 18px 18px 4px; }
.bubble.bot { align-self: flex-end; background: var(--cream); color: var(--graphite); border-radius: 18px 18px 4px 18px; }
.bubble b { color: var(--emerald); }

/* Sections */
section { padding: 72px 0 0; }
h2 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.15; margin: 0 0 28px; color: var(--emerald); letter-spacing: -0.3px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.step { font-family: 'Unbounded', sans-serif; font-weight: 700; color: var(--emerald); font-size: 15px; margin-bottom: 12px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pricing.single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { background: var(--emerald); color: var(--cream); border-color: var(--emerald); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; }
.price { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 40px; margin: 12px 0 4px; }
.plan.featured .price { color: var(--lime); }
.price small { font-family: 'Onest', sans-serif; font-weight: 500; font-size: 17px; }
.plan .sub { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.plan.featured .sub { color: var(--muted-light); }
.plan ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--emerald); }
.plan.featured li::before { background: var(--lime); }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Info list */
.info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Documents */
.doc { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 48px; margin: 8px 0 0; }
.doc h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.15; color: var(--emerald); margin: 0 0 8px;
  overflow-wrap: break-word; hyphens: auto; }  /* «конфиденциальности» не вылезает за блок на узких экранах */
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-family: 'Onest', sans-serif; font-size: 20px; font-weight: 600; color: var(--graphite); margin: 32px 0 12px; letter-spacing: 0; }
.doc p, .doc li { font-size: 16px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* Footer */
.footer { margin-top: 72px; padding: 40px 0 48px; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.footer p { margin: 0 0 6px; }
.footer .links { display: flex; flex-direction: column; gap: 6px; }
.req b { color: var(--graphite); font-weight: 600; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding: 36px 24px; border-radius: 22px; }
  .hero h1 { font-size: 34px; }
  .grid-3, .pricing, .info, .footer .wrap { grid-template-columns: 1fr; }
  h2 { font-size: 26px; }
  section { padding-top: 56px; }
  .doc { padding: 28px 20px; }
  .doc h1 { font-size: clamp(18px, 5vw, 26px); }  /* 375 px → 19 px: длинное слово помещается целиком */
  .nav { display: none; }
  .btn { width: 100%; }
}
