@font-face { font-family: "Archivo Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  color: oklch(27% 0.052 252);
  background: oklch(96.8% 0.012 88);
  font-family: "Public Sans Variable", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: oklch(25% 0.065 252);
  --ink-soft: oklch(43% 0.042 252);
  --muted: oklch(58% 0.027 252);
  --paper: oklch(98.8% 0.008 88);
  --canvas: oklch(96.8% 0.012 88);
  --line: oklch(86% 0.023 88);
  --navy: oklch(25% 0.073 252);
  --navy-raised: oklch(31% 0.075 252);
  --amber: oklch(82% 0.135 88);
  --amber-dark: oklch(47% 0.09 75);
  --green: oklch(65% 0.115 157);
  --red: oklch(62% 0.145 28);
  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: .75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;
  --space-5xl: 6rem;
}

* { box-sizing: border-box; }
html { min-width: 20rem; scroll-behavior: smooth; }
body { min-width: 20rem; min-height: 100vh; margin: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: var(--canvas); }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; pointer-events: none; opacity: .32; background-image: repeating-linear-gradient(90deg, transparent 0, transparent 5.95rem, oklch(61% 0.028 88 / 14%) 6rem); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: .1875rem solid oklch(64% 0.13 245); outline-offset: .1875rem; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2, .wordmark strong, .download-button strong, .cash-total { font-family: "Archivo Variable", sans-serif; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 50; padding: .75rem 1rem; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header, main, footer { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.site-header { min-height: 5.75rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.wordmark__seal { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; flex: 0 0 auto; border-radius: .7rem .2rem .7rem .2rem; color: var(--paper); background: var(--navy); font-family: "Archivo Variable", sans-serif; font-size: .9rem; font-weight: 790; letter-spacing: -.06em; }
.wordmark > span:last-child { display: grid; gap: .1rem; }
.wordmark strong { font-size: .95rem; font-weight: 760; }
.wordmark small { color: var(--muted); font-size: .67rem; }
.local-label { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink-soft); font-size: .72rem; font-weight: 640; }
.local-label i { width: .48rem; height: .48rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .25rem oklch(89% 0.055 157); }

.hero { display: grid; gap: var(--space-4xl); padding-block: clamp(4rem, 10vw, 7.5rem) var(--space-5xl); }
.hero__copy { align-self: center; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--muted); font-size: .68rem; font-weight: 680; letter-spacing: .04em; }
.kicker > span:first-child { padding: .38rem .55rem; color: var(--navy); background: oklch(90% 0.055 87); font-size: .61rem; font-weight: 790; letter-spacing: .11em; }
.hero h1 { max-width: 11ch; margin-top: 1.4rem; color: var(--ink); font-size: clamp(3rem, 13vw, 5.7rem); font-weight: 735; letter-spacing: -.068em; line-height: .93; text-wrap: balance; }
.hero h1 em { color: var(--amber-dark); font-style: normal; }
.hero__lead { max-width: 39rem; margin-top: 1.75rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.download-row { display: grid; gap: 1rem; margin-top: 2rem; }
.download-button { min-height: 4.35rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; width: min(100%, 25rem); padding: .65rem .85rem; border: 1px solid oklch(35% 0.075 252); border-radius: .7rem; color: var(--paper); background: var(--navy); box-shadow: 0 .85rem 2rem oklch(22% 0.055 252 / 16%); text-decoration: none; transition: transform 180ms cubic-bezier(.16, 1, .3, 1), background-color 180ms ease; }
.download-button > span:nth-child(2) { display: grid; gap: .2rem; }
.download-button strong { font-size: .92rem; }
.download-button small { color: oklch(76% 0.025 252); font-size: .66rem; }
.download-button > b { font-size: 1.45rem; font-weight: 350; }
.windows-mark { width: 1.65rem; height: 1.65rem; display: grid; grid-template-columns: 1fr 1fr; gap: .12rem; transform: perspective(2rem) rotateY(-8deg); }
.windows-mark i { display: block; background: var(--amber); }
.download-row > p { color: var(--muted); font-size: .68rem; line-height: 1.55; }
.download-row > p span { color: var(--ink-soft); }

.ledger-preview { position: relative; align-self: center; overflow: hidden; border: 1px solid oklch(39% 0.065 252); border-radius: 1rem .35rem 1rem .35rem; color: oklch(91% 0.018 252); background: var(--navy); box-shadow: 0 2rem 5rem oklch(25% 0.05 252 / 18%); transform: rotate(.8deg); }
.ledger-preview__bar { min-height: 3rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1rem; border-bottom: 1px solid oklch(42% 0.055 252); color: oklch(65% 0.028 252); font-size: .58rem; letter-spacing: .12em; }
.ledger-preview__bar > span { display: flex; gap: .35rem; }
.ledger-preview__bar i { width: .45rem; height: .45rem; display: block; border-radius: 50%; background: oklch(47% 0.045 252); }
.ledger-preview__bar i:first-child { background: var(--amber); }
.ledger-preview__bar strong { color: oklch(84% 0.02 252); }
.ledger-preview__bar small { justify-self: end; color: oklch(75% 0.08 157); }
.ledger-preview__body { padding: 1.45rem 1.25rem 1.2rem; }
.cash-date { display: flex; align-items: center; gap: .7rem; }
.cash-date > span { font-family: "Archivo Variable", sans-serif; font-size: 2.6rem; font-weight: 690; letter-spacing: -.07em; }
.cash-date small { color: oklch(66% 0.03 252); font-size: .57rem; font-weight: 730; line-height: 1.35; letter-spacing: .08em; }
.cash-label { margin-top: 1.5rem; color: oklch(64% 0.028 252); font-size: .69rem; }
.cash-total { display: block; margin-top: .2rem; color: oklch(98% 0.006 88); font-size: clamp(2rem, 8vw, 3.25rem); font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.cash-caption { color: oklch(67% 0.03 252); font-size: .62rem; }
.ledger-line { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-height: 4.2rem; margin-top: 1.1rem; border-top: 1px solid oklch(42% 0.05 252); }
.ledger-line + .ledger-line { margin-top: 0; }
.ledger-line > span { font-size: .54rem; font-weight: 760; letter-spacing: .09em; }
.ledger-line--in > span, .ledger-line--in > b { color: oklch(77% 0.11 157); }
.ledger-line--out > span, .ledger-line--out > b { color: oklch(84% 0.1 82); }
.ledger-line p { min-width: 0; display: grid; gap: .18rem; }
.ledger-line strong { overflow: hidden; color: oklch(92% 0.014 252); font-size: .71rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.ledger-line small { color: oklch(61% 0.025 252); font-size: .58rem; }
.ledger-line > b { font-size: .72rem; font-variant-numeric: tabular-nums; }
.ledger-preview__stamp { position: absolute; top: 1.15rem; right: 1.2rem; padding: .5rem .6rem; border: 1px solid oklch(76% 0.075 84); color: oklch(83% 0.11 84); font-size: .47rem; line-height: 1.5; letter-spacing: .13em; text-align: center; transform: rotate(-4deg); }

.assurance { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assurance p { display: grid; grid-template-columns: 2.2rem 1fr; gap: .3rem .65rem; padding-block: 1.35rem; }
.assurance p + p { border-top: 1px solid var(--line); }
.assurance span { grid-row: span 2; color: var(--amber-dark); font-family: "Archivo Variable", sans-serif; font-size: .68rem; font-weight: 720; }
.assurance strong { font-size: .83rem; }
.assurance small { color: var(--muted); font-size: .68rem; line-height: 1.5; }

.release-section { display: grid; gap: var(--space-3xl); padding-block: var(--space-5xl); }
.release-section h2, .install-section h2 { margin-top: 1.2rem; color: var(--ink); font-size: clamp(2.2rem, 8vw, 4.6rem); font-weight: 710; letter-spacing: -.06em; line-height: .96; }
.release-section > div > p:last-child { max-width: 42rem; margin-top: 1.35rem; color: var(--ink-soft); line-height: 1.7; }
.release-section dl { border-top: 1px solid var(--ink); }
.release-section dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.release-section dt { color: var(--muted); font-size: .66rem; font-weight: 710; text-transform: uppercase; letter-spacing: .08em; }
.release-section dd { color: var(--ink); font-size: .78rem; font-weight: 610; }
.release-section .checksum dd { overflow-wrap: anywhere; color: var(--muted); font-family: ui-monospace, monospace; font-size: .58rem; line-height: 1.5; }

.install-section { padding-block: var(--space-5xl); border-top: 1px solid var(--line); }
.install-heading { max-width: 52rem; }
.install-section ol { display: grid; gap: 0; margin: var(--space-3xl) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.install-section li { display: grid; grid-template-columns: 2.7rem 1fr; gap: 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.install-section li > span { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: oklch(90% 0.055 87); font-family: "Archivo Variable", sans-serif; font-size: .72rem; font-weight: 770; }
.install-section li p { display: grid; gap: .35rem; }
.install-section li strong { font-size: .84rem; }
.install-section li small { max-width: 40rem; color: var(--muted); font-size: .7rem; line-height: 1.55; }

.privacy-statement { display: grid; gap: 1.3rem; margin-block: var(--space-4xl) var(--space-5xl); padding: 2.2rem 1.4rem; border-radius: 1rem .3rem 1rem .3rem; color: oklch(86% 0.02 252); background: var(--navy); }
.privacy-statement p { max-width: 27ch; font-family: "Archivo Variable", sans-serif; font-size: clamp(1.65rem, 7vw, 3.2rem); font-weight: 610; line-height: 1.02; letter-spacing: -.045em; }
.privacy-statement p strong { color: var(--amber); font-weight: 710; }
.privacy-statement > span { max-width: 47rem; color: oklch(70% 0.027 252); font-size: .76rem; line-height: 1.65; }
.privacy-statement > a { min-height: 3rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, 16rem); padding: 0 .9rem; border: 1px solid oklch(58% 0.06 252); border-radius: .55rem; color: var(--paper); font-size: .75rem; font-weight: 700; text-decoration: none; }
.privacy-statement > a b { color: var(--amber); font-size: 1.1rem; }

footer { min-height: 8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); }
footer p { color: var(--muted); font-size: .68rem; }

@media (hover: hover) and (pointer: fine) {
  .download-button:hover { background: var(--navy-raised); transform: translateY(-.18rem); }
  .privacy-statement > a:hover { border-color: var(--amber); }
}

@media (min-width: 45rem) {
  .site-header, main, footer { width: min(100% - 4rem, 76rem); }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); gap: clamp(3rem, 7vw, 6rem); }
  .download-row { grid-template-columns: auto 1fr; align-items: center; }
  .assurance { grid-template-columns: repeat(3, 1fr); }
  .assurance p { padding: 1.4rem 1.2rem; }
  .assurance p:first-child { padding-left: 0; }
  .assurance p + p { border-top: 0; border-left: 1px solid var(--line); }
  .release-section { grid-template-columns: minmax(0, 1.15fr) minmax(19rem, .85fr); gap: clamp(4rem, 9vw, 8rem); }
  .install-section ol { grid-template-columns: repeat(3, 1fr); }
  .install-section li { grid-template-columns: 1fr; padding: 1.5rem; }
  .install-section li:first-child { padding-left: 0; }
  .install-section li + li { border-left: 1px solid var(--line); }
  .privacy-statement { grid-template-columns: 1.1fr .9fr; align-items: end; padding: 3rem; }
  .privacy-statement > a { grid-column: 2; }
}

@media (max-width: 34rem) {
  .local-label { max-width: 8rem; font-size: .62rem; line-height: 1.35; }
  .wordmark small { display: none; }
  .ledger-preview { transform: none; }
  .ledger-line { grid-template-columns: 3.7rem minmax(0, 1fr); }
  .ledger-line > b { grid-column: 2; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
