:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #e1e5ea;
  --soft: #f7f9fa;
  --accent: #0f766e;
  --accent-dark: #0a5d57;
  --white: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Inter", sans-serif; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 3px; }

header, section, footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 650; text-decoration: none; }
.brand span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); color: var(--accent); font-size: 9px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-link { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 13px; text-decoration: none; }
.header-link:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.label { margin: 0 0 24px; color: var(--accent-dark); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 980px; margin-bottom: 30px; font-size: clamp(54px, 5.5vw, 76px); font-weight: 600; letter-spacing: -.055em; line-height: 1.01; }
.lead { max-width: 780px; margin-bottom: 36px; color: var(--muted); font-size: 21px; line-height: 1.62; }
.primary-button { display: inline-flex; align-items: center; gap: 44px; padding: 15px 18px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; text-decoration: none; }
.primary-button:hover { background: var(--accent-dark); }

.credentials { display: grid; grid-template-columns: 1.2fr .75fr .9fr 1.25fr; margin-top: 72px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.credentials div { min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credentials span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.credentials strong { margin-top: 7px; font-size: 16px; font-weight: 600; }

.consulting-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 48px; }
.consulting-areas article { padding-top: 23px; border-top: 2px solid var(--ink); }
.consulting-areas h2 { margin-bottom: 13px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.consulting-areas p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.founder-profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.founder-profile h2 { max-width: 520px; margin-bottom: 0; font-size: clamp(38px, 4vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
.founder-copy { align-self: end; max-width: 650px; }
.founder-copy p { margin-bottom: 28px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.profile-link { display: inline-flex; align-items: center; gap: 36px; color: var(--accent-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.profile-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.method, .contact { width: 100%; padding-right: max(24px, calc((100vw - var(--max)) / 2)); padding-left: max(24px, calc((100vw - var(--max)) / 2)); }
.method { background: var(--soft); }
.method-heading, .contact-copy { max-width: 790px; }
.method-heading h2, .contact h2 { margin-bottom: 25px; font-size: clamp(46px, 4.8vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1.03; }
.method-heading > p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.steps { width: min(860px, 100%); margin: 46px 0 0 auto; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li > span { padding-top: 4px; color: var(--accent-dark); font-size: 12px; font-weight: 600; }
.steps h3 { margin-bottom: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.contact-copy > p:not(.label) { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.68; }
.contact-copy > a { display: inline-block; margin-top: 17px; color: var(--accent-dark); font-size: 16px; font-weight: 600; text-underline-offset: 5px; }
form { width: min(860px, 100%); display: flex; flex-direction: column; gap: 19px; margin: 46px 0 0 auto; padding: 32px; border: 1px solid var(--line); background: var(--soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
input, textarea { width: 100%; padding: 12px 13px; border: 1px solid #cdd3da; border-radius: 0; background: var(--white); color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
::placeholder { color: #8b94a1; }
.hidden-field { position: absolute; left: -9999px; }
form button { align-self: flex-start; display: inline-flex; align-items: center; gap: 48px; padding: 14px 17px; border: 0; border-radius: 0; background: var(--accent); color: var(--white); font-size: 13px; font-weight: 600; cursor: pointer; }
form button:hover { background: var(--accent-dark); }
form button:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 19px; margin: 0; color: var(--muted); font-size: 12px; }
.form-status.success { color: var(--accent-dark); }
.form-status.error { color: #b42318; }

footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 11px; }
footer strong { color: var(--ink); font-size: 13px; }

@media (max-width: 800px) {
  .credentials { grid-template-columns: 1fr 1fr; }
  .consulting-areas { grid-template-columns: 1fr; gap: 32px; }
  .founder-profile { grid-template-columns: 1fr; gap: 40px; }
  .founder-copy { max-width: 720px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  header, section, footer { width: calc(100% - 32px); }
  section { padding: 76px 0; }
  h1 { font-size: 50px; }
  .lead { font-size: 19px; }
  header { flex-wrap: wrap; gap: 12px; padding-block: 16px; }
  .header-actions { gap: 14px; }
  .header-actions .header-link:first-child { display: none; }
  .credentials { grid-template-columns: 1fr; margin-top: 68px; }
  .credentials div { min-height: 86px; }
  .method, .contact { width: 100%; padding: 76px 20px; }
  .method-heading h2, .contact h2 { font-size: 43px; }
  .steps, form { margin-top: 38px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
  form { padding: 22px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  footer span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
