/* moreseo.ru — design tokens
   Reference direction: bright modern-digital (light, vivid) — white ground, a saturated
   coral↔emerald gradient wash scoped to the hero band (cf. 21st.dev "HeroSectionWithGradient"
   pattern: soft vivid gradient background + bold dark headline + one gradient-ring button —
   reinterpreted in our own coral/green hues, not the reference's peach/pink/lavender and
   not the generic purple-blue gradient antipattern). Golos Text for display type.
*/

:root {
  --paper: #ffffff;
  --paper-raised: #f6f5f1;
  --ink: #14171c;
  --muted: #62666f;
  --line: #e4e1da;
  --accent: #0f9d6e;        /* vivid emerald — labels, numbers, links */
  --accent-ink: #ffffff;
  --warm: #ff6b45;          /* vivid coral — CTA only */
  --warm-ink: #1c0d06;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PT Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-feature-settings: "tnum";
}

h1, h2, h3 { font-family: "Golos Text", "PT Sans", sans-serif; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink); }
a { color: inherit; }

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

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand .dot { color: var(--accent); }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; row-gap: 8px; }
.site-nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 64px 0; border-bottom: 1px solid var(--line); }
.hero-bottom { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }

/* byline: avatar + name, sits above the kicker */
.byline { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.avatar-slot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper-raised);
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: "Golos Text", sans-serif; font-weight: 700; font-size: 17px;
  color: var(--accent);
  flex: none;
  overflow: hidden;
}
.avatar-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.byline .who { font-size: 14.5px; color: var(--muted); }
.byline .who strong { color: var(--ink); font-weight: 600; }

.hero .kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.hero .lede {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 46ch;
}
.hero .cta-row { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* hero v3 (homepage first screen): centered layout on a vivid coral→emerald gradient wash,
   bold dark headline, dark CTA + gradient-ring secondary, floating photo card below —
   pattern cf. 21st.dev "HeroSectionWithGradient", own hues (coral/emerald, not pink/lavender) */
.hero-v3 {
  padding: 64px 0 0;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 520px at 50% -8%, color-mix(in srgb, var(--warm) 38%, white) 0%, transparent 62%),
    radial-gradient(ellipse 900px 560px at 50% 120%, color-mix(in srgb, var(--accent) 30%, white) 0%, transparent 60%),
    var(--paper);
}
.hero-v3-copy { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 26px;
  box-shadow: 0 2px 10px rgba(20, 23, 28, 0.06);
}
.hero-v3-copy h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 auto 22px;
  max-width: 16ch;
}
.hero-v3-copy .lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }
.hero-v3-copy .cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: center; }

.hero-v3-visual { position: relative; display: flex; justify-content: center; margin: 48px 0 0; }
.hero-photo-frame { position: relative; width: 100%; max-width: 360px; }
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(20, 23, 28, 0.28), 0 0 0 1px rgba(20,23,28,0.04);
}
.float-card {
  position: absolute;
  z-index: 2;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 14px 30px rgba(23, 27, 23, 0.12);
}
.float-card--stat { top: 6%; right: -10%; text-align: center; }
.float-card--stat .fc-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.float-card--stat .fc-value { font-size: 21px; color: var(--accent); font-weight: 700; }
.float-card--badge { bottom: 10%; left: -12%; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.float-card--badge .fc-icon { color: var(--warm); font-weight: 700; }

.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 44px 0 40px;
}
.trust-row .trust-label { font-family: "IBM Plex Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.trust-row .trust-item {
  font-family: "Golos Text", sans-serif; font-weight: 700; font-size: 13.5px; color: var(--ink);
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.cta-secondary {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.cta-secondary:hover { color: var(--accent); border-color: var(--accent); }

.stat-rail { display: flex; flex-direction: column; gap: 18px; padding-bottom: 4px; }
.stat-rail .stat { border-top: 1px solid var(--line); padding-top: 10px; }
.stat-rail .stat .n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  color: var(--accent);
  display: block;
}
.stat-rail .stat .l { font-size: 13.5px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--warm); color: var(--warm-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--warm) 88%, black); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 85%, white); }
.btn-ring {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: none;
  z-index: 0;
}
.btn-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  padding: 1.5px;
  background: linear-gradient(120deg, var(--warm), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- sections ---------- */
section.block { padding: 68px 0; border-bottom: 1px solid var(--line); }
section.block:last-of-type { border-bottom: none; }
.block .eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.block h2 { font-size: clamp(26px, 3vw, 34px); max-width: 22ch; margin-bottom: 8px; }
.block .lead { color: var(--muted); font-size: 17px; max-width: 58ch; margin-top: 10px; }

/* offer cards (hub) */
.offer-list { margin-top: 44px; display: flex; flex-direction: column; }
.offer-row {
  display: grid;
  grid-template-columns: 40px 1.4fr 1.6fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.offer-row:last-child { border-bottom: 1px solid var(--line); }
.offer-row .idx { font-family: "IBM Plex Mono", monospace; color: var(--muted); font-size: 14px; }
.offer-row h3 { font-size: 21px; }
.offer-row p { margin: 0; color: var(--muted); font-size: 15.5px; }
.offer-row .go { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--accent); white-space: nowrap; }
.offer-row.soon { opacity: .55; cursor: default; }
.offer-row.soon .go { color: var(--muted); }
.offer-row:not(.soon):hover { background: var(--paper-raised); }

/* approach */
.approach-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.approach-grid .item .num { font-family: "IBM Plex Mono", monospace; color: var(--accent); font-size: 14px; }
.approach-grid .item h3 { font-size: 18px; margin: 10px 0 8px; }
.approach-grid .item p { color: var(--muted); font-size: 15px; }

/* about block: photo + philosophy + stats */
.about-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: center;
}
.about-photo {
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--paper-raised);
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 52px;
  color: var(--accent);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-quote {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 500;
  font-size: 21px; line-height: 1.4; max-width: 44ch; color: var(--ink);
}
.about-text { margin-top: 16px; max-width: 54ch; color: var(--muted); font-size: 15.5px; }
.about-stats { display: flex; gap: 32px; margin-top: 22px; flex-wrap: wrap; }
.about-stats .stat .n { font-family: "IBM Plex Mono", monospace; font-size: 22px; color: var(--accent); display: block; }
.about-stats .stat .l { font-size: 13px; color: var(--muted); }

/* compact about strip (used on offer sub-pages) */
.about-strip { padding: 24px 0; border-bottom: 1px solid var(--line); }
.about-strip .wrap { display: flex; align-items: center; gap: 20px; }
.about-strip .about-photo { width: 56px; height: 56px; font-size: 20px; flex: none; }
.about-strip p { margin: 0; font-family: "Fraunces", serif; font-style: italic; font-size: 16px; color: var(--ink); max-width: 54ch; }
.about-strip a { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--accent); text-decoration: none; white-space: nowrap; margin-left: auto; }
.about-strip a:hover { text-decoration: underline; }

/* objections: doubt -> resolution pairs */
.objection-list { margin-top: 44px; }
.objection { padding: 28px 0; border-top: 1px solid var(--line); }
.objection:last-child { border-bottom: 1px solid var(--line); }
.objection .doubt {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 500;
  font-size: 19px; color: var(--muted); margin-bottom: 14px; max-width: 46ch;
}
.objection .answer-label {
  font-family: "IBM Plex Mono", monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px;
}
.objection .answer { color: var(--ink); font-size: 15.5px; max-width: 60ch; margin: 0; }

/* case studies (anonymised) */
.case-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.case-card { padding: 30px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.case-card:first-child { border-left: none; }
.case-card .tag {
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: 16px;
}
.case-card .row { margin-bottom: 14px; }
.case-card .row .k { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.case-card .row .v { font-size: 14.5px; }
.case-card .result {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.case-card .result .n { font-family: "IBM Plex Mono", monospace; font-size: 26px; color: var(--accent); display: block; }
.case-card .result .l { font-size: 13px; color: var(--muted); }

/* pricing tiers */
.tiers { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.tier { padding: 32px 26px; border-left: 1px solid var(--line); }
.tier:first-child { border-left: none; }
.tier.is-featured { background: var(--paper-raised); }
.tier .tier-name { font-family: "IBM Plex Mono", monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.tier .tier-for { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.tier .tier-price { font-family: "IBM Plex Mono", monospace; font-size: 19px; margin-top: 18px; color: var(--ink); }
.tier ul { list-style: none; margin: 20px 0 0; padding: 0; }
.tier li { font-size: 14.5px; color: var(--muted); padding: 9px 0; border-top: 1px solid var(--line); }
.tier li:first-child { border-top: none; }

/* process */
.process { margin-top: 44px; }
.process .step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.process .step:last-child { border-bottom: 1px solid var(--line); }
.process .step .num { font-family: "IBM Plex Mono", monospace; font-size: 22px; color: var(--accent); }
.process .step h3 { font-size: 18px; margin-bottom: 6px; }
.process .step p { color: var(--muted); font-size: 15px; margin: 0; }

/* faq */
.faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* cta band */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0;
  text-align: left;
}
.cta-band h2 { color: var(--paper); font-size: clamp(24px, 3vw, 32px); max-width: 20ch; }
.cta-band p { color: color-mix(in srgb, var(--paper) 70%, transparent); margin-top: 10px; max-width: 46ch; }
.cta-band .cta-row { margin-top: 26px; }
.cta-band .btn-ghost { border-color: color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper); }
.cta-band .btn-ghost:hover { border-color: var(--warm); color: var(--warm); }

/* footer */
.site-footer { padding: 34px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer, .site-footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* back link on subpages */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace; font-size: 13.5px;
  color: var(--muted); text-decoration: none; margin-bottom: 26px;
}
.back-link:hover { color: var(--accent); }

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 10px; }
  .site-nav { gap: 16px 20px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-photo-frame { max-width: 260px; margin: 0 auto; }
  .float-card--stat { right: 2%; }
  .float-card--badge { left: 2%; }
  .trust-row { row-gap: 10px; }
  .stat-rail { flex-direction: row; flex-wrap: wrap; }
  .stat-rail .stat { flex: 1 1 40%; }
  .approach-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-left: none; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: none; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { border-left: none; border-top: 1px solid var(--line); }
  .case-card:first-child { border-top: none; }
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .about-photo { margin: 0 0 8px; }
  .about-strip .wrap { flex-wrap: wrap; }
  .about-strip a { margin-left: 0; }
  .offer-row {
    grid-template-columns: 1fr;
    grid-template-areas: "idx" "title" "desc" "go";
    row-gap: 8px;
  }
  .offer-row .idx { grid-area: idx; }
  .offer-row h3 { grid-area: title; }
  .offer-row p { grid-area: desc; }
  .offer-row .go { grid-area: go; }
}
