:root {
  color-scheme: light;
  --body: #f6f7f7;
  --paper: #fff;
  --ink: #0f1115;
  --muted: #555b65;
  --line: #dadde1;
  --red: #e30613;
  --red-dark: #a7000a;
  --soft-red: #fff1f2;
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--body); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
p { margin: 0 0 12px; line-height: 1.55; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { letter-spacing: -.035em; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 12px;
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.topbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar__content, .footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}
.brand { font-size: clamp(23px, 3vw, 31px); font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.brand strong { color: var(--red); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 19px;
  font-size: 16px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.button--primary { color: #fff; background: var(--red); }
.button--primary:hover { background: var(--red-dark); }
.button--quiet { color: var(--ink); border-color: var(--line); background: var(--paper); }
.button--quiet:hover { border-color: var(--red); }
.button:disabled { opacity: .65; cursor: wait; }
#internet-call-disabled { cursor: default; }
.header-call { min-height: 42px; }
.header-call__compact { display: none; }

.intro { max-width: 790px; padding: clamp(32px, 6vw, 67px) 0 clamp(26px, 4vw, 44px); }
.intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.intro .eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); }
.intro h1 { font-size: clamp(38px, 6.2vw, 71px); line-height: .98; }
.intro h1 span { display: block; color: var(--red-dark); }
.intro > p:last-child { max-width: 620px; margin: 17px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 24px; align-items: start; }
.panel { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 12px; background: var(--paper); box-shadow: 0 12px 36px rgba(15, 17, 21, .07); }
.calculator { min-width: 0; padding: clamp(18px, 3.6vw, 36px); }
.calculator h2, .contact h2 { font-size: clamp(27px, 4vw, 39px); }
.support { color: var(--muted); }
h2 + .support { margin-top: 10px; }
.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 16px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.progress li { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; }
.progress li span {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #eef0f2;
}
.progress [aria-current="step"] { color: var(--ink); }
.progress [aria-current="step"] span { color: #fff; background: var(--red); }
.progress .is-complete span { color: var(--red-dark); background: var(--soft-red); }

fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { margin: 0 0 10px; padding: 0; font-weight: 750; }
legend.support { font-weight: 400; }
.prescription { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 19px; }
.prescription fieldset {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f9fa;
}
.prescription legend { margin-bottom: 0; padding: 0 4px; }
abbr { color: var(--muted); font-size: 13px; text-decoration: none; }
.eye-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.eye-fields label { min-width: 0; font-size: 14px; font-weight: 750; }
.eye-fields label span { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; font-weight: 400; }
input:not([type=checkbox],[type=radio]), textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid #9ea4ad;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}
.eye-fields input { margin-top: 7px; padding-inline: 7px; }
.signed-field { min-width: 0; }
.sign-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 5px; }
.sign-buttons button {
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #9ea4ad;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
}
.sign-buttons button:hover, .sign-buttons button[aria-pressed=true] { border-color: var(--red-dark); }
.sign-buttons button[aria-pressed=true] { background: var(--soft-red); color: var(--red-dark); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--red-dark); box-shadow: 0 0 0 1px var(--red-dark); }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--red); }

details { margin-top: 14px; }
summary { padding-block: 9px; color: var(--ink); font-weight: 750; text-underline-offset: 3px; }
summary:hover { text-decoration: underline; }
.recipe-details p, .privacy p { margin: 4px 0 10px; font-size: 14px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label, .consent { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.checks label { min-height: 32px; align-items: center; font-size: 14px; }
.lens-pref { display: grid; gap: 10px; margin-top: 15px; }
.lens-pref .checks label { min-height: 42px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.35;
}
.choices label:has(input:checked) { border-color: var(--red); background: var(--soft-red); }
.choices--frame label { align-items: flex-start; }
.choices--frame input { margin-top: 2px; }
.choices small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.priority { margin-top: 24px; }
.choices--priority { grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 14px; }
[data-step="2"] h2, [data-step="3"] h2 { margin-bottom: 10px; }
.step-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--red-dark); font-weight: 750; text-underline-offset: 3px; }

.helper {
  display: grid;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.helper h2 { font-size: 24px; }
.helper p { margin: 9px 0 12px; color: var(--muted); }
.helper .call-hint { font-size: 13px; }
.contact-number {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 4px;
  color: var(--red-dark);
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.notice { margin: 12px 0; padding: 12px 14px; border-left: 4px solid var(--red); border-radius: 4px; background: var(--soft-red); white-space: pre-line; }
.result-transposition { margin-block: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.result-transposition h3 { margin-bottom: 8px; font-size: 18px; }
.result-transposition ul { margin: 0 0 12px; padding-left: 20px; }
.result-transposition li + li { margin-top: 8px; }
.result-transposition li span { display: block; line-height: 1.5; }
.result-transposition p:last-child { margin-bottom: 0; }
.result-transposition a { color: var(--red-dark); text-underline-offset: .15em; }
.result-list { display: grid; gap: 18px; margin: 14px 0; }
.result-options { display: grid; min-width: 0; gap: 18px; }
.result-toggle { justify-self: start; }
.result-group { min-width: 0; display: grid; gap: 10px; }
.result-group-title { font-size: 18px; }
.result-group > .result-group + .result-group { margin-top: 8px; }
.result-group h4.result-group-title { color: var(--muted); font-size: 16px; }
.result-alternatives { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.result-alternatives summary { font-weight: 700; }
.result-alternatives > .result-group { margin-top: 14px; }
.offer { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.offer-title { margin: 0 0 8px; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.offer-kind { margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.offer-price { margin-bottom: 8px; color: var(--red-dark); font-size: 19px; font-weight: 850; }
.offer-price small { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.offer-recommendation { margin: 5px 0; font-weight: 700; overflow-wrap: anywhere; }
.offer-reason, .offer-availability, .offer-details { margin: 5px 0; color: var(--muted); overflow-wrap: anywhere; }
.offer-availability--local { color: var(--ink); font-weight: 700; }
.offer-details { font-size: 14px; }
#result-note { margin-top: 14px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(18px, 4vw, 48px);
  margin: 24px 0 48px;
  padding: clamp(18px, 3.6vw, 36px);
}
.contact-fields { display: grid; gap: 7px; }
.contact-fields label { font-weight: 750; }
.contact-fields :is(input, textarea) { margin-bottom: 4px; }
.consent { margin: 13px 0 8px; font-size: 14px; line-height: 1.4; }
.privacy { margin: 0 0 9px; font-size: 14px; }
.antispam { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 10px 0; }
.form-status.error { color: var(--red-dark); font-weight: 750; }
.form-status.success { color: #19633c; font-weight: 750; }
.footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer__content { color: var(--muted); }
.footer .brand { color: var(--ink); font-size: 23px; }
.footer a { font-weight: 750; text-decoration: none; }

@media (max-width: 860px) {
  .workspace, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 30px); }
  .prescription { grid-template-columns: 1fr; }
  .progress { gap: 4px; }
  .progress li { flex-direction: column; gap: 4px; text-align: center; }
  .choices--priority { grid-template-columns: 1fr; }
  .footer__content { flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .intro h1 { font-size: 35px; }
  .header-call__full { display: none; }
  .header-call__compact { display: inline; }
  .choices { grid-template-columns: 1fr; }
  .step-actions .button { flex: 1 1 auto; }
}

.calc-breadcrumb { padding-top: 21px; color: var(--muted); font-size: 15px; }
.calc-breadcrumb a { text-underline-offset: .15em; }
.calc-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  max-width: none; margin: 15px 0 clamp(22px, 3vw, 38px); padding: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(110deg, #fff 50%, #fff1f2);
  box-shadow: 0 12px 36px rgba(15, 17, 21, .08);
}
.calc-intro__copy { align-self: center; padding: clamp(25px, 3.6vw, 52px); }
.calc-intro h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.calc-intro h1 span { margin-top: 3px; }
.calc-intro__copy p { max-width: 39ch; margin: 16px 0 22px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }
.calc-intro__art { position: relative; min-height: 100%; background: #e8e2de; }
.calc-intro__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 38%; }
#calculator { scroll-margin-top: 108px; }
.helper__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.helper__heading img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; }
@media (max-width: 700px) {
  .calc-intro { grid-template-columns: minmax(0, 1fr); }
  .calc-intro__copy { padding: clamp(19px, 5vw, 32px); }
  .calc-intro h1 { font-size: clamp(32px, 8.3vw, 46px); }
  .calc-intro__copy p { margin: 12px 0 17px; }
  .calc-intro__art { aspect-ratio: 16 / 10; min-height: 0; }
}
.customer-links, .salon-chat__links { display: grid; justify-items: start; gap: 10px; }
.customer-links { margin-top: 12px; }
.salon-chat__links { margin-top: 16px; }
.contact, .salon-chat, .callback-form { min-width: 0; scroll-margin-top: 100px; }
.callback-form .contact-fields { margin-top: 14px; }
.callback-form select {
  width: 100%; min-width: 0; min-height: 46px; padding: 8px 11px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); font: inherit;
}
.callback-form select:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
