@font-face {
  font-family: Satoshi;
  src: url("fonts/Satoshi-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #151412;
  --muted: #656b61;
  --surface: #fffdf8;
  --background: #f7f2e8;
  --border: #d8cbb7;
  --verify: #2f6fdb;
  --success: #287a5c;
  --header-height: 64px;
  --section-height: min(75svh, 46.875vw);
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--surface);
  color-scheme: light;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body, h1, h2, h3, p, figure { margin: 0; }
body { min-width: 280px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--verify); outline-offset: 6px; }
::selection { background: var(--ink); color: var(--surface); }
h1, h2, h3, .hero-statement, .product-lead { font-family: Satoshi, sans-serif; letter-spacing: 0; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.18; text-wrap: balance; }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
p { font-size: 1.125rem; line-height: 1.55; }
.container { width: min(960px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: var(--surface); z-index: 20; }
.skip-link:focus { top: 8px; }
.site-header { position: sticky; top: 0; width: 100%; z-index: 10; background: color-mix(in srgb, var(--background) 92%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); }
.site-header.is-scrolled { border-bottom-color: color-mix(in srgb, var(--border) 76%, transparent); }
.nav-inner { min-height: calc(var(--header-height) - 1px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: grid; place-items: center; width: 48px; height: 48px; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { display: flex; align-items: center; min-height: 44px; color: color-mix(in srgb, var(--ink) 76%, var(--muted)); font-size: 1rem; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: color-mix(in srgb, var(--ink) 88%, var(--muted)); }
.hero { background: var(--background); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-inner { min-height: calc(var(--section-height) - var(--header-height)); padding-block: 48px 96px; display: grid; place-items: center; }
.hero-copy { max-width: 650px; text-align: center; }
h1 { font-size: 5rem; line-height: 1; font-weight: 800; margin-bottom: 24px; }
.hero-statement { font-size: 2.75rem; font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.hero-description { max-width: 43ch; color: var(--muted); margin: 0 auto 32px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 52px; padding: 12px 20px; border-radius: 4px; background: var(--ink); color: var(--surface); font-size: 1rem; font-weight: 600; text-decoration: none; transition: background 150ms ease; }
.button:hover { background: #242622; }
.button-light { background: var(--surface); color: var(--ink); }
.button-light:hover { background: var(--border); }
.product-copy > .button { margin-top: 24px; }
.product-copy > .product-note + .button { margin-top: 0; }
figcaption { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.section-intro { display: grid; gap: 16px; }
.section-intro > p { max-width: 56ch; color: var(--muted); font-size: 1.25rem; line-height: 1.5; }
.products > .section-intro { padding-block: 96px; }
.products > .section-intro > h2, .products > .section-intro > p { max-width: 480px; }
.product { border-top: 1px solid var(--border); }
.product-inner { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: 40px; row-gap: 32px; align-items: start; align-content: center; min-height: var(--section-height); padding-block: 96px; }
.product-number { grid-column: 1 / -1; color: var(--muted); font-size: 0.875rem; }
.product-copy h3 { font-size: 1.125rem; margin-bottom: 16px; }
.product-lead { font-size: 2.75rem; font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.product-copy > p:not(.product-number, .product-lead) { max-width: 44ch; }
.product-copy .product-note { margin-block: 20px 24px; font-size: 1rem; color: var(--muted); }
.wallet-figure { width: min(100%, 388px); display: grid; justify-items: start; gap: 16px; }
.wallet-figure img { width: calc(100% - 8px); margin-inline: 4px; aspect-ratio: 1; object-fit: cover; object-position: 50% 50%; border-radius: 24px; }
.wallet-figure figcaption { width: 100%; text-align: center; }
.ai { background: var(--ink); color: var(--surface); }
.ai .product-number, .ai .product-note, .ai figcaption { color: var(--border); }
.product-copy .product-promise { font-weight: 600; font-size: 1.25rem; line-height: 1.4; margin-bottom: 16px; }
.app-figure { width: min(100%, 388px); display: grid; justify-items: start; gap: 24px; }
.app-figure figcaption { width: 100%; text-align: center; }
.request-demo { width: 100%; display: grid; justify-items: start; padding: 0 4px; mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); }

/* Match the phone presentation in sites/hito.ai/holdkey/index.html. */
.phone {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: min(100%, 380px);
  padding: 8px 8px 0;
  border: 1px solid var(--muted);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: var(--ink);
  box-shadow: inset 0 0 0 2px #242622, inset 0 1px 0 rgba(247, 242, 232, 0.35), 0 24px 48px rgba(0, 0, 0, 0.4);
}
.phone::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 999px; pointer-events: none; top: 3px; width: 14%; height: 1px; background: var(--muted); }
.phone-hardware { pointer-events: none; }
.phone-island { position: absolute; top: calc(8px + 3cqw); left: 50%; width: 31cqw; height: 9cqw; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone-island::after { content: ""; position: absolute; top: 50%; right: 10%; width: 3cqw; height: 3cqw; transform: translateY(-50%); border: 1px solid #242622; border-radius: 50%; background: var(--ink); }
.phone-side { position: absolute; left: -3px; width: 3px; border: 1px solid var(--muted); border-radius: 2px 0 0 2px; background: var(--ink); z-index: -1; }
.phone-action { top: calc(8px + 32cqw); height: 9cqw; }
.phone-volume-up { top: calc(8px + 48cqw); height: 13cqw; }
.phone-volume-down { top: calc(8px + 65cqw); height: 13cqw; }
.phone-power, .phone-camera { right: -3px; left: auto; border-radius: 0 2px 2px 0; }
.phone-power { top: calc(8px + 52cqw); height: 19cqw; }
.phone-camera { top: calc(8px + 137cqw); height: 11cqw; }
.phone-viewport { aspect-ratio: 1206 / 1800; overflow: hidden; border-radius: 33px 33px 0 0; background: var(--background); }
.phone-screen { display: block; width: 100%; height: auto; background: var(--background); }
.section { min-height: var(--section-height); padding-block: 96px; display: grid; align-content: center; }
.technology { border-bottom: 1px solid var(--border); }
.signing-flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 56px 0; padding: 0; }
.signing-flow li { border-top: 2px solid var(--ink); padding-top: 20px; }
.step-number { display: block; font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--muted); margin-bottom: 24px; }
.signing-flow h3 { margin-bottom: 16px; }
.signing-flow p { font-size: 1rem; color: var(--muted); max-width: 32ch; }
.custody { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; border-top: 1px solid var(--border); padding-top: 32px; }
.custody p { max-width: 68ch; color: var(--muted); font-size: 1rem; }
.custody p + p { margin-top: 16px; }
.partnerships { background: var(--background); }
.partnership-list { max-width: 960px; margin-block: 48px; }
.partnership-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding-block: 24px; border-top: 1px solid var(--border); }
.partnership-row:last-child { border-bottom: 1px solid var(--border); }
.partnership-row p { color: var(--muted); max-width: 52ch; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact p { font-family: Satoshi, sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.contact .button { flex-shrink: 0; }
.footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-block: 32px; }
.footer > div > a { font-weight: 700; text-decoration: none; }
.footer p { font-size: 0.875rem; color: var(--muted); margin-top: 8px; }
.footer nav { display: flex; gap: 32px; align-items: start; }
.footer nav a { min-height: 44px; display: inline-flex; align-items: flex-start; gap: 8px; color: color-mix(in srgb, var(--ink) 76%, var(--muted)); font-size: 0.9375rem; text-decoration: none; }
.footer nav a:hover, .footer nav a:focus-visible { color: color-mix(in srgb, var(--ink) 88%, var(--muted)); }

@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  h1 { font-size: 4rem; }
  .hero-statement, .product-lead { font-size: 2.25rem; }
  h2 { font-size: 2rem; }
  .product-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custody { gap: 40px; }
  .app-figure, .wallet-figure { width: min(100%, 328px); }
  .phone { width: min(100%, 320px); }
  .signing-flow { gap: 24px; }
}

@media (max-width: 700px) {
  :root { --header-height: 56px; }
  .container { width: calc(100% - 40px); }
  .nav-inner { gap: 12px; }
  .brand { width: 32px; height: 44px; flex-shrink: 0; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 0.875rem; }
  .hero-inner { padding-block: 48px 64px; }
  .hero-copy { max-width: 470px; }
  h1 { font-size: 3.5rem; margin-bottom: 16px; }
  .hero-statement { font-size: 1.875rem; margin-bottom: 16px; }
  .hero-description { font-size: 1rem; max-width: 40ch; margin-bottom: 20px; }
  .button { min-height: 48px; }
  .product-inner, .custody, .partnership-row { grid-template-columns: 1fr; gap: 24px; }
  .products > .section-intro { padding-block: 64px; }
  h2 { font-size: 1.75rem; }
  .section-intro > p { font-size: 1.125rem; }
  .product-copy > p:not(.product-lead, .product-promise, .product-number) { font-size: 1rem; }
  .product-inner { min-height: auto; padding-block: 64px; }
  .product-lead { font-size: 2rem; }
  .product-number { margin-bottom: 0; }
  .app-figure, .wallet-figure { width: min(100%, 368px); justify-self: center; }
  .phone { width: min(100%, 360px); }
  .section { min-height: auto; padding-block: 64px; }
  .signing-flow { grid-template-columns: 1fr; gap: 24px; margin-block: 32px; }
  .signing-flow li { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding-top: 16px; }
  .step-number { grid-row: 1 / 3; padding-top: 3px; margin: 0; }
  .signing-flow h3 { font-size: 1.125rem; margin-bottom: 8px; }
  .signing-flow p { grid-column: 2; max-width: none; }
  .custody h3 { font-size: 1.25rem; }
  .partnership-list { margin-block: 32px; }
  .partnership-row { gap: 12px; }
  .partnership-row h3 { font-size: 1.125rem; }
  .partnership-row p { font-size: 1rem; }
  .contact { flex-direction: column; align-items: start; gap: 20px; }
  .contact p { font-size: 1.25rem; }
  .footer { flex-direction: column; gap: 16px; padding-block: 24px; }
  .footer nav { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 360px) {
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 0.8125rem; }
  .hero-statement { font-size: 1.625rem; }
}

@media (min-width: 701px) and (max-height: 800px) {
  h1 { font-size: 4rem; margin-bottom: 16px; }
  .hero-statement { font-size: 2.25rem; margin-bottom: 16px; }
  .hero-description { font-size: 1rem; margin-bottom: 24px; }
}

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