/* Hallmark · v2.0.0 · genre: atmospheric · theme: custom (Presence, obsidian glass and titanium, by request) · posture: restrained · hero: stage · nav: glass bar with a workspace switch and a daylight switch · footer: one status line and three domains · job: show the wallet working on a phone · shape: phone stage inside a point field */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: P, proof rows ran long on a phone; cut each to three sentences and moved figures above them */
/* Hallmark · waive 47b · one frame, real content inside · the phone is the wallet being sold and every screen in it responds to taps */
/* Hallmark · dismissed 29 · the two blurred surfaces are the fixed bar and the Face ID overlay inside the phone, which carry the obsidian glass this concept was asked to lead with; every other surface is solid and raised by lightness */
/* Hallmark · dismissed 58 · counted about 2,000 words, of which some 880 sit in 28 closed disclosure rows and some 440 in the phone screens, shown one at a time; each section opens with one heading and one short paragraph */

@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albert-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104.19%;
  ascent-override: 91.18%;
  descent-override: 23.99%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("fonts/fragment-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono Fallback";
  src: local("Courier New"), local("Liberation Mono"), local("Courier");
  size-adjust: 102.99%;
  ascent-override: 92.24%;
  descent-override: 24.27%;
  line-gap-override: 0.00%;
}
/* Albert Sans has no tabular figures. These two cuts hold its own ten digits, at the weights the
   wallet figures use, each centred on the advance of the zero. Only digits come from them. */
@font-face {
  font-family: "Albert Sans Tabular";
  src: url("fonts/albert-sans-tabular-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "Albert Sans Tabular";
  src: url("fonts/albert-sans-tabular-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

:root {
  color-scheme: dark;

  /* Type: one family in two voices, and a mono for small technical notes only. */
  --font-display: "Albert Sans", "Albert Sans Fallback", sans-serif;
  --font-body: "Albert Sans", "Albert Sans Fallback", sans-serif;
  --font-outlier: "Fragment Mono", "Fragment Mono Fallback", ui-monospace, monospace;
  /* Figures that tick or stack in a column. Set only at weight 300 or 500, the two cuts that exist. */
  --font-figures: "Albert Sans Tabular", "Albert Sans", "Albert Sans Fallback", sans-serif;

  --text-hero: clamp(2.75rem, 5.5vw, 5.375rem);
  --text-h2: clamp(2.125rem, 4.1vw, 3.875rem);
  --text-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --text-lead: clamp(1.0625rem, 1.3vw, 1.3125rem);
  --text-body: 1.0625rem;
  --text-ui: 0.9375rem;
  --text-small: 0.8125rem;
  --text-note: 0.75rem;
  --weight-display: 260;
  --weight-text: 400;
  --weight-strong: 520;
  --track-display: -0.034em;
  --track-head: -0.028em;

  /* Space: a 4 px scale. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 128px;
  --space-14: 160px;
  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(88px, 12vw, 172px);
  --bar-h: 64px;
  --measure: 34rem;
  --wide: 76rem;

  --r-1: 8px;
  --r-2: 12px;
  --r-3: 18px;
  --r-4: 26px;
  --r-pill: 999px;

  /* Motion: one curve. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-1: 160ms;
  --t-2: 280ms;
  --t-3: 520ms;
  --t-4: 900ms;

  /* Obsidian. */
  --bg: #07080a;
  --bg-raise: #0b0d10;
  --bar-bg: rgba(7, 8, 10, 0.78);
  --glass: rgba(20, 23, 28, 0.62);
  --glass-2: rgba(28, 32, 38, 0.7);
  --well: rgba(238, 240, 244, 0.035);
  --well-2: rgba(238, 240, 244, 0.06);

  /* Titanium ink. */
  --ink: #eef0f4;
  --ink-2: #aab0ba;
  --ink-3: #848b96;
  --ink-4: #474d57;
  --on-ink: #08090b;
  --line: rgba(232, 236, 244, 0.09);
  --line-2: rgba(232, 236, 244, 0.17);
  --rim-hi: rgba(242, 246, 252, 0.2);
  --rim-lo: rgba(242, 246, 252, 0.04);
  --focus: #dfe4ec;
  --select: rgba(196, 206, 222, 0.28);

  /* The only chroma besides the token marks: two states. */
  --exposed: #f0905a;
  --exposed-soft: rgba(240, 144, 90, 0.13);
  --exposed-line: rgba(240, 144, 90, 0.42);
  --sealed: #80d4a3;
  --sealed-soft: rgba(128, 212, 163, 0.12);
  --sealed-line: rgba(128, 212, 163, 0.4);

  /* Phone: dark titanium frame, lit display. */
  --ti-hi: #6a6f79;
  --ti-mid: #2c2f35;
  --ti-lo: #15171a;
  --ti-rim: rgba(245, 248, 252, 0.34);
  --ti-edge: #050607;
  --bezel: #020203;
  --screen: #0c0e12;
  --screen-2: #12151a;
  --island: #010102;
  --phone-shadow: 0 60px 120px -50px rgba(1, 2, 4, 0.9), 0 30px 60px -40px rgba(1, 2, 4, 0.8);
  --glare: rgba(240, 245, 252, 0.05);

  /* Field of points, as an rgb triplet for the canvas. */
  --field-rgb: 226, 231, 240;
  --field-quiet: 0.42;
  --tk-rim: rgba(238, 242, 250, 0.2);

  /* Small surfaces. */
  --shade-1: rgba(1, 2, 4, 0.5);
  --shade-2: rgba(1, 2, 4, 0.32);
  --rim-solid: rgba(254, 254, 255, 0.7);
  --ink-hover: #fbfcfd;
  --screen-veil: rgba(12, 14, 18, 0.9);
  --sheet-bg: #15181d;
  --island-rim: rgba(240, 244, 252, 0.07);
  --lens: #0b1322;
  --x-quiet: #565c66;
  --x-quiet-2: #3b4049;

  /* Vault plates: obsidian glass, a specular rim, one soft sheen. */
  --plate-fill: linear-gradient(166deg, #181b20 0%, #0f1115 46%, #0a0b0e 100%);
  --plate-rim: linear-gradient(180deg, rgba(246, 249, 254, 0.26) 0%, rgba(246, 249, 254, 0.08) 38%, rgba(246, 249, 254, 0.05) 72%, rgba(246, 249, 254, 0.13) 100%);
  --plate-rim-hot: radial-gradient(56% 150% at 16% 0%, rgba(250, 252, 255, 0.5) 0%, rgba(250, 252, 255, 0) 72%);
  --plate-sheen: linear-gradient(104deg, rgba(240, 245, 252, 0.06) 0%, rgba(240, 245, 252, 0.012) 24%, rgba(240, 245, 252, 0) 40%);
  --plate-shadow: 0 30px 60px -36px rgba(1, 2, 4, 0.95), inset 0 1px 0 rgba(246, 249, 254, 0.05);
  --plate-ring: #14171b;
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f0f2f5;
  --bg-raise: #f7f8fa;
  --bar-bg: rgba(240, 242, 245, 0.8);
  --glass: rgba(252, 253, 254, 0.72);
  --glass-2: rgba(252, 253, 254, 0.9);
  --well: rgba(12, 14, 18, 0.035);
  --well-2: rgba(12, 14, 18, 0.06);

  --ink: #0a0b0d;
  --ink-2: #474d57;
  --ink-3: #606670;
  --ink-4: #a9aeb7;
  --on-ink: #f5f6f8;
  --line: rgba(10, 12, 16, 0.1);
  --line-2: rgba(10, 12, 16, 0.18);
  --rim-hi: rgba(254, 254, 255, 0.95);
  --rim-lo: rgba(10, 12, 16, 0.06);
  --focus: #14171c;
  --select: rgba(60, 76, 104, 0.2);

  --exposed: #b34c12;
  --exposed-soft: rgba(179, 76, 18, 0.09);
  --exposed-line: rgba(179, 76, 18, 0.4);
  --sealed: #1a7a44;
  --sealed-soft: rgba(26, 122, 68, 0.09);
  --sealed-line: rgba(26, 122, 68, 0.38);

  --ti-hi: #f6f7f9;
  --ti-mid: #c3c7ce;
  --ti-lo: #9a9fa8;
  --ti-rim: rgba(254, 254, 255, 0.9);
  --ti-edge: #7b808a;
  --bezel: #08090b;
  --screen: #fafbfc;
  --screen-2: #f0f2f5;
  --island: #020203;
  --phone-shadow: 0 70px 110px -60px rgba(24, 32, 48, 0.5), 0 30px 50px -36px rgba(24, 32, 48, 0.36);
  --glare: rgba(254, 254, 255, 0.16);

  --field-rgb: 16, 20, 28;
  --field-quiet: 0.38;
  --tk-rim: rgba(10, 12, 16, 0.08);

  --shade-1: rgba(24, 32, 48, 0.16);
  --shade-2: rgba(24, 32, 48, 0.1);
  --rim-solid: rgba(254, 254, 255, 0.18);
  --ink-hover: #1b1e23;
  --screen-veil: rgba(250, 251, 252, 0.9);
  --sheet-bg: #fdfdfe;
  --island-rim: rgba(240, 244, 252, 0.07);
  --lens: #0b1322;
  --x-quiet: #a3a8b1;
  --x-quiet-2: #c5c9d0;

  --plate-fill: linear-gradient(166deg, #fefefe 0%, #fafbfc 46%, #f1f3f6 100%);
  --plate-rim: linear-gradient(180deg, rgba(254, 254, 255, 1) 0%, rgba(10, 12, 16, 0.07) 40%, rgba(10, 12, 16, 0.1) 72%, rgba(10, 12, 16, 0.19) 100%);
  --plate-rim-hot: none;
  --plate-sheen: linear-gradient(104deg, rgba(254, 254, 255, 0.9) 0%, rgba(254, 254, 255, 0.3) 24%, rgba(254, 254, 255, 0) 40%);
  --plate-shadow: 0 30px 50px -36px rgba(24, 32, 48, 0.4), 0 1px 2px rgba(24, 32, 48, 0.06);
  --plate-ring: #fcfdfd;
}
