@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f4ec;
  --bg-strong: #efe6d8;
  --ink: #0f172a;
  --muted: #475467;
  --accent: #f36c3d;
  --accent-2: #1f7a7a;
  --card: #ffffff;
  --border: #e5decf;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 20%, #fdf1e8 0, transparent 35%),
    radial-gradient(circle at 75% 0%, #e7f6f2 0, transparent 35%),
    var(--bg);
  line-height: 1.7;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.button:focus-visible,
.ghost-button:focus-visible,
.menu-toggle:focus-visible,
.nav a:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.page-shell {
  max-width: 1080px;
  margin: 64px auto 80px auto;
  padding: 0 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f36c3d, #1f7a7a);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px 0;
  font-weight: 600;
}

.brand-line {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  background: var(--card);
  border-color: var(--border);
}

.nav a.active {
  background: #1f7a7a10;
  color: var(--accent-2);
  border-color: #1f7a7a30;
}

.cta-link {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 12px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

.page {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 32px;
  border-radius: 26px;
}

.page h1 {
  font-size: 32px;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.page h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 22px;
}

.page p {
  color: var(--muted);
  margin-top: 0;
}

.intro {
  font-size: 18px;
  color: var(--ink);
}

.hero {
  position: relative;
  border-radius: 22px;
  height: 220px;
  margin: 0 0 22px 0;
  overflow: hidden;
  background: linear-gradient(120deg, #0d2d51b3, #0f172a00 50%),
    url("assets/hero_banner.webp");
  background-size: cover;
  background-position: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, #ffffff40 0, transparent 45%),
    radial-gradient(circle at 80% 20%, #ffffff30 0, transparent 35%);
}

.hero-img {
  display: block;
}

.page-header {
  margin-bottom: 18px;
}

.list {
  padding-left: 18px;
  margin: 12px 0 0 0;
  color: var(--ink);
}

.list li + li {
  margin-top: 8px;
}

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 12px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf9f2 100%);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card .label {
  background: #1f7a7a15;
  color: var(--accent-2);
  border-radius: 10px;
  padding: 4px 8px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-card .title {
  margin: 0;
  font-size: 16px;
}

.product-card .desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-notes {
  margin: 4px 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-notes li + li {
  margin-top: 2px;
}

.product-card .price {
  font-weight: 700;
  color: var(--ink);
}

.product-card .card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button {
  background: linear-gradient(135deg, #f36c3d, #f28b2f);
  color: #fff;
  box-shadow: 0 12px 30px rgba(243, 108, 61, 0.25);
}

.ghost-button {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}

.button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.cta {
  margin: 28px 0 8px 0;
  text-align: center;
}

.callout {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #1f7a7a10;
  color: var(--ink);
  font-weight: 600;
}

.health-disclaimer {
  margin-top: 18px;
}

.health-disclaimer .small-print {
  font-size: 12px;
  color: #475569;
}

.related-links {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.related-links h3 {
  margin-bottom: 12px;
}

.related-links a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 0 8px 8px 0;
  background: #f7f4ec;
  font-weight: 600;
}

.consultant-panel {
  margin-top: 16px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #f1e3cf;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.consultant-name {
  margin: 4px 0;
  font-weight: 700;
}

.consultant-meta {
  margin: 2px 0;
  font-size: 14px;
  color: var(--muted);
}

.consultant-meta a {
  color: var(--accent-2);
  font-weight: 600;
}

.store-strip {
  margin-top: 16px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #f1e3cf;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-strip-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-strip-logo {
  width: 80px;
  height: auto;
  display: block;
}

.store-strip-text {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

.store-strip-cta {
  white-space: nowrap;
}

.store-strip-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.store-strip-meta {
  margin: 0;
  text-align: right;
}

.why-uzuri {
  margin-top: 40px;
  padding: 24px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #fff8ed 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #f4fbf7 0, transparent 55%),
    #fdf7ef;
  border: 1px solid #f1e3cf;
}

.why-uzuri-header h2 {
  margin: 0 0 8px 0;
}

.why-uzuri-header p {
  margin: 0 0 18px 0;
  color: var(--muted);
}

.why-uzuri-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.why-uzuri-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.why-uzuri-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f1e3cf;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.why-uzuri-card h3 {
  margin: 10px 0 8px 0;
  font-size: 18px;
}

.why-uzuri-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.why-uzuri-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #fff7e6 0, #f5e0c2 55%);
  border: 2px solid #e3b873;
  font-size: 28px;
}

.why-uzuri-faq {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f1e3cf;
  padding: 18px;
}

.why-uzuri-faq h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.why-uzuri-faq details {
  border-radius: 12px;
  border: 1px solid #f1e3cf;
  padding: 10px 12px;
  background: #fdf7ef;
  margin-top: 8px;
}

.why-uzuri-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}

.why-uzuri-faq summary::-webkit-details-marker {
  display: none;
}

.why-uzuri-faq details p {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

.site-footer {
  max-width: 1080px;
  margin: 0 auto 80px auto;
  padding: 24px;
  background: linear-gradient(135deg, #0f172a, #1f7a7a);
  color: #fff;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-title {
  margin: 6px 0;
  font-size: 22px;
  font-weight: 700;
}

.footer-copy {
  margin: 0;
  color: #e2e8f0;
}

.footer-links {
  margin-top: 10px;
  font-size: 12px;
  color: #e2e8f0;
}

.footer-links a {
  color: #e2e8f0;
}

.footer-links a:hover {
  text-decoration: underline;
}

.site-footer .button {
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

.site-footer .ghost-button {
  background: transparent;
  border-color: #ffffff60;
  color: #fff;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consultant-panel {
  margin: 18px 0 24px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f7f4ec;
}

.consultant-name {
  margin: 4px 0 2px 0;
  font-weight: 700;
}

.consultant-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-justine-logo {
  height: 26px;
  width: auto;
}

.footer-consultant-meta {
  margin: 0;
}

.hero-ctas {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.routine-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.field-input {
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}

.field-input:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkbox-label {
  font-size: 14px;
  color: var(--muted);
}

.small-print {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

#justine-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#justine-popup-overlay.open {
  display: flex;
}

.justine-popup-window {
  width: min(1200px, 95vw);
  height: min(800px, 90vh);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.justine-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: #f9fafb;
  font-weight: 600;
  font-size: 14px;
}

.justine-popup-close {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.justine-popup-frame {
  border: none;
  flex: 1;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 880px) {
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px 0 0 0;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-uzuri-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-uzuri-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .page {
    padding: 22px;
  }
}
