/* Axiomat site: shared brand tokens and primitives (ivory paper, terracotta, Source Serif 4 + Manrope).
   Pattern borrowed from Harvey / Intercom / Granola: short headlines, the product large on a textured art panel. Light only, by brand.
   Fonts are bundled beside this file under their SIL Open Font Licenses. */
@font-face {
  font-family: "Manrope";
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("source-serif-4-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("source-serif-4-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("source-serif-4-bold-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #fbf7f0;
  --card: #fffdf9;
  --ink: #2f1d15;
  --text: #5e3b2c;
  --muted: #8a6d5d;
  --accent: #a4472c;
  --accent-hover: #87391f;
  --rule: #eadfcf;
  --art-1: #c9734f;
  --art-2: #e8c39e;
  --art-3: #7d3a24;
  --art-4: #f3e2c9;
  --yc: #f26522;
  --linkedin: #0a66c2;
  --on-accent: #fffaf3;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 2px 6px rgb(47 29 21 / 8%), 0 30px 60px -20px rgb(47 29 21 / 35%);
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.shell { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(72px, 10vw, 136px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule); }
.site-header .shell { display: flex; align-items: center; gap: 28px; height: 68px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--sans); letter-spacing: -0.02em; }
.wordmark-a { font: italic 700 27px/1 var(--serif); margin-right: -1px; }
.nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-cta { margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; font: 650 14.5px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-quiet:hover { border-color: var(--muted); }
/* Cookie banner, shown only to visitors in European time zones by assets/analytics.js */
.consent { position: fixed; z-index: 50; left: 16px; bottom: 16px; max-width: min(440px, calc(100vw - 32px)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); box-shadow: 0 12px 30px -20px rgb(47 29 21 / 35%); }
.consent p { flex: 1 1 100%; margin: 0; font-size: 14.5px; color: var(--text); }

/* Type */
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; font-weight: 400; }
h1 { font: 400 clamp(44px, 6.6vw, 84px)/1.02 var(--serif); letter-spacing: -0.035em; }
h2 { font: 400 clamp(34px, 4.4vw, 56px)/1.06 var(--serif); letter-spacing: -0.03em; }
h3 { font: 650 17px/1.35 var(--sans); letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 32em; margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }

/* Art panel: textured warm backdrop the product window sits on (stands in for Granola/Harvey photography) */
.art { position: relative; overflow: hidden; border-radius: 24px; isolation: isolate;
  background:
    radial-gradient(70% 90% at 12% 18%, var(--art-2), transparent 60%),
    radial-gradient(60% 80% at 92% 12%, var(--art-1), transparent 62%),
    radial-gradient(80% 90% at 70% 110%, var(--art-3), transparent 60%),
    var(--art-4); }
.art::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .18 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.art > * { position: relative; }
/* Stage: an art panel framing one app window, centred with equal space on every side */
.stage { padding: clamp(16px, 5vw, 64px); display: grid; place-items: center; }
.stage > .window { width: 100%; }

/* App window: the full capture, never cropped */
.window { border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.window video, .window img { width: 100%; height: 100%; object-fit: contain; background: var(--card); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; transition: box-shadow .35s var(--ease); }
.card:hover { box-shadow: 0 20px 40px -24px rgb(47 29 21 / 30%); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--art-2) 45%, var(--card)); color: var(--accent); margin-bottom: 18px; }
.icon svg { width: 20px; height: 20px; stroke-width: 1.75; }


/* Footer + back to top */
.site-footer { border-top: 1px solid var(--rule); padding-block: 36px; }
.site-footer .shell { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .header-cta { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
