/* hellohachi.com: built only from the Quiet Pack tokens (kit/tokens.css). */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 500; font-display: swap; src: url(/fonts/atkinson-hyperlegible-next-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 600; font-display: swap; src: url(/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF; }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 26px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
/* The mascots are drawn by script: hold their space so the page doesn't jump. */
[data-mascot] { display: inline-block; flex: none; }
[data-size="28"] { width: 28px; height: 28px; }
[data-size="72"] { width: 72px; height: 72px; }
[data-size="120"] { width: 120px; height: 120px; }
a { color: var(--hachi-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
a.hy-btn { text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 600px) { .wrap { padding: 0 var(--space-4); } }

.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 10; background: var(--surface-raised); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); }
.skip:focus { top: var(--space-3); }

/* Type (from the spec's scale) */
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -.02em; }
.display { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -.015em; }
.headline { font-family: var(--font-text); font-size: 19px; line-height: 26px; font-weight: 700; letter-spacing: .005em; }
@media (max-width: 720px) {
  .display-xl { font-size: 40px; line-height: 44px; }
  .display { font-size: 30px; line-height: 36px; }
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: var(--space-6); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; }
.brand__icon { width: 32px; height: 32px; flex: none; }
.brand__icon svg { width: 100%; height: 100%; }
.brand__icon--sm { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.brand__name { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.nav__links { display: flex; gap: var(--space-6); margin-left: auto; }
.nav__links a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { white-space: nowrap; }
@media (max-width: 720px) {
  .nav__in { gap: var(--space-4); }
  .nav__links a:not([href="/releases/"]) { display: none; }
  .nav__cta-long { display: none; }
}

.btn-lg { height: 52px; padding: 0 var(--space-6); font-size: 17px; }
.btn-lg svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: var(--space-16) 0 var(--space-16); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; gap: var(--space-12); } .hero { padding: var(--space-12) 0; } }
.hero__copy { display: flex; flex-direction: column; gap: var(--space-6); max-width: 560px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.hero__meta { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.hero__soon { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.platforms li { display: inline-flex; align-items: center; gap: var(--space-2); }

/* Demo window */
.demo { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); overflow: hidden; }
.demo__bar { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); background: var(--surface); }
.demo__lights { display: inline-flex; gap: 6px; }
.demo__lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.demo__title { font-weight: 600; font-size: 15px; }
.demo__bar .hy-status { margin-left: auto; }
.demo__body { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-6); min-height: 430px; }
.demo .hy-msg-user { max-width: 85%; }
.demo__approve { max-width: none; transition: opacity var(--duration-quick) var(--ease-ui), transform var(--duration-quick) var(--ease-ui); }
.demo__approve.is-leaving { opacity: 0; transform: translateY(8px); }
.demo__done { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.demo__done .hy-status svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .demo__body { padding: var(--space-4); min-height: 0; } .hy-approve__actions { flex-wrap: wrap; } }

/* Sections */
.band { padding: var(--space-16) 0; background: var(--surface-sunken); }
.band--plain { background: var(--surface); }
.section-title { max-width: 720px; }
.section-lead { margin-top: var(--space-3); max-width: 640px; color: var(--ink-muted); font-size: 19px; line-height: 30px; }

.crew { list-style: none; margin: var(--space-12) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .crew { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .crew { grid-template-columns: 1fr; } }
.crew__card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.crew__card p { color: var(--ink-muted); font-size: 16px; line-height: 24px; }

.features { margin-top: var(--space-12); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; gap: var(--space-2); }
.feature p { color: var(--ink-muted); font-size: 16px; line-height: 24px; }
.feature__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-sunken); display: grid; place-items: center; margin-bottom: var(--space-2); }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.trust { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-12); align-items: start; }
@media (max-width: 960px) { .trust { grid-template-columns: 1fr; gap: var(--space-8); } }
.table-wrap { overflow-x: auto; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust__table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.trust__table th, .trust__table td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); }
.trust__table th { font-size: 15px; color: var(--ink-muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.trust__table tbody tr + tr td { border-top: 1px solid var(--line); }
.trust__table td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
  .trust__table thead { display: none; }
  .trust__table tr { display: block; padding: var(--space-3) var(--space-4); }
  .trust__table tbody tr + tr { border-top: 1px solid var(--line); }
  .trust__table td { display: block; padding: 0; border: 0 !important; white-space: normal !important; }
  .trust__table td + td { color: var(--ink-muted); }
}

.closing__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); }
.closing__in .section-lead { margin-top: 0; }
.closing__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }

/* Release notes */
.releases { max-width: 760px; padding-top: var(--space-16); padding-bottom: var(--space-16); }
.release { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.release__version { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.01em; }
.release__date { margin-top: var(--space-1); color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.release__summary { margin-top: var(--space-4); }
.release h3 { margin-top: var(--space-6); }
.release__list { margin: var(--space-2) 0 0; padding-left: var(--space-6); }
.release__list li + li { margin-top: var(--space-2); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: var(--space-8) 0 var(--space-12); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }
.foot__line { font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-left: auto; }
.foot__links a { font-size: 15px; }
.foot__copy { flex-basis: 100%; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 600px) { .foot__links { margin-left: 0; } }
