:root {
  --hb-ink: #f4f1ea;
  --hb-graphite: #0d0f0e;
  --hb-muted: #a6aaa5;
  --hb-line: rgba(244,241,234,.16);
  --hb-canvas: #141715;
  --hb-paper: #f4f1ea;
  --hb-white: #191c1a;
  --hb-oak: #d4b27a;
  --hb-gutter: clamp(20px, 4vw, 72px);
  --hb-ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
  font-family: aktiv-grotesk, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--hb-graphite); }
body { margin: 0; background: var(--hb-graphite); color: var(--hb-ink); font-family: inherit; }
body.hb-session-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

:focus-visible { outline: 2px solid var(--hb-oak); outline-offset: 4px; }

.hb-skip {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px;
  background: var(--hb-paper); color: var(--hb-graphite); transform: translateY(-150%); transition: transform .2s;
}
.hb-skip:focus { transform: translateY(0); }

.hb-topbar {
  position: relative; z-index: 20; height: 72px; padding: 0 var(--hb-gutter); display: grid;
  grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--hb-line);
  background: rgba(13,15,14,.9); backdrop-filter: blur(14px);
}
.hb-hub-brand { display: inline-flex; align-items: center; width: fit-content; }
.hb-hub-brand__mark { width: 104px; height: 40px; overflow: hidden; display: block; }
.hb-hub-brand__mark img { display: block; width: 370px; max-width: none; height: 370px; transform: translate(-133px,-163px); }
.hb-hub-brand--session { font-size: 10px; }
.hb-hub-brand--session .hb-hub-brand__mark { width: 72px; height: 30px; }
.hb-hub-brand--session .hb-hub-brand__mark img { width: 270px; height: 270px; transform: translate(-97px,-119px); }
.hb-topbar__actions { justify-self: end; display: flex; align-items: center; gap: 22px; font-size: 13px; }
.hb-topbar__shop { min-height: 38px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hb-line); }
.hb-topbar__shop:hover, .hb-topbar__shop:focus-visible { border-color: var(--hb-paper); }
.hb-topbar__start { border-bottom: 1px solid; padding: 8px 0; }

.hb-hero {
  min-height: min(860px, calc(88svh - 72px)); padding: clamp(72px, 10vw, 150px) var(--hb-gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.hb-hero__copy { grid-column: 1 / span 10; position: relative; z-index: 2; }
.hb-eyebrow { margin: 0 0 28px; font-size: 11px; line-height: 1.2; letter-spacing: .13em; text-transform: uppercase; }
.hb-hero h1 {
  margin: 0; max-width: 900px; font-family: Manrope, Inter, aktiv-grotesk, sans-serif;
  font-size: clamp(55px, 6.6vw, 112px); font-weight: 500; line-height: .9; letter-spacing: -.065em;
}
.hb-hero__lead { max-width: 520px; margin: 38px 0 0; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.45; color: var(--hb-muted); }
.hb-hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hb-button {
  min-height: 52px; border: 1px solid var(--hb-ink); border-radius: 1px; padding: 15px 20px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 34px;
  background: transparent; cursor: pointer; font-size: 13px; transition: color .25s, background .25s, transform .25s;
}
.hb-button:hover { transform: translateY(-2px); }
body.hb-hub-page .hb-button--primary,
body.hb-hub-page .hb-button--launch { background: var(--hb-paper) !important; color: var(--hb-graphite) !important; border-color: var(--hb-paper) !important; }
body.hb-hub-page .hb-button--primary:hover,
body.hb-hub-page .hb-button--primary:focus-visible,
body.hb-hub-page .hb-button--launch:hover,
body.hb-hub-page .hb-button--launch:focus-visible { background: var(--hb-oak) !important; color: var(--hb-graphite) !important; border-color: var(--hb-oak) !important; }
.hb-text-button { border: 0; background: none; padding: 12px 0; cursor: pointer; font-size: 13px; border-bottom: 1px solid currentColor; }

.hb-app__preview canvas, .hb-session__visual canvas { width: 100%; height: 100%; display: block; }

.hb-principles { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--hb-line); }
.hb-principles p { min-height: 92px; margin: 0; padding: 26px var(--hb-gutter); display: flex; align-items: center; gap: 18px; font-size: 13px; border-right: 1px solid var(--hb-line); }
.hb-principles p:last-child { border-right: 0; }
.hb-principles span, .hb-story__grid article > span { color: var(--hb-muted); font-size: 10px; letter-spacing: .12em; }

.hb-start { padding: clamp(90px, 12vw, 180px) var(--hb-gutter); background: #111312; }
.hb-start__intro { display: grid; grid-template-columns: 2fr 5fr 3fr; gap: 24px; align-items: end; margin-bottom: 56px; }
.hb-start__intro .hb-eyebrow { margin: 0; align-self: start; }
.hb-start__intro h2, .hb-story h2, .hb-complete h2 {
  margin: 0; font-family: Manrope, Inter, sans-serif; font-size: clamp(43px, 5vw, 82px); font-weight: 500; line-height: .95; letter-spacing: -.055em;
}
.hb-start__intro > p:last-child { margin: 0; max-width: 330px; color: var(--hb-muted); line-height: 1.5; }

.hb-app { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .95fr); min-height: 610px; border: 1px solid var(--hb-line); background: var(--hb-white); }
.hb-app__preview { min-height: 610px; position: relative; overflow: hidden; background: var(--hb-graphite); color: var(--hb-paper); }
.hb-app__preview canvas, .hb-app__preview video, .hb-app__preview .hb-environment-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-environment-poster { display: block; }
.hb-environment-poster[hidden] { display: none; }
.hb-app__preview video, .hb-session__visual video { z-index: 1; opacity: 0; transition: opacity .3s var(--hb-ease); }
.hb-app__preview video.is-ready, .hb-session__visual video.is-ready { opacity: 1; }
.hb-app__preview-copy { position: absolute; z-index: 2; left: 8%; bottom: 8%; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 20px; }
.hb-app__preview-copy span { grid-column: 1 / -1; margin-bottom: 22px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hb-app__preview-copy strong { font-family: Manrope, sans-serif; font-size: clamp(90px, 11vw, 170px); font-weight: 400; line-height: .72; letter-spacing: -.08em; }
.hb-app__preview-copy small { padding-bottom: 4px; opacity: .7; }

.hb-config { padding: clamp(30px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hb-config fieldset { border: 0; padding: 0; margin: 0; }
.hb-config legend, .hb-purpose > span { display: block; width: 100%; margin-bottom: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hb-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.hb-choice-grid button {
  min-height: 78px; border: 1px solid var(--hb-line); border-right: 0; background: transparent; padding: 14px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; text-align: left; cursor: pointer;
}
.hb-choice-grid button:last-child { border-right: 1px solid var(--hb-line); }
.hb-choice-grid button[aria-pressed="true"] { background: var(--hb-paper); color: var(--hb-graphite); border-color: var(--hb-paper); }
.hb-choice-grid button span { font-size: 14px; }
.hb-choice-grid button small { color: inherit; opacity: .65; font-size: 10px; }
.hb-choice-grid--compact button { min-height: 48px; justify-content: center; }
.hb-environment__trigger {
  width: 100%; min-height: 72px; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  border: 1px solid var(--hb-line); background: transparent; color: inherit; padding: 8px 16px 8px 8px; text-align: left; cursor: pointer;
}
.hb-environment__trigger img, .hb-environment__placeholder { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; background: #181b19; }
.hb-environment__placeholder { display: grid; place-items: center; color: var(--hb-paper); font-family: Manrope, sans-serif; font-size: 24px; }
.hb-environment__placeholder[hidden], .hb-environment__trigger img[hidden] { display: none; }
.hb-environment__copy { min-width: 0; display: grid; gap: 4px; }
.hb-environment__copy strong { font-size: 15px; font-weight: 550; }
.hb-environment__copy small { color: var(--hb-muted); font-size: 11px; }
.hb-environment__arrow { font-size: 20px; }
.hb-environment-picker {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 20px; overflow: hidden;
  border: 0; background: rgba(5,7,6,.76); color: var(--hb-paper); box-sizing: border-box;
}
.hb-environment-picker:not([open]) { display: none; }
.hb-environment-picker[open] { display: grid; place-items: center; }
.hb-environment-picker::backdrop { background: rgba(5,7,6,.76); backdrop-filter: blur(5px); }
.hb-environment-picker__surface {
  width: min(900px, 100%); height: 82vh; max-height: 760px; overflow: hidden; display: flex; flex-direction: column;
  height: min(82svh, 760px);
  border: 1px solid rgba(244,241,234,.22); background: #121513; box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.hb-environment-picker__header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: flex-start; padding: 24px; border-bottom: 1px solid rgba(244,241,234,.16); }
.hb-environment-picker__header .hb-eyebrow { margin: 0 0 8px; color: var(--hb-muted); }
.hb-environment-picker__header h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.hb-environment-picker__header button { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 25px; cursor: pointer; }
.hb-environment-picker__grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 12px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 18px; -webkit-overflow-scrolling: touch; }
.hb-environment-card { position: relative; min-width: 0; border: 2px solid transparent; background: #1b1e1c; color: inherit; padding: 0 0 12px; text-align: left; cursor: pointer; }
.hb-environment-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hb-environment-card > span:last-child { display: block; padding: 11px 12px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.hb-environment-card[aria-checked="true"] { border-color: var(--hb-paper); }
.hb-environment__trigger:focus-visible, .hb-environment-card:focus-visible, .hb-environment-picker__header button:focus-visible { outline: 3px solid var(--hb-paper); outline-offset: 3px; }
.hb-environment-card[aria-checked="true"]::after { content: ''; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border: 2px solid #151715; border-radius: 50%; background: var(--hb-paper); }
.hb-environment-card--system { min-height: 132px; display: grid; grid-template-rows: 1fr auto; align-items: center; }
.hb-environment-card__system-mark { align-self: center; padding: 18px 12px 4px !important; color: rgba(248,246,240,.72); font-family: Manrope, sans-serif; font-size: 38px !important; letter-spacing: -.06em; }
.hb-environment-picker-open { overflow: hidden; }
.hb-purpose small { color: var(--hb-muted); text-transform: none; letter-spacing: 0; }
.hb-purpose input { width: 100%; height: 48px; border: 0; border-bottom: 1px solid var(--hb-ink); border-radius: 0; padding: 0; background: transparent; color: var(--hb-ink); }
.hb-purpose input::placeholder { color: var(--hb-muted); opacity: .7; }
.hb-button--launch { width: 100%; }
.hb-config__privacy { margin: -17px 0 0; color: var(--hb-muted); font-size: 10px; }

.hb-session {
  position: fixed; z-index: 100; inset: 0; display: none; background: #090b0a; color: var(--hb-paper); overflow: hidden;
}
.hb-session[aria-hidden="false"] { display: block; animation: hbFade .7s var(--hb-ease) both; }
.hb-session__visual { position: absolute; inset: 0; }
.hb-session__visual video, .hb-session__visual .hb-environment-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-session__top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: max(24px, env(safe-area-inset-top)) clamp(22px, 4vw, 64px); display: flex; justify-content: space-between; align-items: center; transition: opacity .3s; }
.hb-session__exit { min-height: 44px; border: 0; border-bottom: 1px solid rgba(248,246,240,.7); background: transparent; color: inherit; cursor: pointer; }
.hb-session__center { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.hb-session__center > p:first-child { margin: 0 0 22px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; opacity: .72; }
.hb-session__center time { font-family: Manrope, Inter, sans-serif; font-size: clamp(90px, 17vw, 280px); line-height: .8; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.hb-session__purpose { max-width: 560px; min-height: 1.4em; margin: 38px 20px 0; font-size: clamp(15px, 1.4vw, 21px); opacity: .82; }
.hb-session__controls { position: absolute; z-index: 3; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; border: 1px solid rgba(244,241,234,.26); background: rgba(13,15,14,.72); backdrop-filter: blur(14px); transition: opacity .35s; }
.hb-session__controls button { min-width: 112px; min-height: 48px; padding: 10px 16px; border: 0; border-right: 1px solid rgba(248,246,240,.22); background: transparent; color: inherit; cursor: pointer; font-size: 12px; }
.hb-session__controls button:last-child { border-right: 0; }
.hb-session__status { position: absolute; z-index: 4; left: 0; right: 0; bottom: 94px; margin: 0; text-align: center; font-size: 11px; }
.hb-phase-decision {
  position: absolute; z-index: 6; inset: 0; margin: auto; width: min(620px, calc(100% - 40px)); height: fit-content;
  padding: clamp(30px, 5vw, 56px); border: 1px solid rgba(244,241,234,.22); background: rgba(13,15,14,.94);
  box-shadow: 0 28px 90px rgba(0,0,0,.38); backdrop-filter: blur(22px); text-align: left;
}
.hb-phase-decision[hidden], .hb-phase-decision__actions[hidden] { display: none; }
.hb-phase-decision .hb-eyebrow { margin-bottom: 20px; color: var(--hb-muted); }
.hb-phase-decision h2 { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: clamp(34px, 5vw, 58px); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.hb-phase-decision > p:not(.hb-eyebrow) { max-width: 470px; margin: 24px 0 34px; color: var(--hb-muted); line-height: 1.5; }
.hb-phase-decision__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hb-session.is-deciding .hb-session__center, .hb-session.is-deciding .hb-session__controls { opacity: .16; }
.hb-session.is-quiet .hb-session__top, .hb-session.is-quiet .hb-session__controls { opacity: .32; }
.hb-session__top:focus-within, .hb-session__controls:focus-within { opacity: 1 !important; }
.hb-ambient {
  position: absolute; z-index: 5; right: clamp(18px, 3vw, 48px); bottom: max(94px, env(safe-area-inset-bottom));
  width: min(330px, calc(100% - 36px)); padding: 22px; border: 1px solid rgba(244,241,234,.22);
  max-height: calc(100dvh - 124px); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(19,22,20,.96); box-shadow: 0 22px 70px rgba(0,0,0,.32); backdrop-filter: blur(18px);
}
.hb-ambient[hidden] { display: none; }
.hb-ambient__head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }
.hb-ambient__head .hb-eyebrow { margin-bottom: 9px; color: var(--hb-muted); }
.hb-ambient__head h2 { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: 24px; font-weight: 500; letter-spacing: -.045em; }
.hb-ambient__head button { width: 36px; height: 36px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 24px; line-height: 1; }
.hb-ambient__intro { margin: 18px 0 20px; color: var(--hb-muted); font-size: 11px; line-height: 1.5; }
.hb-ambient__default { display: flex; min-height: 58px; padding: 12px 0; border-top: 1px solid rgba(244,241,234,.16); align-items: center; justify-content: space-between; gap: 18px; }
.hb-ambient__default[hidden] { display: none; }
.hb-ambient__default > span { display: grid; gap: 5px; }
.hb-ambient__default strong { font-size: 12px; font-weight: 650; }
.hb-ambient__default small { color: var(--hb-muted); font-size: 10px; }
.hb-ambient__default button { min-width: 64px; min-height: 44px; padding: 9px 12px; border: 1px solid rgba(244,241,234,.35); background: transparent; color: inherit; cursor: pointer; font-size: 11px; }
.hb-ambient__default button[aria-checked="true"] { border-color: rgba(212,178,122,.7); color: var(--hb-oak); }
.hb-ambient__master { padding: 15px 0 17px; border-block: 1px solid rgba(244,241,234,.16); }
.hb-ambient__master label, .hb-ambient__layer { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; font-size: 12px; }
.hb-ambient output { color: var(--hb-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.hb-ambient input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--hb-oak); cursor: pointer; }
.hb-ambient__group { padding: 18px 0; border-bottom: 1px solid rgba(244,241,234,.12); }
.hb-ambient__group h3 { margin: 0 0 7px; color: var(--hb-paper); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.hb-ambient__group > p, .hb-ambient__safety { margin: 0; color: var(--hb-muted); font-size: 10px; line-height: 1.5; }
.hb-ambient__layers { display: grid; gap: 16px; padding: 14px 0 0; }
.hb-ambient__layer small { margin-left: 6px; color: var(--hb-muted); font-size: 10px; }
.hb-ambient__safety { padding: 15px 0; }
.hb-ambient__actions { display: flex; gap: 10px; }
.hb-ambient__actions button { min-height: 42px; border: 1px solid rgba(244,241,234,.35); background: transparent; color: inherit; padding: 10px 12px; cursor: pointer; font-size: 11px; }
.hb-ambient__actions button:first-child { background: var(--hb-paper); color: var(--hb-graphite); border-color: var(--hb-paper); }
.hb-ambient__actions button:disabled { opacity: .45; cursor: default; }
.hb-ambient__cue { width: 100%; min-height: 42px; margin-top: 12px; border: 1px solid rgba(244,241,234,.24); background: transparent; color: inherit; cursor: pointer; font-size: 11px; }
.hb-ambient__cue[aria-pressed="true"] { border-color: rgba(212,178,122,.7); color: var(--hb-oak); }
.hb-session--focus .hb-session__top { padding-top: max(16px, env(safe-area-inset-top)); }

.hb-complete { display: none; min-height: 610px; grid-column: 1 / -1; padding: clamp(48px, 8vw, 120px); align-content: center; background: var(--hb-white); }
.hb-complete[aria-hidden="false"] { display: grid; animation: hbFade .55s var(--hb-ease) both; }
.hb-complete > p:not(.hb-eyebrow) { max-width: 520px; margin: 28px 0 45px; color: var(--hb-muted); font-size: 18px; line-height: 1.5; }
.hb-complete > div { display: flex; align-items: center; gap: 28px; }

.hb-story { padding: clamp(100px, 14vw, 220px) var(--hb-gutter); background: var(--hb-canvas); }
.hb-story h2 { max-width: 1100px; }
.hb-story__grid { margin-top: clamp(70px, 10vw, 150px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hb-line); }
.hb-story__grid article { min-height: 280px; padding: 28px 28px 28px 0; border-right: 1px solid var(--hb-line); }
.hb-story__grid article + article { padding-left: 28px; }
.hb-story__grid article:last-child { border-right: 0; }
.hb-story__grid h3 { margin: 100px 0 16px; font-family: Manrope, sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.hb-story__grid p { max-width: 300px; margin: 0; color: var(--hb-muted); line-height: 1.5; }

.hb-footer { min-height: 240px; padding: 54px var(--hb-gutter); display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: start; background: #070807; color: var(--hb-paper); }
.hb-footer p { margin: 0; }
.hb-footer p { color: rgba(248,246,240,.68); }
.hb-footer__brand { width: fit-content; }
.hb-footer__shop { justify-self: end; border-bottom: 1px solid; padding-bottom: 7px; }
.hb-noscript { position: fixed; z-index: 1000; bottom: 0; left: 0; right: 0; margin: 0; padding: 14px; background: var(--hb-oak); color: var(--hb-graphite); text-align: center; }

@keyframes hbFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 980px) {
  .hb-hero { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding-block: 72px; }
  .hb-hero__copy { padding: 0; }
  .hb-hero h1 { font-size: clamp(54px, 12vw, 88px); }
  .hb-start__intro { grid-template-columns: 1fr 2fr; }
  .hb-start__intro > p:last-child { grid-column: 2; }
  .hb-app { grid-template-columns: 1fr; }
  .hb-app__preview { min-height: 46svh; }
  .hb-config { padding: 42px 28px 54px; }
}

@media (max-width: 680px) {
  .hb-topbar { height: 64px; }
  .hb-topbar__actions { gap: 12px; font-size: 10px; }
  .hb-topbar__shop { min-height: 38px; padding-inline: 10px; }
  .hb-topbar__start { min-height: 38px; display: inline-flex; align-items: center; }
  .hb-hero { min-height: calc(82svh - 64px); padding-block: 58px; }
  .hb-hero .hb-eyebrow { margin-bottom: 0; }
  .hb-hero h1 { margin-top: 22px; }
  .hb-hero__lead { margin-top: 25px; }
  .hb-hero__actions { margin-top: 28px; }
  .hb-principles { grid-template-columns: 1fr; }
  .hb-principles p { min-height: 64px; border-right: 0; border-bottom: 1px solid var(--hb-line); }
  .hb-principles p:last-child { border-bottom: 0; }
  .hb-start { padding-block: 90px; }
  .hb-start__intro { display: block; }
  .hb-start__intro h2 { margin-top: 28px; }
  .hb-start__intro > p:last-child { margin-top: 22px; }
  .hb-choice-grid { grid-template-columns: 1fr; }
  .hb-choice-grid button { min-height: 54px; border-right: 1px solid var(--hb-line); border-bottom: 0; flex-direction: row; align-items: center; }
  .hb-choice-grid button:last-child { border-bottom: 1px solid var(--hb-line); }
  .hb-choice-grid--compact { grid-template-columns: repeat(3, 1fr); }
  .hb-choice-grid--compact button { min-height: 54px; border-bottom: 1px solid var(--hb-line); border-right: 0; padding: 10px; justify-content: center; text-align: center; }
  .hb-choice-grid--compact button:last-child { border-right: 1px solid var(--hb-line); }
  .hb-environment__trigger { grid-template-columns: 96px minmax(0, 1fr) auto; min-height: 70px; }
  .hb-environment__trigger img, .hb-environment__placeholder { width: 96px; }
  .hb-environment-picker { align-items: end; padding: 0; }
  .hb-environment-picker__surface { width: 100%; height: 82vh; max-height: 82vh; height: 82svh; max-height: 82svh; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .hb-environment-picker__header { padding: 18px 16px 14px; }
  .hb-environment-picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px 12px calc(16px + env(safe-area-inset-bottom)); scroll-padding-block: 12px; }
  .hb-environment-card { min-height: 44px; }
  .hb-environment-card > span:last-child { padding: 9px 9px 0; font-size: 12px; }
  .hb-session__center time { font-size: clamp(78px, 27vw, 130px); }
  .hb-session__controls { width: calc(100% - 32px); }
  .hb-session__controls button { flex: 1; min-width: 0; font-size: 11px; padding-inline: 8px; }
  .hb-phase-decision { width: calc(100% - 28px); padding: 28px 22px; }
  .hb-phase-decision__actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hb-complete > div { align-items: flex-start; flex-direction: column; }
  .hb-story__grid { grid-template-columns: 1fr; }
  .hb-story__grid article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--hb-line); padding: 26px 0; }
  .hb-story__grid article + article { padding-left: 0; }
  .hb-story__grid h3 { margin-top: 65px; }
  .hb-footer { grid-template-columns: 1fr; }
  .hb-footer__shop { justify-self: start; }
}

@media (min-width: 2200px) and (min-height: 1200px) {
  .hb-environment-picker { padding: 48px; }
  .hb-environment-picker__surface { width: min(1480px, 82vw); height: 82vh; max-height: 82vh; }
  .hb-environment-picker__header { padding: 38px; }
  .hb-environment-picker__header h2 { font-size: 48px; }
  .hb-environment-picker__header button { width: 68px; height: 68px; font-size: 38px; }
  .hb-environment-picker__grid { gap: 20px; padding: 28px; scroll-padding-block: 28px; }
  .hb-environment-card { min-height: 72px; border-width: 3px; padding-bottom: 18px; }
  .hb-environment-card > span:last-child { padding: 17px 18px 0; font-size: 21px; }
  .hb-environment-card--system { min-height: 212px; }
  .hb-environment-card__system-mark { font-size: 58px !important; }
  .hb-environment__trigger:focus-visible, .hb-environment-card:focus-visible, .hb-environment-picker__header button:focus-visible { outline-width: 5px; outline-offset: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hb-app__preview video, .hb-session__visual video { display: none !important; }
}
