:root {
  color-scheme: light;
  --red: #a30000;
  --ink: #24282b;
  --muted: #58616a;
  --surface: #f5f6f7;
  --line: #d9dee2;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
::selection {
  background: #a30000;
  color: #fff;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a,
summary {
  -webkit-tap-highlight-color: #f7d8d8;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
button,
input {
  font: inherit;
  accent-color: var(--red);
  caret-color: var(--red);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
p {
  max-width: 65ch;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: min(100% - 96px, 1300px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.header {
  border-bottom: 1px solid #eef0f2;
}
.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  width: 196px;
  height: 66px;
  background: var(--red);
  border-radius: 9px;
  overflow: hidden;
  display: block;
  flex: none;
}
.brand > span {
  display: block;
  position: relative;
  width: 100%;
  height: 62px;
  margin-top: 2px;
  overflow: hidden;
}
.brand img {
  width: 245px;
  max-width: none;
  height: 245px;
  position: absolute;
  left: -23px;
  top: -88px;
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  margin-left: auto;
}
.nav-links > a {
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.nav-links > a:hover {
  color: var(--red);
  text-decoration: underline;
}
.nav-actions {
  gap: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 13px 24px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
}
.button:hover {
  background: #820000;
  border-color: #820000;
}
.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #bfc7ce;
}
.button.secondary:hover {
  background: var(--surface);
}
.button.large {
  min-height: 68px;
  font-size: 21px;
  padding-inline: 28px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 44%;
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.88) 9%,
    rgba(255, 255, 255, 0.12) 30%,
    transparent 42%
  );
}
.hero-inner {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-block: 68px 80px;
}
.hero-copy {
  max-width: 750px;
  width: 63%;
}
h1 {
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 700;
  color: var(--red);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero-copy > p {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 585px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  color: var(--red);
}
.steps {
  background: var(--surface);
}
.steps-grid {
  padding: 38px 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}
.steps-grid li {
  display: flex;
  gap: 22px;
  align-items: center;
}
.step-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}
.step-icon svg {
  width: 36px;
  height: 36px;
}
.steps h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.steps p {
  font-size: 17px;
  line-height: 1.45;
  margin-top: 8px;
  color: var(--muted);
}
.section {
  padding-block: 88px;
}
.followup {
  padding-top: 60px;
}
h2 {
  font-size: clamp(36px, 3.4vw, 50px);
  font-weight: 700;
}
.section-intro {
  font-size: 21px;
  color: var(--muted);
  max-width: 660px;
  margin-top: 22px;
}
.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
  margin-top: 52px;
}
.care-grid figure {
  margin: 0;
}
.care-grid img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: var(--radius);
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.care-list article {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.care-list article:first-child {
  padding-top: 0;
}
.care-list h3 {
  font-size: 26px;
  margin-bottom: 13px;
}
.care-list p {
  color: var(--muted);
  font-size: 18px;
}
.care-list > a {
  margin-top: 24px;
  color: var(--red);
}
.clinic-section {
  background: var(--red);
  color: #fff;
  padding-block: 72px;
}
.clinic-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}
.clinic-inner p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 720px;
  margin-top: 24px;
  color: #fff;
}
.clinic-action {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.button.white {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}
.button.white:hover {
  background: #f5e6e6;
}
.clinic-action > a:last-child {
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.clinic-section a:focus-visible {
  outline-color: #fff;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding-block: 24px;
}
summary {
  cursor: pointer;
  font-size: 21px;
  font-weight: 600;
  min-height: 44px;
  padding-right: 20px;
}
details p {
  color: var(--muted);
  padding-top: 12px;
  font-size: 18px;
}
.closing {
  padding-block: 48px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.closing h2 {
  color: var(--red);
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer p {
  flex: 1;
  font-size: 16px;
  color: var(--muted);
}
.footer a:not(.brand) {
  font-size: 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
body {
  scrollbar-color: #a30000 #f5f6f7;
}
@media (min-width: 1600px) {
  .hero-inner {
    min-height: 640px;
  }
  .hero-copy {
    max-width: 780px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .nav {
    gap: 20px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-request {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav-links {
    margin-left: auto;
  }
  .hero-copy {
    width: 68%;
  }
  .hero-copy > p {
    max-width: 480px;
  }
  .hero-actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .steps-grid {
    gap: 24px;
  }
  .steps-grid li {
    align-items: flex-start;
    gap: 14px;
  }
  .step-icon {
    width: 52px;
    height: 52px;
  }
  .step-icon svg {
    width: 28px;
    height: 28px;
  }
  .care-grid {
    gap: 40px;
  }
  .clinic-inner {
    gap: 36px;
  }
  .clinic-action {
    flex-shrink: 1;
  }
  .faq {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    min-height: 84px;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .brand {
    width: 154px;
    height: 54px;
  }
  .brand > span {
    height: 50px;
  }
  .brand img {
    width: 195px;
    height: 195px;
    left: -20px;
    top: -70px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav .button {
    padding: 11px 17px;
    min-height: 48px;
    font-size: 16px;
  }
  .hero-inner {
    min-height: 0;
    padding-block: 40px 28px;
    display: block;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
  }
  h1 {
    font-size: clamp(39px, 10.5vw, 64px);
    line-height: 1.08;
  }
  .hero-copy > p {
    font-size: 20px;
    margin-top: 24px;
    line-height: 1.5;
  }
  .hero-actions {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 26px;
  }
  .button.large {
    font-size: 18px;
    min-height: 58px;
    padding-inline: 22px;
  }
  .hero-photo {
    position: relative;
    inset: auto;
    z-index: auto;
    height: 310px;
    margin: 0 20px 28px;
    border-radius: 12px;
    overflow: hidden;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    order: -1;
  }
  .hero-photo img {
    object-position: center 56%;
  }
  .hero-photo:after {
    display: none;
  }
  .text-link {
    font-size: 17px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px;
  }
  .steps-grid li {
    gap: 18px;
    align-items: center;
  }
  .steps h2 {
    font-size: 23px;
  }
  .steps p {
    font-size: 17px;
  }
  .step-icon {
    width: 60px;
    height: 60px;
  }
  .section {
    padding-block: 56px;
  }
  h2 {
    font-size: 36px;
  }
  .section-intro {
    font-size: 19px;
    margin-top: 20px;
  }
  .care-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 30px;
  }
  .care-list h3 {
    font-size: 25px;
  }
  .care-list article {
    padding-block: 24px;
  }
  .care-list p {
    font-size: 18px;
  }
  .clinic-section {
    padding-block: 48px;
  }
  .clinic-inner {
    display: block;
  }
  .clinic-inner p {
    font-size: 19px;
  }
  .clinic-action {
    align-items: flex-start;
    margin-top: 28px;
    gap: 14px;
  }
  .faq {
    display: block;
  }
  .faq-list {
    margin-top: 30px;
  }
  summary {
    font-size: 19px;
    line-height: 1.5;
  }
  details p {
    font-size: 17px;
  }
  .closing {
    display: block;
    padding-block: 8px 56px;
  }
  .closing > a {
    margin-top: 28px;
  }
  .footer-inner {
    gap: 20px;
  }
  .footer p {
    flex-basis: 100%;
  }
  .footer a:not(.brand) {
    margin-right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.mobile-app {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.mobile-benefits {
  padding-left: 22px;
  margin: 28px 0;
  font-size: 19px;
  color: var(--muted);
}
.mobile-benefits li {
  margin-block: 12px;
}
.platforms {
  display: flex;
  gap: 16px;
  margin-block: 28px;
}
.platforms > span {
  padding: 14px 22px;
  min-width: 140px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.platforms strong {
  font-size: 22px;
}
.platforms small,
.mobile-note {
  color: var(--muted);
  font-size: 16px;
}
.mobile-note {
  margin-bottom: 24px;
  max-width: 54ch;
}
.phone-preview {
  margin: 0;
  justify-self: center;
  max-width: 310px;
  width: 100%;
}
.phone-shell {
  border: 7px solid var(--ink);
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}
.phone-brand {
  padding: 20px;
  color: var(--red);
  font-size: 23px;
  font-weight: 700;
}
.phone-shell img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 50% 56%;
}
.phone-content {
  padding: 22px;
}
.phone-content h3 {
  font-size: 23px;
}
.phone-content p {
  font-size: 15px;
  color: var(--muted);
  margin: 10px 0 20px;
}
.phone-content div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
}
.phone-preview figcaption {
  text-align: center;
  margin-top: 16px;
}
@media (max-width: 700px) {
  .mobile-app {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mobile-benefits {
    font-size: 18px;
  }
  .platforms {
    flex-wrap: wrap;
  }
  .platforms > span {
    flex: 1;
    min-width: 120px;
  }
  .phone-preview {
    max-width: 290px;
  }
}

/* Keep education reachable when the full navigation is hidden on phones. */
.education-mobile { display: none; }
@media (min-width: 701px) and (max-width: 1250px) {
  .nav { gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-request { display: none; }
}
@media (max-width: 700px) {
  .education-mobile { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; }
  .nav-actions { gap: 12px; }
}
