:root {
  --hb-bg-page: #f6f4f1;
  --hb-bg-surface: #fcfbf8;
  --hb-bg-subtle: #e7e1d7;
  --hb-bg-orientation: #d7e0d2;
  --hb-bg-sos: #f1e9d8;
  --hb-text-primary: #2b2b2b;
  --hb-text-secondary: #5a5a4a;
  --hb-border: #d6d0c4;
  --hb-action: #5a5a4a;
  --hb-focus: #ebd9a6;
  --hb-serif: "Playfair Display", Georgia, serif;
  --hb-sans: "Manrope", Arial, sans-serif;
  --hb-content: 1120px;
  --hb-reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hb-home-v2 {
  margin: 0;
  overflow-x: hidden;
  background: var(--hb-bg-page);
  color: var(--hb-text-primary);
  font-family: var(--hb-sans);
  font-size: 16px;
  line-height: 1.55;
}

body.hb-home-v2.nav-open {
  overflow: hidden;
}

.hb-home-v2 a {
  color: inherit;
  text-decoration: none;
}

.hb-home-v2 button,
.hb-home-v2 input {
  font: inherit;
}

.hb-home-v2 h1,
.hb-home-v2 h2,
.hb-home-v2 p,
.hb-home-v2 blockquote {
  margin-top: 0;
}

.hb-home-v2 h1,
.hb-home-v2 h2,
.hb-home-v2 blockquote {
  font-family: var(--hb-serif);
  font-weight: 400;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.hb-home-v2 h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.1vw, 86px);
  line-height: 1.07;
}

.hb-home-v2 h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.2;
}

.hb-home-v2 p {
  color: var(--hb-text-secondary);
}

.hb-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--hb-action);
  color: var(--hb-bg-page) !important;
  transform: translateY(-160%);
}

.hb-skip-link:focus {
  transform: translateY(0);
}

.hb-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(90, 90, 74, 0.16);
  background: rgba(246, 244, 241, 0.97);
  backdrop-filter: blur(14px);
}

.hb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.hb-brand img {
  width: 32px;
  height: 28px;
  object-fit: contain;
}

.hb-brand span {
  font-family: var(--hb-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hb-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  font-size: 12px;
  font-weight: 600;
}

.hb-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hb-nav-sos {
  padding-inline: 14px;
  border-radius: 4px;
  background: var(--hb-bg-sos);
}

.hb-menu-trigger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--hb-text-primary);
  cursor: pointer;
}

.hb-menu-trigger span,
.hb-menu-trigger span::before,
.hb-menu-trigger span::after {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.hb-menu-trigger span::before {
  transform: translateY(-6px);
}

.hb-menu-trigger span::after {
  transform: translateY(5px);
}

.hb-menu-trigger[aria-expanded="true"] span {
  background: transparent;
}

.hb-menu-trigger[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.hb-menu-trigger[aria-expanded="true"] span::after {
  transform: translateY(-1px) rotate(-45deg);
}

.hb-section {
  scroll-margin-top: 76px;
}

.hb-section-inner {
  width: min(100%, var(--hb-content));
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 72px);
}

.hb-narrow {
  max-width: 860px;
}

.hb-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  padding: clamp(72px, 10vw, 128px) clamp(24px, 7vw, 120px);
  overflow: hidden;
  place-items: center start;
  background: var(--hb-bg-page);
}

.hb-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
}

.hb-kicker,
.hb-meta {
  color: var(--hb-text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hb-kicker {
  max-width: 460px;
  margin-bottom: 24px;
}

.hb-intro {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.62;
}

.hb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--hb-action);
  color: var(--hb-bg-page) !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.hb-living-shape {
  position: absolute;
  background: var(--hb-bg-orientation);
  opacity: 0.72;
}

.hb-living-shape-hero {
  top: clamp(28px, 6vw, 70px);
  right: clamp(-80px, 5vw, 80px);
  width: clamp(180px, 25vw, 360px);
  aspect-ratio: 1.28;
  border-radius: 46% 54% 58% 42% / 45% 48% 52% 55%;
  transform: rotate(-13deg);
}

.hb-needs {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--hb-bg-page);
}

.hb-need-list {
  display: grid;
  gap: 1px;
  margin-top: 32px;
  background: var(--hb-border);
}

.hb-need-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--hb-bg-orientation);
}

.hb-need-row > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hb-need-row strong {
  font-size: 15px;
  font-weight: 600;
}

.hb-need-row small {
  color: var(--hb-text-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hb-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
}

.hb-sos-section {
  padding-block: 28px 46px;
  background: var(--hb-bg-page);
}

.hb-sos-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: var(--hb-bg-sos);
}

.hb-sos-box p {
  margin-bottom: 0;
  color: var(--hb-text-primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hb-sos-box small {
  color: var(--hb-text-secondary);
  font-size: 12px;
}

.hb-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: var(--hb-text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.hb-early-trust {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.hb-topics {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--hb-bg-page);
}

.hb-topic-index {
  margin-top: 30px;
  border-top: 1px solid var(--hb-border);
}

.hb-topic-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--hb-border);
  font-family: var(--hb-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
}

.hb-topic-index a > span:last-child {
  font-family: var(--hb-sans);
  font-size: 15px;
}

.hb-library {
  padding-block: clamp(64px, 9vw, 112px);
  background: var(--hb-bg-subtle);
}

.hb-section-intro {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.55;
}

.hb-feature-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--hb-border);
  border-radius: 4px;
  background: var(--hb-bg-surface);
}

.hb-feature-entry strong {
  font-family: var(--hb-serif);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
}

.hb-feature-entry > span:not(.hb-meta):not(.hb-entry-link) {
  font-size: 14px;
}

.hb-entry-link {
  min-height: 44px;
  padding-block: 10px;
  color: var(--hb-text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.hb-content-list {
  margin-top: 20px;
}

.hb-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 88px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--hb-border);
  background: var(--hb-bg-page);
}

.hb-content-row > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hb-content-row small {
  color: var(--hb-text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hb-content-row strong {
  font-family: var(--hb-serif);
  font-size: clamp(21px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.3;
}

.hb-content-row > span:last-child {
  flex: 0 0 24px;
  text-align: right;
}

.hb-story {
  padding-block: clamp(64px, 9vw, 112px);
  background: var(--hb-bg-orientation);
}

.hb-editorial-note {
  display: grid;
  width: 180px;
  min-height: 94px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--hb-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
  place-items: center;
}

.hb-story p:not(.hb-kicker) {
  max-width: 670px;
  font-size: 15px;
  line-height: 1.55;
}

.hb-story blockquote {
  max-width: 660px;
  margin: 28px 0 18px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.35;
}

.hb-trust {
  padding-block: clamp(64px, 9vw, 112px);
  background: var(--hb-bg-page);
}

.hb-trust-list {
  margin-top: 26px;
}

.hb-trust-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--hb-border);
}

.hb-trust-list strong {
  font-size: 14px;
  font-weight: 600;
}

.hb-trust-list p {
  max-width: 680px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.hb-newsletter {
  padding-block: clamp(60px, 8vw, 96px);
  background: var(--hb-bg-subtle);
}

.hb-newsletter .hb-section-inner > p {
  max-width: 620px;
  font-size: 14px;
}

.hb-newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(100%, 520px);
  margin-top: 26px;
}

.hb-newsletter-form label {
  font-size: 12px;
  font-weight: 500;
}

.hb-newsletter-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--hb-border);
  border-radius: 4px;
  background: var(--hb-bg-surface);
  color: var(--hb-text-primary);
  font-size: 14px;
}

.hb-newsletter-form .hb-button {
  width: 100%;
}

.hb-form-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.hb-closing {
  padding-block: clamp(72px, 9vw, 112px);
  background: var(--hb-bg-page);
  text-align: center;
}

.hb-closing img {
  width: 54px;
  height: 42px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.hb-closing h2 {
  margin-inline: auto;
  font-size: clamp(28px, 4vw, 44px);
}

.hb-closing p {
  margin-bottom: 0;
  font-size: 14px;
}

.hb-footer {
  padding: 44px clamp(24px, 5vw, 72px);
  background: var(--hb-action);
  color: var(--hb-bg-page);
}

.hb-footer-inner {
  width: min(100%, var(--hb-content));
  margin-inline: auto;
}

.hb-brand-inverse {
  margin-bottom: 18px;
}

.hb-brand-inverse img {
  filter: brightness(0) invert(1);
}

.hb-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 28px;
  padding-block: 18px;
  border-top: 1px solid rgba(246, 244, 241, 0.26);
}

.hb-footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.hb-footer-inner > p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(246, 244, 241, 0.78);
  font-size: 12px;
}

.hb-home-v2 a,
.hb-home-v2 button,
.hb-home-v2 input {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.hb-home-v2 a:hover,
.hb-home-v2 button:hover {
  opacity: 0.78;
}

.hb-home-v2 :focus-visible {
  outline: 3px solid var(--hb-focus);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hb-menu-trigger {
    display: block;
  }

  .hb-nav {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 29;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 76px);
    padding: 20px 24px 32px;
    overflow-y: auto;
    border-bottom: 1px solid var(--hb-border);
    background: var(--hb-bg-page);
  }

  .hb-nav.is-open {
    display: flex;
  }

  .hb-nav a {
    min-height: 56px;
    border-bottom: 1px solid var(--hb-border);
    font-family: var(--hb-serif);
    font-size: 22px;
    font-weight: 500;
  }

  .hb-nav-sos {
    margin-top: 16px;
    padding-inline: 16px;
    border-bottom: 0 !important;
    font-family: var(--hb-sans) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 600px) {
  .hb-brand span {
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .hb-hero {
    min-height: 768px;
    padding: 64px 24px;
  }

  .hb-hero-copy {
    width: 100%;
  }

  .hb-home-v2 h1 {
    max-width: 342px;
    margin-bottom: 24px;
    font-size: 44px;
    line-height: 1.136;
  }

  .hb-home-v2 h2 {
    font-size: 30px;
    line-height: 1.267;
  }

  .hb-kicker {
    max-width: 342px;
    margin-bottom: 24px;
  }

  .hb-intro {
    max-width: 342px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.56;
  }

  .hb-living-shape-hero {
    top: 34px;
    right: -36px;
    width: 180px;
    height: 140px;
  }

  .hb-section-inner {
    padding-inline: 24px;
  }

  .hb-needs {
    padding-block: 48px;
  }

  .hb-need-list {
    margin-top: 18px;
  }

  .hb-sos-section {
    padding-block: 28px;
  }

  .hb-topics {
    padding-block: 48px 42px;
  }

  .hb-topic-index {
    margin-top: 24px;
  }

  .hb-library,
  .hb-story,
  .hb-trust {
    padding-block: 48px;
  }

  .hb-section-intro {
    margin-bottom: 24px;
  }

  .hb-content-row {
    min-height: 96px;
    padding: 14px 12px;
  }

  .hb-content-row strong {
    font-size: 23px;
    line-height: 1.3;
  }

  .hb-editorial-note {
    margin-bottom: 18px;
  }

  .hb-newsletter {
    padding-block: 44px;
  }

  .hb-closing {
    padding-block: 64px;
  }

  .hb-footer {
    padding: 36px 24px;
  }

  .hb-footer-nav {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 370px) {
  .hb-brand span {
    font-size: 11px;
  }

  .hb-home-v2 h1 {
    font-size: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hb-home-v2 *,
  .hb-home-v2 *::before,
  .hb-home-v2 *::after {
    transition-duration: 0.01ms !important;
  }
}
