/* Hallmark · shape: one page of anchored sections (hero, portfolio, privacy, contact), structure inspired by giuseppecigala.it by request · genre: modern-minimal · theme: Console (deal 1/3, seed independent-android-app-developer-2da0·56dd8146·2026-10-27·r0, palette by request: apicave graphite and green) · job: read the privacy policy, write to the developer · draw: none, structure by request
 * hero: one column, the headline at display size on columns 1 to 9, the whole first screen · portfolio: a platform picker (radios, no script) over app cards with the real launcher icons · privacy: two commitment cards with checks · nav: a framed bar, the wordmark and three anchor links, no button · footer: a rule, the wordmark, one line, three links, then a rule over the copyright and the tagline · imagery: none · signature: the privacy commitments set as checked cards · console: graphite, recoloured to the apicave palette, light and dark by system preference
 * axes: dark/grotesk-sans/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R5 V4 · weakest: S, no app screenshots yet; the hero is the headline alone, no stock phone mock */
/* Fonts: self-hosted variable woff2 (no third-party requests), latin-ext loads only when a page needs it */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/host-grotesk-latin.woff2") format("woff2"); 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: "Host Grotesk"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/host-grotesk-latin-ext.woff2") format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/atkinson-hyperlegible-mono-latin.woff2") format("woff2"); 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: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/atkinson-hyperlegible-mono-latin-ext.woff2") format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Tokens */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1312px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  /* apicave palette, carried over from v1.0.7: light by default, dark below */
  --color-paper: #f6f7f9; --color-paper-2: #ffffff; --color-paper-3: #f0f2f5;
  --color-ink: #16181d; --color-ink-2: #3a3f4a; --color-muted: #646b78;
  --color-rule: #e2e5ea; --color-rule-2: #c3c9d2;
  --color-accent: #128a5a; --color-accent-soft: #e3f4ec; --color-focus: #128a5a;
  --color-btn: #16181d; --color-btn-ink: #f6f7f9; --color-accent-ink: #ffffff;
  --color-mark-ground: #181a20; --color-mark: #7dd3a8;
  --font-display: "Host Grotesk", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --font-outlier: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-pill: 6px; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.03em; --display-weight: 500;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-paper: #111317; --color-paper-2: #181a20; --color-paper-3: #0c0d10;
    --color-ink: #e7e9ee; --color-ink-2: #c4c8d1; --color-muted: #8d94a3;
    --color-rule: #2b2f39; --color-rule-2: #3d424e;
    --color-accent: #7dd3a8; --color-accent-soft: #1d2e27; --color-focus: #7dd3a8;
    --color-btn: #7dd3a8; --color-btn-ink: #111317; --color-accent-ink: #111317;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: duotone paper-3 ink */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-ink); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
[data-slot] > img { z-index: 0; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper-3); mix-blend-mode: lighten; pointer-events: none; }

/* Skip link */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-btn); color: var(--color-btn-ink); }
.skip:focus-visible { top: var(--space-md); }

/* Nav: a framed bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-md); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.bar__links { display: flex; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.bar__links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.bar__links a:hover { background: var(--color-paper-3); color: var(--color-ink); }
.bar__links a:active { background: var(--color-rule); }

.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; border-radius: 8px; background: var(--color-mark-ground); }
.brand path { fill: none; stroke: var(--color-mark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand:active { opacity: 0.8; }

/* Controls */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn--primary { background: var(--color-btn); border-color: var(--color-btn); color: var(--color-btn-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-btn) 86%, var(--color-paper)); border-color: color-mix(in oklab, var(--color-btn) 86%, var(--color-paper)); }

a:not([class]):hover { text-decoration-color: var(--color-accent); }

/* Measured values and missing facts */
.measured { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; }
.fill { padding: 0 0.25em; border: var(--rule-hair) dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Hero: Stage, the whole first screen under the nav (16px margin + 62px bar) */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-content: center; min-height: calc(100svh - 78px); padding-block: var(--space-xl); }
.hero__text { grid-column: 1 / 10; display: grid; gap: var(--space-lg); }
.hero h1 { max-width: 16ch; font-size: min(var(--text-display), 9svh); }
.hero .lead { color: var(--color-ink-2); max-width: 36ch; }
.hero .actions { margin-top: var(--space-xs); }

/* Sections of the single page */
.block { padding-top: var(--section-gap-s); }
.section-head { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.section-head__line { color: var(--color-muted); font-size: var(--text-lead); max-width: 52ch; }

/* Portfolio: the platform picker is radios styled as pills, filtered with :has(), no script */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0 0 var(--space-xl); padding: 0; border: 0; }
.filters label { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: 999px; background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.filters label:hover { border-color: var(--color-accent); color: var(--color-ink); }
.filters input:checked + label { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.filters input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.filters__count { font-family: var(--font-outlier); font-size: var(--text-xs); color: inherit; opacity: 0.7; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.app { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.app:hover { transform: translateY(-3px); border-color: var(--color-rule-2); }
.app__icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 var(--rule-hair) var(--color-rule-2); }
.app h3 { font-size: var(--text-lg); letter-spacing: -0.02em; }
.app p { flex-grow: 1; color: var(--color-muted); font-size: var(--text-sm); }
.app__meta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-xs); }
.app__meta a { display: inline-flex; align-items: center; min-height: 44px; margin-block: calc(-1 * var(--space-sm)); color: var(--color-accent); font-weight: 500; }
.grid__empty { display: none; grid-column: 1 / -1; padding: var(--space-2xl) 0; color: var(--color-muted); text-align: center; }
.portfolio:has(#f-android:checked) .app:not([data-platform~="android"]),
.portfolio:has(#f-iphone:checked) .app:not([data-platform~="iphone"]),
.portfolio:has(#f-macos:checked) .app:not([data-platform~="macos"]),
.portfolio:has(#f-windows:checked) .app:not([data-platform~="windows"]) { display: none; }
.portfolio:has(#f-iphone:checked, #f-macos:checked, #f-windows:checked) .grid__empty { display: block; }

/* Privacy cards: two commitments */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.card { display: grid; align-content: start; gap: var(--space-lg); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); scroll-margin-top: var(--space-lg); }
.card__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); font-size: var(--text-xl); letter-spacing: -0.02em; }
.tag { padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; line-height: 1.5; }
.checks { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: var(--space-xl); color: var(--color-ink-2); }
.checks li::before { content: ""; position: absolute; left: var(--space-2xs); top: 0.3em; width: 0.4em; height: 0.75em; border: solid var(--color-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; padding-top: var(--section-gap); }
.contact h2 { grid-column: 1 / 7; font-size: var(--text-display-s); }
.contact__body { grid-column: 8 / 13; display: grid; justify-items: start; gap: var(--space-lg); }
.contact__body .lead { color: var(--color-ink-2); }
.contact__mail { font-size: var(--text-title); color: var(--color-ink); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--section-gap); padding-block: var(--space-xl) var(--space-2xl); }
.footer__line { color: var(--color-muted); font-size: var(--text-sm); }
.footer__links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; font-size: var(--text-sm); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); white-space: nowrap; }
.footer__links a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.footer__legal { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-xs); }

/* 404 */
.lost { display: grid; align-content: center; justify-items: start; gap: var(--space-lg); min-height: calc(70svh - 76px); }

@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__text { grid-column: 1 / -1; }
  .hero h1 { font-size: var(--text-display-s); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact h2, .contact__body { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
  .bar__links a { padding-inline: var(--space-xs); }
  .brand { font-size: var(--text-md); }
  .card { padding: var(--space-lg); }
  .footer__links { margin-left: 0; }
}
