
:root {
  --bdw-bg: #f7f5ef;
  --bdw-surface: #ffffff;
  --bdw-surface-soft: #fbfaf6;
  --bdw-text: #374550;
  --bdw-muted: #687985;
  --bdw-line: rgba(55,69,80,.14);
  --bdw-accent: #b2e0d6;
  --bdw-warm: #f0e6da;
  --bdw-radius: 28px;
  --bdw-shadow: 0 18px 50px rgba(55,69,80,.07);
  --bdw-header-h: 76px;
  --bdw-footer-h: 52px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bdw-bg); color: var(--bdw-text); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bdw-bg); padding-bottom: calc(var(--bdw-footer-h) + env(safe-area-inset-bottom)); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.bdw-shell-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,239,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bdw-line);
}
.bdw-shell-header,
.bdw-app,
.bdw-sticky-footer-inner { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.bdw-shell-header {
  min-height: var(--bdw-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.bdw-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.bdw-brand img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.bdw-brand-copy { min-width: 0; }
.bdw-brand strong, .bdw-brand small { display: block; }
.bdw-brand strong { font-size: .9rem; line-height: 1.15; letter-spacing: -.01em; }
.bdw-brand small { color: var(--bdw-muted); margin-top: 3px; font-size: .72rem; line-height: 1.2; }
.bdw-nav { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.bdw-nav a { text-decoration: none; font-size: .82rem; }
.bdw-nav-link { padding: 10px 12px; border-radius: 999px; }
.bdw-nav-link:hover { background: var(--bdw-surface); }
.bdw-nav-cta, .bdw-footer-contact { padding: 11px 15px; border-radius: 999px; background: var(--bdw-text); color: white; font-weight: 750; }

.bdw-app { padding-block: clamp(34px, 6vw, 72px) 88px; }
.bdw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(64px, 8vw, 96px);
}
.bdw-hero-copy { min-width: 0; }
.bdw-kicker { margin: 0 0 18px; color: var(--bdw-muted); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }
.bdw-title { margin: 0; max-width: 720px; font-size: clamp(3rem, 6.4vw, 5.65rem); line-height: .97; letter-spacing: -.058em; text-wrap: balance; }
.bdw-lead { margin: 22px 0 0; max-width: 700px; color: var(--bdw-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.6; }
.bdw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bdw-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 760; border: 1px solid var(--bdw-line); background: var(--bdw-surface); }
.bdw-button-primary { background: var(--bdw-text); color: #fff; border-color: var(--bdw-text); }
.bdw-hero-panel { position: relative; min-height: 340px; border: 1px solid var(--bdw-line); border-radius: 34px; background: var(--bdw-surface); overflow: hidden; box-shadow: var(--bdw-shadow); }
.bdw-hero-panel-main { min-height: 260px; display: grid; place-items: center; text-align: center; padding: 34px; background: var(--bdw-surface-soft); }
.bdw-hero-panel-main img { width: 96px; height: 96px; margin-inline: auto; }
.bdw-hero-panel-main strong { display: block; margin-top: 14px; font-size: 1.18rem; letter-spacing: -.03em; }
.bdw-hero-panel-main span { display: block; margin-top: 7px; color: var(--bdw-muted); line-height: 1.45; font-size: .9rem; }
.bdw-hero-note { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 18px; border: 1px solid var(--bdw-line); border-radius: 22px; background: rgba(255,255,255,.96); }
.bdw-hero-note strong { display: block; font-size: .92rem; }
.bdw-hero-note p { margin: 6px 0 0; color: var(--bdw-muted); line-height: 1.48; font-size: .82rem; }
.bdw-principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 4px; }
.bdw-principle { padding-top: 14px; border-top: 1px solid var(--bdw-line); }
.bdw-principle strong { display: block; font-size: .8rem; }
.bdw-principle span { display: block; margin-top: 5px; color: var(--bdw-muted); font-size: .74rem; line-height: 1.4; }

.bdw-groups { display: grid; gap: clamp(58px, 7vw, 86px); }
.bdw-group-head { display: grid; grid-template-columns: minmax(0,.9fr) minmax(260px,.6fr); align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 20px; }
.bdw-group-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.bdw-group-head p { margin: 0; color: var(--bdw-muted); line-height: 1.55; }
.bdw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bdw-card { position: relative; min-height: 280px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--bdw-line); border-radius: 24px; background: var(--bdw-surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.bdw-card:hover { transform: translateY(-2px); border-color: rgba(55,69,80,.26); box-shadow: var(--bdw-shadow); }
.bdw-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 34px; }
.bdw-card-metric { display: inline-grid; place-items: center; min-width: 46px; min-height: 30px; padding-inline: 10px; border-radius: 999px; background: var(--bdw-accent); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.bdw-card-eyebrow { color: var(--bdw-muted); font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; text-align: right; }
.bdw-card h3 { margin: 32px 0 10px; font-size: 1.22rem; line-height: 1.16; letter-spacing: -.032em; text-wrap: balance; }
.bdw-card p { margin: 0; color: var(--bdw-muted); line-height: 1.55; font-size: .9rem; }
.bdw-card-foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; color: var(--bdw-text); font-size: 12px; font-weight: 720; }
.bdw-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bdw-bg); font-size: 16px; }

.bdw-detail-back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 26px; text-decoration: none; color: var(--bdw-muted); font-size: .88rem; }
.bdw-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; }
.bdw-detail-main, .bdw-detail-side { border: 1px solid var(--bdw-line); border-radius: var(--bdw-radius); background: var(--bdw-surface); }
.bdw-detail-main { padding: clamp(24px, 5vw, 52px); }
.bdw-detail-side { padding: 22px; align-self: start; position: sticky; top: calc(var(--bdw-header-h) + 18px); }
.bdw-detail h1 { margin: 8px 0 18px; font-size: clamp(2.55rem, 5.2vw, 4.8rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.bdw-detail-summary { margin: 0 0 32px; max-width: 720px; color: var(--bdw-muted); font-size: 1.08rem; line-height: 1.65; }
.bdw-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--bdw-line); }
.bdw-section h2 { margin: 0 0 13px; font-size: 1rem; }
.bdw-section p { line-height: 1.65; }
.bdw-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.bdw-list li { padding: 12px 14px; border-radius: 15px; background: var(--bdw-bg); line-height: 1.4; font-size: .9rem; }
.bdw-detail-side h2 { margin: 0; font-size: 1.1rem; }
.bdw-detail-side p { color: var(--bdw-muted); line-height: 1.55; font-size: .88rem; }
.bdw-detail-side ul { margin: 18px 0 0; padding-left: 18px; color: var(--bdw-muted); line-height: 1.7; font-size: .86rem; }
.bdw-cta { display: block; margin-top: 22px; padding: 13px 16px; text-align: center; text-decoration: none; border-radius: 16px; background: var(--bdw-text); color: white; font-weight: 750; font-size: .86rem; }

.bdw-loading, .bdw-error { padding: 50px 0; color: var(--bdw-muted); }
.bdw-error .bdw-title { max-width: 800px; }

.bdw-sticky-footer { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; min-height: var(--bdw-footer-h); padding-bottom: env(safe-area-inset-bottom); background: rgba(247,245,239,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--bdw-line); }
.bdw-sticky-footer-inner { min-height: var(--bdw-footer-h); display: flex; align-items: center; gap: 14px; }
.bdw-footer-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .76rem; font-weight: 760; white-space: nowrap; }
.bdw-footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.bdw-footer-note { padding-left: 14px; border-left: 1px solid var(--bdw-line); color: var(--bdw-muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdw-footer-links { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bdw-footer-links a { text-decoration: none; font-size: .72rem; }
.bdw-footer-contact { padding: 8px 12px !important; color: white !important; }

@media (max-width: 900px) {
  .bdw-hero { grid-template-columns: 1fr; align-items: start; }
  .bdw-hero-panel { min-height: 300px; }
  .bdw-principles { grid-template-columns: repeat(3,1fr); }
  .bdw-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bdw-detail { grid-template-columns: 1fr; }
  .bdw-detail-side { position: static; }
}

@media (max-width: 640px) {
  :root { --bdw-header-h: 66px; --bdw-footer-h: 52px; }
  .bdw-shell-header, .bdw-app, .bdw-sticky-footer-inner { width: min(100% - 24px, 1080px); }
  .bdw-shell-header { gap: 8px; }
  .bdw-brand { gap: 7px; }
  .bdw-brand img { width: 38px; height: 38px; }
  .bdw-brand-copy small { display: none; }
  .bdw-brand strong { max-width: 145px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; }
  .bdw-nav-link { display: none; }
  .bdw-nav-cta { padding: 9px 11px !important; font-size: .72rem !important; white-space: nowrap; }
  .bdw-app { padding-top: 30px; padding-bottom: 72px; }
  .bdw-hero { gap: 24px; margin-bottom: 58px; }
  .bdw-title { font-size: clamp(2.75rem, 13vw, 4rem); line-height: .98; letter-spacing: -.052em; }
  .bdw-lead { margin-top: 18px; font-size: 1rem; line-height: 1.55; }
  .bdw-actions { margin-top: 22px; }
  .bdw-button { flex: 1 1 145px; }
  .bdw-hero-panel { min-height: 286px; border-radius: 28px; }
  .bdw-hero-panel-main { min-height: 210px; padding: 26px; }
  .bdw-hero-panel-main img { width: 76px; height: 76px; }
  .bdw-hero-note { right: 12px; bottom: 12px; left: 12px; padding: 15px; border-radius: 18px; }
  .bdw-principles { grid-template-columns: 1fr; gap: 8px; }
  .bdw-group-head { grid-template-columns: 1fr; gap: 10px; }
  .bdw-group-head h2 { font-size: 1.8rem; }
  .bdw-grid, .bdw-list { grid-template-columns: 1fr; }
  .bdw-card { min-height: 230px; padding: 18px; }
  .bdw-card h3 { margin-top: 28px; font-size: 1.16rem; }
  .bdw-card p { font-size: .88rem; }
  .bdw-detail h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
  .bdw-detail-main, .bdw-detail-side { border-radius: 22px; }
  .bdw-detail-main { padding: 22px 18px; }
  .bdw-detail-side { padding: 18px; }
  .bdw-footer-note { display: none; }
  .bdw-footer-brand span { display: none; }
  .bdw-footer-links { gap: 10px; }
  .bdw-footer-links a:nth-child(2) { display: none; }
  .bdw-footer-contact { padding: 8px 11px !important; }
}

@media (max-width: 380px) {
  .bdw-brand strong { max-width: 116px; }
  .bdw-nav-cta { font-size: 0 !important; width: 38px; height: 38px; padding: 0 !important; }
  .bdw-nav-cta::after { content: "→"; font-size: 16px; }
  .bdw-title { font-size: 2.58rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none; }
}
