/* Shorthand Systems, brand standard v2 (26 Sep 2026): black and white, Satoshi only, one red for alarms.
   Dark by default, light on the toggle (html[data-theme], remembered as "sh.theme"). Greys only, flat fills, red reserved for broken states. */
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #000000;
  --card: #0D0D0D;
  --ink: #F5F5F5;
  --ink2: #D4D4D4;
  --mut: #A3A3A3;
  --mut2: #737373;
  --line: #262626;
  --line2: #404040;
  --red: #EF4444;
  --topbg: rgba(0, 0, 0, .92);
  /* the inverted block: off-white on the dark page */
  --hero-bg: #F5F5F5;
  --hero-fg: #000000;
  --hero-sub: #262626;
  --hero-mut: #525252;
  --hero-line: rgba(0, 0, 0, .14);
  --f: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --gut: clamp(16px, 3.4vw, 48px);
  --max: 1480px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --card: #F7F7F7;
  --ink: #000000;
  --ink2: #262626;
  --mut: #525252;
  --mut2: #737373;
  --line: #E5E5E5;
  --line2: #C7C7C7;
  --red: #DC2626;
  --topbg: rgba(255, 255, 255, .92);
  /* the inverted block: black on the light page */
  --hero-bg: #000000;
  --hero-fg: #F5F5F5;
  --hero-sub: #D4D4D4;
  --hero-mut: #A3A3A3;
  --hero-line: rgba(255, 255, 255, .18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible { outline-color: var(--hero-fg); }

.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* Headings: Satoshi 900, uppercase, tight */
h1, h2, h3 { font-family: var(--f); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; margin: 0; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 40; background: var(--topbg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 66px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .mark-c { fill: currentColor; }
.brand .mark-r { fill: none; stroke: var(--bg); stroke-width: 1.6; }
.brand .mark-d { fill: var(--bg); }
.brand-name { font-size: 15px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.theme { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; color: var(--ink); background: transparent; border: 1px solid var(--line2); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.theme:hover { border-color: var(--ink); }

/* Labels: Satoshi 700, uppercase, wide */
.label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin: 0 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; background: var(--ink); color: var(--bg); text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 15px 26px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1; }
.btn:hover { background: transparent; color: var(--ink); }

/* Hero: the inverted block */
main { padding: 24px 0 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) min(360px, 30%); gap: 48px 64px; align-items: center; background: var(--hero-bg); color: var(--hero-fg); border-radius: 4px; padding: 48px 56px 52px; }
.hero .label { color: var(--hero-mut); }
.hero h1 { font-size: clamp(44px, 5.5vw, 104px); text-wrap: balance; }
.hero h1 em { font-style: normal; }
.hero .lede { font-size: 16px; line-height: 1.5; color: var(--hero-sub); max-width: 40em; margin: 28px 0 32px; padding-top: 22px; border-top: 1px solid var(--hero-line); }
.hero .btn { background: var(--hero-fg); color: var(--hero-bg); border-color: var(--hero-fg); }
.hero .btn:hover { background: transparent; color: var(--hero-fg); }
.rings { width: 100%; max-width: 360px; height: auto; margin-left: auto; color: var(--hero-fg); }

/* Sections */
section { padding: 96px 0; }
section[id] { scroll-margin-top: 72px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
h2 { font-size: clamp(32px, 4.2vw, 76px); max-width: 18em; text-wrap: balance; }
h3 { text-wrap: balance; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.card { background: var(--card); border-radius: 4px; padding: 32px 36px 40px; }
.num { font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; color: var(--mut2); }
.card .num { font-size: 44px; margin-bottom: 36px; }
.card h3 { font-size: 18px; letter-spacing: .02em; line-height: 1.1; margin-bottom: 12px; }
.card p { margin: 0; color: var(--mut); font-size: 16px; line-height: 1.5; max-width: 50ch; }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-size: 44px; }
.steps h3 { font-size: 18px; letter-spacing: .02em; line-height: 1.1; margin: 28px 0 10px; }
.steps p { margin: 0; color: var(--mut); font-size: 16px; max-width: 30ch; }

/* How we work */
#how + section { padding-top: 0; }
.panel { background: var(--card); border-radius: 4px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.panel h2 { font-size: clamp(30px, 3.6vw, 56px); }
.panel p:not(.label) { color: var(--ink2); font-size: 16px; margin: 0 0 20px; max-width: 36em; }
.panel p:last-child { margin-bottom: 0; }

/* Contact */
.contact { padding: 72px 0 120px; }
.contact h2 { font-size: clamp(36px, 6vw, 112px); max-width: 13em; }
.contact p:not(.label) { color: var(--mut); font-size: 16px; max-width: 34em; margin: 28px 0 40px; }
.contact .btn { vertical-align: middle; }
.mail { display: inline-block; vertical-align: middle; margin-left: 24px; font-size: 16px; font-weight: 500; color: var(--mut); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--mut); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0 0 4px; }
.foot strong { color: var(--ink); font-weight: 700; }
.foot a { color: var(--ink); text-underline-offset: 3px; }

/* Legal page */
.legal { max-width: 44em; padding: 72px 0 104px; }
.legal h1 { font-size: clamp(48px, 8vw, 112px); margin-bottom: 48px; }
.legal h2 { font-size: 18px; letter-spacing: .02em; line-height: 1.1; max-width: none; margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal p:not(.label), .legal li { color: var(--ink2); line-height: 1.6; }
.legal p:not(.label) { margin: 0 0 16px; }
.legal a { text-underline-offset: 3px; }
.legal p.back:not(.label) { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px 44px; }
  .hero h1 { font-size: clamp(44px, 8vw, 72px); }
  .rings { max-width: 160px; margin: 0; order: -1; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .panel { grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; }
}
@media (max-width: 640px) {
  .top-in { min-height: 0; padding-top: 12px; padding-bottom: 6px; }
  .theme { order: 2; }
  .top-in { column-gap: 12px; }
  .nav { order: 3; width: 100%; gap: 20px; }
  .nav a { padding: 8px 0; }
  section[id] { scroll-margin-top: 104px; }
  main { padding: 16px 0 56px; }
  .hero { position: relative; gap: 0; padding: 28px 20px 32px; }
  .hero .label { padding-right: 64px; }
  .rings { position: absolute; top: 14px; right: 16px; width: 48px; max-width: 48px; }
  .hero .lede { margin: 24px 0 28px; padding-top: 20px; }
  section { padding: 64px 0; }
  .cards { margin-top: 40px; }
  .card { padding: 24px 22px 28px; }
  .card .num { font-size: 36px; margin-bottom: 24px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .steps h3 { margin-top: 20px; }
  .panel { padding: 28px 20px; }
  .contact { padding: 72px 0 80px; }
  .mail { display: block; margin: 20px 0 0; }
  .legal { padding: 48px 0 72px; }
}
@media (max-width: 380px) {
  .brand { gap: 10px; }
  .brand-name { font-size: 13px; letter-spacing: .05em; }
  .nav a { font-size: 12px; }
}
/* Small, short phones (320x640 and the like): keep "Get in touch" on the first screen */
@media (max-width: 380px) and (max-height: 700px) {
  main { padding-top: 12px; }
  .hero { padding: 22px 18px 26px; }
  .hero .label { margin-bottom: 14px; }
  .rings { top: 11px; right: 14px; width: 40px; max-width: 40px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 15px; margin: 16px 0 20px; padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
