:root {
  --ink: #243e56;
  --muted: #536b80;
  --red: #c52d52;
  --red-dark: #a92343;
  --line: #dfe5e8;
  --soft: #f3f6f7;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 15px/1.7 Arial, sans-serif;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button, summary {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  color: #21517a;
  line-height: 1.22;
  letter-spacing: -.025em;
}

h1 {
  font-size: 47px;
  font-weight: 600;
}

h2 {
  font-size: 31px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #d9a4af;
  outline-offset: 4px;
}

.container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.section {
  padding-block: 62px;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.header {
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.brand span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
}

.nav nav a:hover, .nav nav a[aria-current] {
  color: var(--red);
}

.nav nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 47px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

.button span {
  font-size: 17px;
  line-height: 1;
}

.button-primary {
  background: var(--red);
  color: white;
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-outline {
  color: var(--ink);
  background: white;
  border-color: #bec9cf;
}

.button-outline:hover {
  background: var(--soft);
}

.nav-login {
  font-size: 12px;
  min-height: 39px;
  padding: 9px 14px;
}

.text-link, .text-button {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

.text-link:hover, .text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-button {
  background: transparent;
  padding: 0;
  text-align: left;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 52px;
}

.hero h1 {
  margin-top: 15px;
  max-width: 650px;
}

.hero-description {
  margin-top: 24px;
  max-width: 590px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-audience {
  margin-top: 13px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.access-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 540px;
}

.access-note a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-visual img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  border-radius: 7px;
}

.hero-visual figcaption {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 13px;
  color: var(--muted);
}

.solutions {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: 60px;
  margin-bottom: 31px;
}

.section-heading>p {
  font-size: 14px;
  color: var(--muted);
  max-width: 470px;
}

.section-heading h2 {
  max-width: 570px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 65px;
}

.solution {
  padding-block: 23px;
  border-bottom: 1px solid var(--line);
}

.solution p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 500px;
}

.platform {
  background: var(--soft);
  padding-block: 56px;
}

.platform .section-heading {
  align-items: end;
}

.platform-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.platform-steps li {
  position: relative;
  padding-top: 21px;
  border-top: 1px solid #cbd7dc;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #a8b9c3;
  border-radius: 50%;
  font-size: 12px;
  margin-bottom: 15px;
}

.platform-steps h3 {
  font-size: 18px;
}

.platform-steps p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 11px;
}

.platform-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  border-top: 1px solid #cbd7dc;
  padding-top: 27px;
  margin-top: 28px;
  align-items: center;
}

.platform-bottom>div {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.platform-bottom p {
  color: var(--muted);
  font-size: 12px;
}

.platform-bottom .text-link {
  font-size: 12px;
}

.working-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.working-grid h3 {
  font-size: 19px;
}

.working-grid p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 13px;
}

.task-prompt {
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.task-prompt p {
  font-size: 13px;
  color: var(--muted);
}

.task-prompt button {
  flex-shrink: 0;
}

.about-teaser {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 35px;
  padding: 29px 34px;
  background: var(--soft);
  border-radius: 7px;
}

.about-teaser img {
  width: 142px;
  height: 155px;
  object-fit: cover;
  border-radius: 4px;
}

.about-teaser h2 {
  margin-top: 7px;
  font-size: 26px;
}

.about-teaser p:not(.eyebrow) {
  max-width: 830px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 11px;
}

.about-teaser .text-link {
  display: inline-block;
  margin-top: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-top: 62px;
}

.contact>div>p {
  max-width: 510px;
  color: var(--muted);
  margin-top: 14px;
  font-size: 14px;
}

.contact .button {
  margin-top: 24px;
}

.contact-details {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.contact-details .contact-name {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  margin-top: 0;
}

.contact-details .muted {
  font-size: 12px;
  margin-top: 6px;
}

.contact-phone {
  display: block;
  font-size: 25px;
  line-height: 1.4;
  margin-top: 20px;
  white-space: nowrap;
}

.contact-telegram {
  display: block;
  color: var(--red);
  font-size: 14px;
  margin-top: 12px;
}

.footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding-block: 23px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 12px;
  color: var(--muted);
}

.footer-inner>a:first-child {
  margin-right: auto;
  color: var(--ink);
  font-weight: 600;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 85px;
  padding-block: 43px 56px;
  align-items: start;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}

.about-hero h1 {
  font-size: 46px;
  margin-top: 13px;
}

.about-role {
  color: var(--muted);
  font-size: 17px;
  margin-top: 13px;
}

.about-hero .about-intro {
  margin-top: 24px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.about-hero p:not(.eyebrow):not(.about-role):not(.about-intro) {
  color: var(--muted);
  margin-top: 18px;
  font-size: 15px;
}

.about-hero .button {
  margin-top: 25px;
}

.portrait {
  margin-top: 54px;
}

.portrait img {
  width: 100%;
  max-width: 330px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
}

.portrait figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.experience {
  border-top: 1px solid var(--line);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 65px;
}

.experience-grid article {
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.experience-grid p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.education-section {
  background: var(--soft);
  padding-block: 50px;
}

.education>h2 {
  max-width: 580px;
  margin-bottom: 27px;
}

.education-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 23px;
  border-top: 1px solid #cbd7dc;
  padding-block: 23px;
}

.education-item:last-child {
  padding-bottom: 0;
}

.education-item>span {
  color: var(--muted);
  font-size: 15px;
}

.education-item h3 {
  font-size: 19px;
}

.education-item p {
  max-width: 800px;
  font-size: 14px;
  margin-top: 10px;
  color: var(--muted);
}

.practice {
  padding-bottom: 0;
}

.practice h2 {
  max-width: 720px;
}

.practice p {
  max-width: 860px;
  color: var(--muted);
  font-size: 15px;
  margin-top: 20px;
}

.practice .text-link {
  display: inline-block;
  margin-top: 21px;
}

.advantages-hero {
  padding-block: 35px 40px;
}

.advantages-hero .back-link {
  margin-bottom: 24px;
}

.advantages-hero h1 {
  max-width: 850px;
  margin-top: 13px;
  font-size: 42px;
}

.advantages-hero>p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 18px;
  font-size: 16px;
}

.advantages-hero>p.muted {
  font-size: 14px;
}

.advantages-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 65px;
}

.advantage-group {
  border-top: 2px solid #b7c5ce;
  padding-top: 22px;
}

.advantage-group h2 {
  font-size: 23px;
}

.advantage-group ul {
  list-style: none;
  padding: 0;
  margin-top: 19px;
  margin-bottom: 0;
}

.advantage-group li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}

.advantage-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #efdde2;
  border-radius: 11px;
  background: #fbf3f5;
  color: var(--red);
}

.advantage-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

.advantages-next {
  margin-top: 40px;
  padding: 25px 30px;
  background: var(--soft);
  border-radius: 6px;
}

.advantages-next p {
  max-width: 900px;
  font-size: 14px;
}

.advantages-next .text-link {
  display: inline-block;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .advantages-hero h1 {
    font-size: 32px;
  }
  .advantages-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .advantage-group h2 {
    font-size: 24px;
  }
  .advantage-group li {
    font-size: 14px;
  }
  .advantages-next {
    padding: 23px;
  }
}

/* Shared login and task forms. */
.login-dialog, .task-dialog {
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  max-height: calc(100dvh - 32px);
  box-shadow: 0 20px 100px #15212a55;
  overscroll-behavior: contain;
}

.login-dialog {
  width: min(460px, calc(100% - 28px));
}

.task-dialog {
  width: min(800px, calc(100% - 28px));
}

.login-dialog::backdrop, .task-dialog::backdrop {
  background: rgba(28, 39, 48, .6);
  backdrop-filter: blur(3px);
}

.login-card, .task-card {
  position: relative;
  padding: 30px;
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  padding: 3px;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--red);
}

.login-card h2, .task-card h2 {
  font-size: 28px;
  margin-top: 12px;
}

.login-card>.eyebrow, .task-card>.eyebrow {
  font-size: 12px;
}

.login-description, .task-description {
  color: var(--muted);
  font-size: 13px;
  margin-top: 13px;
  line-height: 1.7;
}

.login-card form, .task-card form {
  margin-top: 19px;
}

.login-card label, .task-card label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 13px;
  margin-bottom: 6px;
}

.task-card label span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.login-card input, .task-card input, .task-card select, .task-card textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #c6d0d5;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.task-card textarea {
  resize: vertical;
  min-height: 60px;
}

.login-card input::placeholder, .task-card input::placeholder, .task-card textarea::placeholder {
  color: #8d989f;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 84px;
}

.password-field button {
  position: absolute;
  right: 7px;
  top: 9px;
  padding: 5px;
  font-size: 11px;
  color: var(--muted);
  background: transparent;
}

.login-submit, .task-send {
  margin-top: 22px;
  width: 100%;
}

.login-access {
  margin-top: 23px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.login-access h3 {
  font-size: 16px;
}

.login-access p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}

.login-access a {
  display: inline-block;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-top: 10px;
}

.login-access .login-phone {
  display: block;
  color: var(--ink);
}

.login-task, .login-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
}

.inline-task {
  background: transparent;
  color: var(--red);
  font-size: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-feedback {
  background: #f9eef0;
  color: var(--red-dark);
  font-size: 12px;
  padding: 12px;
  margin-top: 12px;
}

.task-delivery {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}

.task-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}

.task-copy {
  color: var(--red);
  background: transparent;
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.task-preview {
  color: var(--muted);
  font-size: 11px;
  margin-top: 13px;
}

.task-preview summary {
  width: fit-content;
}

.task-preview textarea {
  font-size: 12px;
  margin-top: 10px;
  background: var(--soft);
}

.task-direct-phone {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 19px;
  font-size: 12px;
}

.cooperation {
  border-top: 1px solid var(--line);
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.cooperation-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

.cooperation-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #f9edf1;
  color: var(--red);
  margin-bottom: 18px;
}

.cooperation-icon svg {
  width: 24px;
  height: 24px;
}

.cooperation-grid h3 {
  font-size: 18px;
  line-height: 1.4;
}

.cooperation-grid p, .cooperation-bottom p {
  font-size: 14px;
  color: var(--ink);
  margin-top: 12px;
}

.cooperation-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.cooperation-bottom p {
  margin: 0;
}

.task-identity-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.task-delivery-options {
  display: block;
  margin-top: 22px;
}

.task-delivery-option {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.task-bot-option {
  background: #fff;
  border-color: var(--line);
}

.task-card input:autofill {
  box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
  color: var(--ink) !important;
}

.task-card input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
}

.task-card #task-contact::placeholder {
  color: #7c8b98;
  opacity: .72;
}

.task-bot-feedback[data-state="success"] {
  background: #fff;
  border-color: #8daf9a;
  color: #245c3a;
}

.task-delivery-option h3 {
  font-size: 17px;
  line-height: 1.4;
}

.task-delivery-option>p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 9px;
}

.task-delivery-option .task-contact-hint {
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--muted);
}

.task-delivery-option .task-direct-note {
  margin-top: 20px;
  margin-bottom: 20px;
}

.task-delivery-option .button {
  width: 100%;
  margin-top: auto;
  font-size: 13px;
  padding: 12px 10px;
}

.task-preview-note {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.task-attachments {
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.task-attachments p {
  margin: 6px 0 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.task-attachments input[type="file"] {
  padding: 9px;
  background: #fff;
}

.task-attachments input::file-selector-button {
  background: #f3f6f9;
  color: var(--ink);
  border: 1px solid #c6d0d5;
  border-radius: 4px;
  padding: 7px 10px;
  margin-right: 12px;
  font: inherit;
  cursor: pointer;
}

.task-attachments .task-files-status[data-state="error"] {
  color: #a92343;
}

.task-bot-send:disabled {
  cursor: wait;
  opacity: .7;
}

.task-bot-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ccdbe6;
  border-radius: 5px;
  background: #f1f6fa;
  color: var(--ink);
  font-size: 12px;
}

@media (max-width: 650px) {
  .cooperation-grid, .task-identity-row, .task-delivery-options {
    grid-template-columns: 1fr;
  }
  .task-identity-row {
    gap: 0;
  }
  .cooperation-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .cooperation-grid {
    gap: 14px;
  }
  .task-delivery-option {
    padding: 17px;
  }
}

@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .nav {
    gap: 20px;
  }
  .nav nav {
    gap: 17px;
    font-size: 12px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand span {
    font-size: 10px;
  }
  .hero {
    gap: 38px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-visual img {
    height: 290px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .section-heading, .platform-bottom, .contact {
    gap: 40px;
  }
  .about-hero {
    gap: 50px;
  }
}

@media (max-width: 850px) {
  .container {
    width: calc(100% - 44px);
  }
  .nav {
    flex-wrap: wrap;
    padding-block: 18px 13px;
    gap: 17px;
  }
  .nav nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1.25fr 1fr;
    gap: 26px;
    padding-block: 38px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-visual img {
    height: 260px;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 18px;
  }
  .hero-audience {
    font-size: 12px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 21px;
  }
  .hero-actions .button {
    width: 100%;
  }
  h2 {
    font-size: 28px;
  }
  .section {
    padding-block: 45px;
  }
  .section-heading {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
  .section-heading>p {
    font-size: 13px;
  }
  .solutions-grid, .experience-grid {
    column-gap: 35px;
  }
  .platform-steps, .working-grid {
    gap: 25px;
  }
  .platform-steps h3, .working-grid h3 {
    font-size: 17px;
  }
  .platform-steps p, .working-grid p {
    font-size: 13px;
  }
  .platform-bottom {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .task-prompt {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .about-teaser {
    padding: 25px;
    gap: 25px;
    grid-template-columns: 115px 1fr;
  }
  .about-teaser img {
    width: 115px;
    height: 140px;
  }
  .contact-details {
    padding-left: 25px;
  }
  .contact-phone {
    font-size: 23px;
  }
  .about-hero {
    gap: 35px;
    grid-template-columns: 1.3fr .8fr;
  }
  .about-hero h1 {
    font-size: 38px;
  }
  .about-role {
    font-size: 15px;
  }
  .about-hero .about-intro {
    font-size: 17px;
  }
  .about-hero p:not(.eyebrow):not(.about-role):not(.about-intro) {
    font-size: 14px;
  }
  .education-section {
    padding-block: 40px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav {
    gap: 15px 10px;
    padding-top: 16px;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand span {
    font-size: 9px;
  }
  .nav-login {
    font-size: 10px;
    padding: 9px 11px;
  }
  .nav nav {
    font-size: 11px;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.23;
    margin-top: 12px;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.75;
  }
  .hero-audience {
    font-size: 13px;
    margin-top: 13px;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-actions .button {
    font-size: 13px;
  }
  .access-note {
    font-size: 12px;
  }
  .hero-visual img {
    height: 225px;
  }
  .hero-visual figcaption {
    font-size: 11px;
  }
  h2 {
    font-size: 27px;
  }
  .section {
    padding-block: 36px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 22px;
  }
  .section-heading>p {
    font-size: 14px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solution {
    padding-block: 20px;
  }
  .solution h3 {
    font-size: 20px;
  }
  .solution p {
    font-size: 14px;
  }
  .platform {
    padding-block: 36px;
  }
  .platform-steps, .working-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .platform-steps li {
    padding-top: 18px;
  }
  .step-number {
    margin-bottom: 11px;
  }
  .platform-steps h3, .working-grid h3 {
    font-size: 19px;
  }
  .platform-steps p, .working-grid p {
    font-size: 14px;
    margin-top: 10px;
  }
  .platform-bottom {
    margin-top: 24px;
    padding-top: 23px;
  }
  .platform-bottom>div {
    gap: 15px;
  }
  .platform-bottom .button {
    width: 100%;
    font-size: 12px;
  }
  .platform-bottom p {
    font-size: 12px;
  }
  .working-grid {
    gap: 23px;
  }
  .task-prompt {
    margin-top: 24px;
  }
  .task-prompt p {
    font-size: 14px;
  }
  .about-teaser {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 19px;
  }
  .about-teaser img {
    width: 110px;
    height: 110px;
  }
  .about-teaser h2 {
    font-size: 25px;
  }
  .about-teaser p:not(.eyebrow) {
    font-size: 14px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .contact>div>p {
    font-size: 14px;
  }
  .contact-details {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 23px;
  }
  .contact .button {
    margin-top: 19px;
  }
  .contact-phone {
    font-size: 26px;
  }
  .footer-inner {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .footer-inner>a:first-child {
    width: 100%;
  }
  .about-hero {
    grid-template-columns: 1fr;
    padding-block: 25px 35px;
    gap: 28px;
  }
  .back-link {
    margin-bottom: 23px;
  }
  .about-hero h1 {
    font-size: 36px;
  }
  .about-role {
    font-size: 15px;
  }
  .about-hero .about-intro {
    font-size: 18px;
  }
  .about-hero p:not(.eyebrow):not(.about-role):not(.about-intro) {
    font-size: 15px;
  }
  .portrait {
    margin-top: 0;
  }
  .portrait img {
    max-width: 250px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .education-section {
    padding-block: 35px;
  }
  .education-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .education-item h3 {
    font-size: 19px;
  }
  .education-item p {
    font-size: 14px;
  }
  .practice {
    padding-bottom: 0;
  }
  .practice p {
    font-size: 15px;
  }
  .login-card, .task-card {
    padding: 29px 22px 23px;
  }
  .login-card h2, .task-card h2 {
    font-size: 27px;
  }
  .login-card input, .task-card input, .task-card textarea, .task-card select {
    font-size: 16px;
  }
  .task-card label {
    font-size: 12px;
  }
  .task-card label span {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .brand strong {
    font-size: 15px;
  }
  .brand span {
    font-size: 8px;
  }
  .nav-login {
    font-size: 9px;
    padding: 8px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .nav nav {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

