:root {
  --green: #638c59;
  --green-deep: #153521;
  --green-dark: #264d2e;
  --green-soft: #edf4e9;
  --shop-bg: #f3f8f2;
  --cream: #fcfaf5;
  --sand: #e9dfcf;
  --ink: #17241b;
  --muted: #687269;
  --white: #ffffff;
  --line: #dce7d8;
  --shadow: 0 18px 48px rgba(34, 69, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--shop-bg); color: var(--ink); font-family: "Poppins", Arial, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }

.service-bar { background: var(--green-deep); color: white; font-size: 12px; }
.service-bar > div { max-width: 1240px; min-height: 36px; margin: auto; padding: 8px 30px; display: flex; justify-content: center; gap: 42px; align-items: center; }
.service-bar span { white-space: nowrap; }

.site-header { min-height: 106px; max-width: 1240px; margin: auto; padding: 18px 30px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background: white; }
body::before { content: ""; position: absolute; z-index: -1; top: 36px; left: 0; right: 0; height: 106px; background: white; border-bottom: 1px solid #edf0eb; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; flex: 0 1 365px; }
.brand-logo { display: block; width: 100%; max-width: 365px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: #344339; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; position: relative; padding: 13px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--green-dark); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--green); border-radius: 3px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.private-pill { padding: 7px 10px; border: 1px solid #ceddc9; border-radius: 999px; color: var(--green-dark); font-size: 10px; font-weight: 700; background: var(--green-soft); white-space: nowrap; }
.shop-button { border-radius: 11px; padding: 12px 16px; color: white; background: var(--green); text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 7px 16px rgba(74, 112, 65, .18); }

main { max-width: 1240px; margin: 0 auto; padding: 30px 30px 75px; }
.hero { min-height: 585px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; overflow: hidden; background: var(--white); border: 1px solid #e5ece2; border-radius: 28px; box-shadow: var(--shadow); }
.hero-copy { padding: clamp(45px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-copy::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid var(--line); border-radius: 50%; left: -100px; bottom: -105px; }
.eyebrow { color: var(--green); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 800; margin: 0 0 16px; }
.eyebrow span { font-size: 9px; vertical-align: 1px; }
h1, h2 { margin: 0; color: var(--green-deep); letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(41px, 5vw, 65px); font-weight: 800; }
h1 em { display: block; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.72; max-width: 570px; margin: 25px 0 30px; }
.primary-button, .secondary-button, .text-button { border: 0; border-radius: 12px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.primary-button { align-self: flex-start; color: white; background: linear-gradient(135deg, var(--green), var(--green-dark)); padding: 16px 23px; box-shadow: 0 10px 23px rgba(45, 82, 51, .22); }
.primary-button span { margin-left: 7px; }
.primary-button:hover:not(:disabled), .secondary-button:hover, .shop-button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(45,82,51,.22); }
.primary-button:focus-visible, .secondary-button:focus-visible, .text-button:focus-visible, .option:focus-visible, a:focus-visible { outline: 3px solid #a7c69f; outline-offset: 3px; }
.primary-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.secondary-button { padding: 14px 19px; background: white; color: var(--green-dark); border: 1px solid #bdcdb9; }
.text-button { padding: 12px 2px; color: var(--muted); background: none; }
.trust-row { display: flex; flex-wrap: wrap; gap: 15px; color: #667166; font-size: 11px; font-weight: 600; margin-top: 25px; }

.hero-visual { min-height: 585px; position: relative; overflow: hidden; background: #dfddd5; }
.hero-photo { position: absolute; right: 0; top: -25%; width: 150%; height: 150%; object-fit: cover; object-position: right center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,42,24,.36)); pointer-events: none; }
.featured-product { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; width: 304px; min-height: 88px; padding: 8px 14px 8px 8px; border-radius: 18px; color: var(--green-deep); background: rgba(255,255,255,.94); box-shadow: 0 16px 38px rgba(10,38,20,.2); backdrop-filter: blur(8px); }
.brand-bottles { width: 110px; height: 70px; display: flex; align-items: center; justify-content: center; }
.brand-bottles img { width: 46px; height: 68px; object-fit: contain; border-radius: 8px; background: white; }
.brand-bottles img + img { margin-left: -12px; }
.featured-product span { display: grid; gap: 3px; }
.featured-product small { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.featured-product strong { font-size: 13px; line-height: 1.3; }
.photo-badge { position: absolute; z-index: 2; right: 20px; top: 20px; display: grid; padding: 12px 15px; color: var(--green-deep); background: rgba(246,250,244,.92); border: 1px solid rgba(255,255,255,.85); border-radius: 14px; box-shadow: 0 10px 28px rgba(24,52,29,.12); }
.photo-badge strong { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.photo-badge span { color: var(--muted); font-size: 10px; }

.advisor-shell, .results { max-width: 900px; margin: 42px auto 0; background: white; border: 1px solid #e3ebe0; border-radius: 26px; box-shadow: var(--shadow); padding: clamp(25px, 5vw, 52px); }
.advisor-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 25px; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; padding: 7px 12px; font-size: 11px; font-weight: 700; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 600; }
.progress-track { height: 7px; background: #edf1ea; border-radius: 999px; overflow: hidden; margin-top: 10px; }
.progress-bar { width: 20%; height: 100%; background: linear-gradient(90deg, var(--green), #8aaa75); border-radius: inherit; transition: width .3s ease; }
.question-card { border: 0; padding: 35px 0 12px; margin: 0; }
.question-card legend { width: 100%; color: var(--green-deep); font-weight: 800; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.035em; line-height: 1.18; }
.question-help { color: var(--muted); line-height: 1.55; margin: 10px 0 25px; font-size: 14px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.option { position: relative; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfcfa; padding: 15px 17px; text-align: left; color: var(--ink); min-height: 62px; display: flex; align-items: center; gap: 12px; }
.option::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #afbeab; border-radius: 50%; }
.option:hover { border-color: #9ab394; background: var(--green-soft); }
.option.selected { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.option.selected::before { border: 5px solid var(--green); background: white; }
.option-copy { display: grid; gap: 3px; }
.option-label { font-size: 13px; font-weight: 700; }
.option-example { color: var(--muted); font-size: 10px; line-height: 1.4; }
.form-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf0eb; padding-top: 21px; }

.result-heading { padding-bottom: 10px; }
.result-heading h2 { font-size: clamp(34px, 5vw, 51px); font-weight: 800; }
.result-heading > p:last-child { color: var(--muted); line-height: 1.65; max-width: 680px; font-size: 14px; }
.routine { display: grid; gap: 13px; margin: 28px 0 20px; }
.product-card { display: grid; grid-template-columns: 96px 42px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 13px 16px 13px 12px; border: 1px solid var(--line); border-radius: 18px; background: #fbfcfa; }
.product-image-wrap { width: 96px; height: 96px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: white; border: 1px solid #edf0eb; }
.product-image { width: 100%; height: 100%; object-fit: contain; }
.no-product-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 26px; }
.routine-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: 14px; }
.product-type { margin: 0 0 3px; color: var(--green); text-transform: uppercase; letter-spacing: .09em; font-size: 9px; font-weight: 800; }
.product-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.product-meta .product-type { margin: 0; }
.product-brand { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 9px; font-weight: 800; }
.product-name { margin: 0 0 5px; color: var(--green-deep); font-size: 15px; line-height: 1.35; }
.product-reason { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.alternatives { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #e5ece2; color: var(--muted); font-size: 10px; line-height: 1.45; }
.alternatives > span { font-weight: 700; color: #526055; }
.alternatives a { color: var(--green-dark); text-decoration: none; }
.alternatives a:hover { text-decoration: underline; }
.shop-link { color: white; background: var(--green); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 10px; text-decoration: none; white-space: nowrap; }
.shop-link:hover { background: var(--green-dark); }
.usage-note { position: relative; background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 10px 16px 16px 10px; padding: 17px 19px; color: var(--green-deep); font-size: 12px; line-height: 1.65; }
.result-actions { display: flex; gap: 10px; margin-top: 23px; }
.care-note { color: #7a827a; font-size: 10px; line-height: 1.6; margin: 23px 0 0; }

footer { max-width: 1180px; margin: 0 auto 30px; min-height: 96px; padding: 18px 25px; display: grid; grid-template-columns: minmax(240px,360px) 1fr auto; align-items: center; gap: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; color: var(--muted); font-size: 11px; }
footer img { width: min(100%, 335px); }
footer a { color: var(--green-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
[hidden] { display: none !important; }

.embed-mode { background: transparent; }
.embed-mode .service-bar,
.embed-mode .site-header,
.embed-mode footer { display: none; }
.embed-mode::before { display: none; }
.embed-mode main { max-width: 1200px; padding: 8px; }
.embed-mode .hero { box-shadow: none; }
.embed-mode .advisor-shell,
.embed-mode .results { margin-top: 0; box-shadow: none; }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .site-header { min-height: 92px; }
  body::before { height: 92px; }
  .brand { max-width: 330px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 45px 38px; }
  .featured-product { width: 280px; }
}

@media (max-width: 760px) {
  .service-bar > div { min-height: 32px; padding: 7px 14px; justify-content: center; }
  .service-bar span { display: none; }
  .service-bar span:first-child { display: block; }
  .site-header { min-height: 79px; padding: 13px 17px; }
  body::before { top: 32px; height: 79px; }
  .brand { max-width: 285px; }
  .private-pill, .shop-button { display: none; }
  main { padding: 16px 13px 48px; }
  .hero { min-height: auto; grid-template-columns: 1fr; border-radius: 22px; }
  .hero-copy { padding: 38px 24px 33px; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  .lead { font-size: 14px; line-height: 1.65; }
  .primary-button { width: 100%; align-self: stretch; }
  .trust-row { gap: 10px 14px; }
  .hero-visual { min-height: 340px; }
  .hero-photo { top: -25%; width: 155%; height: 155%; object-position: right center; }
  .featured-product { left: 13px; bottom: 13px; width: 276px; min-height: 78px; border-radius: 15px; }
  .brand-bottles { width: 96px; height: 60px; }
  .brand-bottles img { width: 40px; height: 58px; }
  .photo-badge { right: 12px; top: 12px; }
  .advisor-shell, .results { margin-top: 20px; border-radius: 21px; padding: 24px 20px; }
  .advisor-kicker { margin-bottom: 19px; }
  .options { grid-template-columns: 1fr; }
  .question-card { padding-top: 27px; }
  .product-card { grid-template-columns: 78px 1fr; padding: 11px; gap: 11px; }
  .product-image-wrap { width: 78px; height: 78px; grid-row: span 2; }
  .product-copy { min-width: 0; }
  .routine-number { display: none; }
  .shop-link { grid-column: 2; justify-self: start; }
  .result-actions { flex-direction: column; }
  footer { margin: 0 13px 20px; padding: 20px; grid-template-columns: 1fr; gap: 12px; text-align: center; }
  footer img { margin: auto; }
  .embed-mode main { padding: 2px; }
  .embed-mode .hero,
  .embed-mode .advisor-shell,
  .embed-mode .results { border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
