:root {
  --brand: #fc4c4e;
  --brand-soft: #f4b1b1;
  --bg: #f4f4f4;
  --ink: #111111;
  --muted: #5f6368;
  --line: #d9d9d9;
  --card: #ffffff;
  --success: #2e9b45;
  --warning: #f4a623;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  background: var(--brand);
  color: #ffffff;
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
}

.brand-icon img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.92;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  background: var(--brand);
  color: #ffffff;
}

.hero-inner,
.section,
.policy,
.contact {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 600px;
  padding: 58px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #ffe7e7;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 740px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #000000;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: #ffffff;
  color: #000000;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  padding: 16px 13px;
  border-radius: 46px;
  background: #111111;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.phone::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #111111;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 9 / 17.5;
  border-radius: 34px;
  background: var(--bg);
  color: var(--ink);
}

.app-bar {
  padding: 28px 20px 14px;
  background: var(--brand);
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
}

.mock-content {
  padding: 14px;
}

.audio-card,
.answer-card,
.missed-card {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.audio-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-card button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
}

.audio-card strong,
.answer-card strong,
.missed-card strong {
  display: block;
  color: var(--ink);
}

.audio-card span,
.missed-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.answer-card {
  margin-top: 12px;
}

.answer-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.score-row {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.score {
  color: var(--success);
}

.voice-row {
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.result-block {
  margin-top: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.result-block strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

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

.missed-card {
  margin-top: 9px;
}

.section {
  padding: 64px 0;
}

.section h2,
.policy h1,
.contact h1 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.card p,
.policy p,
.policy li,
.contact p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.step img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.step p {
  min-height: 86px;
  margin: 0;
  padding: 16px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-cloud span {
  padding: 9px 13px;
  border-radius: 20px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.page-main {
  padding: 56px 0 72px;
}

.policy,
.contact {
  max-width: 860px;
}

.policy section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.email {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .phone {
    margin: 0;
  }

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

  .brand {
    font-size: 23px;
  }
}
