@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Onest:wght@500;600;700&display=swap");

:root {
  --bg: #efede6;
  --paper: #fcfbf7;
  --ink: #18211d;
  --muted: #606b64;
  --line: rgba(24, 33, 29, 0.12);
  --accent: #d9563e;
  --acid: rgb(210, 220, 195);
  --accent-surface: #e4e6d6;
  --dark: #17231d;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 42px;
  --container: 1180px;
  --shadow: 0 30px 90px rgba(23, 35, 29, 0.12);
  --shadow-soft: 0 16px 50px rgba(23, 35, 29, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  padding-block: 14px;
  border-bottom: 1px solid rgba(24, 33, 29, 0.08);
  background: rgba(239, 237, 230, 0.76);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 8px 34px rgba(24, 33, 29, 0.035);
}

.header-row,
.nav,
.hero-actions,
.trust-row,
.about-facts,
.footer-row {
  display: flex;
  align-items: center;
}

.header-row {
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Onest", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  place-items: center;
  box-shadow: 0 8px 24px rgba(24, 33, 29, 0.18);
}

.nav {
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.nav a:not(.button) {
  position: relative;
}

.nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  content: "";
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 154px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 24%, rgba(223, 90, 63, 0.12), transparent 22%),
    radial-gradient(circle at 14% 70%, rgba(210, 220, 195, 0.42), transparent 26%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 110px;
  right: 7%;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(24, 33, 29, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  min-width: 0;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Onest", Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(52px, 6.7vw, 92px);
  font-weight: 600;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button-primary::after,
.external-link-icon {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3 2h5v5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3 2h5v5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
}

.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.portrait {
  position: relative;
  min-height: 550px;
}

.portrait-frame {
  position: absolute;
  inset: 18px 0 0 24px;
  overflow: hidden;
  border-radius: 220px 220px 32px 32px;
  background: linear-gradient(145deg, #315744, #17231d 68%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.status-card {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: -20px;
  width: 220px;
  padding: 18px 18px 18px 26px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background: rgba(235, 232, 222, 0.56);
  box-shadow: 0 22px 64px rgba(23, 35, 29, 0.1);
  backdrop-filter: blur(24px) saturate(108%);
}

.status-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  color: #16201b;
}

.status-card span {
  color: #4f5a54;
  font-size: 12px;
  font-weight: 500;
}

.trust {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.trust-row {
  min-height: 92px;
  justify-content: space-between;
  gap: 28px;
}

.trust-label {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.company-list {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 42px);
  color: #7b837e;
  font-family: "Onest", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.authority {
  position: relative;
  padding: 82px 0 104px;
  overflow: hidden;
  background: var(--paper);
}

.authority::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(24, 33, 29, 0.08);
  border-radius: 50%;
  content: "";
}

.authority-layout {
  display: grid;
  margin-bottom: 76px;
  grid-template-columns: minmax(250px, 0.56fr) minmax(0, 1.44fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.authority-visual {
  position: relative;
  height: 480px;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 29, 0.09);
  border-radius: 34px;
  background: #d9d9d2;
  box-shadow: 0 30px 90px rgba(23, 35, 29, 0.12);
}

.authority-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.authority-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.authority-copy h2 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.5vw, 62px);
}

.authority-copy h2 span {
  display: block;
}

.authority-copy > p {
  max-width: 800px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.profile-links {
  display: flex;
  margin-top: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.profile-links .text-link {
  margin: 0;
}

.authority-facts {
  display: grid;
  margin-bottom: 68px;
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.authority-facts article {
  min-height: 180px;
  padding: 30px 24px 28px 0;
}

.authority-facts article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.authority-facts strong {
  display: block;
  margin-bottom: 28px;
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.authority-facts span {
  display: block;
  max-width: 210px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.company-showcase {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 34px;
}

.company-showcase > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-logos {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(23, 35, 29, 0.075);
}

.company-logo {
  display: grid;
  min-width: 0;
  min-height: 104px;
  padding: 20px 18px;
  place-items: center;
  transition: background 180ms ease, filter 180ms ease;
}

.company-logo + .company-logo {
  border-left: 1px solid var(--line);
}

.company-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: saturate(0.72) opacity(0.82);
  transition: filter 180ms ease, transform 180ms ease;
}

.company-logo:hover {
  background: rgba(255, 255, 255, 0.42);
}

.company-logo:hover img {
  filter: saturate(1) opacity(1);
  transform: translateY(-2px);
}

.company-logo-yandex img {
  width: min(100%, 126px);
}

.company-logo-rostelecom img {
  width: min(100%, 132px);
}

.company-logo-mts img {
  width: 48px;
  max-height: 48px;
}

.company-logo-myoffice img {
  width: min(100%, 130px);
}

.company-logo-epam img {
  width: min(100%, 116px);
}

.company-logo-megafon img {
  width: min(100%, 138px);
}

.personal-note {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(24, 33, 29, 0.28);
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  transition: border-color 180ms ease, color 180ms ease;
}

.wave-divider {
  position: relative;
  z-index: 2;
  height: 78px;
  margin-bottom: -1px;
  overflow: hidden;
  pointer-events: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-to-dark {
  margin-top: -28px;
  background: var(--paper);
}

.wave-to-dark path {
  fill: var(--dark);
}

.wave-to-light {
  margin-top: -1px;
  background: var(--dark);
}

.wave-to-light path {
  fill: var(--bg);
}

.wave-hero-to-authority {
  height: 84px;
  margin-top: -78px;
  background: transparent;
}

.wave-hero-to-authority path {
  fill: var(--paper);
}

.wave-bg-to-paper {
  margin-top: -24px;
  background: var(--bg);
}

.wave-bg-to-paper path {
  fill: var(--paper);
}

.wave-paper-to-mist {
  margin-top: -24px;
  background: var(--paper);
}

.wave-paper-to-mist path {
  fill: #e6e7df;
}

.wave-mist-to-bg {
  margin-top: -24px;
  background: #e6e7df;
}

.wave-mist-to-bg path {
  fill: var(--bg);
}

.wave-results-to-dark {
  margin-top: -24px;
  background: var(--bg);
}

.wave-results-to-dark path {
  fill: var(--dark);
}

.wave-results-to-light {
  margin-top: -1px;
  background: var(--dark);
}

.wave-results-to-light path {
  fill: var(--bg);
}

.section-after-wave {
  padding-top: 82px;
}

.personal-note strong {
  color: var(--ink);
  font-size: 14px;
}

.personal-note i {
  color: var(--accent);
  font-size: 17px;
  font-style: normal;
}

.personal-note:hover strong {
  color: var(--accent);
}

.personal-note:hover {
  border-color: var(--accent);
}

.section {
  padding-block: 118px;
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.65);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  margin-bottom: 62px;
}

.section-kicker {
  margin: 5px 0 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 600;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.problem {
  min-height: 280px;
  padding: 30px 34px 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.problem + .problem {
  padding-left: 34px;
}

.problem:nth-child(odd) {
  padding-left: 0;
}

.problem:nth-child(2n) {
  border-right: 0;
}

.problem:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.problem-index {
  display: block;
  margin-bottom: 64px;
  color: var(--acid);
  font-size: 13px;
}

.problem h3 {
  margin-bottom: 18px;
  font-size: 25px;
}

.problem p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.outcome-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid rgba(24, 33, 29, 0.1);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(23, 35, 29, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.outcome-card:hover {
  border-color: rgba(24, 33, 29, 0.16);
  box-shadow: 0 26px 70px rgba(23, 35, 29, 0.1);
  transform: translateY(-4px);
}

.outcome-card:nth-child(2) {
  background: #e4e6d6;
}

.outcome-card:nth-child(3) {
  background: #dfe9e4;
}

.outcome-card:nth-child(4) {
  background: #ead7cf;
}

.outcome-card:nth-child(5) {
  background: #e8dfd0;
}

.outcome-card:nth-child(6) {
  background: #dddde8;
}

.card-number {
  display: block;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.outcome-card h3 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: 29px;
}

.outcome-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: #536059;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.process-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}

.process-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 66px);
}

.process-intro p {
  max-width: 430px;
  color: var(--muted);
  font-size: 18px;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.process-step span {
  color: var(--accent);
  font-family: "Onest", Arial, sans-serif;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.process-step .process-result {
  margin-top: 12px;
  color: var(--ink);
}

.process-result strong {
  font-weight: 700;
}

.section-paper {
  background: var(--paper);
}

.learning {
  background: #e6e7df;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.learning-card,
.request-card,
.testimonial-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(23, 35, 29, 0.035);
}

.learning-card {
  min-height: 270px;
}

.learning-card-wide {
  grid-column: 1 / -1;
}

.learning-card > strong {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
}

.learning-card h3,
.request-card h3 {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: 27px;
}

.learning-card p,
.request-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.about {
  overflow: hidden;
}

.about .container {
  width: min(calc(100% - 40px), 1280px);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark);
}

.about-image {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center top;
}

.about-copy > p {
  margin: 28px 0 36px;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-bottom: 30px;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.about-facts {
  align-items: stretch;
  border-block: 1px solid var(--line);
}

.request-examples {
  padding-bottom: 40px;
}

.request-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.request-card {
  min-height: 280px;
}

.testimonial-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.testimonial-card blockquote {
  margin: 0 0 32px;
  color: #455047;
  font-size: 18px;
}

.testimonial-person {
  margin-top: auto;
}

.testimonial-person h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.testimonial-person p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.domains {
  padding-top: 40px;
}

.section-intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.domain-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.domain-card:nth-child(2),
.domain-card:nth-child(5) {
  background: #e9e5dc;
}

.domain-card:nth-child(3),
.domain-card:nth-child(6) {
  background: #dde8e4;
}

.domain-card > span {
  display: block;
  margin-bottom: 70px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.domain-card h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

.domain-card p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.fact {
  flex: 1;
  padding: 22px 20px 22px 0;
}

.fact + .fact {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-family: "Onest", Arial, sans-serif;
  font-size: 30px;
  line-height: 1.1;
}

.fact span {
  color: var(--muted);
  font-size: 12px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.evidence-card {
  min-height: 250px;
  padding: 34px 28px 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.evidence-card + .evidence-card {
  padding-left: 28px;
}

.evidence-card:last-child {
  border-right: 0;
}

.evidence-card strong {
  display: block;
  margin-bottom: 80px;
  color: var(--acid);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.evidence-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.faq-list {
  max-width: 900px;
  margin-left: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  display: grid;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: none;
  color: var(--ink);
  grid-template-columns: 1fr 36px;
  gap: 24px;
  text-align: left;
  cursor: pointer;
}

.faq-button span:first-child {
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item[data-open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  display: grid;
  max-width: 720px;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding-bottom: 28px;
  margin: 0;
  color: var(--muted);
}

.faq-item[data-open] .faq-answer {
  grid-template-rows: 1fr;
}

.contact {
  padding-block: 28px;
}

.contact-panel {
  display: grid;
  padding: 70px;
  border-radius: var(--radius-lg);
  background: var(--accent-surface);
  grid-template-columns: 1fr 0.82fr;
  gap: 70px;
  box-shadow: 0 30px 100px rgba(23, 35, 29, 0.16);
}

.contact-copy p {
  max-width: 520px;
  margin: 26px 0 0;
  color: #455047;
  font-size: 18px;
}

.direct-contacts {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.direct-contacts .text-link {
  margin-bottom: 0;
}

.contact-form {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(48, 69, 39, 0.14);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: white;
  color: var(--ink);
}

.field input,
.field select {
  height: 48px;
  padding-inline: 14px;
}

.field textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(24, 33, 29, 0.08);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-caption,
.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.form-status {
  color: #355025;
  font-weight: 700;
}

.site-footer {
  padding: 52px 0 26px;
}

.footer-row {
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal][data-visible] {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow);
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .nav[data-open] {
    display: flex;
  }

  .nav .button {
    margin-top: 4px;
  }

  .hero-grid,
  .process-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-grid {
    gap: 50px;
  }

  .portrait {
    min-height: 600px;
  }

  .portrait-frame {
    right: 7%;
    left: 7%;
  }

  .status-card {
    left: 3%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .authority-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .authority-visual {
    width: min(460px, 72%);
    height: 520px;
  }

  .profile-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .authority-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .authority-facts article:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .authority-facts article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .company-showcase {
    grid-template-columns: 1fr;
  }

  .company-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-logo:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .company-logo:nth-child(5),
  .company-logo:nth-child(6) {
    border-top: 1px solid var(--line);
  }

  .process-layout {
    gap: 52px;
  }

  .process-intro {
    position: static;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .learning-grid,
  .request-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .learning-card-wide {
    grid-column: auto;
  }

  .evidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-card:nth-child(2) {
    border-right: 0;
  }

  .contact-panel {
    gap: 46px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding-top: 16px;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 54px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .eyebrow {
    align-items: flex-start;
    white-space: normal;
  }

  .eyebrow::before {
    flex: 0 0 auto;
    margin-top: 6px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .portrait {
    min-height: 500px;
  }

  .portrait-frame {
    inset: 0;
    border-radius: 160px 160px 28px 28px;
  }

  .status-card {
    right: 14px;
    bottom: 16px;
    left: 14px;
    width: auto;
  }

  .trust-row {
    padding-block: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .company-list {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 14px;
  }

  .section {
    padding-block: 78px;
  }

  .authority {
    padding: 78px 0 68px;
  }

  .authority-layout {
    margin-bottom: 48px;
  }

  .authority-copy h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .authority-copy > p {
    font-size: 16px;
  }

  .authority-visual {
    width: 86%;
    height: 430px;
    border-radius: 28px;
  }

  .authority-facts {
    margin-bottom: 50px;
    grid-template-columns: 1fr;
  }

  .authority-facts article,
  .authority-facts article + article,
  .authority-facts article:nth-child(3) {
    min-height: auto;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .authority-facts article:first-child {
    border-top: 0;
  }

  .authority-facts strong {
    margin-bottom: 12px;
  }

  .authority-facts span {
    max-width: 280px;
  }

  .company-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-logo:nth-child(3),
  .company-logo:nth-child(5) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .company-logo:nth-child(4),
  .company-logo:nth-child(6) {
    border-top: 1px solid var(--line);
  }

  .personal-note {
    margin-top: 28px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2,
  .process-intro h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .problem-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .problem {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .problem:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .problem:last-child {
    border-bottom: 0;
  }

  .problem + .problem {
    padding-left: 0;
  }

  .problem-index {
    margin-bottom: 34px;
  }

  .outcome-card {
    min-height: auto;
    padding: 28px;
    border-color: var(--line);
    background: var(--paper);
    box-shadow: none;
  }

  .card-number {
    margin-bottom: 30px;
  }

  .process-step {
    grid-template-columns: 40px 1fr;
  }

  .domain-card {
    min-height: auto;
    padding: 28px;
    background: var(--paper);
  }

  .domain-card:nth-child(2),
  .domain-card:nth-child(3),
  .domain-card:nth-child(5),
  .domain-card:nth-child(6) {
    background: var(--paper);
  }

  .domain-card > span {
    margin-bottom: 38px;
  }

  .about-facts {
    flex-direction: column;
  }

  .learning-card,
  .request-card,
  .testimonial-card {
    min-height: auto;
    padding: 28px;
  }

  .fact + .fact {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-card,
  .evidence-card + .evidence-card {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .evidence-card strong {
    margin-bottom: 28px;
  }

  .contact {
    padding-top: 14px;
  }

  .contact-panel {
    padding: 38px 22px 22px;
    border-radius: 30px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .footer-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
