/* HwM: what the protocol adds to the base, nothing more. */
[hidden] { display: none !important; }

/* The mark: an H in the 3 x 3 grid of the base. */
.mark.mark--h i { background: var(--ink-1); }
.mark.mark--h i:nth-child(2), .mark.mark--h i:nth-child(8) { background: #5a5a60; }

/* The hero note gets its button, and leaves with the rest of the hero. */
.hero__cta { display: flex; align-items: center; gap: var(--s16); margin-top: var(--s24); font-size: var(--t-s); }
.hero__cta .hd__btn { height: calc(var(--u) * 44); display: inline-flex; align-items: center; padding: 0 var(--s24); font-size: var(--t-m, 15px); }
.hero__link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(252, 252, 252, .3); transition: color var(--dur-ui, .2s) var(--ease-out, ease-out); }
.hero__link:hover { color: var(--ink-1); }
.js .hero__cta { animation: block-in var(--dur-in) var(--ease-expo) 180ms backwards; }
.hero__cta { transition: opacity 1100ms var(--ease-expo), translate 1100ms var(--ease-expo), filter 1100ms var(--ease-expo), visibility 0s; transition-delay: 220ms; }
html.is-hero-out .hero__cta { opacity: 0; visibility: hidden; translate: 0 -16px; filter: blur(10px); transition: opacity 700ms cubic-bezier(.45, 0, .55, 1), translate 700ms var(--ease-out), filter 700ms var(--ease-out), visibility 0s 760ms; }

/* The two number cards that take the place of the photos in the OS frame. */
.ow--img .nc { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 4); padding: var(--s16); background: var(--card); color: var(--ink-1); }
.nc b { font-family: var(--font-pixel); font-weight: 400; font-size: calc(var(--u) * 46); line-height: 1; letter-spacing: 0; }
.nc--now b { color: var(--yellow); }
.nc-k, .nc-s { font-size: var(--t-s); color: var(--ink-3); }

/* The end of the page: the button again, and a quiet footer. */
.end-cta { display: flex; align-items: center; gap: var(--s16); font-size: var(--t-s); }
.end-cta .hd__btn { height: calc(var(--u) * 44); display: inline-flex; align-items: center; padding: 0 var(--s24); }
.ft { position: relative; z-index: 4; display: flex; align-items: center; gap: var(--s24); padding: var(--s48) 24px var(--s32); border-top: 1px solid var(--rule); font-size: var(--t-s); color: var(--ink-3); background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ft nav { display: flex; gap: var(--s16); }
.ft nav a { color: var(--ink-2); }
.ft nav a:hover { color: var(--ink-1); }
.ft p { margin: 0 0 0 auto; max-width: 52ch; text-align: right; }
@media (max-width: 760px) {
  .ft { flex-wrap: wrap; }
  .ft p { margin: 0; text-align: left; }
}

/* Phones: the Memory and Agents columns had no phone layout in the base and ran off the right edge. */
@media (max-width: 767px) {
  .screen { padding: 56vh 0 18vh; }
  .screen__col { width: auto; }
  .screen--right .screen__col, .screen--left .screen__col { margin-left: 20px; margin-right: 20px; }
  .screen__title { font-size: 26px; }
}

/* The giant title: the base sized it for "Kin"; "HwM" is wider (7.562 em against 6.688 em, measured). */
.hero__title { font-size: calc((100vw - 48px) / 7.39); }
@media (max-width: 767px) { .hero__title { font-size: calc((100vw - 48px) / 3.742); } }
