:root {
  color-scheme: light;
  --ink: #0d3745;
  --accent: #148c8d;
  --button: #0e8588;
  --gray: #f5f5f5;
  --blue: #e6eef1;
  --base: #fff;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(36px, 5vw, 60px);
  --gap: 20px;
  font-family: Rubik, Arial, sans-serif;
  color: var(--ink);
  background: var(--base);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; border-top: 10px solid var(--ink); }
main { display: flow-root; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, ul, blockquote { margin: 0; }
p + p { margin-top: 1em; }
h1 { font-size: clamp(28px, 3.2vw, 40px); }
h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.1; font-weight: 500; }
h3 { font-size: 18px; line-height: 1.2; font-weight: 600; }
:focus-visible { outline: 3px solid #087477; outline-offset: 4px; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), 1156px); margin-inline: auto; }
.wide { width: min(calc(100% - 2 * var(--gutter)), 1400px); margin-inline: auto; }
.section-space { margin-block: var(--section); }
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 { max-width: 1012px; margin-inline: auto; }
.section-heading p { margin-top: 14px; font-size: 18px; }
.band { padding-block: var(--section); }
.gray { background: var(--gray); }
.blue { background: var(--blue); }
.grid { display: grid; gap: var(--gap); }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 367px);
  min-height: 63px;
  padding: 10px 20px;
  border: 0;
  border-radius: 100px;
  background: var(--button);
  color: white;
  text-align: center;
  text-decoration: none;
  font-family: Lato, Rubik, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
}
.button:hover { background: #0a7376; }

.art { position: relative; width: 100%; aspect-ratio: var(--art-ratio); overflow: hidden; }
.art-layer { position: absolute; }
.art-layer img { width: 100%; height: 100%; max-width: none; object-fit: fill; }
.logo { flex: none; }
.site-header { min-height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .brand { width: min(20%, 208px); flex: none; }
.site-header .button { width: min(20%, 210px); min-height: 49px; font-size: 16px; }
.header-location, .header-phone, .header-social { display: flex; align-items: center; gap: 14px; }
.header-location { font-size: 16px; line-height: 1.1; }
.header-location a { color: #52737e; font-size: 13px; text-decoration-style: dotted; }
.header-pin { width: 13px; height: 17px; }
.header-rating { font-size: 13px; align-self: center; white-space: nowrap; }
.header-rating img { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }
.header-rating b { color: #ffac12; }
.header-social { font-size: 12px; white-space: nowrap; gap: 9px; }
.header-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.header-social a:hover { background: #e6f5f5; }
.header-social img { width: 17px; height: 17px; }
.header-phone { display: grid; gap: 3px; white-space: nowrap; }
.header-phone img { width: 18px; }
.header-phone a { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; text-decoration: none; }
.header-phone small { text-align: end; font-size: 12px; }
:is(.header-phone a, .footer-phone):hover { text-decoration: underline; }

.banner {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: 529px;
  overflow: hidden;
  border-radius: 40px;
  background: #e2efee;
}
.banner-visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.banner-copy { width: 100%; max-width: 1156px; margin-inline: auto; padding: 52px 0; }
.banner-copy > :where(h1, h2, p) { max-width: 490px; }
.banner-description { max-width: 432px !important; margin-top: 26px; font-size: 18px; line-height: 1.3; }
.banner-copy .button { margin-top: 38px; }
.banner-copy .banner-note {
  display: flex; justify-content: center; align-items: center; gap: 7px;
  width: min(100%, 367px); margin-top: 15px; font: 14px/1.25 Lato, Rubik, sans-serif;
}
.banner-note img { width: 14px; height: 14px; flex: none; }
.exam .banner-note { width: min(100%, 249px); padding-left: 25px; justify-content: start; }
.deep-exam .banner-note { width: min(100%, 378px); padding-inline-start: 26px; justify-content: start; align-items: flex-start; gap: 12px; }
.deep-exam .banner-note img { margin-top: 2px; }
.banner-photo, .banner-glow, .hero-background, .hero-fade, .hero-people { position: absolute; max-width: none; }
.banner-photo { left: 0; top: -9.26%; width: 100%; height: 131.2%; object-fit: cover; }
.banner-glow { width: 90.8%; top: -63.1%; left: -28.57%; }
.deep-exam .banner-photo { width: 111.36%; top: -29.68%; height: 164.46%; }
.deep-exam .banner-glow { display: none; }
.deep-exam .banner-description { margin-top: 20px; font: 600 23px/1.1 Rubik, sans-serif; }

.hero { min-height: 635px; margin-bottom: var(--section); }
.hero-background { width: 100%; height: 130.866%; top: -11.339%; object-fit: cover; opacity: .45; }
.hero-fade { inset: 0; background: linear-gradient(112deg, #e2efee 0%, #e2efeeaa 38%, transparent 69%); }
.hero-people { left: 37.57%; top: 3.307%; width: 60.643%; height: 122.047%; object-fit: cover; }
.hero .eyebrow { margin-bottom: 28px; font-size: 14px; letter-spacing: .34em; line-height: 1.2; }
.hero h1 { max-width: 568px; font-weight: 400; line-height: 1.1; }
.hero h1 strong { font-weight: 600; }
.hero h1 span { color: var(--accent); font-weight: 500; }
.hero-description { margin-top: 23px; color: #507583; font: 18px/1.3 Lato, Rubik, sans-serif; }
.hero .button { margin-top: 63px; }
.banner:not(.hero) { margin-block: var(--section); }

.feature { min-width: 0; min-height: 306px; padding: 47px 20px 28px; border-radius: 20px; text-align: center; background: white; }
.feature-icon { display: grid; place-items: center; width: 85px; height: 85px; border-radius: 50%; background: var(--gray); }
.feature-icon img { width: 55%; height: 55%; object-fit: contain; }
.feature > .feature-icon { margin: 0 auto 20px; }
.feature h3 { margin-inline: auto; text-wrap: balance; }
.feature p, .feature-list p { margin-top: 14px; font: 16px/1.35 Lato, Rubik, sans-serif; }
.feature p { max-width: 288px; margin-inline: auto; }
.split { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.split h2 { margin-bottom: 22px; }
.split p { font-size: 18px; line-height: 1.33; }
.split-art { border-radius: 20px; background: #addeda; }
.feature-list { display: grid; gap: 24px; margin-top: 24px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; }
.feature-list .feature-icon { width: 56px; height: 56px; }
.feature-list h3 { font-size: 20px; font-weight: 500; }
.feature-list p { margin-top: 8px; }
.lens-explainer .feature-list p { font-size: 16px; line-height: 1.32; }
.lens-explainer-visual { width: 100%; max-width: 566px; margin-inline: auto; }
.split .button { margin-top: 48px; }

@media (min-width: 1161px) {
  .lens-explainer { align-items: stretch; }
  .lens-explainer .feature-list { gap: 26px; }
  .lens-explainer-visual { position: relative; container-type: size; min-height: 100%; border-radius: 20px; overflow: hidden; }
  .lens-explainer-visual .split-art { position: absolute; width: max(100%, calc(100cqh * 566 / 601)); right: 0; top: 50%; transform: translateY(-50%); }
}

@media (max-width: 1160px) {
  .lens-explainer { grid-template-columns: minmax(0, 1fr); }
  .lens-explainer > div:first-child { width: min(100%, 620px); margin-inline: auto; }
}

.problem { position: relative; min-height: 221px; isolation: isolate; border-radius: 20px; overflow: hidden; background: #fff; }
.problem-art { position: absolute; inset: 0; height: 100%; z-index: -2; }
.problem-figure { position: absolute; inset: 0 0 0 49%; z-index: -1; display: grid; align-items: center; overflow: hidden; }
.problem-figure img { width: 112%; max-width: none; transform: rotate(-22.93deg); }
.problem-copy { max-width: 57%; padding: 28px 0 24px 30px; }
.problem-copy h3 { max-width: 185px; font-size: 20px; }
.problem-copy p { margin-top: 15px; font-size: 17px; line-height: 1.28; }
.problem-third .problem-copy { max-width: 48%; padding-inline-end: 8px; }
.problem-third { background: #148c8d; color: white; }
.problem-fourth { background: #f2fbfb; }
.solution-art { position: relative; }
.solution-logo { position: absolute; bottom: 7%; left: 4%; width: 26%; }

.quiz {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center; gap: clamp(18px, 5vw, 80px); margin-block: var(--section);
  padding: clamp(20px, 6vw, 84px); scroll-margin-top: 24px;
  border-radius: 40px; background: radial-gradient(ellipse at 27% 57%, #e6f7f6, #deeceb 60%);
}
.quiz h2 { max-width: 490px; }
.quiz p { margin-block: 14px 22px; font: 18px/1.4 Lato, Rubik, sans-serif; }
.quiz-benefits { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.quiz-benefits li { padding: 14px 18px; border-radius: 14px; background: #fff; }
.quiz-benefits span { display: block; margin-top: 4px; font: 16px/1.35 Lato, Rubik, sans-serif; }
.quiz-band { background: #eff4f6; scroll-margin-top: 20px; }
.site-quiz {
  align-items: start; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  margin-block: 0; min-height: 520px; padding: clamp(22px, 4vw, 56px);
  gap: clamp(24px, 5vw, 72px); border-radius: 26px;
  background: #fff; border: 1px solid #e1ebed; box-shadow: 0 6px 26px #0d37450a;
}
.site-quiz form { display: grid; gap: 28px; }
.site-quiz [hidden] { display: none; }
.quiz-progress-row { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); }
.site-quiz .quiz-progress { margin: 0; white-space: nowrap; color: #087a78; font: 600 14px/1.3 Rubik, sans-serif; }
.quiz-progress-row progress { width: 100%; height: 9px; border: 0; border-radius: 20px; background: #def1f2; color: #008b85; overflow: hidden; }
.quiz-progress-row progress::-webkit-progress-bar { background: #def1f2; border-radius: 20px; }
.quiz-progress-row progress::-webkit-progress-value { background: #008b85; border-radius: 20px; }
.quiz-progress-row progress::-moz-progress-bar { background: #008b85; border-radius: 20px; }
.quiz-step { display: grid; min-width: 0; gap: 16px; }
.quiz-step fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.quiz-question { max-width: 570px; margin: 14px 0 6px; padding: 0; font: 500 clamp(22px, 2.4vw, 29px)/1.14 Rubik, sans-serif; }
.quiz-step legend { margin-bottom: 28px; }
.quiz-answers, .quiz-schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quiz-answers label {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; cursor: pointer;
  border: 1px solid #cfe2e6; border-radius: 12px; background: #fff; font: 400 14px/1.3 Rubik, sans-serif;
}
.quiz-answers label:has(:checked) { border-color: #008b85; background: #e5f5f5; }
.quiz-answers input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: #008b85; }
.site-quiz .quiz-hint {
  display: flex; align-items: center; gap: 14px; margin: 12px 0 0; padding: 12px 16px;
  border-radius: 12px; background: #e6f5f7; font: 400 13px/1.35 Rubik, sans-serif;
}
.quiz-hint img { width: 24px; height: 24px; flex: none; }
.quiz-hint span { padding-inline-start: 14px; border-inline-start: 1px solid #c3dfe1; }
.quiz-schedule label { display: grid; gap: 8px; }
.site-quiz .quiz-contact-note { margin: 0; font-size: 15px; }
.quiz-step select {
  width: 100%; min-width: 0; min-height: 50px; padding: 10px 16px;
  border: 1px solid #7e9c9d; border-radius: 14px; color: var(--ink); background: #fff;
  font: inherit; font-size: 16px; scroll-margin-block: 36px 90px;
}
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.quiz-actions .button, .quiz-back { min-height: 44px; width: auto; padding-inline: 22px; border: 0; border-radius: 13px; font: 500 14px/1.1 Rubik, sans-serif; }
.quiz-actions .button { gap: 8px; background: #008781; }
.quiz-actions .button:hover { background: #05726f; }
.quiz-back { background: #edf0f2; color: var(--ink); }
.quiz-back:disabled { color: #67777d; cursor: default; }
.site-quiz .form-preview { font-size: 14px; }
.quiz-side { display: grid; gap: 18px; padding-top: 36px; container-type: inline-size; }
.quiz-photo { position: relative; overflow: hidden; aspect-ratio: 1.06; border-radius: 20px; background: #cae5e7; }
.quiz-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.quiz-photo-background { opacity: .52; }
.quiz-photo-people { z-index: 1; object-position: center 12%; }
.quiz-gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; list-style: none; }
.quiz-gifts li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start;
  gap: 4px 8px; padding: 12px 10px; border-radius: 12px; background: #e6f5f5; font-size: 12px; line-height: 1.25;
}
.quiz-gifts img { grid-row: 1 / span 2; width: 18px; height: 18px; }
.quiz-gifts strong, .quiz-gifts small { grid-column: 2; }
.quiz-gifts small { font-size: 11px; color: #49686c; }
@supports (grid-template-rows: subgrid) {
  .quiz-gifts li { grid-row: span 2; grid-template-rows: subgrid; }
}
@media (max-width: 359px) {
  .quiz-gifts { grid-template-columns: 1fr; }
}
@container (max-width: 290px) {
  .quiz-gifts { grid-template-columns: 1fr; }
}
.frame-card { --frame-padding: 20px; min-width: 0; padding: var(--frame-padding); border-radius: 20px; background: white; box-shadow: 0 14px 90px #00000008; }
.frame-brand { color: #575757; font-size: 14px; }
.frame-photo { position: relative; overflow: hidden; margin: 14px calc(-1 * var(--frame-padding)) 16px; aspect-ratio: 275 / 117; }
.frame-photo img { position: absolute; max-width: none; width: 100%; height: 100%; object-fit: contain; }
.frame-photo .frame-image-cover { object-fit: cover; }
.frame-photo .frame-image-crop { width: 100.36%; height: 176.92%; left: -.18%; top: -37.61%; }
.frame-photo .frame-image-offset { width: 100.36%; height: 176.28%; left: -.18%; top: -35.21%; }
.frame-photo .frame-image-center { width: 88.93%; height: 156.93%; left: 5.56%; top: -27.72%; }
.frame-card h3 { color: #575757; font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
.frame-price { margin-top: 8px; font-size: 18px; }
.frame-price strong { font-weight: 700; }
.steps .feature { min-height: 360px; padding: 45px 20px 34px; background: var(--gray); }
.steps .feature-icon { background: white; }
.steps .feature-icon img { width: 45%; height: 45%; }
.steps .feature > .feature-icon { margin-bottom: 25px; }
.steps .feature h3 { min-height: 2.4em; font-weight: 600; line-height: 1.2; }
.steps .feature p { max-width: 207px; margin-top: 12px; font-family: "Lato Design", Lato, Rubik, sans-serif; line-height: 1.3; }
.steps .feature:last-child p { max-width: 197px; }
.results-art { background: #80d0d9; }
.results-art .art-layer:not(:last-child) { opacity: .4; }
.results-logo { position: absolute; right: 4%; bottom: 4%; width: min(26%, 146px); }

.program { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; padding-inline: clamp(16px, 5vw, 60px); border-radius: 40px; color: white; background: var(--ink); }
.program .section-heading h2 { max-width: 980px; }
.program-card { min-height: 132px; padding: 20px clamp(14px, 3vw, 40px); border-radius: 10px; color: var(--ink); background: white; }
.program-card > div { display: flex; justify-content: space-between; align-items: start; gap: 12px; min-height: 2.2em; font: 400 20px/1.1 Rubik, sans-serif; }
.program-card h3 { max-width: 217px; font: inherit; }
.program-card:nth-child(5) h3 { max-width: 164px; }
.program-card:last-child h3 { max-width: 189px; }
.program-card strong { color: black; white-space: nowrap; font: inherit; font-weight: 500; }
.program-card details { margin-top: 20px; }
.program-card summary, .review summary { width: fit-content; color: #087c7d; text-decoration: underline; text-underline-offset: 3px; }
.program-card summary { color: #058b8c; font: 500 16px/1.1 Rubik, sans-serif; text-underline-offset: auto; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
details p { margin-top: 10px; }

.about { --about-half-width: min(50% - var(--gutter), 578px); position: relative; isolation: isolate; overflow: hidden; margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 293px) minmax(0, 429px) minmax(0, 293px); gap: clamp(22px, 4.2vw, 64px); align-items: start; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p { max-width: 293px; color: #053745; font: 16px/1.3 Inter, Lato, Rubik, sans-serif; }
.about-grid strong { font-weight: 600; }
.about-kepler { width: 100%; align-self: end; }
.about-end { padding-top: 60px; }
.about-end .logo { width: min(100%, 267px); margin-top: 60px; }
.about-pattern { position: absolute; z-index: -1; width: min(38%, 727px); top: 60px; pointer-events: none; }
.about-pattern-left { right: calc(50% + var(--about-half-width) + 34px); }
.about-pattern-right { left: calc(50% + var(--about-half-width) + 22px); }

.stars { color: #a05c00; letter-spacing: .15em; }
.review { padding: 18px; border-radius: 20px; background: white; font: 16px/1.3 Lato, Rubik, sans-serif; }
.review header { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; margin-bottom: 17px; border-bottom: 1px solid #eee; }
.review .avatar { width: 66px; height: 66px; object-fit: cover; border-radius: 50%; }
.review h3 { font: 500 20px/1.15 Rubik, sans-serif; }
.review details { margin-top: 16px; }
.review summary { padding: 4px 9px; border-radius: 30px; background: #f5f5f5; text-decoration: none; }
.review-less, .review details[open] .review-more, .review:has(details[open]) .review-ellipsis { display: none; }
.review details[open] .review-less { display: inline; }

.faq { display: grid; gap: 15px; }
.faq details { border-radius: 10px; background: white; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 62px; padding: 14px 20px; font-size: 20px; font-weight: 500; }
.faq summary::after { content: ''; width: 8px; height: 8px; flex: none; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { margin: 0; padding: 0 20px 20px; line-height: 1.4; }

.map-link { display: block; }
.map-art { border-radius: 40px; background: #e2efee; }
.branch-grid { margin-top: var(--section); row-gap: 0; }
.branch { min-width: 0; padding-block: 24px; border-bottom: 1px solid #e6e6e6; font-family: Lato, Rubik, sans-serif; font-size: 15px; line-height: 1.35; }
.branch h3 { font: 500 21px/1.15 Rubik, sans-serif; }
.branch p { margin-top: 6px; }
.branch > a { display: inline-block; margin-top: 5px; }
.branch a { text-decoration: none; }
.branch a:hover { text-decoration: underline; }
.metro { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: var(--metro); color: white; font-size: 10px; }

.site-footer { padding-bottom: 25px; }
.site-footer.with-marquiz { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.footer-main {
  --footer-padding: clamp(24px, 3vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3.69fr) minmax(0, 3.1fr) minmax(0, 1.51fr) minmax(0, 2.58fr);
  gap: clamp(14px, 2vw, 24px);
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 2 * var(--gutter)), 1240px);
  min-height: 280px;
  margin-inline: auto;
  padding: var(--footer-padding);
  border-radius: 20px;
  background: #00333c;
  color: white;
}
.footer-logo { width: 244px; max-width: 100%; margin-bottom: 20px; }
.footer-phone { display: block; font: 500 24px/1.1 "Lato Design", Lato, Rubik, sans-serif; text-decoration: none; }
.footer-main small { display: block; margin-top: 10px; font: 300 16px/1.1 "Lato Design", Lato, Rubik, sans-serif; }
.footer-main .button { width: min(100%, 244px); min-height: 50px; margin-top: 20px; background: white; color: #058b8c; font: 500 14px/1 Rubik, sans-serif; }
.footer-main address { display: grid; align-content: start; gap: 20px; max-width: 295px; font: normal 16px/1.1 "Lato Design", Lato, Rubik, sans-serif; }
.footer-main address p { margin: 0; }
.footer-main address p:first-child { max-width: 295px; }
.footer-main address a { overflow-wrap: anywhere; text-decoration: none; }
.footer-main blockquote { width: min(199px, calc(100% + 35px)); margin-top: 24px; justify-self: start; align-self: start; text-align: center; font: 500 16.45px/1.01 Rubik, sans-serif; }
.footer-main cite { display: block; margin-top: 8px; color: #9fc1c1; font: 500 14.1px/1.31 "Lato Design", Lato, Rubik, sans-serif; }
.quote-icon { width: 24px; margin: 0 auto 14px; }
.footer-pattern { position: absolute; z-index: -1; right: 0; top: 0; width: 43.23%; height: 100%; object-fit: cover; }
.footer-portrait {
  position: absolute;
  right: var(--footer-padding);
  bottom: 0;
  width: min(21%, 259px);
  aspect-ratio: 259 / 279;
  object-fit: contain;
}
.footer-end { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-top: 33px; color: #595959; font: 12px/1.4 "Lato Design", Lato, Rubik, sans-serif; }
.footer-end > span { text-transform: uppercase; }
.footer-credit { display: inline-flex; align-items: center; gap: clamp(8px, 1.6vw, 20px); width: fit-content; max-width: 100%; min-height: 44px; padding-block: 6px; text-decoration: none; }
.footer-credit:hover .footer-credit-copy { color: var(--ink); }
.footer-credit-brand { display: flex; align-items: center; gap: 7px; width: 102px; flex: none; }
.footer-credit-brand > img { width: 24px; }
.footer-credit-brand span img { width: 71px; margin: 2px 0; }
.footer-credit-copy { font: 400 11px/1.22 Montserrat, Rubik, sans-serif; }

@media (min-width: 1161px) {
  .footer-end { display: grid; grid-template-columns: 41.5% auto 1fr; gap: 0; }
  .footer-end > :last-child { justify-self: end; }
}

:is(.header-social a, [href^="tel:"], .footer-credit, .button, .dialog-close) { touch-action: manipulation; }
.lead-dialog {
  width: min(460px, calc(100% - 24px)); max-height: calc(100% - 24px); max-height: calc(100dvh - 24px);
  padding: clamp(18px, 5vw, 32px); overflow: auto; overscroll-behavior: contain;
  border: 0; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 18px 54px #0d374533;
}
.lead-dialog::backdrop { background: #0d3745aa; }
body:has(.lead-dialog[open]) { overflow: hidden; }
.dialog-close {
  position: absolute; inset: 12px 12px auto auto; display: grid; place-items: center; width: 40px; height: 40px;
  padding: 0; border: 0; border-radius: 50%; background: #eff6f6; color: var(--ink); font: 26px/1 Lato, sans-serif;
}
.dialog-close:hover { background: #ddefef; }
.dialog-copy h2 { padding-inline-end: 38px; font: 600 clamp(22px, 5vw, 27px)/1.16 Rubik, sans-serif; }
.dialog-copy p { margin: 8px 0 0; font: 16px/1.4 Lato, Rubik, sans-serif; }
.lead-dialog form { display: grid; gap: 18px; }
.lead-dialog .button { width: 100%; min-height: 54px; font-weight: 700; }
.lead-fields, .lead-field, .lead-permissions { display: grid; min-width: 0; }
.lead-fields { gap: 12px; }
.lead-field { gap: 5px; }
.lead-field label { font: 500 14px/1.3 Rubik, sans-serif; }
.lead-field[hidden] { display: none; }
.lead-field :is(input, textarea) {
  width: 100%; min-width: 0; min-height: 50px; padding: 10px 14px; border: 1px solid #7e9c9d;
  border-radius: 14px; background: #fff; color: var(--ink); font: 16px/1.3 Lato, Rubik, sans-serif;
  scroll-margin-block: 16px;
}
.lead-field textarea { resize: vertical; }
.lead-field :is(input, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead-permissions { gap: 8px; }
.consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; font: 15px/1.35 Lato, Rubik, sans-serif; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.lead-privacy, .form-preview { margin: 0; color: #4c6a75; font: 14px/1.35 Lato, Rubik, sans-serif; }
[data-lead-status]:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-height: 640px) {
  .lead-dialog { padding-block: 16px; }
  .lead-dialog form { gap: 12px; }
  .dialog-copy p { font-size: 15px; }
  .lead-dialog .lead-fields { gap: 9px; }
  .lead-dialog .lead-field input { min-height: 46px; }
  .lead-dialog .button { min-height: 48px; }
}

@media (max-width: 1300px) {
  .banner-copy { padding-inline: clamp(24px, 6vw, 80px); }
  .banner-copy > :where(h1, h2, p) { max-width: min(52%, 490px); }
  .hero h1 { max-width: min(56%, 550px); }
  .banner-description { max-width: min(50%, 432px) !important; }
}

@media (max-width: 1020px) {
  .site-header { min-height: 82px; flex-wrap: wrap; gap: 4px 12px; }
  .header-social { order: 1; justify-content: end; flex-basis: 100%; }
  .site-header .brand { width: 174px; }
  .banner { min-height: 475px; border-radius: 30px; }
  .hero { min-height: 525px; }
  .hero .button { margin-top: 34px; }
  .hero-people { width: 67%; height: 109%; left: 38%; object-fit: contain; object-position: center top; }
  .hero-description { max-width: 50%; }
  .split { align-items: center; }
  .program-card > div { font-size: 17px; }
  .feature { padding-inline: 14px; }
  .review header { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  :root { --gap: 14px; }
  body { border-top-width: 6px; }
  .site-header { min-height: 68px; padding-block: 11px 6px; }
  .site-header .brand { width: 145px; }
  .site-header .button, .header-rating, .header-location { display: none; }
  .header-phone { gap: 5px; }
  .header-phone a { gap: 5px; font-size: 15px; }
  .header-phone small { font-size: 10px; }
  .header-phone img { width: 13px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading p { font-size: 16px; }
  .banner { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: auto; border-radius: 24px; }
  .banner-visual { position: relative; min-height: 240px; margin-top: -4px; z-index: 0; }
  .hero .banner-visual { min-height: 0; aspect-ratio: 1.28; }
  .banner-copy { position: relative; z-index: 1; max-width: none; padding: 30px 22px 24px; }
  .banner-copy > :where(h1, h2, p), .hero h1, .banner-description { max-width: none !important; }
  .banner-copy .banner-note { display: flex; justify-content: center; padding-left: 0; }
  .deep-exam .banner-note { justify-content: start; }
  .hero .eyebrow { margin-bottom: 16px; max-width: 270px !important; font-size: 10px; line-height: 1.5; letter-spacing: .21em; }
  .hero h1 br:first-of-type { display: none; }
  .hero-description, .banner-description { margin-top: 15px; font-size: 16px; }
  .hero-people { width: 100%; height: 133%; top: 0; left: 0; object-fit: cover; }
  .hero-background { top: 0; height: 100%; }
  .hero-fade { background: linear-gradient(#e2efee, transparent 42%); }
  .banner-photo { width: 140%; left: -40%; top: -10%; height: 122%; }
  .deep-exam .banner-photo { width: 158%; left: -52%; top: -22%; height: 145%; }
  .deep-exam .banner-description { font-size: 18px; }
  .banner-glow { display: none; }
  .banner-copy .button, .hero .button, .split .button { margin-top: 22px; }
  .button { min-height: 54px; font-size: 16px; }
  .split { grid-template-columns: 1fr; align-items: start; }
  .split h2 { margin-bottom: 14px; }
  .split p { font-size: 16px; }
  .feature-list { gap: 17px; }
  .feature-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .feature-list .feature-icon { width: 44px; height: 44px; }
  .feature-list h3 { font-size: 17px; }
  .lens-explainer, .lens-solution, .consultation-results { row-gap: 28px; }
  .lens-explainer .feature-list { gap: 24px; }
  .lens-explainer .feature-list p { line-height: 1.4; }
  .exam .banner-copy h2, .deep-exam .banner-copy h2, .lens-solution h2 { font-size: clamp(23px, 6.2vw, 25px); text-wrap: balance; }
  .grid-three { grid-template-columns: 1fr; }
  .grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { min-height: 0; padding: 24px 14px; }
  .feature-icon { width: 60px; height: 60px; }
  .feature > .feature-icon { margin-bottom: 14px; }
  .feature h3 { font-size: 16px; }
  .feature p { margin-top: 9px; font-size: 15px; }
  .steps .grid-four { grid-template-columns: minmax(0, 1fr); }
  .steps .feature { min-height: 0; padding: 24px 20px; }
  .steps .feature p, .steps .feature:last-child p { max-width: 270px; }
  .steps .feature > .feature-icon { margin-bottom: 16px; }
  .problem { min-height: 205px; }
  .problem-copy { max-width: 62%; padding: 18px 0 18px 16px; }
  .problem-copy h3 { font-size: 17px; }
  .problem-copy p { font-size: 15px; }
  .problem-first .problem-art,
  .problem-second .problem-art,
  .problem-fourth .problem-art { clip-path: inset(0 0 0 57%); }
  .problem-first .problem-copy,
  .problem-second .problem-copy,
  .problem-fourth .problem-copy { max-width: 54%; }
  .problem-first .problem-art > :last-child { translate: 14% 0; }
  .problem-first .problem-art > :last-child img,
  .problem-second .problem-art > :last-child img { object-fit: cover; }
  .problem-fourth .problem-art > :last-child {
    inset: 0 0 0 auto !important; width: 43% !important; height: 100% !important; transform: none !important;
  }
  .problem-fourth .problem-art > :last-child img { object-fit: contain; transform: rotate(-12deg) scale(1.05); }
  .blue .grid-two, .program .grid-two { grid-template-columns: 1fr; }
  .program { padding-inline: 16px; }
  .program .grid-two { gap: 16px; }
  .program-card { min-height: 0; padding: 16px; }
  .program-card details { margin-top: 16px; }
  .quiz, .program, .map-art { border-radius: 24px; }
  .quiz { grid-template-columns: minmax(0, 1fr); }
  .site-quiz { min-height: 0; padding: 22px 18px; }
  .site-quiz form { gap: 22px; }
  .quiz-answers, .quiz-schedule { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .quiz-step legend { margin-bottom: 20px; }
  .quiz-answers label { min-height: 48px; }
  .quiz-side { padding-top: 0; }
  .quiz-photo { aspect-ratio: 1.3; }
  .frame-card { --frame-padding: 12px; border-radius: 14px; }
  .frame-card h3 { font-size: 15px; }
  .frame-price { font-size: 16px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about-grid p { max-width: none; }
  .about-kepler { order: 1; width: min(65%, 220px); justify-self: center; }
  .about-end { padding-top: 0; }
  .about-end .logo { width: min(100%, 220px); margin: 20px auto 0; }
  .faq summary { min-height: 52px; font-size: 16px; }
  .branch-grid { margin-top: 14px; }
  .branch { padding-block: 15px; }
  .branch h3 { font-size: 16px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px; padding: 23px; }
  .footer-main blockquote, .footer-pattern, .footer-portrait { display: none; }
  .footer-main address { gap: 12px; font-size: 14px; line-height: 1.3; }
  .footer-phone { font-size: 16px; }
  .footer-main small { font-size: 13px; }
  .footer-end { display: grid; grid-template-columns: 1fr 1fr; font-size: 10px; }
  .footer-credit { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 390px) {
  .site-header .brand { width: 122px; }
  .banner-copy { padding-inline: 16px; }
  .problem-copy { max-width: 67%; }
  .footer-main { grid-template-columns: 1fr; }
}
