/* Slo public pre-launch site. One stylesheet, no scripts.
   Brand rules: ink and chalk surfaces, persimmon = warm, cobalt = cool, citron only for focus on ink.
   The mark is flat and solid; gradients and grain live only in supporting imagery and surfaces. */

@font-face { font-family: "Space Grotesk"; src: url("space-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* Metric-matched fallbacks keep the layout steady while the fonts load. */
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 94%; descent-override: 28%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; }

:root {
  --ink: #17191d;
  --chalk: #f4f0e8;
  --cobalt: #3857f5;
  --persimmon: #ff5d43;
  --citron: #d9f45a;
  --white: #ffffff;
  --muted: #52545a;
  --muted-inverse: #c4bfb5;
  --line: #17191d26;
  --line-inverse: #f4f0e833;
  --font-display: "Space Grotesk", "Space Grotesk Fallback", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", Arial, sans-serif;
  --gutter: 20px;
  --max: 1280px;
  --header-height: 72px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 80px; --header-height: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.ink :focus-visible, .hero :focus-visible, .header--overlay :focus-visible, .footer :focus-visible { outline-color: var(--citron); }
code { font: 500 0.92em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: #17191d12; padding: 2px 5px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--chalk); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: var(--citron); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0 88px; }
@media (min-width: 1024px) { .section { padding: 136px 0; } .section--tight { padding: 72px 0 120px; } }
.ink { background: var(--ink); color: var(--chalk); }
.grain { background: var(--chalk) url("grain.svg") 0 0 / 320px 320px; }

/* Type: one scale (12, 14, 16, 18, 22, 28, 36, 40, 44, 52, 56, 64, 96, 120) */
.label { font: 500 12px/1.4 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; }
.muted { color: var(--muted); }
.muted-inverse { color: var(--muted-inverse); }
.display-xl, .display-1, .h1, .statement__text, .concept__title { font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
.display-xl { font-size: 52px; line-height: 0.96; letter-spacing: -0.045em; }
.display-1 { font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.h1 { font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.lead { font-size: 18px; line-height: 1.6; }
@media (min-width: 1024px) {
  .label { letter-spacing: 0.28em; }
  .display-xl { font-size: 120px; line-height: 0.94; letter-spacing: -0.05em; }
  .display-1 { font-size: 96px; line-height: 0.96; letter-spacing: -0.045em; }
  .h1 { font-size: 64px; line-height: 1; }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--chalk); font: 600 16px/1 var(--font-body); text-decoration: none; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--chalk { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* Wordmark and mark */
.wordmark { width: auto; fill: currentColor; }

/* Header: transparent over the home hero, solid ink-on-chalk elsewhere. No script, no sticky behaviour. */
.header { position: relative; z-index: 10; }
.header--overlay { position: absolute; top: 0; left: 0; right: 0; color: var(--chalk); }
.header--solid { border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-height); }
.header__home { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.header__home .wordmark { height: 33px; }
.header__nav ul { display: flex; align-items: center; gap: 4px; padding: 0; list-style: none; }
.header__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font: 500 15px/1 var(--font-body); text-decoration: none; }
.header__nav a:hover { text-decoration: underline; }
.header__status { display: none; }
@media (min-width: 640px) {
  .header__nav ul { gap: 12px; }
  .header__status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border: 1px solid currentColor; border-radius: 999px; font: 500 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
}

/* Hero: full-bleed concept scene, copy over its darkest part */
.hero { position: relative; display: flex; flex-direction: column; background: var(--ink); color: var(--chalk); overflow: hidden; }
.hero__media { position: relative; height: clamp(340px, 58svh, 480px); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #17191d99 0%, #17191d00 26%, #17191d00 52%, var(--ink) 100%), url("grain-light.svg") 0 0 / 320px 320px; background-blend-mode: normal, soft-light; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: 90% 50%; }
.hero__caption { position: absolute; z-index: 1; top: calc(var(--header-height) + 4px); right: var(--gutter); font: 500 12px/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #f4f0e8cc; }
.hero__inner { position: relative; margin-top: -120px; padding-bottom: 56px; }
.hero__copy { display: flex; flex-direction: column; gap: 16px; }
.hero__eyebrow { color: #f4f0e8cc; }
.hero__title span { display: block; }
.hero__intro { font-size: 18px; line-height: 1.55; color: #f4f0e8e0; max-width: 32em; }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
.hero__secondary { align-self: center; display: inline-flex; align-items: center; min-height: 44px; color: var(--chalk); font-weight: 600; text-underline-offset: 5px; }
.hero__index { display: none; }
@media (min-width: 768px) {
  .hero { min-height: min(900px, 100svh); justify-content: flex-end; }
  .hero__media { position: absolute; inset: 0; height: auto; }
  .hero__media::after { background: linear-gradient(90deg, #17191dd9 0%, #17191d80 42%, #17191d00 70%), linear-gradient(180deg, #17191d99 0%, #17191d00 22%), url("grain-light.svg") 0 0 / 320px 320px; background-blend-mode: normal, normal, soft-light; }
  .hero__image { object-position: 72% 40%; }
  .hero__inner { margin-top: 0; padding-top: calc(var(--header-height) + 96px); padding-bottom: 0; }
  .hero__copy { gap: 24px; max-width: 1000px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 32px; }
  .hero__caption { top: auto; bottom: 38px; }
  .hero__index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: center; height: 96px; margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid #f4f0e84d; font-size: 15px; }
  .hero__index li { display: flex; align-items: baseline; gap: 12px; }
  .hero__num, .hero__temp { font: 500 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
  .hero__num { color: #f4f0e8a6; }
  .hero__temp--cool { color: #a9b8ff; }
  .hero__temp--warm { color: #ff9479; }
}
@media (min-width: 1024px) { .hero__intro { max-width: 520px; } }

/* Statement: the flat mark beside one sentence */
.statement__grid { display: grid; gap: 40px; align-items: center; }
.statement__mark svg { width: 156px; height: auto; }
.statement__text { font-size: 36px; font-weight: 400; line-height: 1.06; letter-spacing: -0.03em; }
.statement__body { max-width: 36em; }
@media (min-width: 1024px) {
  .statement__grid { grid-template-columns: 5fr 6fr; gap: 48px; }
  .statement__mark svg { width: 390px; }
  .statement__text { font-size: 64px; line-height: 1.02; letter-spacing: -0.035em; }
  .statement .stack { gap: 32px; }
}

/* Split heading: big title with a short aside */
.split-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.split-head__aside { max-width: 34em; }
@media (min-width: 1024px) { .split-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 80px; } .split-head__aside { flex: 0 1 360px; } }

/* Product concepts */
.concepts { display: grid; gap: 56px; padding: 0; list-style: none; }
@media (min-width: 768px) { .concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 32px; } }
@media (min-width: 1024px) { .concepts { gap: 96px 48px; } }
.concept { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #0d0e10; }
@media (min-width: 1024px) { .art { aspect-ratio: 11 / 10; } }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art::after { content: ""; position: absolute; inset: 0; background: url("grain-light.svg") 0 0 / 320px 320px; opacity: 0.35; mix-blend-mode: soft-light; pointer-events: none; }
.art__chip { position: absolute; z-index: 1; top: 14px; left: 14px; right: 14px; display: flex; width: fit-content; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--chalk); color: var(--ink); font: 500 12px/1.3 var(--font-body); letter-spacing: 0.04em; }
.art__chip::before { content: ""; flex: 0 0 auto; width: 11px; height: 4px; border-radius: 2px; background: var(--persimmon); }
.concept__body { display: flex; flex-direction: column; gap: 12px; }
.concept__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.concept__num { font: 500 12px/1 var(--font-body); letter-spacing: 0.14em; color: var(--muted-inverse); }
.concept__title { font-size: 40px; line-height: 1; letter-spacing: -0.04em; }
@media (min-width: 1024px) { .concept__title { font-size: 56px; } }
.concept__note { font-size: 14px; color: var(--muted-inverse); }
.concept__line { font-size: 18px; line-height: 1.5; }
.concept__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 8px; border-top: 1px solid var(--line-inverse); }
.concept__facts div { padding: 12px 0 16px; border-bottom: 1px solid var(--line-inverse); }
.concept__facts dt { font: 500 12px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-inverse); margin-bottom: 4px; }
.concepts__note { max-width: 44em; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-inverse); }

/* State tags: colour is never the only cue, the words always say it */
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: 999px; font: 600 12px/1 var(--font-body); letter-spacing: 0.16em; white-space: nowrap; }
.tag--cool { background: var(--cobalt); color: var(--white); }
.tag--warm { background: var(--persimmon); color: var(--ink); }
.tag--night { background: var(--chalk); color: var(--ink); }
.tag--night i { width: 11px; height: 4px; border-radius: 2px; background: var(--persimmon); }

/* About and status */
.side-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .side-grid { grid-template-columns: 4fr 7fr; gap: 80px; } }
.about__body { gap: 40px; }
.status { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.status li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.status__num { font: 500 14px/1.6 var(--font-body); color: var(--muted); }
.status h3 { font: 500 22px/1.25 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.status p { color: var(--muted); }

/* Simple pages */
.page-hero { padding: 72px 0 56px; }
@media (min-width: 1024px) { .page-hero { padding: 120px 0 72px; } }
.prose h2 { font: 500 28px/1.15 var(--font-display); letter-spacing: -0.025em; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 44em; }
.prose p + p { margin-top: 14px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; padding-left: 1.2em; }
.notfound .mark-small { margin-bottom: 16px; }

/* Footer */
.footer { background: var(--ink); color: var(--chalk); padding: 72px 0 40px; }
.footer__top { display: grid; gap: 48px; }
.footer__wordmark { display: inline-flex; color: var(--chalk); }
.footer__wordmark .wordmark { height: 120px; }
.footer__nav h2 { color: var(--muted-inverse); margin-bottom: 14px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 2px; padding: 0; list-style: none; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__meta { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: 64px; padding-top: 24px; padding-right: 96px; border-top: 1px solid var(--line-inverse); font-size: 14px; color: var(--muted-inverse); }
.footer__meta p { max-width: 52em; }
.footer__mark { position: absolute; right: 0; top: 28px; }
@media (min-width: 1024px) {
  .footer { padding: 112px 0 48px; }
  .footer__top { grid-template-columns: 1fr auto; align-items: end; }
  .footer__wordmark .wordmark { height: 230px; }
}
