@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/fredoka-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --surface-100: #F5F5F7; --surface-200: #FFFFFF; --surface-300: #E8E8ED;
  --ink: #1D1D1F; --ink-muted: #6E6E73;
  --on-photo: #FFFFFF; --on-photo-muted: rgba(255,255,255,0.72);
  --graphite: #2A2D2B; --hero: #1D1D1F;
  --glass-dark: rgba(255,255,255,0.1); --glass-stroke: rgba(255,255,255,0.24);
  --hairline: rgba(0,0,0,0.08); --focus: #1D1D1F;
  --display: "Instrument Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sans: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
  --r-sm: 10px; --r-md: 20px; --r-lg: 32px; --r-pill: 999px;
  --shadow-float: 0 30px 60px -24px rgba(0,0,0,0.35);
  --wrap: 1120px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-100: #0B0B0C; --surface-200: #1C1C1E; --surface-300: #2C2C2E;
    --ink: #F5F5F7; --ink-muted: #98989D; --graphite: #2C2C2E; --hero: #161617;
    --hairline: rgba(255,255,255,0.12); --focus: #F5F5F7; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
}
body {
  margin: 0; background: var(--surface-100); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.47; letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a, button { touch-action: manipulation; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- Header: translucent material, edge appears only once content scrolls under it ---------- */
.scroll-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.top {
  position: sticky; top: 0; z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--surface-100) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hairline);
  opacity: 0; transition: opacity 200ms ease;
}
.top[data-scrolled]::after { opacity: 1; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 19px; text-decoration: none; color: var(--ink); }
.mark .gs-mark { flex: none; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-muted); padding: 8px 0; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
@media (max-width: 640px) { .nav .hide-s { display: none; } }

/* ---------- Type: tight display, size-specific tracking ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; font-family: var(--display); }
.d-xl { font-size: clamp(42px, 6.6vw, 80px); line-height: 1.0; letter-spacing: -0.035em; }
.d-l { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.d-m { font-size: 28px; line-height: 1.12; letter-spacing: -0.02em; }
.sub { font-size: 19px; color: var(--ink-muted); margin: 0; }
.muted { color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero { padding-top: 16px; }
.photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: min(640px, calc(100svh - 120px)); display: flex; align-items: flex-end;
  color: var(--on-photo); background: var(--hero);
}
.hero-stage {
  position: absolute; width: min(44%, 440px); aspect-ratio: 1; right: 7%; top: 50%;
  translate: 0 -50%; perspective: 1200px;
}
.tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.hero-grid { width: 100%; height: 100%; overflow: visible; }
/* The filled square is a card: its back is the Swiby icon */
.flip {
  position: absolute; left: 5.556%; top: 5.556%; width: 38.889%; aspect-ratio: 1;
  perspective: 900px; opacity: 0; pointer-events: none; cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.flip.f2 { left: 55.556%; }
.hero-grid[data-done] ~ .flip, .hero-grid[data-static] ~ .flip { opacity: 1; pointer-events: auto; }
.flip-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform 640ms var(--ease-in-out);
}
.flip[data-flipped] .flip-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 32.1%; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.face.front { background: #FFFFFF; }
.face.back { transform: rotateY(180deg); background: #FFFFFF; box-shadow: 0 24px 60px -16px rgba(247,211,222,0.5); }
.face.back img { width: 100%; height: 100%; }
.face.back.sp-icon { background: #0F6B4E; box-shadow: 0 24px 60px -16px rgba(15,107,78,0.55); display: grid; place-items: center; }
.face.back.sp-icon svg { width: 100%; height: 100%; }
.flip:active .flip-inner { scale: 0.97; transition: transform 640ms var(--ease-in-out), scale 160ms var(--ease-out); }
.hero-grid .t {
  fill: none; stroke: rgba(255,255,255,0.3); stroke-width: 0.5;
  transform-box: fill-box; transform-origin: center;
}
.hero-grid .t1 { fill: #FFFFFF; fill-opacity: 0; stroke: rgba(255,255,255,0.3); }
.hero-grid[data-done] .t1 { fill-opacity: 1; stroke: #FFFFFF; transition: fill-opacity 240ms var(--ease-out), stroke 240ms var(--ease-out); }
/* Without JS the mark simply rests in its final form */
.no-js .hero-grid .t1, .hero-grid[data-static] .t1 { fill-opacity: 1; stroke: #FFFFFF; }

/* Soft colour behind the mark: Swiby pink and blue, Statementpair green */
.glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 74% 30%, rgba(247,211,222,0.22), transparent 70%),
    radial-gradient(34% 40% at 92% 64%, rgba(15,107,78,0.42), transparent 70%),
    radial-gradient(30% 36% at 60% 74%, rgba(155,195,235,0.16), transparent 70%); }
@media (max-width: 860px) { .glow { background: radial-gradient(60% 40% at 78% 18%, rgba(247,211,222,0.2), transparent 70%), radial-gradient(50% 36% at 96% 34%, rgba(15,107,78,0.4), transparent 70%); } }
.photo .inner { position: relative; z-index: 1; padding: 48px; max-width: min(600px, 52%); display: grid; gap: 18px; }
.photo h1 .nw { white-space: nowrap; display: inline-block; }
.photo h1 { font-size: clamp(40px, 5.6vw, 72px); }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--on-photo-muted); }
.lead { font-size: 19px; line-height: 1.45; color: var(--on-photo-muted); max-width: 46ch; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero copy arrives once, quickly, just behind the mark */
.js .in { opacity: 0; transform: translateY(10px); }
.js .ready .in {
  opacity: 1; transform: none;
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: calc(120ms + var(--i) * 60ms);
}

@media (max-width: 860px) {
  .hero-stage { width: 38%; right: 24px; top: 28px; translate: none; }
  .photo { min-height: 600px; }
  .photo .inner { max-width: 640px; }
}
@media (max-width: 640px) {
  .photo { min-height: 580px; }
  .photo .inner { padding: 24px; }
  .hero-stage { width: 44%; }
}

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: var(--r-pill); font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 0;
  user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, opacity 150ms ease;
}
.pill:active, .store:active { transform: scale(0.97); }
.light { background: #FFFFFF; color: #1D1D1F; }
.outline { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.glass-d { background: var(--glass-dark); color: var(--on-photo); box-shadow: inset 0 0 0 1px var(--glass-stroke); }
.solid { background: var(--ink); color: var(--surface-200); }
.soft { background: var(--surface-300); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .light:hover { background: #EDEDF0; }
  .outline:hover { background: rgba(255,255,255,0.08); }
  .solid:hover, .soft:hover, .store:hover { opacity: 0.86; }
  .glass-d:hover { background: rgba(255,255,255,0.16); }
}

/* ---------- Sections ---------- */
section { padding-top: 88px; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 680px; }

/* App feature */
.app { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--surface-200); border-radius: var(--r-lg); overflow: hidden; }
.app .txt { padding: 48px; display: grid; gap: 20px; align-content: center; min-width: 0; }
.app .txt > p { margin: 0; }
.app .vis { background: linear-gradient(160deg, #CFE4F6 0%, #E6DCEF 50%, #F7D3DE 100%); display: flex; align-items: center; justify-content: center; padding: 48px 24px; overflow: hidden; }
.appid { display: flex; align-items: center; gap: 16px; }
.appid img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 0 0 1px var(--hairline); }
.appid .t { font: 600 24px/1.1 var(--display); letter-spacing: -0.02em; }
.store { display: inline-block; width: fit-content; border-radius: 12px; transition: transform 160ms var(--ease-out), opacity 150ms ease; }
.store img { width: 180px; height: auto; }
@media (prefers-color-scheme: dark) { .store img { filter: invert(1); } }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.phone { width: min(280px, 100%); aspect-ratio: 600 / 1067; border-radius: 44px; padding: 10px; background: #111; box-shadow: var(--shadow-float); }
.phone .demo { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #FDF1F5; container-type: inline-size; color: #1D1D1F; }

/* ---------- Live Swiby demo: cards swipe on their own, like a screen recording ---------- */
.demo-top { position: absolute; top: 13cqw; left: 7cqw; display: flex; align-items: center; gap: 2.6cqw; font: 600 8.4cqw/1 "Fredoka", var(--display); letter-spacing: -0.01em; }
.demo-top img { width: 9cqw; height: 9cqw; border-radius: 2.4cqw; }
.demo-deck { position: absolute; left: 6cqw; right: 6cqw; top: 27cqw; bottom: 34cqw; }
.demo-card {
  position: absolute; inset: 0; border-radius: 9cqw; padding: 7cqw;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 2cqw 6cqw rgba(120, 60, 90, 0.10);
  transform-origin: 50% 90%;
}
.demo-card.pige { background: linear-gradient(#FBE1E9, #F5CBD8); }
.demo-card.dreng { background: linear-gradient(#DCEDFA, #C3DFF4); }
.demo-card.begge { background: linear-gradient(#E1F1E6, #CBE5D3); }
.demo-card .head { position: absolute; top: 9cqw; left: 50%; width: 52cqw; translate: -50% 0; }
.demo-card .nm { font: 600 17cqw/1 "Fredoka", var(--display); letter-spacing: -0.02em; }
.demo-card .mn { font: 600 5cqw/1.25 var(--sans); margin-top: 3cqw; }
.demo-card .or { font: 400 4.2cqw/1.2 var(--sans); color: rgba(29,29,31,0.6); margin-top: 1cqw; }
.demo-card .stamp {
  position: absolute; top: 7cqw; padding: 1.8cqw 3.4cqw; border-radius: 99px;
  font: 600 4.2cqw/1 var(--display); letter-spacing: 0.02em; opacity: 0;
}
.demo-card .stamp.y { left: 7cqw; background: #1D1D1F; color: #fff; }
.demo-card .stamp.n { right: 7cqw; background: #fff; color: #1D1D1F; }
.demo-match {
  position: absolute; top: 12cqw; right: 7cqw; padding: 2.4cqw 4cqw; border-radius: 99px;
  background: #EC3B5A; color: #fff; font: 600 4.4cqw/1 "Fredoka", var(--display);
  opacity: 0; transform: translateY(-2cqw) scale(0.94);
}
.demo-btns { position: absolute; left: 0; right: 0; bottom: 11cqw; display: flex; justify-content: center; align-items: center; gap: 5cqw; }
.demo-btns span { display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2cqw 6cqw rgba(120, 60, 90, 0.14); }
.demo-btns .b-no { width: 15cqw; height: 15cqw; color: #6E6E73; }
.demo-btns .b-yes { width: 22cqw; height: 22cqw; color: #EC3B5A; }
.demo-btns .b-no svg { width: 6cqw; } .demo-btns .b-yes svg { width: 10cqw; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } .app .txt { padding: 28px; } }

/* Values: one surface, three columns divided by hairlines (not three identical cards) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-200); border-radius: var(--r-lg); }
.value { padding: 32px; display: grid; gap: 10px; align-content: start; }
.value + .value { box-shadow: inset 1px 0 0 var(--hairline); }
.value h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.value p { margin: 0; color: var(--ink-muted); }
.ico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-300); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .value { padding: 28px; }
  .value + .value { box-shadow: inset 0 1px 0 var(--hairline); }
}

/* About + contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border-radius: var(--r-lg); padding: 40px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel.white { background: var(--surface-200); }
.panel.dark { background: var(--hero); color: var(--on-photo); }
.panel.dark .muted { color: var(--on-photo-muted); }
.panel p { margin: 0; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mail code { font: 600 20px/1.3 var(--display); letter-spacing: -0.015em; word-break: break-all; user-select: all; -webkit-user-select: all; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .panel { padding: 28px; } }

/* Copy button: the two labels cross-fade through a short blur so it reads as one morph */
.copy { min-width: 112px; }
.copy-label { display: grid; }
.copy-label > span {
  grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms var(--ease-out);
}
.copy-label .s-done { opacity: 0; filter: blur(4px); transform: scale(0.96); }
.copy-label[data-state="done"] .s-idle { opacity: 0; filter: blur(4px); transform: scale(0.96); }
.copy-label[data-state="done"] .s-done { opacity: 1; filter: none; transform: none; }

/* Footer */
footer { padding: 88px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--ink-muted); }
footer .wrap > * { padding-top: 28px; }
footer .wrap { box-shadow: inset 0 1px 0 var(--hairline); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { footer a:hover { color: var(--ink); } }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .flip-inner, .flip[data-flipped] .flip-inner { transform: none; transition: none; }
  .face.back, .face.back.sp-icon { transform: none; opacity: 0; transition: opacity 200ms ease; }
  .flip[data-flipped] .face.back { opacity: 1; }
  html { scroll-behavior: auto; }
  .js .in { transform: none; }
  .js .ready .in { transition: opacity 200ms ease; transition-delay: 0ms; }
  .pill:active, .store:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .top { background: var(--surface-100); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --hairline: rgba(0,0,0,0.3); --ink-muted: #3A3A3C; }
}

/* ---------- Sections arrive once as they scroll into view ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].seen {
  opacity: 1; transform: none;
  transition: opacity 520ms var(--ease-out), transform 640ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }
section[id], [id="contact"] { scroll-margin-top: 72px; }
::selection { background: rgba(120, 150, 255, 0.28); }
p { text-wrap: pretty; }

/* ================= Flagship additions: product shelf, Statementpair, colour ================= */
.kicker { font: 600 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.swiby-k { color: #C2506D; }
.sp-k { color: #0F6B4E; }
@media (prefers-color-scheme: dark) { .swiby-k { color: #F2A7B9; } .sp-k { color: #6FCB9F; } }

/* The shelf: two products side by side, each in its own colours */
.shelf-sec { padding-top: 72px; }
.shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: 32px;
  min-height: 440px; display: flex; flex-direction: column; gap: 18px; text-decoration: none;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.tile-swiby { background: linear-gradient(150deg, #CFE4F6 0%, #E6DCEF 48%, #F7D3DE 100%); color: #1D1D1F; }
.tile-sp { background: radial-gradient(120% 90% at 100% 100%, #14563F 0%, #0F3D2E 55%, #0B2F23 100%); color: #EEF8F2; }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-top img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 22px rgba(90,60,120,0.18); }
.tag { font: 600 13px/1 var(--sans); padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,0.55); }
.tile-sp .tag { background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
.tile-body { display: grid; gap: 8px; max-width: 30ch; position: relative; z-index: 1; }
.tile-for { font: 600 14px/1 var(--sans); opacity: 0.7; }
.tile h3 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -0.03em; }
.tile-swiby h3 { font-family: "Fredoka", var(--display); letter-spacing: -0.01em; }
.tile p { margin: 0; font-size: 17px; line-height: 1.45; opacity: 0.82; }
.tile-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--display); position: relative; z-index: 1; }
.tile-go svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.tile-art { position: absolute; right: 26px; bottom: 26px; width: 210px; height: 170px; z-index: 0; pointer-events: none; }
.tmini {
  position: absolute; bottom: 0; width: 104px; height: 140px; border-radius: 20px; padding: 12px;
  display: flex; align-items: flex-end; font: 600 20px/1 "Fredoka", var(--display); color: #1D1D1F;
  box-shadow: 0 12px 28px rgba(120,60,90,0.16); transition: transform 360ms var(--ease-out);
}
.tmini.b { right: 82px; background: linear-gradient(#DCEDFA, #C3DFF4); transform: rotate(-9deg); }
.tmini.p { right: 8px; background: linear-gradient(#FBE1E9, #F5CBD8); transform: rotate(7deg); }
.row-line {
  position: absolute; right: 0; display: grid; grid-template-columns: 16px auto auto; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  font: 500 13px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; width: 210px; transition: transform 360ms var(--ease-out);
}
.row-line i { width: 16px; height: 16px; border-radius: 50%; }
.row-line.ok i { background: #3FB37F; } .row-line.bad i { background: #F07A6F; }
.row-line em { font-style: normal; justify-self: end; opacity: 0.66; font-family: var(--sans); }
.row-line:nth-child(1) { bottom: 112px; } .row-line:nth-child(2) { bottom: 56px; background: rgba(240,122,111,0.16); box-shadow: inset 0 0 0 1px rgba(240,122,111,0.4); } .row-line:nth-child(3) { bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(0,0,0,0.35); }
  .tile:hover .tile-go svg { transform: translateX(4px); }
  .tile-swiby:hover .tmini.b { transform: rotate(-14deg) translate(-8px, -6px); }
  .tile-swiby:hover .tmini.p { transform: rotate(11deg) translate(6px, -8px); }
  .tile-sp:hover .row-line:nth-child(2) { transform: translateX(-10px); }
}
.tile:active { transform: scale(0.99); }
@media (max-width: 860px) {
  .shelf { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 28px; }
  /* On narrow screens the art sits in the flow, between the text and the link */
  .tile-art { position: relative; right: auto; bottom: auto; width: 100%; height: 150px; order: 3; margin: 4px 0 2px; }
  .tile-go { order: 4; margin-top: 6px; }
  .row-line { width: min(240px, 100%); }
  .row-line:nth-child(1) { bottom: 104px; } .row-line:nth-child(2) { bottom: 52px; }
}

/* Statementpair logo: the green tile with a check */
.sp-logo { width: 56px; height: 56px; border-radius: 15px; background: #0F6B4E; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,0.14); flex: none; }
.sp-logo svg { width: 100%; height: 100%; }
.sp-logo.lg { width: 72px; height: 72px; border-radius: 18px; }

/* Statementpair feature: its own deep green surface, a live reconciliation on the right */
.sp { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: #0F3D2E; color: #EEF8F2; }
.sp-txt { padding: 48px; display: grid; gap: 20px; align-content: center; min-width: 0; }
.sp-txt p { margin: 0; color: #CBE3D6; }
.sp-txt .appid .t { color: #FFFFFF; }
.sp-muted { color: #A6CDB9; }
.sp-big { font: 600 clamp(26px, 2.6vw, 32px)/1.12 var(--display); letter-spacing: -0.02em; color: #FFFFFF !important; text-wrap: balance; }
.sp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sp-points li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: baseline; color: #DCEEE4; }
.dot { width: 10px; height: 10px; border-radius: 50%; translate: 0 1px; }
.dot.bad { background: #F07A6F; } .dot.info { background: #7FB6D6; } .dot.ok { background: #3FB37F; }
.sp-solid { background: #EEF8F2; color: #0F3D2E; }
.sp-note { align-self: center; font-size: 15px; color: #A6CDB9; }
@media (hover: hover) and (pointer: fine) { .sp-solid:hover { background: #FFFFFF; } }
.sp-vis { background: radial-gradient(90% 80% at 70% 30%, #1A6B50 0%, #134C39 55%, #0F3D2E 100%); display: flex; align-items: center; justify-content: center; padding: 48px 32px; min-width: 0; }

/* The browser window with a reconciliation inside, styled like the product */
.win { width: min(440px, 100%); border-radius: 18px; overflow: hidden; background: #FBFCFA; color: #13211B; box-shadow: 0 40px 70px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08); }
.win-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #E6EBE5; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D1C8; }
.win-bar span { margin: 0 auto; translate: -14px 0; font: 500 12px/1 var(--sans); color: #5C6A62; background: #F4F6F2; padding: 5px 12px; border-radius: 99px; }
.rec-head { background: #0F3D2E; color: #EEF8F2; padding: 16px 18px; display: grid; gap: 6px; }
.rec-co { font-size: 12px; color: #A6CDB9; }
.rec-title { font: 600 20px/1.15 var(--display); letter-spacing: -0.015em; }
.rec-n { display: inline-block; min-width: 0.6em; font-variant-numeric: tabular-nums; }
.rec-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; padding-top: 10px; box-shadow: inset 0 1px 0 #2C5F4C; }
.rec-figs span { display: block; font-size: 11px; color: #A6CDB9; margin-bottom: 3px; }
.rec-figs b { font: 600 14px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.rec-list { list-style: none; margin: 0; padding: 4px 0; min-height: 252px; }
.rec-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 9px 18px; border-bottom: 1px solid #E3E8E2; }
.rec-list li:last-child { border-bottom: 0; }
.rec-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--sans); }
.rec-ic svg { width: 12px; height: 12px; }
.rec-l b { display: block; font: 600 13px/1.25 var(--sans); }
.rec-l small { display: block; font: 500 11.5px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace; color: #5C6A62; margin-top: 2px; }
.rec-amt { font: 600 13px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.rec-list .bad .rec-ic { background: #FBE7E4; color: #B8322A; }
.rec-list .warn .rec-ic { background: #FBF0D2; color: #8A5A00; }
.rec-list .info .rec-ic { background: #E2EEF4; color: #2F5D77; }
.rec-list .ok .rec-ic { background: #DFF1E7; color: #0F6B4E; }
.rec-list .ok .rec-l b { font-weight: 500; color: #3D4C44; }
.rec-list .wait .rec-ic { background: #EEF1EC; }
.rec-list .wait .rec-ic::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #B5C2B8; border-top-color: #0F6B4E; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rec-foot { font-size: 11px; color: #5C6A62; text-align: center; padding: 8px; background: #F4F6F2; }
@media (max-width: 860px) {
  .sp { grid-template-columns: 1fr; }
  .sp-txt { padding: 28px; }
  .sp-vis { padding: 28px 16px; }
}
@media (max-width: 420px) { .rec-figs b { font-size: 12.5px; } .rec-list li { padding: 9px 14px; } }

/* Values: each icon gets a colour of its own */
.ico.c1 { background: #E6DCEF; color: #6A4C8C; }
.ico.c2 { background: #DFF1E7; color: #0F6B4E; }
.ico.c3 { background: #FBE1E9; color: #C2506D; }
@media (prefers-color-scheme: dark) {
  .ico.c1 { background: rgba(176,150,214,0.18); color: #CBB6EA; }
  .ico.c2 { background: rgba(63,179,127,0.16); color: #7FD3A8; }
  .ico.c3 { background: rgba(242,167,185,0.16); color: #F2A7B9; }
}

/* At a glance: one dark band with four facts */
.glance-sec { padding-top: 16px; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); background: var(--hero); color: var(--on-photo); overflow: hidden; position: relative; }
.glance::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 120% at 0% 100%, rgba(247,211,222,0.16), transparent 70%), radial-gradient(40% 120% at 100% 0%, rgba(15,107,78,0.4), transparent 70%); }
.gl { padding: 30px 28px; display: grid; gap: 6px; position: relative; }
.gl + .gl { box-shadow: inset 1px 0 0 rgba(255,255,255,0.1); }
.gl b { font: 600 clamp(34px, 3.6vw, 46px)/1 var(--display); letter-spacing: -0.035em; }
.gl span { font-size: 15px; color: var(--on-photo-muted); }
@media (max-width: 860px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .gl:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }
  .gl:nth-child(4) { box-shadow: inset 1px 0 0 rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.1); }
}
@media (max-width: 420px) { .gl { padding: 24px 20px; } }

@media (prefers-reduced-motion: reduce) {
  .tile, .tile-go svg, .tmini, .row-line { transition: none; }
  .tile:hover { transform: none; }
  .rec-list .wait .rec-ic::after { animation: none; }
}
