:root {
  color-scheme: light;
  --navy: #171b3a;
  --green: #00966b;
  --green-dark: #00845f;
  --muted: #4c5578;
  --soft: #f4f6fb;
  --peach: #ffead4;
  --line: #e3e7f1;
  --paper: #ffffff;
  --shadow: 0 22px 58px rgba(23, 27, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 18px max(24px, calc((100vw - 1220px) / 2));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.brand::after {
  content: "Created by experts";
  display: block;
  position: absolute;
  left: 40px;
  top: 21px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  position: absolute;
}

footer .brand::after,
.phone-brand .brand::after {
  content: none;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.brand-mark.mini {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.desktop-nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #32385e;
  font-weight: 800;
}

.desktop-nav a:first-child {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 18px;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.locale-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.locale-switch button {
  min-height: 40px;
  border-radius: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--navy);
  box-shadow: none;
}

.locale-switch button:hover {
  background: var(--soft);
}

button,
.primary,
.secondary,
.ghost {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 900;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 26px rgba(0, 150, 107, 0.16);
}

.primary:hover {
  background: var(--green-dark);
}

.small {
  min-height: 42px;
  padding: 0 18px;
}

.secondary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.text-button {
  min-height: 42px;
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green);
}

section {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  min-height: 530px;
  margin-top: 22px;
  padding: 56px 48px 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--peach);
  animation: riseIn 0.55s ease both;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: 1.18;
  font-weight: 900;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 560px;
  color: #02072d;
  font-size: 24px;
  line-height: 1.45;
}

.terms {
  margin-top: 16px;
  color: #303858;
  font-size: 12px;
}

.hero-phone {
  align-self: end;
  display: flex;
  justify-content: center;
  min-height: 460px;
}

.phone-device {
  width: 285px;
  min-height: 540px;
  padding: 44px 18px 18px;
  border: 12px solid #15151d;
  border-bottom: 0;
  border-radius: 44px 44px 0 0;
  background: #f8f9fc;
  box-shadow: var(--shadow);
  animation: phoneFloat 4.8s ease-in-out infinite;
}

.phone-speaker {
  position: absolute;
  width: 84px;
  height: 24px;
  margin: -34px 0 0 84px;
  border-radius: 99px;
  background: #050509;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
}

.phone-brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.phone-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e4ed;
}

.phone-progress span {
  display: block;
  width: 48%;
  height: 100%;
  background: var(--green);
}

.phone-question {
  margin: 18px auto 14px;
  color: #171b3a;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.bubble-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.bubble-row span {
  width: 28px;
  height: 28px;
  border: 2px solid #ff918b;
  border-radius: 50%;
  background: #ffe8e4;
}

.bubble-row span:nth-child(2) {
  border-color: #ffc885;
  background: #fff2e4;
}

.bubble-row span:nth-child(3) {
  border-color: #d9dee6;
  background: #fff;
}

.bubble-row span:nth-child(4) {
  border-color: #88e0a6;
  background: #e6faeb;
}

.bubble-row span:nth-child(5) {
  border-color: #42d5b6;
  background: #dffbf4;
}

.phone-card {
  margin-top: 16px;
  padding: 22px 18px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(23, 27, 58, 0.08);
  text-align: center;
}

.phone-card p {
  color: var(--muted);
  font-size: 12px;
}

.small-bubbles span {
  width: 26px;
  height: 26px;
}

.muted-card {
  opacity: 0.72;
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  padding: 80px 40px 54px;
  text-align: center;
}

.benefit h2 {
  margin: 22px auto 14px;
  max-width: 470px;
  font-size: 25px;
  line-height: 1.35;
}

.benefit p {
  max-width: 520px;
  margin: 0 auto;
  color: #101634;
  font-size: 19px;
}

.illustration {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 50%;
  background: #c8ebe5;
  overflow: hidden;
}

.illustration::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 74px;
  background: repeating-linear-gradient(90deg, #6fc47c 0 16px, #e8f5e8 16px 28px);
}

.illustration::after {
  content: "";
  position: absolute;
  left: 92px;
  top: 48px;
  width: 64px;
  height: 170px;
  border-radius: 32px 32px 8px 8px;
  background: #ffbd24;
  box-shadow: 18px 84px 0 -10px #17213b, -18px 84px 0 -10px #17213b;
}

.person-two {
  background: #ffd3a8;
}

.person-two::before {
  height: 92px;
  background: #6aa69b;
  border-radius: 80px 80px 0 0;
}

.person-two::after {
  left: 72px;
  top: 88px;
  width: 112px;
  height: 64px;
  border-radius: 28px 28px 10px 10px;
  background: #d95a48;
  box-shadow: 0 50px 0 -18px #5361bb;
}

.stats-band {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 32px;
  padding: 0 0 32px;
}

.big-statement,
.stat-card {
  min-height: 160px;
  border-radius: 14px;
  background: var(--soft);
}

.big-statement {
  display: flex;
  align-items: center;
  padding: 34px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.2;
}

.stat-card {
  display: grid;
  align-content: center;
  padding: 28px;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
}

.stat-card span {
  color: #444b77;
  font-size: 16px;
}

.steps {
  margin-top: 0;
  padding: 44px 40px 38px;
  border-radius: 14px;
  background: var(--soft);
}

.section-heading {
  margin-bottom: 38px;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
}

.steps .section-heading h2 {
  font-size: 60px;
}

.step-grid,
.test-grid,
.price-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.step-grid article {
  min-height: 230px;
}

.step-grid span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 26px;
  border: 2px solid #e0e4ef;
  border-radius: 50%;
  background: #fff;
  color: #445075;
  font-size: 32px;
  font-weight: 900;
}

.step-grid h3 {
  margin-bottom: 10px;
  font-size: 25px;
  font-weight: 500;
}

.steps .primary {
  margin-top: 18px;
}

.receive {
  padding: 70px 0 58px;
}

.method {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.method .section-heading {
  text-align: center;
}

.method .section-heading h2 {
  font-size: 40px;
  font-weight: 900;
}

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

.method-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.receive .section-heading {
  text-align: center;
}

.receive .section-heading h2 {
  font-size: 34px;
  font-weight: 900;
}

.receive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  text-align: center;
}

.receive-grid span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.receive-grid h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.receive-grid p {
  font-size: 15px;
}

.tests-section,
.pricing,
.faqs,
.contact,
.content-band,
.guidelines,
.test-app,
.report {
  padding: 72px 0;
}

.tests-section .section-heading,
.pricing .section-heading,
.faqs .section-heading,
.report .section-heading {
  text-align: center;
}

.tests-section .section-heading h2,
.pricing .section-heading h2,
.faqs .section-heading h2,
.report .section-heading h2 {
  font-size: 40px;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.test-grid {
  gap: 18px;
}

.guidelines {
  width: 100%;
  max-width: none;
  background: var(--soft);
}

.guidelines-card {
  display: grid;
  justify-items: center;
  width: min(560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.guidelines-card h2 {
  margin-bottom: 18px;
  font-size: 42px;
}

.guidelines-visual {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #dffbf4;
}

.guidelines-visual span {
  position: absolute;
  border-radius: 50%;
  background: var(--green);
}

.guidelines-visual span:nth-child(1) {
  width: 58px;
  height: 58px;
  left: 46px;
  top: 28px;
}

.guidelines-visual span:nth-child(2) {
  width: 92px;
  height: 42px;
  left: 29px;
  top: 88px;
  border-radius: 28px 28px 12px 12px;
}

.guidelines-visual span:nth-child(3) {
  width: 38px;
  height: 8px;
  left: 56px;
  top: 60px;
  background: #fff;
}

.guideline-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  text-align: left;
}

.guideline-list p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 700;
}

.test-card,
.price-grid article,
.insight-grid article,
.profile-card,
.dimension-results,
details,
.test-shell aside,
.question-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 27, 58, 0.06);
}

.test-card {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.test-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 150, 107, 0.34);
  box-shadow: 0 18px 42px rgba(23, 27, 58, 0.1);
}

.test-card span {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.test-card p {
  flex: 1;
}

.test-card button {
  width: 100%;
}

.test-app {
  width: 100%;
  max-width: none;
  background: var(--soft);
}

.test-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.test-shell aside,
.question-panel {
  padding: 28px;
}

.test-shell .ghost {
  width: 100%;
  margin-bottom: 26px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  height: 12px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e4ed;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: width 0.2s ease;
}

.question-panel {
  display: grid;
  align-content: center;
  min-height: 430px;
  animation: riseIn 0.28s ease both;
}

.question-kicker {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.question-panel h3 {
  margin-bottom: 34px;
  font-size: clamp(26px, 4vw, 44px);
}

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

.scale button {
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #f8f9fc;
  color: var(--navy);
}

.scale button:hover {
  border-color: var(--green);
  background: #effaf6;
}

.scale button.demo-pick {
  border-color: var(--green);
  background: #dff7ee;
  box-shadow: 0 0 0 4px rgba(0, 150, 107, 0.12);
}

.report {
  width: 100%;
  max-width: none;
}

.report-layout,
.insight-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 18px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.profile-card,
.dimension-results,
.insight-grid article,
.price-grid article {
  padding: 24px;
}

.profile-card h3 {
  font-size: 34px;
}

.report-note {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--soft);
  color: #32385e;
  font-size: 14px;
  font-weight: 700;
}

.dimension-row {
  margin-bottom: 18px;
}

.dimension-row div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-weight: 800;
}

.dimension-row span {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e4ed;
}

.dimension-row span::after {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  background: var(--green);
}

.dimension-row p {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.insight-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.course-list {
  display: grid;
  gap: 12px;
  padding-left: 0 !important;
  list-style: none;
}

.course-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.course-list span {
  color: var(--muted);
  font-size: 13px;
}

.certificate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr) auto;
  gap: 18px;
  align-items: end;
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f0faf6;
  box-shadow: 0 12px 34px rgba(23, 27, 58, 0.06);
}

.certificate-panel h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.certificate-actions {
  display: flex;
  gap: 10px;
}

.content-band,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.price-grid {
  gap: 18px;
}

.price-grid article {
  min-height: 210px;
  background: var(--soft);
}

.price-grid .featured {
  border-color: var(--green);
  background: #f0faf6;
}

.price-grid strong {
  display: block;
  margin: 16px 0;
  font-size: 44px;
}

.faqs {
  max-width: 950px;
}

details {
  padding: 18px 20px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--navy);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 28px;
  border-top: 1px solid var(--line);
}

footer nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 12px 48px;
  font-weight: 500;
}

footer p {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: 13px;
}

[dir="rtl"] body {
  direction: rtl;
}

[dir="rtl"] .brand::after {
  right: 40px;
  left: auto;
}

[dir="rtl"] .insight-grid ul {
  padding-right: 20px;
  padding-left: 0;
}

[dir="rtl"] .course-list {
  padding-right: 0 !important;
}

[dir="rtl"] .guideline-list {
  text-align: right;
}

dialog {
  width: min(430px, calc(100% - 28px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(10, 14, 35, 0.55);
}

.dialog-card {
  padding: 24px;
}

.dialog-close {
  float: right;
  width: 36px;
  min-height: 36px;
  padding: 0;
  background: var(--soft);
  color: var(--navy);
}

#toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  transition: 0.2s ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions .text-button {
    display: none;
  }

  .hero,
  .intro-band,
  .stats-band,
  .test-shell,
  .report-layout,
  .certificate-panel,
  .content-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 38px 26px 0;
    gap: 24px;
  }

  .hero-phone {
    min-height: 360px;
  }

  .phone-device {
    animation: none;
    transform: scale(0.78);
    transform-origin: top center;
  }

  .step-grid,
  .test-grid,
  .price-grid,
  .insight-grid,
  .receive-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    gap: 44px;
    padding-inline: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
    padding-inline: 18px;
  }

  .brand span:last-child {
    max-width: 130px;
    white-space: normal;
  }

  .brand::after {
    display: none;
  }

  section,
  footer {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
  }

  .header-actions {
    gap: 8px;
  }

  .locale-switch button {
    padding: 0 9px;
  }

  .hero .primary {
    width: 100%;
  }

  .stats-band {
    gap: 14px;
  }

  .big-statement {
    min-height: auto;
    padding: 24px;
    font-size: 27px;
  }

  .steps {
    padding: 30px 22px;
  }

  .steps .section-heading h2 {
    font-size: 42px;
  }

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

  footer {
    grid-template-columns: 1fr;
  }

  footer nav {
    grid-template-columns: 1fr;
  }

  .certificate-actions {
    flex-direction: column;
  }
}
