:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #4f5968;
  --line: #e6e8ee;
  --brand: #111827;
  --accent: #b4532a;
  --accent-soft: #f6ebe6;
  --beige: #f6f3f1;
  --ok: #176b4a;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(17, 24, 39, 0.07);
  --container: 70rem;
  --container-wide: 78rem;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --header: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--brand); }
a:hover { color: var(--accent); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.75rem;
}
.skip:focus { top: 0.75rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container--wide {
  width: min(100% - 2rem, var(--container-wide));
}

.section { padding: 4rem 0; }
.section--compact { padding: 3rem 0; }
.section--roomy { padding: 5rem 0; }
.section--soft { background: var(--surface); }
.section--tint { background: var(--beige); }

.section-head {
  max-width: 40rem;
  margin-bottom: 1.85rem;
}
.section-head h2 {
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--accent-soft);
}
.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.section-head .law-claim {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 550;
}

h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.18; }
h1 {
  margin: 0;
  max-width: 10.4em;
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  font-weight: 650;
  line-height: 1.2;
}
h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 650; }
h3 { margin: 0 0 0.4rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 600; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:focus-visible,
.nav a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #000; color: #fff; }
.btn--ghost {
  background: #fff;
  color: var(--accent);
  border-color: #e4c4b4;
}
.btn--ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #eadfd8;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  color: inherit;
  text-decoration: none;
  line-height: 1.15;
}
.logo-name { font-weight: 650; letter-spacing: -0.03em; }
.logo-name em { font-style: normal; color: var(--accent); }
.logo-tag { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav { display: none; align-items: center; gap: 1.25rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.nav-panel {
  display: none;
  background: #fff;
  border-bottom: 1px solid #eadfd8;
  padding: 0.85rem 1rem 1.1rem;
}
.nav-panel.is-open { display: grid; gap: 0.8rem; }
.nav-panel a { color: var(--ink); text-decoration: none; font-weight: 500; }

.hero { padding: 3.25rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { max-width: 36rem; }
.hero-desc {
  margin: 0.95rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero-visual { width: 100%; }

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem 1.2rem;
}

.hero-mock {
  padding: 1.45rem 1.5rem 1.55rem;
  border-color: #eadfd8;
  box-shadow: 0 18px 48px rgba(180, 83, 42, 0.08), 0 10px 28px rgba(17, 24, 39, 0.06);
}
.hero-mock .mock-stat b { font-size: 1.35rem; color: var(--accent); }
.hero-mock .mock-progress { height: 10px; margin-bottom: 1.1rem; }
.hero-mock .mock-row { padding: 0.55rem 0; font-size: 0.95rem; }
.mock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.mock-stat {
  background: var(--bg);
  border-radius: 10px;
  padding: 0.7rem 0.65rem;
}
.mock-stat b { display: block; font-size: 1.15rem; letter-spacing: -0.03em; }
.mock-stat span { color: var(--muted); font-size: 0.78rem; }
.mock-progress {
  height: 8px;
  background: var(--bg);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.mock-progress i {
  display: block;
  height: 100%;
  width: 75%;
  background: var(--accent);
  border-radius: 99px;
}
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.status {
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 99px;
  padding: 0.18rem 0.55rem;
}
.status--done { background: #e8f6ef; color: var(--ok); }
.status--run { background: var(--accent-soft); color: var(--accent); }
.status--wait { background: var(--bg); color: var(--muted); }

.trust {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid #eadfd8;
  border-bottom: 1px solid #eadfd8;
  background: #fbf8f6;
}
.trust div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 550;
}
.trust svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 16px; }

.steps {
  display: grid;
  gap: 1.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 0.2rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.tools-lead {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.tools-note {
  margin: 0.75rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid #eadfd8;
  border-radius: 16px;
}
.tools span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid #eadfd8;
  border-radius: 999px;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.tools span svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.grid-3, .grid-4 { display: grid; gap: 1rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: border-color 180ms ease;
}
.card:hover { border-color: #e4c4b4; }
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.card-icon { width: 18px; height: 18px; color: var(--accent); margin-bottom: 0.85rem; }

.deliverables { counter-reset: deliver; }
.deliverables .card { padding-top: 1.2rem; }
.deliverables .card h3::before {
  counter-increment: deliver;
  content: counter(deliver, decimal-leading-zero);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.showcase { display: grid; gap: 1rem; }
.showcase-stack { position: relative; min-height: 16rem; }
.showcase-stack .mock { position: relative; }
.showcase-stack .mock:nth-child(2) { margin-top: -2.5rem; margin-left: 1.5rem; }
.showcase-stack .mock:nth-child(3) { margin-top: -2.2rem; margin-right: 1.25rem; }

.syllabus {
  display: grid;
  gap: 1.75rem 2rem;
}
.syllabus h3 {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.syllabus ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.syllabus li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}
.syllabus li:last-child { border-bottom: 0; }

.checks {
  display: grid;
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.28rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.legal-points {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: legal;
}
.legal-points li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1.02rem;
  line-height: 1.5;
}
.legal-points li::before {
  counter-increment: legal;
  content: counter(legal, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.legal-more {
  max-width: 42rem;
  border-top: 1px solid #eadfd8;
}
.legal-more summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
}
.legal-more summary::-webkit-details-marker { display: none; }
.legal-more p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.team { display: grid; gap: 1.25rem; }
.member {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  grid-template-areas:
    "photo name"
    "photo role"
    "photo bio";
  column-gap: 0.95rem;
  row-gap: 0.15rem;
  align-items: start;
}
.avatar,
.member img {
  grid-area: photo;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
}
.avatar {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}
.member h3 {
  grid-area: name;
  margin: 0.15rem 0 0;
  font-size: 1.08rem;
}
.member h3 a { color: inherit; text-decoration: none; }
.member .role {
  grid-area: role;
  margin: 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}
.member .role a { color: inherit; }
.member p:last-child {
  grid-area: bio;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.price-wrap {
  display: grid;
  gap: 1.5rem;
  justify-items: stretch;
}
.price-wrap .section-head { margin-bottom: 0; }
.price-card {
  width: min(100%, 32rem);
  justify-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.price-card .amount {
  margin: 0 0 0.35rem;
  font-size: 3.35rem;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-card .amount small {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.price-card .checks li {
  border-bottom: 0;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.price-card .btn { margin-top: 1.1rem; width: 100%; }
.price-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.faq { max-width: 44rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.3rem 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.lead { display: grid; gap: 2rem; }
.lead-sub {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}
.lead-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}
.lead-points li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.15rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.lead-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 99px;
  background: var(--accent);
}

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.78rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 5.5rem; resize: vertical; }
.form-note, .form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="wait"] { color: var(--accent); }

.placeholder {
  background: #fff6d6;
  border: 1px dashed #c9a227;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85em;
}

.footer {
  padding: 2.25rem 0;
  border-top: 1px solid #eadfd8;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: center;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--accent); }

.legal-page { padding: 2.5rem 0 3.5rem; }
.legal-page h1 { font-size: 2rem; max-width: none; }
.legal-page h2 { margin-top: 1.75rem; font-size: 1.25rem; }

@media (max-width: 419px) { .logo-tag { display: none; } }

@media (min-width: 720px) {
  .nav { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .grid-3, .steps { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .syllabus { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .legal-points { grid-template-columns: 1fr 1fr; }
  .steps {
    gap: 1.75rem;
  }
  .steps li {
    padding-top: 0.85rem;
    border-top: 2px solid var(--accent-soft);
  }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.22fr; gap: 3.25rem; }
  .lead { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .grid-4, .steps--4, .syllabus { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 4.25rem 0 4.5rem; }
  .section { padding: 4.75rem 0; }
  .section--compact { padding: 3.25rem 0; }
  .section--roomy { padding: 6rem 0; }
  .hero-mock { padding: 1.7rem 1.75rem 1.8rem; }
  .price-wrap {
    grid-template-columns: 1fr minmax(20rem, 28rem);
    align-items: center;
    column-gap: 3rem;
  }
  .price-card {
    width: 100%;
    justify-self: stretch;
  }
  .price-extra { grid-column: 1 / -1; }
  .showcase { grid-template-columns: 1.15fr 0.95fr 0.95fr; }
}

@media (max-width: 719px) {
  .header-cta .btn { display: none; }
  .hero-actions .btn { width: 100%; }
  h1 { max-width: none; }
}
