:root {
    --navy: #1a365d;
    --navy-deep: #0f283f;
    --green: #198754;
    --forest: #0f5132;
    --cream: #f2fcf2;
    --white: #ffffff;
    --muted: #617080;
    --line: rgba(26, 54, 93, 0.13);
    --shadow: 0 22px 52px rgba(15, 40, 63, 0.12);
}

@font-face { font-family: Montserrat; src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: Montserrat; src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype'); font-weight: 500; }
@font-face { font-family: Montserrat; src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype'); font-weight: 600; }
@font-face { font-family: Montserrat; src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype'); font-weight: 700; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: linear-gradient(180deg, #ecf8ef 0, var(--cream) 28rem, var(--white) 60rem); font-family: Montserrat, sans-serif; line-height: 1.6; }
button, input { font: inherit; }
button { cursor: pointer; }

.hero { isolation: isolate; position: relative; min-height: 31rem; overflow: hidden; padding: 2rem max(5vw, 1.5rem) 6rem; color: var(--white); background: linear-gradient(125deg, #0b1f2d 0%, #1a365d 54%, #1a7653 130%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 22, 32, 0.46), transparent); }
.site-nav, .hero-content { position: relative; z-index: 1; max-width: 1160px; margin-inline: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 8.8rem; display: block; }
.home-link, .hero-action { display: inline-flex; align-items: center; min-height: 2.7rem; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: .55rem 1.1rem; color: var(--white); text-decoration: none; font-size: .86rem; font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.home-link:hover, .hero-action:hover { color: var(--navy); background: var(--white); transform: translateY(-2px); }
.hero-content { max-width: 730px; padding-top: 5.5rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #8de0b5; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 1.15rem; font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1.03; letter-spacing: -.05em; }
.hero-content > p:not(.eyebrow) { max-width: 650px; margin-bottom: 2rem; color: rgba(255,255,255,.87); font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-action { border-color: transparent; background: var(--green); box-shadow: 0 12px 30px rgba(8, 21, 29, .25); }
.hero-action:hover { color: var(--white); background: var(--forest); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero-orb-one { width: 30rem; height: 30rem; right: -9rem; top: 1rem; background: radial-gradient(circle at 35% 35%, rgba(122, 229, 168, .38), rgba(25,135,84,.02) 66%); }
.hero-orb-two { width: 18rem; height: 18rem; right: 19%; bottom: -12rem; background: rgba(75, 194, 141, .27); }

section { padding: 5.8rem max(5vw, 1.5rem); }
.finder-section { max-width: 1160px; margin-inline: auto; }
.section-intro { max-width: 680px; margin-bottom: 2rem; }
.section-intro h2 { margin-bottom: .65rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em; }
.section-intro > p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.finder-shell { position: relative; max-width: 760px; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.4rem; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
label { display: block; margin-bottom: .55rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.search-wrap { position: relative; }
input[type='search'] { width: 100%; min-height: 3.6rem; padding: .85rem 3.25rem .85rem 1rem; border: 2px solid rgba(26,54,93,.2); border-radius: .85rem; outline: none; color: var(--navy); background: var(--white); }
input[type='search']:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(25,135,84,.14); }
.search-icon { position: absolute; top: 50%; right: 1rem; color: var(--green); font-size: 1.7rem; line-height: 1; transform: translateY(-55%); }
.search-status { min-height: 1.5rem; margin: .65rem 0 0; color: var(--muted); font-size: .84rem; }
.search-results { position: absolute; z-index: 5; left: clamp(1.25rem, 3vw, 2rem); right: clamp(1.25rem, 3vw, 2rem); top: calc(100% - 2rem); max-height: 18rem; overflow: auto; border: 1px solid var(--line); border-radius: .85rem; background: var(--white); box-shadow: var(--shadow); }
.search-results:empty { display: none; }
.search-option { display: flex; width: 100%; padding: .8rem 1rem; border: 0; border-bottom: 1px solid var(--line); color: var(--navy); background: var(--white); text-align: left; }
.search-option:last-child { border-bottom: 0; }
.search-option:hover, .search-option[aria-selected='true'] { background: #e6f6eb; }
.search-option strong { margin-right: .5rem; }
.search-option span { color: var(--muted); font-size: .86rem; }
.dose-picker, .price-result { max-width: 960px; margin-top: 1.75rem; }
.dose-picker { padding: 1.35rem; border-radius: 1.2rem; background: #e8f7ed; }
.dose-picker h3 { margin-bottom: .8rem; font-size: 1.1rem; }
.dose-options { display: flex; flex-wrap: wrap; gap: .65rem; }
.dose-option { border: 1px solid rgba(25,135,84,.32); border-radius: 999px; padding: .55rem .9rem; color: var(--forest); background: var(--white); font-weight: 600; }
.dose-option:hover, .dose-option[aria-pressed='true'] { color: var(--white); background: var(--green); }
.result-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--white); box-shadow: var(--shadow); }
.result-head { padding: clamp(1.4rem, 4vw, 2.25rem); color: var(--white); background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.result-head h3 { margin-bottom: .25rem; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.15; }
.result-head p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.price-grid { display: grid; grid-template-columns: repeat(var(--price-card-count), minmax(150px, 1fr)); gap: 1px; overflow-x: auto; background: var(--line); }
.price-item { min-height: 12.5rem; padding: 1.35rem; background: #fff7f7; }
.price-item--hube { background: linear-gradient(145deg, #e5f6eb, #f9fffa); }
.price-label { display: block; margin-bottom: .65rem; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-amount { display: block; color: #b42318; font-size: 1.75rem; font-weight: 700; letter-spacing: -.045em; }
.price-item--hube .price-amount { color: var(--forest); }
.price-basis { display: block; margin-top: .4rem; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.price-unit { display: block; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(26,54,93,.12); color: #b42318; font-size: .84rem; font-weight: 600; }
.price-item--hube .price-unit { color: var(--forest); }
.unavailable { color: #b42318; font-size: .94rem; font-weight: 600; }
.savings-block { padding: clamp(1.4rem, 4vw, 2.25rem); background: var(--cream); }
.savings-block h4 { margin-bottom: .25rem; font-size: 1.25rem; }
.savings-intro { margin-bottom: 1rem; color: var(--muted); font-size: .86rem; }
.savings-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.savings-list li { display: flex; flex: 1 1 175px; flex-direction: column; gap: .15rem; padding: .8rem .9rem; border-radius: .65rem; color: var(--forest); background: var(--white); box-shadow: 0 5px 14px rgba(15,81,50,.08); }
.savings-list span { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.savings-list strong { font-size: .95rem; }
.savings-list .higher-cost { color: #b42318; }
.pricing-note { max-width: 960px; margin-top: 1rem; padding: 1rem 1.15rem; border-left: 4px solid var(--green); color: var(--muted); background: rgba(255,255,255,.78); font-size: .83rem; }

.workflow-section { background: var(--white); }
.workflow-intro { max-width: 1160px; margin-inline: auto; }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; max-width: 1160px; margin-inline: auto; }
.workflow-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; background: #f6faf7; box-shadow: 0 16px 40px rgba(26,54,93,.08); }
.workflow-card-featured { color: var(--white); background: linear-gradient(145deg, var(--navy), #245f55); }
.track-label { margin-bottom: .8rem; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.workflow-card-featured .track-label { color: #8de0b5; }
.workflow-card h3 { margin-bottom: 1rem; font-size: 1.75rem; }
.workflow-card ol { margin: 0; padding-left: 1.25rem; }
.workflow-card li { padding-left: .4rem; margin-bottom: .8rem; }
.workflow-timing { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(26,54,93,.14); color: var(--muted); font-size: .82rem; }
.workflow-card-featured .workflow-timing { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.74); }

footer { padding: 2.75rem max(5vw, 1.5rem); color: rgba(255,255,255,.75); background: var(--navy-deep); text-align: center; font-size: .82rem; }
footer p { margin: .25rem 0; }

@media (max-width: 700px) {
    .hero { min-height: 29rem; padding-bottom: 4rem; }
    .hero-content { padding-top: 4rem; }
    .workflow-grid { grid-template-columns: 1fr; }
    .search-results { top: calc(100% - 1.25rem); }
}
@media (max-width: 420px) { .site-nav { align-items: flex-start; flex-direction: column; } .home-link { min-height: 2.25rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
