@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b2452;
  --navy: #09245b;
  --body: #253f60;
  --blue: #0068ab;
  --icon: #007abd;
  --green: #08782e;
  --focus: #005d9d;
  --page-gutter: max(16px, 3.5vw);
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .17em; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; z-index: 12; top: .6rem; left: .6rem; padding: .7rem 1rem; background: #fff; border-radius: .4rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 1.55rem; height: 1.55rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.icon.small { width: .9rem; height: .9rem; stroke-width: 2.5; }
.masthead { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid #d7e8f0; }
.head-inner { margin-inline: var(--page-gutter); min-height: clamp(76px, 5.9vw, 118px); display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3.1vw, 80px); }
.brand { flex: none; }
.brand img { width: clamp(166px, 15.15vw, 305px); height: auto; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { justify-content: space-between; flex: 1; gap: clamp(12px, 1.55vw, 28px); }
.desktop-nav > a, .nav-drop > summary { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; color: var(--navy); font-weight: 750; font-size: clamp(.94rem, 1.15vw, 1.13rem); text-decoration: none; white-space: nowrap; letter-spacing: -.03em; }
.desktop-nav > a:hover, .nav-drop > summary:hover { color: var(--blue); text-decoration: underline; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.header-actions { gap: 10px; }
.nav-drop, .menu { position: relative; }
.nav-drop[open] > summary .icon { transform: rotate(180deg); }
.flyout { position: absolute; z-index: 8; top: calc(100% + 4px); left: -12px; display: grid; gap: 1px; width: max-content; max-width: min(270px, 90vw); max-height: 70vh; overflow: auto; padding: 7px; border: 1px solid #b6d4e9; border-radius: 15px; background: #fff; box-shadow: 0 12px 30px #143f6426; }
.flyout.last { left: auto; right: 0; }
.flyout a { padding: .55rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.flyout a:hover, .flyout a:focus-visible { background: #e7f5ff; }
.login { display: inline-flex; align-items: center; justify-content: center; min-width: clamp(96px, 8.5vw, 135px); min-height: clamp(44px, 3.1vw, 50px); border-radius: 12px; background: #0565a8; color: white; font-size: clamp(1rem, 1.28vw, 1.24rem); font-weight: 750; text-decoration: none; }
.login:hover { background: #004e90; }
.menu { display: none; }
.menu > summary { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #b7ccdb; border-radius: 11px; color: var(--ink); }

.hero { position: relative; isolation: isolate; background: linear-gradient(0deg, #fff 0%, transparent 9%), radial-gradient(ellipse at 10% 46%, #d7eef8, transparent 37%), radial-gradient(ellipse at 100% 0%, #c9eaff 0, #eaf7fd 23%, transparent 56%), linear-gradient(100deg, #e4f3fa, #fafcfd 34%, #fff 61%, #eef8fd); }
.hero-inner { --hero-bottom: clamp(20px, 1.8vw, 36px); display: grid; grid-template-columns: minmax(0, 27.8fr) minmax(0, 22.2fr) minmax(0, 50fr); grid-template-rows: auto 1fr; column-gap: clamp(18px, 1.8vw, 52px); row-gap: clamp(21px, 1.65vw, 38px); min-height: clamp(460px, min(36vw, 66svh), 820px); padding: 0 var(--page-gutter) var(--hero-bottom) 1.5vw; }
.portrait { grid-column: 1; grid-row: 1 / 3; display: flex; justify-content: center; align-items: end; min-width: 0; padding-top: clamp(12px, 1.3vw, 25px); margin-bottom: calc(0px - var(--hero-bottom)); container-type: size; pointer-events: none; }
.dietitian { display: block; width: 100%; width: min(100cqw, calc(100cqh * 1122 / 1402)); height: auto; object-fit: contain; }
.headline { grid-column: 2 / -1; grid-row: 1; padding-top: clamp(23px, 2.35vw, 50px); display: flex; align-items: center; gap: clamp(13px, 1.15vw, 28px); }
.hero-shield { width: clamp(58px, 5.55vw, 87px); height: clamp(58px, 5.8vw, 90px); color: #0076b8; stroke-width: 1.55; }
.hero-shield { --shield-check: #60a617; --shield-stroke: 2.9; }
.verified { --shield-check: var(--green); --shield-stroke: 2.4; }
.headline h1 { font-size: clamp(2.1rem, 3.6vw, 4rem); line-height: 1.065; font-weight: 800; letter-spacing: -.049em; text-wrap: balance; }
.headline h1 strong { color: var(--green); font-weight: inherit; }
.headline p { margin-top: .27rem; font-size: clamp(1.04rem, 1.47vw, 1.45rem); font-weight: 500; line-height: 1.4; letter-spacing: -.03em; color: var(--body); }
.underline { display: inline-block; position: relative; }
.underline::after { content: ""; position: absolute; left: 0; right: 2%; bottom: -.4em; height: .42em; border-top: 3px solid #88bd3b; border-radius: 50% 50% 0 0; transform: rotate(-1deg); }
.benefits { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(20px, 2.3vw, 37px); align-self: center; border-right: 1px solid #b3d9eb; list-style: none; padding: 0 clamp(13px, 1.25vw, 24px) 0 0; margin: .5rem 0; }
.benefits li { display: grid; grid-template-columns: auto 1fr; gap: clamp(10px, .9vw, 16px); align-items: start; }
.icon-tile { width: clamp(48px, 4.35vw, 68px); height: clamp(48px, 4.35vw, 68px); display: grid; place-items: center; border-radius: 27%; background: linear-gradient(138deg,#daf2fe,#e9f7fe); color: var(--icon); }
.icon-tile .icon { width: 62%; height: 62%; }
.benefits h2 { font-size: clamp(1.02rem, 1.33vw, 1.36rem); line-height: 1.2; font-weight: 800; letter-spacing: -.037em; margin: .08em 0 .27em; }
.benefits p { font-size: clamp(.95rem, 1.13vw, 1.125rem); line-height: 1.27; letter-spacing: -.024em; color: var(--body); }
.panel { container: insurance-form / inline-size; grid-column: 3; grid-row: 2; align-self: center; min-width: 0; position: relative; background: white; border: 1px solid #8ac9ee; border-radius: clamp(20px, 1.85vw, 30px); padding: clamp(18px, 1.22vw, 23px) clamp(20px, 1.8vw, 30px) clamp(14px, 1.16vw, 20px); box-shadow: 0 7px 23px #086da620, 0 2px 6px #0a56810a; scroll-margin-top: 12px; }
.panel h2 { font-size: clamp(1.55rem, 2.02vw, 2.1rem); font-weight: 800; letter-spacing: -.044em; line-height: 1.15; }
.panel-intro { color: var(--body); margin: .18rem 0 clamp(15px, 1.2vw, 19px); line-height: 1.34; font-size: clamp(1rem, 1.23vw, 1.2rem); letter-spacing: -.025em; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(10px, 1.02vw, 16px); row-gap: clamp(11px, .92vw, 15px); }
.control, .name-pair { height: clamp(44px, 3.05vw, 49px); min-width: 0; position: relative; border: 1.4px solid #7891a5; border-radius: 15px; background: white; }
.control { --inset: clamp(36px, 3.05vw, 49px); display: block; }
.control.no-icon { --inset: 12px; }
.name-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.name-pair > .control { border: 0; height: 100%; background: transparent; }
.name-pair > .control + .control::before { content: ""; position: absolute; pointer-events: none; left: 0; top: 22%; height: 56%; width: 1px; background: #b2c4d1; }
.control input, .control select { display: block; position: relative; width: 100%; min-width: 0; height: 100%; margin: 0; border: none; border-radius: inherit; padding: .79rem 10px .04rem var(--inset); background: transparent; color: var(--ink); font-size: clamp(1rem, 1.07vw, 1.06rem); font-weight: 550; line-height: 1.2; }
.control input:focus, .control select:focus { outline: none; }
.control:focus-within { border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); z-index: 1; }
.control:hover:not(:focus-within), .name-pair:hover { border-color: #50748d; }
.field-icon, .control-chevron { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--icon); }
.field-icon { left: clamp(10px, .9vw, 15px); height: clamp(18px, 1.46vw, 23px); width: clamp(18px, 1.46vw, 23px); }
.field-title { position: absolute; z-index: 1; pointer-events: none; left: var(--inset); right: 6px; top: 50%; transform: translateY(-50%); color: #243f5f; font-size: clamp(.91rem, 1.08vw, 1.06rem); line-height: 1.12; font-weight: 550; letter-spacing: -.025em; }
.field-title > [aria-hidden="true"] { padding-left: 1px; }
.control:focus-within .field-title,
.control:has(input[placeholder]:not(:placeholder-shown)) .field-title,
.control:has(input[autocomplete=bday]) .field-title,
.control:has(select:valid) .field-title,
.control:has(select:disabled) .field-title { top: 3px; transform: none; font-size: .77rem; line-height: 1.05; color: #2f4862; }
.control input[autocomplete=bday]::placeholder { color: #536980; opacity: 1; }
.control select:invalid:not(:focus) { color: transparent; }
.control select { appearance: none; -webkit-appearance: none; padding-right: 32px; text-overflow: ellipsis; }
.selection-text { display: none; }
.control:has(select:disabled) { background: #f2f7fa; border-color: #9aaeba; }
.control select:disabled { cursor: default; color: #435b6f; -webkit-text-fill-color: #435b6f; padding-right: 7px; opacity: 1; }
.control:has(select:disabled) .control-chevron { display: none; }
.control select option { background: #fff; color: var(--ink); }
.control-chevron { right: 12px; width: 16px; height: 16px; color: #214765; stroke-width: 2.8; }
.wide { grid-column: 1 / -1; }
.error { padding: .7rem .85rem; margin: .85rem 0 0; border-left: 3px solid #ad262a; border-radius: 5px; color: #82222a; background: #fff0f0; font-size: 1rem; }
.primary { display: flex; align-items: center; justify-content: center; gap: .73rem; width: 100%; min-height: clamp(48px, 3.37vw, 54px); margin-top: clamp(14px, 1.13vw, 18px); padding: .55rem 1rem; border: 0; border-radius: 15px; background: linear-gradient(105deg, #0078b5 0%, #0064a8 65%, #075e9f 100%); box-shadow: 0 3px 8px #016ca41c; color: #fff; text-decoration: none; font-size: clamp(1.04rem, 1.26vw, 1.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.primary:hover { background: #005894; }
.primary:disabled { cursor: wait; background: #516c83; }
.primary .icon { width: 21px; height: 21px; stroke-width: 2.15; }
.primary .cta-arrow { width: 19px; height: 19px; }
.privacy { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: clamp(10px, .85vw, 14px); font-size: clamp(.8rem, .91vw, .94rem); line-height: 1.37; text-align: center; color: var(--body); }
.privacy .icon { color: var(--icon); width: 17px; height: 17px; stroke-width: 2.25; }
.confirmation, .appointment-picker { padding: clamp(8px, 1.4vw, 23px) 0; }
.confirmation:focus, #appointment-title:focus { outline: none; }
.receipt-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.receipt-icon { display: grid; flex: 0 0 48px; height: 48px; place-items: center; color: var(--green); background: #e8f6ec; border-radius: 14px; }
.receipt-icon .icon { width: 32px; height: 32px; }
.confirmation p { max-width: 58ch; color: var(--body); margin: .8rem 0; line-height: 1.5; }
#coverage-message { font-size: 1.08rem; color: var(--ink); }
.confirmation[data-result="not_accepted"] .receipt-icon { background: #eaf5fc; color: var(--blue); }
.receipt-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .7rem; color: var(--body); }
.receipt-price del { font-size: 1.1rem; }
.receipt-price strong { color: var(--ink); font-size: 1.65rem; line-height: 1.25; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.confirmation .primary { margin-top: 1.35rem; }
.visit-format { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; padding: 0; border: 0; min-width: 0; }
.visit-format legend, .appointment-options label { font-size: .98rem; font-weight: 700; }
.visit-format legend { padding: 0; margin-bottom: .4rem; }
.visit-format label { display: flex; gap: .6rem; align-items: center; padding: .65rem .8rem; min-width: 0; border: 1px solid #8fa8bc; border-radius: 12px; cursor: pointer; }
.visit-format label:has(:checked) { border-color: #0068ab; box-shadow: inset 0 0 0 1px #0068ab; background: #eef8fe; }
.visit-format label:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.visit-format input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.visit-format strong, .visit-format small { display: block; line-height: 1.25; }
.visit-format small { margin-top: .15rem; color: var(--body); font-size: .88rem; }
.appointment-options { display: grid; grid-template-columns: 1fr 1.4fr; gap: .75rem; }
.appointment-options label { display: grid; gap: .3rem; min-width: 0; }
.appointment-options select { width: 100%; min-height: 44px; min-width: 0; border: 1px solid #8fa8bc; border-radius: 10px; background: white; color: var(--ink); font: inherit; font-weight: 500; padding: .4rem .55rem; }
.schedule-status { color: var(--body); margin-top: .7rem; font-size: .92rem; line-height: 1.4; }
.text-action, .calendar-link { color: #005b96; font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: .16em; }
.text-action { padding: .45rem 0; border: 0; background: transparent; }
.calendar-link { display: block; width: fit-content; margin: .65rem auto 0; padding: .35rem; font-size: .92rem; }
.appointment-picker .primary:disabled { cursor: default; background: #597386; }
@container insurance-form (max-width: 430px) {
  .appointment-options { grid-template-columns: 1fr; gap: .45rem; }
  .visit-format label { padding: .6rem; gap: .4rem; }
}
.plans { padding: clamp(17px, 1.25vw, 23px) 0 clamp(25px, 2.25vw, 36px); }
.plans h2 { display: flex; justify-content: center; align-items: center; gap: 16px; padding-inline: 14px; text-align: center; font-size: clamp(1.28rem, 1.64vw, 1.68rem); line-height: 1.25; letter-spacing: -.04em; font-weight: 800; }
.plans h2::before, .plans h2::after { content: ""; width: clamp(40px, 9vw, 145px); height: 1px; background: linear-gradient(90deg, transparent, #66b2db); }
.plans h2::after { transform: rotate(180deg); }
.logos { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: clamp(10px, 1.2vw, 28px); margin: clamp(17px, 1.27vw, 28px) var(--page-gutter) 0; list-style: none; padding: 0; }
.logos li { min-width: 0; height: clamp(53px, 4.28vw, 68px); display: grid; place-items: center; background: #fff; border: 1px solid #c2e2f4; border-radius: 80px; box-shadow: 0 4px 12px #174e6e13; }
.logos img { width: auto; height: auto; max-width: 77%; max-height: 59%; object-fit: contain; }
.next {
  --step-icon-size: clamp(31px, 2.7vw, 43px);
  --icon-gap: 10px;
  --arrow-gap: clamp(13px, 1vw, 18px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.3vw, 22px);
  width: fit-content;
  max-width: calc(100% - 2 * var(--page-gutter));
  margin-inline: auto;
  padding: clamp(17px, 1.25vw, 22px) clamp(22px, 2vw, 34px);
  border-radius: clamp(19px, 1.6vw, 26px);
  background: linear-gradient(110deg,#eaf7fc,#f4fbfe 53%,#eaf7fc);
}
.next::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 82px; height: 70px; background: radial-gradient(ellipse at 100% 112%, transparent 69%, #8ac334 70%, #bde58b 100%); }
.next > h2 { flex: none; width: 7.55em; padding-inline-end: 16px; border-inline-end: 1px solid #83c4e3; font-size: clamp(1.35rem, 1.65vw, 1.7rem); font-weight: 800; line-height: 1.07; letter-spacing: -.046em; }
.steps { display: flex; align-items: flex-start; gap: var(--arrow-gap); min-width: 0; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: var(--icon-gap); min-width: 0; }
.steps li > div { min-width: 0; max-width: 26ch; }
.steps li:last-child > div { max-width: 17.5rem; }
.steps li:not(:last-child)::after {
  content: "";
  flex: 0 0 20px;
  height: 16px;
  margin-block-start: calc((var(--step-icon-size) - 16px) / 2);
  margin-inline-start: calc(var(--arrow-gap) - var(--icon-gap));
  background: #59a7d2;
  clip-path: polygon(0 40%, 67% 40%, 43% 12%, 55% 0, 100% 50%, 55% 100%, 43% 88%, 67% 60%, 0 60%);
}
.step-icon { width: var(--step-icon-size); height: var(--step-icon-size); color: var(--icon); }
.verified { color: var(--green); }
.steps h3 { font-size: clamp(1rem, 1.18vw, 1.22rem); line-height: 1.23; font-weight: 800; letter-spacing: -.036em; margin: .07em 0 .23em; }
.steps p { color: var(--body); font-size: clamp(.95rem, 1.05vw, 1.07rem); letter-spacing: -.02em; line-height: 1.32; }
footer { margin-top: clamp(6px, .55vw, 10px); }
.wave { display: block; width: 100%; height: clamp(16px, 1.35vw, 28px); }
.foot-inner { background: #f6faee; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; color: #344961; font-size: .87rem; }
.foot-inner a { color: #254867; font-weight: 650; }

@media (min-width: 791px) {
  .steps li:not(:last-child) p { contain: inline-size; }
}

@media (min-width: 1181px) {
  :root { --content-width: min(94%, calc(70rem + 29vw), 118rem); }
  .head-inner, .hero-inner, .logos { width: var(--content-width); margin-inline: auto; }
  .head-inner { min-height: clamp(76px, 5.9vw, 100px); gap: clamp(18px, 2.1vw, 40px); }
  .desktop-nav { justify-content: space-evenly; gap: clamp(12px, 1.25vw, 24px); }
  .brand img { width: clamp(166px, 15vw, 252px); }
  .hero-inner {
    --hero-bottom: clamp(20px, 1.75vw, 28px);
    padding: 0 0 var(--hero-bottom);
    grid-template-columns: minmax(0, 1.53fr) minmax(0, 1fr) minmax(0, min(48%, 52rem));
    gap: clamp(18px, 1.5vw, 26px) clamp(18px, 1.55vw, 32px);
    min-height: clamp(490px, 36vw, 638px);
  }
  .headline { padding-top: clamp(21px, 2vw, 36px); }
  .headline h1 { font-size: clamp(2.35rem, 3.6vw, 4.25rem); }
  .headline p { font-size: clamp(1.08rem, 1.4vw, 1.5rem); }
  .hero-shield { width: clamp(58px, 5.4vw, 88px); height: clamp(60px, 5.7vw, 93px); }
  .benefits { width: 100%; max-width: 23rem; justify-self: center; gap: clamp(22px, 2vw, 36px); }
  .benefits .icon-tile { width: clamp(49px, 4vw, 64px); height: clamp(49px, 4vw, 64px); }
  .benefits p { max-width: 27ch; }
  .panel { padding: clamp(17px, 1.45vw, 24px) clamp(21px, 1.9vw, 34px) clamp(15px, 1.2vw, 21px); }
  .panel h2 { font-size: clamp(1.65rem, 2.05vw, 2.2rem); }
  .panel-intro { margin-bottom: clamp(15px, 1.18vw, 21px); }
  .control, .name-pair { height: clamp(46px, 3.2vw, 53px); }
  .field-title, .control input, .control select { font-size: clamp(1rem, 1.07vw, 1.15rem); }
  .name-pair > .control { height: 100%; }
  .fields { row-gap: clamp(11px, .87vw, 15px); }
  .primary { min-height: clamp(49px, 3.4vw, 57px); margin-top: clamp(14px, 1vw, 19px); }
  .privacy { margin-top: clamp(10px, .82vw, 14px); }
  .plans { padding-block: clamp(16px, 1.3vw, 23px) clamp(14px, 1vw, 20px); }
  .logos { margin-top: clamp(14px, 1.2vw, 20px); }
  .logos li { height: clamp(56px, 4.4vw, 75px); }
  .logos img { width: auto; height: auto; max-width: 77%; max-height: 59%; }
  .next { max-width: var(--content-width); }
}

@media (min-width: 1181px) and (max-width: 1999px) {
  .portrait { margin-inline: max(-38px, -2.1vw) max(-12px, -.8vw); }
}

@media (min-width: 1181px) and (max-height: 820px) {
  .head-inner { min-height: 76px; }
  .brand img { max-width: 217px; }
  .hero-inner { --hero-bottom: 19px; min-height: 510px; row-gap: 17px; }
  .headline { padding-top: 18px; }
  .headline h1 { font-size: clamp(2.35rem, 3.5vw, 3.85rem); }
  .panel { padding-block: 16px 14px; }
  .control, .name-pair { height: 47px; }
  .name-pair > .control { height: 100%; }
  .fields { row-gap: 11px; }
  .primary { min-height: 50px; margin-top: 14px; }
}

@media (max-width: 1180px) {
  .head-inner { margin-inline: 3%; gap: 20px; }
  .desktop-nav { gap: 12px; }
  .hero-inner { grid-template-columns: minmax(0, 24fr) minmax(0, 23fr) minmax(0, 53fr); column-gap: 16px; }
  .portrait { align-items: center; }
  .benefits { padding-right: 12px; }
  .benefits li { gap: 9px; }
  .benefits .icon-tile { width: 42px; height: 44px; }
  .logos { margin-inline: 3%; }
}

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu { display: block; }
  .head-inner { min-height: 72px; margin-inline: 4%; }
  .brand img { width: 175px; }
  .login { min-width: 90px; }
  .hero-inner { grid-template-columns: minmax(0, 32fr) minmax(0, 68fr); gap: 16px 22px; padding: 0 4% 27px 2%; min-height: 0; }
  .portrait { margin-bottom: 0; align-items: center; }
  .headline { grid-row: 1; grid-column: 2; margin-left: 0; gap: 11px; padding-top: 26px; }
  .headline h1 { font-size: clamp(1.9rem, 4vw, 2.55rem); }
  .headline p { font-size: 1.04rem; margin-top: .38rem; }
  .hero-shield { width: 48px; height: 54px; }
  .panel { grid-column: 2; grid-row: 2; align-self: start; }
  .benefits { grid-column: 1 / -1; grid-row: 3; flex-direction: row; gap: 18px; justify-content: space-between; border: 0; margin: 8px 0 0 2%; padding: 0; }
  .benefits li { flex: 1; }
  .benefits p { font-size: .95rem; }
  .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .logos li { flex: 0 0 calc((100% - 60px) / 7); }
  .plans { padding-bottom: 16px; }
  .next { flex-direction: column; align-items: flex-start; gap: 12px; }
  .next > h2 { width: auto; padding: 0; border: 0; }
  .next::before { width: 38px; height: 30px; }
}

@media (min-width: 661px) and (max-width: 790px) {
  .hero-inner { grid-template-columns: minmax(0, .31fr) minmax(0, .69fr); gap: 10px 18px; padding-inline: 4%; }
  .portrait { grid-row: 1; container-type: normal; justify-content: end; padding-top: 10px; }
  .dietitian { width: min(100%, 138px); }
  .headline { align-self: center; padding-block: 12px; }
  .panel { grid-column: 1 / -1; }
  .benefits { margin-inline: 0; }
  .logos li { flex-basis: calc((100% - 30px) / 4); }
}

@media (max-width: 790px), (pointer: coarse) and (max-width: 1024px) and (max-height: 500px) {
  .next { --step-icon-size: 34px; width: calc(100% - 32px); max-width: 36rem; gap: 12px; padding: 17px 20px; }
  .steps { flex-direction: column; align-self: stretch; align-items: stretch; gap: 4px; }
  .steps li {
    display: grid;
    grid-template-columns: var(--step-icon-size) minmax(0, 1fr);
    align-items: center;
    gap: 4px var(--icon-gap);
  }
  .steps li > div, .steps li:last-child > div { max-width: none; }
  .steps h3 { margin: 0; }
  .steps p { display: none; }
  .steps li:not(:last-child)::after {
    grid-column: 1;
    justify-self: center;
    width: 16px;
    height: 16px;
    margin: 0;
    background: var(--icon);
    transform: rotate(90deg);
  }
}

@media (max-width: 660px) {
  .head-inner { min-height: 64px; margin-inline: 14px; gap: 12px; }
  .brand img { width: clamp(137px, 38vw, 170px); }
  .login { min-width: 70px; min-height: 42px; border-radius: 10px; }
  .header-actions { gap: 8px; }
  .menu > summary { width: 42px; height: 42px; }
  .hero { background: radial-gradient(ellipse at 97% 0, #dbf2ff, transparent 43%), linear-gradient(110deg,#eef8fd,#fbfdff); }
  .hero-inner { padding: 0 0 20px; grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); gap: 0 6px; }
  .portrait { grid-row: 1; align-self: center; justify-content: end; padding: 7px 0 4px 6px; container-type: normal; }
  .dietitian { width: min(100%, 164px); }
  .headline { position: relative; z-index: 1; grid-column: 2; grid-row: 1; align-self: center; display: block; padding: 23px 14px 25px 0; }
  .hero-shield { height: 31px; width: 30px; margin: 0 0 6px; }
  .headline h1 { font-size: clamp(1.59rem, 6.95vw, 2.4rem); letter-spacing: -.053em; line-height: 1.03; text-wrap: initial; }
  .headline h1 strong { display: block; }
  .headline p { font-size: clamp(.94rem, 3.5vw, 1.04rem); line-height: 1.3; margin-top: 8px; letter-spacing: -.02em; }
  .underline::after { border-width: 2px; bottom: -.21em; }
  .panel { grid-column: 1 / -1; grid-row: 2; margin: 0 12px; padding: 19px 16px 15px; border-radius: 21px; }
  .panel h2 { font-size: clamp(1.5rem, 6vw, 1.8rem); }
  .panel-intro { margin: 4px 0 15px; }
  .fields { gap: 10px; }
  .contact-field { grid-column: 1 / -1; }
  .control, .name-pair { height: 47px; }
  .control { --inset: 42px; }
  .field-title { font-size: 1rem; }
  .field-icon { left: 13px; width: 20px; height: 20px; }
  .primary { min-height: 49px; margin-top: 14px; font-size: 1.06rem; }
  .privacy { max-width: 390px; margin: 11px auto 0; font-size: .82rem; text-wrap: pretty; }
  .benefits { grid-column: 1 / -1; grid-row: 3; display: grid; gap: 16px; margin: 20px 21px 0; }
  .benefits li { grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: center; }
  .benefits h2 { font-size: 1.04rem; margin: 0 0 2px; }
  .benefits p { font-size: .96rem; }
  .plans { padding: 22px 12px 14px; }
  .plans h2 { font-size: 1.29rem; gap: 9px; padding: 0; text-wrap: balance; }
  .plans h2::before, .plans h2::after { width: 7%; flex: 0 1 22px; }
  .logos { gap: 8px; margin: 15px 0 0; }
  .logos li { flex-basis: calc((100% - 16px) / 3); height: 48px; }
  .logos img { max-width: 80%; max-height: 60%; }
  .next { width: calc(100% - 24px); padding-inline: 16px; border-radius: 20px; }
  .next > h2 { font-size: 1.45rem; }
  .steps h3 { font-size: 1.04rem; }
}

@media (max-width: 365px) {
  .hero-inner { grid-template-columns: minmax(0, 31fr) minmax(0, 69fr); }
  .headline { padding-top: 17px; padding-bottom: 20px; }
  .panel { margin-inline: 8px; padding-inline: 12px; }
  .benefits { margin-inline: 14px; }
  .logos li { flex-basis: calc((100% - 8px) / 2); }
}
@container insurance-form (max-width: 480px) {
  .paired { --inset: 12px; }
  .paired .field-icon, .paired .policy-alias { display: none; }
  .paired.select-control {
    display: grid;
    align-content: center;
    min-height: 50px;
    height: auto;
    padding: 17px 26px 4px var(--inset);
  }
  .paired.select-control select { position: absolute; inset: 0; }
  .paired.select-control .field-title { right: 26px; }
  .paired.select-control:has(.selection-text:not(:empty)) select { color: transparent; }
  .paired .selection-text:not(:empty) {
    position: relative;
    display: block;
    pointer-events: none;
    color: var(--ink);
    font-weight: 550;
    font-size: .94rem;
    line-height: 1.17;
    overflow-wrap: anywhere;
  }
}
@container insurance-form (max-width: 350px) {
  .paired { --inset: 9px; }
  .paired .company-word { display: none; }
  .paired .field-title { font-size: .94rem; }
  .paired .control-chevron { right: 7px; width: 14px; }
  .paired.select-control { padding-right: 22px; }
  .paired.select-control .field-title { right: 18px; }
  .paired input[autocomplete=bday] { padding-right: 4px; }
}
@media (forced-colors: active) {
  .primary, .login, .icon-tile, .logos li { border: 1px solid ButtonText; }
  .field-icon, .step-icon, .hero-shield { color: CanvasText; }
}
