:root {
  --ink: #17201b;
  --paper: #f4efe5;
  --cream: #fbf8f1;
  --green: #214c3d;
  --mint: #a9dfc2;
  --coral: #f06f4f;
  --line: rgba(23, 32, 27, 0.18);
  --shadow: 0 25px 60px rgba(26, 40, 33, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }   /* width/height в HTML задают пропорции, а не растягивают картинку */
body { overflow-x: clip; }   /* повёрнутые элементы (page-tab, keys-tag) не должны давать горизонтальную прокрутку */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h1 { font-size: clamp(3.15rem, 7.3vw, 7.4rem); margin-bottom: 1.8rem; }
h1 em { color: var(--coral); font-weight: 500; }
h2 { font-size: clamp(2.45rem, 5vw, 4.9rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.65rem; }

.site-header {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 750; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  font: 700 0.78rem/1 ui-sans-serif, sans-serif;
  letter-spacing: 0.04em;
}
.header-link { font-size: 0.92rem; font-weight: 700; text-underline-offset: 0.25rem; }

.hero {
  min-height: calc(100vh - 79px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 6.5rem);
  overflow: hidden;
}
.hero-copy { max-width: 780px; }
.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--mint); }
.hero-lede { max-width: 650px; margin-bottom: 2rem; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 25px rgba(33, 76, 61, 0.2); }
.button-primary:hover { background: #173c30; }
.button-light { color: var(--green); background: var(--cream); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16); }
.microcopy { margin: 0.85rem 0 0 0.8rem; color: rgba(23, 32, 27, 0.67); font-size: 0.82rem; }

.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint);
  transform: translate(5%, -3%);
}
.paper-stack {
  position: relative;
  z-index: 1;
  width: min(77%, 430px);
  padding: 10px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.paper-stack::before {
  content: "";
  position: absolute;
  inset: 12px -15px -15px 14px;
  z-index: -1;
  border: 1px solid var(--line);
  background: #e8e0d1;
}
.visual-note, .keys-tag { position: absolute; z-index: 2; font-weight: 800; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); }
.visual-note { top: 12%; left: 1%; padding: 0.8rem 1.1rem; border-radius: 999px; background: var(--coral); color: white; transform: rotate(-8deg); }
.keys-tag { right: -2%; bottom: 10%; display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.2rem; background: var(--cream); transform: rotate(4deg); }
.keys-tag span { display: block; width: 22px; height: 22px; border: 4px solid var(--green); border-radius: 50%; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: var(--cream); }
.proof-strip span { padding: 1.4rem 1rem; text-align: center; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.proof-strip span + span { border-left: 1px solid var(--line); }
.section-pad { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 8rem); }
.section-heading { max-width: 980px; margin-bottom: 4rem; }
.section-heading.compact { margin-bottom: 2rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step-card { min-height: 310px; padding: 2rem; border-bottom: 1px solid var(--line); }
.step-card + .step-card { border-left: 1px solid var(--line); }
.step-card.accent-card { background: var(--mint); }
.step-number { display: inline-block; margin-bottom: 5rem; color: var(--coral); font-size: 0.78rem; font-weight: 900; }
.step-card p { max-width: 330px; margin-bottom: 0; color: rgba(23, 32, 27, 0.76); }

.inside { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; background: var(--green); color: var(--cream); }
.inside-preview { position: relative; width: min(90%, 490px); justify-self: center; padding: 9px; background: white; box-shadow: 0 32px 70px rgba(0, 0, 0, 0.3); transform: rotate(-2deg); }
.page-tab { position: absolute; right: -3rem; bottom: 2rem; max-width: 150px; padding: 0.8rem 1rem; background: var(--coral); color: white; font-size: 0.8rem; font-weight: 800; transform: rotate(5deg); }
.inside-copy .eyebrow { color: var(--mint); }
.use-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.use-list li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.use-list span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--mint); border-radius: 50%; color: var(--mint); font-weight: 800; }
.use-list p { margin: 0; font-size: 1.05rem; }

.form-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); background: var(--coral); color: white; }
.form-intro > p:not(.eyebrow) { max-width: 520px; font-size: 1.08rem; }
.trust-box { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.4); }
.trust-box strong { display: block; margin-bottom: 0.2rem; }
.trust-box p { margin-bottom: 1.2rem; opacity: 0.85; }
.lead-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--green); box-shadow: var(--shadow); }
.lead-form label, .privacy-form label { display: grid; gap: 0.55rem; margin-bottom: 1.25rem; font-size: 0.88rem; font-weight: 750; }
.lead-form small { opacity: 0.65; font-weight: 500; }
input, select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
}
select option { color: var(--ink); background: white; }
input::placeholder { color: rgba(255, 255, 255, 0.55); }
input:focus, select:focus { outline: 3px solid var(--mint); outline-offset: 2px; }
.check-row { grid-template-columns: 20px 1fr !important; align-items: start; font-weight: 500 !important; }
.check-row input { min-height: auto; margin-top: 0.25rem; accent-color: var(--mint); }
.form-notice { margin: 1rem 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.75rem; }
.form-status { display: none; margin-bottom: 1rem; padding: 0.8rem; background: var(--mint); color: var(--ink); font-weight: 750; }
.form-status.visible { display: block; }
.form-status.error { color: #781e13; background: #ffd7cc; }
.bot-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.fit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 8vw; align-items: end; }
.fit-copy { max-width: 580px; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.faq { background: var(--cream); }
.faq-list { max-width: 980px; margin-left: auto; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; font-size: 1.08rem; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0.3rem; font-size: 1.4rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 2rem 1.4rem 0; color: rgba(23, 32, 27, 0.72); }
.final-cta { padding: clamp(5rem, 10vw, 9rem) 1.25rem; text-align: center; color: white; background: var(--green); }
.final-cta h2 { max-width: 900px; margin-inline: auto; }

footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; padding: 3rem clamp(1.25rem, 5vw, 6rem); background: #111713; color: rgba(255, 255, 255, 0.75); font-size: 0.86rem; }
.footer-brand { color: white; }
footer nav { display: flex; gap: 1rem; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }

.privacy-page { background: var(--cream); }
.privacy-wrap { max-width: 900px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 1.25rem; }
.privacy-wrap h1 { max-width: 820px; font-size: clamp(3rem, 7vw, 6rem); }
.updated { color: rgba(23, 32, 27, 0.62); }
.privacy-wrap > section { padding: 2rem 0; border-top: 1px solid var(--line); }
.privacy-wrap section h2 { font-family: inherit; font-size: 1.25rem; font-weight: 800; letter-spacing: 0; }
.privacy-wrap section p { max-width: 760px; }
.privacy-request { margin-top: 2rem; padding: 2rem !important; background: var(--paper); }
.privacy-form input, .privacy-form select { color: var(--ink); border-color: var(--line); background: white; }
.privacy-form input::placeholder { color: rgba(23, 32, 27, 0.4); }

@media (max-width: 900px) {
  .hero, .inside, .form-section, .fit { grid-template-columns: 1fr; }
  .hero { padding-top: 4.5rem; }
  .hero-visual { min-height: 500px; }
  .hero-visual::before { width: min(80vw, 470px); }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .proof-strip span:nth-child(4) { border-top: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .step-card + .step-card { border-left: 0; }
  .step-number { margin-bottom: 3rem; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 560px) {
  .site-header { min-height: 66px; }
  .header-link { font-size: 0.78rem; }
  .brand > span:last-child { display: none; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .hero-visual { min-height: 440px; }
  .paper-stack { width: 78%; }
  .visual-note { left: -2%; top: 10%; }
  .keys-tag { right: -3%; bottom: 7%; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip span + span { border-left: 0; border-top: 1px solid var(--line); }
  .section-pad { padding-inline: 1.25rem; }
  .page-tab { right: -1.1rem; }
  .lead-form { margin-inline: -0.25rem; padding: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
