/* Layout: one calm column, 1080 wide. A glass capsule floats over solid content; the apps sit in solid cards. */
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/nunito-sans-latin-400-normal.woff") format("woff"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/nunito-sans-latin-600-normal.woff") format("woff"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/nunito-sans-latin-700-normal.woff") format("woff"); }

:root {
  --bg: #F4EFE6;          /* ivory */
  --surface: #FBF8F3;     /* solid cards */
  --ink: #13232A;         /* slate */
  --muted: #56666B;
  --line: rgba(19, 35, 42, .11);
  --line-strong: rgba(19, 35, 42, .22);
  --glow: radial-gradient(ellipse 70% 55% at 85% 0%, rgba(228, 185, 127, .16), rgba(228, 185, 127, 0) 70%);
  --gold: #E4B97F;
  --gold-ink: #85602F;
  --gold-wash: rgba(228, 185, 127, .24);
  --chip: rgba(19, 35, 42, .06);
  --btn: #13232A;
  --btn-ink: #F4EFE6;
  --glass: rgba(251, 248, 243, .58);
  --glass-solid: #FBF8F3;
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-hi: rgba(255, 255, 255, .9);
  --shadow: rgba(19, 35, 42, .10);
  --icon-shadow: rgba(19, 35, 42, .16);
  --blob-o: .55; --blob-gold: #F0CF9F; --blob-cool: #C8D6D9; --blob-warm: #F5E1C6;
  --glow-a: .6;
  --sheet-bg: rgba(251, 248, 243, .8);
  --field: rgba(255, 255, 255, .72);

  --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --t-hero: clamp(2.6rem, 1.5rem + 4.6vw, 5.25rem);
  --t-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --t-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-label: .75rem;
  --wrap: 1080px;
  --radius: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1A1F; --surface: #15252C; --ink: #F4EFE6; --muted: #9DACAF;
    --line: rgba(244, 239, 230, .10); --line-strong: rgba(244, 239, 230, .2);
    --glow: radial-gradient(ellipse 75% 60% at 80% 0%, rgba(228, 185, 127, .10), rgba(228, 185, 127, 0) 65%), linear-gradient(180deg, #13232A 0%, rgba(19, 35, 42, 0) 900px); --gold-ink: #E4B97F; --gold-wash: rgba(228, 185, 127, .16);
    --chip: rgba(244, 239, 230, .08); --btn: #F4EFE6; --btn-ink: #13232A;
    --glass: rgba(21, 37, 44, .55); --glass-solid: #15252C; --glass-edge: rgba(255, 255, 255, .13);
    --glass-hi: rgba(255, 255, 255, .16); --shadow: rgba(0, 0, 0, .32); --icon-shadow: rgba(0, 0, 0, .4);
    --blob-o: .7; --blob-gold: #5E4A2E; --blob-cool: #1C3943; --blob-warm: #33291F; --glow-a: .8;
    --sheet-bg: rgba(21, 37, 44, .74); --field: rgba(13, 26, 31, .62);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1A1F; --surface: #15252C; --ink: #F4EFE6; --muted: #9DACAF;
  --line: rgba(244, 239, 230, .10); --line-strong: rgba(244, 239, 230, .2);
  --glow: radial-gradient(ellipse 75% 60% at 80% 0%, rgba(228, 185, 127, .10), rgba(228, 185, 127, 0) 65%), linear-gradient(180deg, #13232A 0%, rgba(19, 35, 42, 0) 900px); --gold-ink: #E4B97F; --gold-wash: rgba(228, 185, 127, .16);
  --chip: rgba(244, 239, 230, .08); --btn: #F4EFE6; --btn-ink: #13232A;
  --glass: rgba(21, 37, 44, .55); --glass-solid: #15252C; --glass-edge: rgba(255, 255, 255, .13);
  --glass-hi: rgba(255, 255, 255, .16); --shadow: rgba(0, 0, 0, .32); --icon-shadow: rgba(0, 0, 0, .4);
    --blob-o: .7; --blob-gold: #5E4A2E; --blob-cool: #1C3943; --blob-warm: #33291F; --glow-a: .8;
    --sheet-bg: rgba(21, 37, 44, .74); --field: rgba(13, 26, 31, .62);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--glow);
  background-repeat: no-repeat;
  background-size: 100% 1000px;
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Glass: navigation and its control only ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 30px -12px var(--shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-solid); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.nav-shell {
  position: fixed;
  z-index: 10;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 0; right: 0;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: calc(var(--wrap) - 16px);
  margin-inline: auto;
  height: 74px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 22px;
}
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; border-radius: 12px; }
.brand picture, .brand img { display: block; }
.brand img { height: 52px; width: auto; max-width: none; }
.nav a.link {
  text-decoration: none; font-weight: 600; font-size: .9375rem;
  padding: 8px 12px; border-radius: 999px; color: var(--muted);
}
.nav a.link:hover { color: var(--ink); background: var(--chip); }
.nav .contact {
  text-decoration: none; font-weight: 700; font-size: .9375rem;
  padding: 11px 18px; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink);
}
@media (max-width: 600px) {
  .nav a.link { display: none; }
  .nav { height: 64px; padding: 0 8px 0 16px; }
  .brand img { height: 42px; }
  .nav .contact { padding: 10px 16px; }
}

/* ---------- Shared type and buttons ---------- */
.eyebrow {
  margin: 0 0 14px; font-size: var(--t-label); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
h1 {
  margin: 0; max-width: 15ch;
  font-size: var(--t-hero); font-weight: 700; line-height: 1.04; letter-spacing: -.03em;
  text-wrap: balance;
}
.lead { margin: 22px 0 0; max-width: 34em; font-size: var(--t-lead); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 600; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  font: 700 1rem/1 var(--font); letter-spacing: -.005em;
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.2), background-color .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-quiet { background: var(--chip); color: var(--ink); }
.btn-light { background: #F4EFE6; color: #13232A; }
.btn-dark { background: #13232A; color: #F4EFE6; }
.btn-big { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Hero: the one bold moment. A huge dco. whose gold dot is a soft, breathing light ---------- */
.hero { position: relative; overflow: hidden; padding-block: calc(env(safe-area-inset-top, 0px) + 128px) 72px; }
.hero-inner { position: relative; }
.hero-field { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: var(--blob-o); }
.b1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; top: -10vw; background: var(--blob-gold); animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 50vw; height: 50vw; max-width: 620px; max-height: 620px; left: -18vw; top: 18vh; background: var(--blob-cool); animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; left: 34vw; bottom: -14vw; background: var(--blob-warm); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-6vw, 5vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(7vw, -4vh) scale(.94); } }

.hero-mark-wrap { position: relative; width: clamp(240px, 64vw, 640px); margin-bottom: clamp(28px, 4vw, 44px); }
.hero-mark { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.hero-mark .dot { transform-box: fill-box; transform-origin: 50% 50%; animation: dot-in .8s cubic-bezier(.2, .9, .25, 1.35) .15s both; }
@keyframes dot-in { from { transform: translateY(-70%) scale(.6); } to { transform: none; } }
/* the light around the dot: centred on it (dot centre = 95.4% across, 89% down the mark) */
.dot-light {
  position: absolute; left: 95.4%; top: 89%; width: 46%; aspect-ratio: 1; z-index: 0;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 185, 127, var(--glow-a)) 0%, rgba(228, 185, 127, calc(var(--glow-a) * .35)) 28%, rgba(228, 185, 127, 0) 62%);
  animation: breathe 5.5s ease-in-out .9s infinite alternate;
}
@keyframes breathe { from { opacity: .55; transform: translate(-50%, -50%) scale(.86); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } }
.hero h1 { font-size: clamp(2.9rem, 1.6rem + 6.2vw, 7rem); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.hero .lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
@media (prefers-reduced-motion: reduce) {
  .blob, .dot-light, .hero-mark .dot { animation: none; }
}

/* ---------- Scroll reveal (only once the script says so; otherwise everything simply shows) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
.reveal-ready .kinds .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-ready .kinds .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-ready .kinds .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Apps: large showcase panels, each in its app's own colour, with its real image ---------- */
section { padding-block: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
h2 { margin: 0; font-size: var(--t-h2); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); font-size: var(--t-small); }
.apps-section h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.035em; }

.panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr; border-radius: 34px; margin-bottom: 20px;
}
@media (min-width: 900px) {
  .panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 520px; }
  .panel-sm { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .panel-sm .panel-text { order: 2; }
}
.panel-text { position: relative; z-index: 2; min-width: 0; padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head > div { min-width: 0; }
.app-icon {
  flex: none; width: 56px; height: 56px; border-radius: 22.5%;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45), 0 0 0 .5px rgba(127, 127, 127, .25);
}
.panel h3 { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.panel .kind { margin: 1px 0 0; font-size: var(--t-small); font-weight: 600; opacity: .72; }
.panel .tagline { margin: 26px 0 0; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.panel .what { margin: 14px 0 0; max-width: 30em; opacity: .78; text-wrap: pretty; }
.panel-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--t-label); font-weight: 700; letter-spacing: .04em;
  padding: 6px 11px; border-radius: 999px; white-space: nowrap; vertical-align: middle;
  background: var(--chip); color: var(--muted);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.live { background: var(--gold-wash); color: var(--gold-ink); }

.panel-visual { position: relative; min-width: 0; min-height: 300px; overflow: hidden; }
.parallax { --py: 0px; }
.tilt { --rx: 0deg; --ry: 0deg; }

/* OarBook: onyx, the lagoon at sunrise behind a real app screen in a browser frame */
.panel-ob { background: linear-gradient(160deg, #10201F 0%, #0B161B 55%, #172427 100%); color: #F4EFE6; }
.panel-ob .chip.live { background: rgba(228, 185, 127, .16); color: #E4B97F; }
/* The lagoon spans under the text and melts into the onyx with a long eased fade (11 stops, no edge) */
.panel-ob .backdrop {
  position: absolute; z-index: 0; pointer-events: none; display: block; max-width: none;
  top: -40px; bottom: -40px; right: 0; width: 88%; height: calc(100% + 80px);
  object-fit: cover; object-position: 0% 50%;
  transform: translateY(var(--py));
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.000) 0.0%, rgba(0, 0, 0, 0.024) 5.6%, rgba(0, 0, 0, 0.095) 11.2%, rgba(0, 0, 0, 0.206) 16.8%, rgba(0, 0, 0, 0.345) 22.4%, rgba(0, 0, 0, 0.500) 28.0%, rgba(0, 0, 0, 0.655) 33.6%, rgba(0, 0, 0, 0.794) 39.2%, rgba(0, 0, 0, 0.905) 44.8%, rgba(0, 0, 0, 0.976) 50.4%, rgba(0, 0, 0, 1.000) 56.0%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.000) 0.0%, rgba(0, 0, 0, 0.024) 5.6%, rgba(0, 0, 0, 0.095) 11.2%, rgba(0, 0, 0, 0.206) 16.8%, rgba(0, 0, 0, 0.345) 22.4%, rgba(0, 0, 0, 0.500) 28.0%, rgba(0, 0, 0, 0.655) 33.6%, rgba(0, 0, 0, 0.794) 39.2%, rgba(0, 0, 0, 0.905) 44.8%, rgba(0, 0, 0, 0.976) 50.4%, rgba(0, 0, 0, 1.000) 56.0%);
}
.panel-ob .panel-visual { z-index: 2; } /* the app screen stays crisp above the grain */
/* a whisper of grain over the blend, so the long dark gradient never bands */
.panel-ob::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 899px) {
  .panel-ob .backdrop {
    top: 300px; bottom: auto; left: 0; width: 100%; height: calc(100% - 260px); object-position: 27% 50%;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.000) 0.0%, rgba(0, 0, 0, 0.024) 5.8%, rgba(0, 0, 0, 0.095) 11.6%, rgba(0, 0, 0, 0.206) 17.4%, rgba(0, 0, 0, 0.345) 23.2%, rgba(0, 0, 0, 0.500) 29.0%, rgba(0, 0, 0, 0.655) 34.8%, rgba(0, 0, 0, 0.794) 40.6%, rgba(0, 0, 0, 0.905) 46.4%, rgba(0, 0, 0, 0.976) 52.2%, rgba(0, 0, 0, 1.000) 58.0%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.000) 0.0%, rgba(0, 0, 0, 0.024) 5.8%, rgba(0, 0, 0, 0.095) 11.6%, rgba(0, 0, 0, 0.206) 17.4%, rgba(0, 0, 0, 0.345) 23.2%, rgba(0, 0, 0, 0.500) 29.0%, rgba(0, 0, 0, 0.655) 34.8%, rgba(0, 0, 0, 0.794) 40.6%, rgba(0, 0, 0, 0.905) 46.4%, rgba(0, 0, 0, 0.976) 52.2%, rgba(0, 0, 0, 1.000) 58.0%);
  }
}
.browser {
  position: relative; margin: 250px 0 -40px 24%; width: 100%; max-width: none;
  border-radius: 14px; overflow: hidden; background: #0B161B;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 900px) { .browser { position: absolute; left: 34%; top: 40%; margin: 0; width: 88%; } }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #16272B; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 239, 230, .22); }
.browser-bar span { margin-left: 10px; padding: 2px 12px; border-radius: 999px; background: rgba(244, 239, 230, .08); color: rgba(244, 239, 230, .6); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; }
.browser img { display: block; width: 100%; height: auto; }
.browser figure, figure.browser { margin-bottom: 0; }

/* SiteMinutes: warm bone, its real phone screen */
.panel-sm { background: linear-gradient(160deg, #F2EADC 0%, #E7DCC8 60%, #DDCFB7 100%); color: #23211D; }
.panel-sm .chip.live { background: rgba(35, 33, 29, .08); color: #23211D; }
.panel-sm .panel-visual { display: flex; align-items: center; justify-content: center; }
.phone {
  display: block; width: min(100%, 560px); height: auto; margin: 8px auto -6%;
  transform: translateY(var(--py)) perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 45%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 80% 85% at 50% 45%, #000 70%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) { .browser, .phone { transition: none; } }

.next {
  margin-top: 4px; display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 22px; border: 1px dashed var(--line-strong);
}
.next .app-icon { width: 44px; height: 44px; }
.next-text { min-width: 0; }
.next h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.next p { margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Custom software: a confident line, four tiles with line icons ---------- */
.custom { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .custom { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; } }
.custom-text { min-width: 0; }
.custom-text h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.035em; line-height: 1.05; }
.custom-text .confident { margin: 18px 0 0; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; }
.custom-text p:not(.confident):not(.eyebrow) { margin: 10px 0 26px; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.kinds li {
  min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
@media (hover: hover) { .kinds li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px var(--icon-shadow); } }
.kind-icon { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--gold-wash); color: var(--gold-ink); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kinds h3 { margin: 14px 0 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.kinds p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* ---------- Call to action band: wide, dark in both themes, lit by the gold ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px;
  padding: clamp(32px, 5vw, 64px); border-radius: 34px;
  background: linear-gradient(135deg, #13232A 0%, #0D1A1F 70%); color: #F4EFE6;
}
.cta-glow {
  position: absolute; z-index: -1; right: -10%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 185, 127, .35), rgba(228, 185, 127, 0) 62%);
  animation: breathe-soft 7s ease-in-out infinite alternate;
}
@keyframes breathe-soft { from { opacity: .6; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .cta-glow { animation: none; } }
.cta-text { min-width: 0; max-width: 34em; }
.cta h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); letter-spacing: -.035em; line-height: 1.08; }
.cta p { margin: 10px 0 0; color: rgba(244, 239, 230, .72); font-size: 1.0625rem; }

/* ---------- Contact sheet: it floats, so it may be glass. Centred card on desktop, bottom sheet on phones ---------- */
.sheet-open { overflow: hidden; }
.sheet {
  width: min(600px, calc(100vw - 32px)); max-height: min(88vh, 860px); padding: 0; margin: auto;
  border: 1px solid var(--glass-edge); border-radius: 30px; color: var(--ink);
  background: var(--sheet-bg);
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 40px 90px -30px rgba(0, 0, 0, .55);
  overflow: auto; overscroll-behavior: contain;
}
.sheet[open] { animation: sheet-in .42s cubic-bezier(.2, .9, .3, 1); }
.sheet.closing { animation: sheet-out .24s ease-in forwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet::backdrop { background: rgba(9, 18, 22, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open]::backdrop { animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-transparency: reduce) { .sheet { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .sheet { background: var(--glass-solid); } }

.sheet-grab { display: none; justify-content: center; padding: 10px 0 2px; touch-action: none; cursor: grab; }
.sheet-grab span { width: 40px; height: 5px; border-radius: 999px; background: var(--line-strong); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px 6px; }
.sheet-head h2 { font-size: 1.75rem; letter-spacing: -.03em; }
.sheet-close {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--chip); color: var(--ink);
}
.sheet-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sheet-form { display: grid; gap: 16px; padding: 14px 26px 26px; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-small); font-weight: 700; }
.field input, .field textarea {
  width: 100%; min-width: 0; font: inherit; color: var(--ink);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 0; font-size: var(--t-small); color: var(--muted); }
.consent a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sheet-actions .btn:disabled { opacity: .6; cursor: progress; }
.form-status { margin: 0; min-height: 1.4em; font-size: var(--t-small); color: var(--muted); }
.form-status.bad { color: var(--ink); font-weight: 700; }
.form-status.bad::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.sheet-sent { display: grid; justify-items: start; gap: 8px; padding: 10px 26px 30px; }
.sheet-sent:focus { outline: none; }
.sent-mark { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sent-title { margin: 6px 0 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.sheet-sent p:not(.sent-title) { margin: 0 0 12px; color: var(--muted); }

/* Topic choice: a row of pills */
.topics { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { padding: 0; margin-bottom: 8px; font-size: var(--t-small); font-weight: 700; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .9375rem; font-weight: 600; color: var(--ink); background: var(--field);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.topic input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.topic input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 600px) {
  .sheet {
    width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 28px 28px 0 0;
    border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px);
    transition: transform .25s ease;
  }
  .sheet[open] { animation: sheet-up .45s cubic-bezier(.2, .9, .3, 1); }
  .sheet.closing { animation: sheet-down .26s ease-in forwards; }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes sheet-down { to { transform: translateY(100%); } }
  .sheet-grab { display: flex; }
  .sheet-head { padding: 8px 20px 4px; touch-action: none; }
  .sheet-form { padding: 12px 20px 22px; }
  .sheet-sent { padding: 8px 20px 26px; }
  .topics { gap: 6px; }
  .topic span { min-height: 36px; padding: 0 11px; font-size: .875rem; }
  .sheet-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet.closing, .sheet[open]::backdrop { animation: none; } }

/* ---------- Footer ---------- */
footer { margin-top: 48px; padding-block: 32px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted); }
.foot { display: grid; gap: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot svg { width: 40px; height: auto; color: var(--ink); }
.foot strong { color: var(--ink); font-weight: 700; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.foot p { margin: 0; }

/* ---------- Legal pages and 404: one readable column, solid ---------- */
.page-head { padding-block: calc(env(safe-area-inset-top, 0px) + 144px) 8px; }
.page-head h1 { max-width: 20ch; font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.1rem); }
.page-head .meta { margin: 16px 0 0; color: var(--muted); font-size: var(--t-small); }
.prose { max-width: 68ch; padding-block: 16px 24px; }
.prose > * + * { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--gold-ink); }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; letter-spacing: -.015em; }
.prose a { text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose strong { font-weight: 700; }
.prose .note { color: var(--muted); font-size: var(--t-small); }
.prose .box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 0 0 14px; }
.prose .box p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: .9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.prose th { font-weight: 700; width: 38%; }
.table-scroll { overflow-x: auto; }
