:root {
  --navy-950: #062746;
  --navy-900: #082f57;
  --navy-800: #0b3b6f;
  --blue: #1267c5;
  --teal: #0f9e9a;
  --teal-dark: #0b817f;
  --cyan-soft: #eaf8f8;
  --blue-soft: #eef7fd;
  --sky: #e6f4fc;
  --page: #f8fbfd;
  --surface: #ffffff;
  --text: #102845;
  --text-soft: #566c82;
  --border: #dbe9f1;
  --shadow-sm: 0 8px 28px rgba(7, 47, 87, .08);
  --shadow-md: 0 24px 65px rgba(7, 47, 87, .13);
  --shadow-device: 0 35px 75px rgba(7, 47, 87, .22);
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img, svg {
  display: block;
}

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

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(219,233,241,.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 213px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--navy-950);
  font-size: .92rem;
  font-weight: 650;
}

.header-nav a {
  position: relative;
  text-decoration: none;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--teal);
  transition: right .22s ease;
}

.header-nav a:hover::after {
  right: 0;
}

.coming-pill {
  padding: 11px 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #0b879e);
  color: white;
  box-shadow: 0 10px 26px rgba(15,158,154,.19);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background:
    radial-gradient(circle at 76% 21%, rgba(33, 172, 206, .15), transparent 26rem),
    linear-gradient(150deg, #ffffff 0%, #fbfdff 45%, #edf7fd 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -8%;
  bottom: -120px;
  height: 220px;
  border-radius: 52% 48% 0 0 / 100% 100% 0 0;
  background: rgba(213, 237, 250, .62);
  transform: rotate(-2deg);
}

.hero-grid {
  min-height: 710px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 4;
  padding: 78px 0 100px;
}

.hero-copy {
  padding-bottom: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 14px;
  border: 1px solid #cae9ea;
  border-radius: 999px;
  background: rgba(239,250,250,.87);
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(15,158,154,.10);
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  color: var(--navy-950);
  font-size: clamp(3rem, 5.3vw, 5.15rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
}

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

.hero-lead {
  max-width: 600px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.primary-button {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue));
  color: white;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 14px 28px rgba(18,103,197,.22);
  transition: transform .22s ease, box-shadow .22s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18,103,197,.29);
}

.primary-button span {
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-glow {
  position: absolute;
  width: 520px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,185,217,.24), rgba(79,185,217,0) 70%);
  filter: blur(5px);
}

.laptop {
  position: relative;
  z-index: 5;
  width: min(100%, 590px);
  transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
  filter: drop-shadow(0 32px 42px rgba(7,47,87,.18));
}

.laptop-screen {
  padding: 11px;
  border: 7px solid #172330;
  border-bottom-width: 12px;
  border-radius: 19px 19px 8px 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.mock-topbar {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid #edf2f5;
  color: #57697c;
  font-size: .62rem;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-900);
  font-size: .76rem;
  font-weight: 800;
}

.mock-brand span {
  color: var(--teal);
}

.mock-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal));
  color: #fff !important;
  font-size: .67rem;
}

.mock-nav {
  display: flex;
  gap: 18px;
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 1.7fr .72fr;
  gap: 12px;
  padding: 18px;
  background: #f7fafc;
}

.question-panel,
.progress-panel {
  padding: 18px;
  border: 1px solid #e4edf2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7,47,87,.04);
}

.question-meta {
  color: var(--navy-900);
  font-size: .7rem;
  font-weight: 800;
}

.question-count {
  margin-top: 2px;
  color: #7c8b99;
  font-size: .52rem;
}

.question-text {
  margin: 12px 0;
  color: #24374b;
  font-size: .62rem;
  line-height: 1.55;
}

.mock-option {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid #dfe9ef;
  border-radius: 7px;
  color: #516274;
  font-size: .54rem;
}

.mock-option span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3f6;
  font-size: .48rem;
  font-weight: 700;
}

.mock-option.selected {
  border-color: #65c5c2;
  background: #effbfa;
  color: var(--teal-dark);
}

.progress-title,
.topic-title {
  color: var(--navy-900);
  font-size: .6rem;
  font-weight: 750;
}

.progress-ring {
  width: 74px;
  height: 74px;
  margin: 14px auto 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 35%, #e9f0f4 35% 100%);
  position: relative;
}

.progress-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: white;
}

.progress-ring span {
  position: relative;
  z-index: 2;
  color: var(--navy-900);
  font-size: .72rem;
  font-weight: 800;
}

.progress-caption {
  margin-bottom: 19px;
  text-align: center;
  color: #7a8996;
  font-size: .48rem;
}

.topic-title {
  margin-bottom: 7px;
}

.topic-row {
  margin-top: 5px;
  padding: 6px 7px;
  border-radius: 6px;
  background: #f6f9fb;
  color: #627183;
  font-size: .49rem;
}

.laptop-base {
  position: relative;
  width: 108%;
  height: 18px;
  margin-left: -4%;
  border-radius: 0 0 55% 55%;
  background: linear-gradient(180deg, #aeb7c1, #5e6975);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.75);
}

.phone {
  position: absolute;
  z-index: 9;
  left: 2%;
  bottom: 15px;
  width: 145px;
  padding: 8px;
  border: 5px solid #111a23;
  border-radius: 26px;
  background: #111a23;
  box-shadow: var(--shadow-device);
  transform: rotate(-1deg);
}

.phone-speaker {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 46px;
  height: 5px;
  border-radius: 10px;
  background: #111a23;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  min-height: 285px;
  padding: 24px 12px 12px;
  border-radius: 18px;
  background: #fbfdfe;
}

.phone-title {
  color: var(--navy-900);
  font-size: .7rem;
  font-weight: 800;
}

.phone-card {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  background: #e9f8f7;
}

.phone-card span {
  color: #62807f;
  font-size: .46rem;
}

.phone-card strong {
  color: var(--teal-dark);
  font-size: .92rem;
}

.phone-stat {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  align-items: center;
}

.mini-ring {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 5px solid #75cbc8;
  border-right-color: #e2efef;
  border-radius: 50%;
  color: var(--navy-900);
  font-size: .48rem;
  font-weight: 800;
}

.phone-stat span,
.phone-stat strong {
  display: block;
  font-size: .43rem;
}

.phone-stat span {
  color: #87939d;
}

.phone-stat strong {
  margin-top: 3px;
  color: var(--navy-900);
}

.phone-section {
  margin-top: 15px;
  color: #8593a0;
  font-size: .43rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.phone-list {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f4;
  font-size: .42rem;
  color: #4b5f73;
}

.phone-list strong {
  color: var(--teal-dark);
}

.dna {
  position: absolute;
  z-index: 1;
  right: -30px;
  top: 34px;
  width: 100px;
  color: #90d0f5;
  opacity: .75;
}

.dna svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.medical-pattern {
  position: absolute;
  color: #9dd3f3;
  opacity: .42;
}

.medical-pattern svg {
  width: 100%;
  height: 100%;
}

.medical-pattern circle {
  fill: white;
  stroke: currentColor;
  stroke-width: 3;
}

.medical-pattern path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.medical-pattern-one {
  left: 47%;
  top: 42px;
  width: 260px;
  height: 180px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  right: -170px;
  top: 40px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle at 40% 40%, rgba(144,212,246,.34), rgba(144,212,246,0) 72%);
}

.hero-orb-two {
  left: 43%;
  bottom: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(15,158,154,.12), rgba(15,158,154,0) 70%);
}

.features {
  position: relative;
  z-index: 8;
  margin-top: -54px;
  padding-bottom: 92px;
}

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

.feature-card {
  min-height: 250px;
  padding: 31px 32px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--teal-dark);
}

.feature-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.25rem;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.mini-rule {
  width: 42px;
  height: 3px;
  margin: 15px 0 13px;
  border-radius: 99px;
  background: var(--teal);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.72;
}

.specialties {
  position: relative;
  overflow: hidden;
  padding: 76px 0 105px;
  background:
    radial-gradient(circle at 92% 48%, rgba(15,158,154,.12), transparent 22rem),
    linear-gradient(155deg, #edf8fd 0%, #f8fcfe 45%, #dff2fb 100%);
}

.specialty-wave {
  position: absolute;
  right: -210px;
  bottom: -320px;
  width: 730px;
  height: 620px;
  border-radius: 50%;
  border: 70px solid rgba(44,179,181,.16);
  box-shadow:
    0 0 0 70px rgba(75,176,223,.11),
    0 0 0 140px rgba(75,176,223,.065);
  transform: rotate(-18deg);
}

.specialties-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 68px;
  align-items: center;
}

.section-label {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.specialty-copy h2,
.about-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.specialty-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.specialty-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 17px 0;
  color: #29405a;
  font-size: 1rem;
}

.specialty-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: .72rem;
  font-weight: 800;
}

.info-note {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 330px;
  padding: 18px;
  border: 1px solid #cfe7ed;
  border-radius: 12px;
  background: rgba(255,255,255,.56);
}

.sparkle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white;
  font-size: 1.1rem;
}

.info-note p {
  margin: 0;
  color: #465e76;
  font-size: .88rem;
  line-height: 1.5;
}

.tablet-stage {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablet {
  position: relative;
  width: min(100%, 680px);
  padding: 14px;
  border: 8px solid #14202c;
  border-radius: 30px;
  background: #14202c;
  box-shadow: var(--shadow-device);
  transform: perspective(1000px) rotateY(-4deg) rotateZ(1.5deg);
}

.tablet-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #364452;
  transform: translateX(-50%);
  z-index: 4;
}

.tablet-screen {
  min-height: 410px;
  padding: 22px 24px;
  border-radius: 19px;
  background: #fbfdfe;
}

.tablet-topbar {
  display: flex;
  justify-content: space-between;
  color: #718394;
  font-size: .61rem;
}

.tablet-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.6fr .72fr;
  gap: 28px;
}

.tablet-topic {
  color: var(--teal-dark);
  font-size: .6rem;
  font-weight: 800;
}

.tablet-question {
  margin: 8px 0 18px;
  color: var(--navy-950);
  font-size: .78rem;
  line-height: 1.55;
}

.tablet-option {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #dce7ed;
  border-radius: 7px;
  background: white;
  color: #53677a;
  font-size: .58rem;
}

.tablet-option span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3f6;
  color: #5d6e7e;
  font-size: .48rem;
  font-weight: 800;
}

.tablet-option.selected {
  border-color: #67c6c3;
  background: #effbfa;
  color: var(--teal-dark);
}

.explanation {
  padding: 17px;
  border-radius: 12px;
  background: #f2f6f8;
}

.explanation h3,
.explanation h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: .66rem;
}

.explanation p,
.explanation li {
  color: #596d7f;
  font-size: .52rem;
  line-height: 1.65;
}

.explanation p {
  margin: 9px 0 16px;
}

.explanation ul {
  margin: 8px 0 0;
  padding-left: 14px;
}

.tablet-actions {
  margin-top: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.secondary-action,
.next-action {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .53rem;
  font-weight: 750;
}

.secondary-action {
  border: 1px solid #dce6ec;
  background: white;
  color: #647585;
}

.next-action {
  min-width: 70px;
  text-align: center;
  background: var(--teal);
  color: white;
}

.about {
  padding: 94px 0 104px;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 80px;
  align-items: center;
}

.about-copy > p:not(.section-label) {
  color: var(--text-soft);
  font-size: .99rem;
  line-height: 1.8;
}

.about-copy h2 {
  margin-bottom: 25px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-principles article {
  padding: 24px 17px;
  text-align: center;
  border-left: 1px solid var(--border);
}

.about-principles article:first-child {
  border-left: none;
}

.principle-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--teal-dark);
}

.principle-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-principles h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: .89rem;
}

.about-principles p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: .77rem;
  line-height: 1.55;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 62px 0 54px;
  background:
    radial-gradient(circle at 94% 115%, rgba(31,122,180,.34), transparent 25rem),
    var(--navy-950);
  color: rgba(255,255,255,.76);
}

.footer-wave {
  position: absolute;
  right: -70px;
  bottom: -150px;
  width: 440px;
  height: 290px;
  border: 2px dotted rgba(56,164,206,.35);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .72fr .9fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-logo img {
  width: 210px;
}

.footer-brand p {
  max-width: 310px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.71);
  font-size: .88rem;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h2 {
  margin: 4px 0 9px;
  color: white;
  font-size: .83rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: .81rem;
}

.footer-column a:hover {
  color: white;
}

.footer-legal {
  padding-top: 3px;
}

.footer-legal p {
  margin: 0 0 8px;
  font-size: .82rem;
}

.footer-domain {
  color: #63c8c5;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 5vw, 4.4rem);
  }

  .phone {
    left: -2%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-principles {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .header-nav a {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 10px;
  }

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

  .features {
    margin-top: -28px;
  }

  .specialties-grid {
    gap: 44px;
  }

  .tablet-stage {
    min-height: auto;
  }

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

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

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 170px;
  }

  .coming-pill {
    padding: 9px 13px;
    font-size: .75rem;
  }

  .hero-grid {
    padding-top: 50px;
    padding-bottom: 74px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.55rem);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: .98rem;
  }

  .hero-visual {
    min-height: 355px;
  }

  .laptop {
    width: 98%;
  }

  .mock-nav {
    display: none;
  }

  .mock-dashboard {
    padding: 10px;
    grid-template-columns: 1fr;
  }

  .progress-panel {
    display: none;
  }

  .phone {
    width: 116px;
    left: -2px;
    bottom: -4px;
  }

  .phone-screen {
    min-height: 225px;
  }

  .dna {
    width: 68px;
    right: -18px;
    top: 20px;
  }

  .features {
    padding-bottom: 72px;
  }

  .feature-card {
    min-height: auto;
  }

  .specialties {
    padding: 64px 0 76px;
  }

  .tablet {
    padding: 8px;
    border-width: 5px;
    border-radius: 22px;
    transform: none;
  }

  .tablet-screen {
    padding: 17px 14px;
  }

  .tablet-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .explanation {
    display: none;
  }

  .about {
    padding: 72px 0;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles article {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 15px;
    text-align: left;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .about-principles article:first-child {
    border-top: 0;
  }

  .principle-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .about-principles p {
    margin-top: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ---- V3 visual refinement: closer to the approved mock-up ---- */
.site-header {
  background: rgba(248,252,255,.96);
}

.hero {
  min-height: 650px;
  background:
    radial-gradient(circle at 77% 24%, rgba(75,190,220,.25), transparent 24rem),
    radial-gradient(circle at 14% 82%, rgba(72,185,225,.12), transparent 22rem),
    linear-gradient(145deg, #ffffff 0%, #f7fcff 44%, #dff2fb 100%);
}

.hero-grid {
  min-height: 650px;
  padding-top: 58px;
  padding-bottom: 82px;
  gap: 34px;
}

.hero::after {
  background: rgba(186,225,247,.56);
}

.hero-copy { padding-bottom: 8px; }
.hero-lead { margin-top: 25px; }
.primary-button { margin-top: 27px; }

.features {
  margin-top: -48px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, transparent 0 48px, #f4fafe 48px 100%);
}

.feature-grid { gap: 14px; }
.feature-card {
  min-height: 232px;
  padding: 26px 28px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(242,250,254,.98));
  border-color: #d2e8f3;
}
.feature-icon { margin-bottom: 15px; }

.specialties {
  padding-top: 64px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 87% 34%, rgba(13,159,156,.20), transparent 20rem),
    radial-gradient(circle at 68% 76%, rgba(34,143,213,.16), transparent 24rem),
    linear-gradient(145deg, #e9f7fd 0%, #f7fcfe 42%, #cdebf8 100%);
}
.specialties-grid { gap: 46px; }
.info-note { background: rgba(235,249,250,.86); }

.about {
  padding-top: 70px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 90% 16%, rgba(15,158,154,.07), transparent 21rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}
.about-grid { gap: 56px; }

/* Device frames use fixed aspect ratios so borders remain proportional */
.hero-visual {
  min-height: 455px;
}
.laptop {
  width: min(100%, 600px);
  aspect-ratio: 1.48 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.laptop-screen {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  padding: clamp(6px, .8vw, 11px);
  border-width: clamp(5px, .65vw, 7px);
  border-bottom-width: clamp(8px, .9vw, 12px);
}
.laptop-base {
  flex: 0 0 clamp(11px, 1.5vw, 18px);
}
.mock-dashboard {
  height: calc(100% - 45px);
  overflow: hidden;
}

.phone {
  width: clamp(112px, 18vw, 145px);
  aspect-ratio: .50 / 1;
  padding: clamp(5px, .7vw, 8px);
  border-width: clamp(3px, .45vw, 5px);
}
.phone-screen {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.tablet-stage { min-height: 430px; }
.tablet {
  width: min(100%, 680px);
  aspect-ratio: 1.52 / 1;
  padding: clamp(7px, 1vw, 14px);
  border-width: clamp(5px, .65vw, 8px);
  overflow: hidden;
}
.tablet-screen {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.tablet-grid {
  margin-top: clamp(12px, 2vw, 24px);
  gap: clamp(14px, 2.2vw, 28px);
}
.tablet-question {
  font-size: clamp(.59rem, .82vw, .78rem);
}
.tablet-option {
  padding: clamp(5px, .65vw, 8px) clamp(7px, .8vw, 10px);
  font-size: clamp(.46rem, .62vw, .58rem);
}

/* Slightly denser footer, matching the visual weight of the mock-up */
.site-footer { padding-top: 48px; padding-bottom: 42px; }
.footer-grid { gap: 34px; }

@media (max-width: 860px) {
  .hero-grid { padding-top: 48px; }
  .hero-visual { min-height: 430px; }
  .features { padding-bottom: 52px; }
}

@media (max-width: 620px) {
  .hero { background: linear-gradient(160deg,#fff 0%,#f5fbfe 50%,#dff2fb 100%); }
  .hero-grid { padding-top: 38px; padding-bottom: 58px; }
  .hero-visual { min-height: 320px; }
  .laptop { width: 100%; }
  .laptop-screen { border-radius: 13px 13px 6px 6px; }
  .mock-dashboard { height: calc(100% - 35px); }
  .mock-topbar { min-height: 35px; }
  .phone { width: 96px; left: 0; }
  .phone-screen { padding: 19px 8px 8px; }
  .phone-card, .phone-stat, .phone-section, .phone-list { transform: scale(.92); transform-origin: left top; }
  .specialties { padding-top: 52px; }
  .tablet { aspect-ratio: 1.15 / 1; }
  .tablet-screen { padding: 14px 12px; }
  .tablet-grid { grid-template-columns: 1fr; }
  .explanation { display: none; }
}


/* Final pre-deployment polish */
.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(39, 186, 201, .20), transparent 24rem),
    radial-gradient(circle at 12% 78%, rgba(18, 103, 197, .07), transparent 27rem),
    linear-gradient(150deg, #ffffff 0%, #f7fbff 36%, #e7f5fc 100%);
}

.hero-grid {
  padding-top: 62px;
  padding-bottom: 86px;
}

.features {
  padding-bottom: 70px;
}

.feature-card:nth-child(1) {
  background: linear-gradient(160deg, #ffffff 0%, #f0f9fd 100%);
}
.feature-card:nth-child(2) {
  background: linear-gradient(160deg, #ffffff 0%, #edf9f8 100%);
}
.feature-card:nth-child(3) {
  background: linear-gradient(160deg, #ffffff 0%, #eef6ff 100%);
}

.specialties {
  padding-top: 66px;
  padding-bottom: 82px;
}

.about {
  padding-top: 72px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 90% 10%, rgba(15,158,154,.06), transparent 20rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.mock-brand {
  gap: 0;
}

.mock-medexam {
  color: var(--navy-900) !important;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.laptop {
  aspect-ratio: 16 / 10.2;
  width: min(100%, 590px);
}

.laptop-screen {
  height: calc(100% - 18px);
  overflow: hidden;
}

.phone {
  aspect-ratio: 9 / 18.7;
  height: auto;
}

.phone-screen {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.tablet {
  aspect-ratio: 16 / 10.25;
  height: auto;
}

.tablet-screen {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.question-text {
  font-size: .59rem;
}

.mock-option {
  font-size: .51rem;
  line-height: 1.3;
}

.tablet-question {
  font-size: .73rem;
}

.tablet-option {
  font-size: .54rem;
  line-height: 1.35;
}

.site-footer {
  padding-top: 52px;
  padding-bottom: 46px;
}

@media (max-width: 860px) {
  .hero-grid {
    padding-top: 54px;
    padding-bottom: 68px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone {
    left: 2%;
    width: 124px;
  }
}

@media (max-width: 620px) {
  .hero-visual {
    min-height: 300px;
  }

  .laptop {
    width: 100%;
    transform: none;
  }

  .phone {
    display: none;
  }

  .dna {
    display: none;
  }

  .mock-dashboard {
    grid-template-columns: 1fr;
  }

  .question-text {
    font-size: .56rem;
  }

  .mock-option {
    font-size: .49rem;
  }

  .tablet {
    aspect-ratio: 4 / 3.1;
  }

  .tablet-screen {
    overflow: hidden;
  }

  .tablet-question {
    font-size: .66rem;
  }

  .tablet-option {
    font-size: .50rem;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
