/* ============================================================================
   Planarama marketing site — design system
   Tokens mirror the app (src/index.css): mint primary, gold secondary, black &
   white, 4px radius, Inter. Buttons use dark text on mint to match the product's
   email CTA buttons (accessible contrast).
   ========================================================================== */

/* Self-hosted Inter — latin subset, variable weight axis (covers 300–700, the
   five weights the site uses). One file, preloaded per page; replaces the old
   render-blocking Google Fonts <link>. font-display: swap keeps text visible. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

:root {
  /* Brand */
  --mint:        hsl(160 96% 43%);
  --mint-dark:   hsl(154 100% 26%);
  --mint-tint:   hsl(160 85% 95%);
  --gold:        hsl(50 60% 49%);
  /* App's --secondary-light. Only ever a background: as a text colour it scores
     1.32:1 on white / 1.23:1 on surface (WCAG AA needs 4.5:1). Ink on top of it
     scores 15.89:1. */
  --secondary-light: hsl(47 100% 70%);

  /* Neutrals */
  --ink:         hsl(0 0% 0%);
  --bg:          hsl(0 0% 100%);
  --surface:     hsl(0 0% 97%);
  --surface-2:   hsl(0 0% 95%);
  --muted:       hsl(0 0% 50%);
  --border:      hsl(0 0% 88%);
  --on-dark:     hsl(0 0% 100%);

  /* Dark block — header + hero + footer all share this near-black */
  --dark-bg:         hsl(0 0% 0%);
  --footer-bg:       var(--dark-bg);
  --on-dark-muted:   hsl(0 0% 72%);
  --on-dark-subtle:  hsl(0 0% 55%);
  --on-dark-border:  hsl(0 0% 100% / 0.10);

  --btn-ink:     #1a1a1a; /* dark text on mint — matches product email buttons */

  --radius:      4px;
  --radius-btn:  6px;  /* buttons use 6px per the app style guide; cards keep --radius/--radius-lg */
  --radius-lg:   8px;
  --container:   1120px;
  --section-y:   96px;

  --shadow-sm:   0 1px 2px hsl(0 0% 0% / 0.04);
  --shadow-md:   0 8px 24px hsl(0 0% 0% / 0.08);

  /* Unified hero typography — shared by the home, features and screenshots
     heroes so their headline/subtitle sizes and spacing match (only the
     background treatment differs per page). */
  --hero-title-size: clamp(32px, 4.4vw, 46px);
  --hero-sub-size:   clamp(16px, 1.9vw, 19px);
  --hero-sub-gap:    16px;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

/* Respect users who ask for less motion: kill smooth-scroll, near-zero every
   transition/animation (hover transforms, the crossfading sector switcher).
   The sector switcher also stops auto-rotating in js/main.js. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip-to-content link: off-screen until focused, then slides into the top-left
   so keyboard users can jump past the header straight to <main id="main">. */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  background: var(--mint);
  color: var(--btn-ink);
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

/* --- Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
/* Small pill, not coloured text: secondary-light fails AA as a text colour on
   our light grounds, but ink on it clears AAA. This also fixes the old
   mint-dark eyebrow, which was only 4.40:1 on --surface. */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--secondary-light);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  padding: 13px 22px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--mint); color: var(--btn-ink); }
.btn-primary:hover { background: var(--mint-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 17px; padding: 16px 30px; }
.btn-sm { font-size: 14px; padding: 10px 16px; }
.btn-block { width: 100%; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid by default: opaque, not translucent (over the white body a
     translucent black renders grey and seams). This is also the no-JS state.
     On the photo homepage js/header.js adds .is-over-hero for the gradient. */
  background: var(--dark-bg);
  transition: background-color 0.25s ease;
}
/* Over the hero photo: a top-down scrim, dark enough at the top for the mint/
   white logo and the nav to stay legible against the light sky, fading to
   transparent so the photo shows through. Reverts to solid once scrolled past
   the hero (js/header.js). */
.site-header.is-over-hero {
  background: linear-gradient(
    to bottom,
    hsl(0 0% 0% / 0.82) 0%,
    hsl(0 0% 0% / 0.5) 55%,
    hsl(0 0% 0% / 0) 100%
  );
}
/* Over the bright sky the muted 72%-white nav text only reaches ~3.5:1 (AA-large,
   not the 4.5:1 normal text needs). Push nav text to near-white while over the
   photo — measured >5:1 against the sampled backdrop. Reverts with the class. */
.site-header.is-over-hero .nav-link,
.site-header.is-over-hero .lang-switch,
.site-header.is-over-hero .lang-switch a { color: hsl(0 0% 96%); }
.site-header.is-over-hero .lang-switch span { color: hsl(0 0% 70%); }
/* A soft shadow buys extra separation from stray bright highlights in the photo. */
.site-header.is-over-hero .nav-link,
.site-header.is-over-hero .lang-switch a,
.site-header.is-over-hero .brand-word { text-shadow: 0 1px 3px hsl(0 0% 0% / 0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative; /* anchor for the mobile nav dropdown */
}
.header-nav { display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
/* Login link + trial CTA form one action cluster on the right. The extra
   left margin widens the gap before "Log in" so [Log in] [CTA] read as a
   group, set slightly apart from the last nav item (EN|NL). It carries the
   plain .nav-link look (no button styling). */
.login-link { margin-left: 10px; }
/* The dropdown copy of the login link only exists inside the mobile menu. */
.login-link-mobile { display: none; }
/* Hamburger: hidden on desktop, shown below the nav breakpoint (see the
   max-width: 760px block). Toggled by js/main.js. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--on-dark);
}
.site-header.is-over-hero .nav-toggle { color: hsl(0 0% 96%); }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--on-dark); }
.nav-link.is-active { color: var(--on-dark); font-weight: 600; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-muted); }
.lang-switch a { text-decoration: none; color: var(--on-dark-muted); font-weight: 500; padding: 2px 2px; }
.lang-switch a:hover { color: var(--on-dark); }
/* Active language stands out in mint; the other stays muted. */
.lang-switch a.is-active { color: var(--mint); font-weight: 700; }
.lang-switch span { color: hsl(0 0% 30%); }

/* --- Brand lockup ------------------------------------------------------- */
/* Light-on-dark wordmark, built inline: mint UFO + mint PLAN + white ARAMA,
   no tagline. Replaces the dark-on-light PNG in the header. */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: auto; color: var(--mint); flex-shrink: 0; }
.brand-word {
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand-plan  { font-weight: 700; color: var(--mint); }
.brand-arama { font-weight: 300; color: var(--on-dark); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden; /* clips the oversized background UFO */
  padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 9vw, 104px);
  text-align: center;
  color: var(--on-dark);
  background:
    radial-gradient(85% 65% at 50% -8%, hsl(160 96% 43% / 0.20) 0%, transparent 62%),
    var(--dark-bg);
}
.hero .container { position: relative; z-index: 1; }
/* --- Hero with photo (homepage + features) ------------------------------ *
 * A .hero modifier, not a rewrite of .hero. Both the homepage and the features
 * page use .hero--photo, each with its own background photo.
 *
 * The copy sits ON the photo, CENTRED, in the grass below the family. The new
 * photo (hero-family-saucer02.webp, 2560x1214) shows the family feet at ~65% of
 * the frame with ~35% grass below them at every width (the landscape image is
 * always wider than the hero box, so cover shows the full height and crops the
 * sides — the family stays centred and the grass fills the bottom). A centred
 * block in that grass clears the family and saucer without any left/right games.
 */
.hero--photo {
  position: relative;
  display: flex;
  align-items: flex-end; /* copy anchored to the bottom grass */
  justify-content: center;
  min-height: clamp(600px, 86vh, 940px);
  padding: 0;
  overflow: hidden;
  text-align: center;
  /* Pull the photo up under the sticky header so the transparent gradient sits
     over it. --header-h is measured by js/header.js; with JS off it is 0, so
     the header stays solid and the photo simply starts below it — no gap, no
     covered content. */
  margin-top: calc(-1 * var(--header-h, 0px));
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  line-height: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Bottom-CENTRED scrim: a bottom-up gradient (symmetric, so it sits under the
   centred copy) plus a soft radial focus at bottom-centre. Darkens the grass
   behind the copy for legibility, fades out by ~50% up — clear of the family
   and saucer, and clear of the header scrim above. */
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, hsl(0 0% 0% / 0.9) 0%, hsl(0 0% 0% / 0.68) 16%, hsl(0 0% 0% / 0.4) 34%, hsl(0 0% 0% / 0.12) 48%, hsl(0 0% 0% / 0) 60%),
    radial-gradient(150% 72% at 50% 100%, hsl(0 0% 0% / 0.5) 0%, hsl(0 0% 0% / 0) 60%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 clamp(28px, 4vh, 52px);
}
/* Centred block, sized so the whole thing (~215px) sits in the grass below the
   family's feet (~65% of the hero). Headline two lines; tagline one line on
   desktop (there is width to spare in the grass). */
.hero--photo .hero-title {
  font-size: var(--hero-title-size); /* unified hero scale — see §Hero typography */
  line-height: 1.12;
  max-width: 34ch; /* one line on desktop; wraps on mobile */
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 2px 16px hsl(0 0% 0% / 0.6);
}
.hero--photo .hero-sub {
  margin: var(--hero-sub-gap) auto 0;
  max-width: 62ch;
  font-size: var(--hero-sub-size);
  color: hsl(0 0% 92%);
  text-shadow: 0 1px 10px hsl(0 0% 0% / 0.55);
}
.hero--photo .hero-actions { margin-top: 22px; }
.hero--photo .hero-note {
  margin-top: 12px;
  font-size: 13px;
  color: hsl(0 0% 84%);
  text-shadow: 0 1px 6px hsl(0 0% 0% / 0.6);
}

/* Unified hero typography scale — one headline size + one subtitle size shared
   by the home (photo), features (dark) and screenshots (plain) heroes. Each page
   keeps its own background/colour treatment; only the type scale is shared, via
   the --hero-* custom properties (see :root). */
.hero-title {
  font-size: var(--hero-title-size);
  line-height: 1.12;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--on-dark);
}
.hero-sub {
  margin: var(--hero-sub-gap) auto 0;
  max-width: 680px;
  font-size: var(--hero-sub-size);
  color: var(--on-dark-muted);
}
.hero-actions { margin-top: 40px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero .hero-note { color: var(--on-dark-subtle); }

/* --- Problem ------------------------------------------------------------ *
 * Two sizes, not three: one clear lead, then supporting + closing copy a step
 * smaller in muted grey. The closing line reads inline in ink (medium weight
 * only on "one connected system") — green is reserved for interactive elements.
 */
.problem { text-align: center; }
.problem p {
  line-height: 1.55;
  margin-left: auto;
  margin-right: auto;
}
.problem .lede {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 300;
  max-width: 42ch;
  margin-bottom: 20px;
}
.problem .detail { font-size: 18px; color: var(--muted); max-width: 60ch; }
.problem .solution {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
}
.problem .solution strong { font-weight: 500; color: var(--ink); }

/* --- Pillars ------------------------------------------------------------ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pillar:hover { border-color: hsl(0 0% 78%); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--mint-tint);
  color: var(--mint-dark);
  margin-bottom: 18px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--muted); line-height: 1.6; }
/* A quiet closing line, not a banner: body size, sentence case, muted. */
.pillars-closing {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
}

/* --- Terminology (sector switcher) -------------------------------------- */
.terminology { text-align: center; }
.sector-switch { margin: 44px 0 28px; }

/* Underline tabs with a mint active accent — mirrors the app's tab pattern. */
.sector-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.sector-tab {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 20px;
  margin-bottom: -1px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.sector-tab:hover { color: var(--ink); }
.sector-tab.is-active { color: var(--ink); border-bottom-color: var(--mint); }
.sector-tab:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: -2px; }

.sector-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-sm);
}
.sector-card-ufo {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 150px;
  opacity: 0.07;
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}
/* Panels share one grid cell so they crossfade in place and the card keeps a
   stable height while switching. */
.sector-panels { display: grid; position: relative; z-index: 1; }
.sector-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s;
}
.sector-panel.is-active { opacity: 1; visibility: visible; }
.term-pill {
  display: inline-block;
  background: var(--mint-tint);
  color: var(--mint-dark);
  border: 1px solid hsl(160 60% 82%);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 16px;
  font-weight: 600;
}
/* Supporting line: what is actually configurable. Replaces the old adapt-note,
   which said the same thing about onboarding one line further down. */
.sector-note {
  position: relative;
  z-index: 1;
  margin: 24px auto 0;
  max-width: 58ch;
  font-size: 14px;
  color: var(--muted);
}

/* --- Screenshots (coded mockups) ---------------------------------------- *
 * Not images: each "screenshot" is HTML/CSS mirroring the real app's UI
 * (C:\dev\planarama, read-only reference). Structure and tokens are taken from
 * the app source — AppSidebar.tsx, Topbar.tsx, DatesPage.tsx, OrganisationsPage
 * and ui/data-table.tsx — at roughly 0.85 scale, the size a real 1280px-wide
 * screenshot would appear at here.
 *
 * All demo data is fictional and every date is generated at runtime from the
 * current date in js/main.js, so the mockups never go stale. UI text inside
 * them lives in the HTML, per language.
 *
 * App tokens mirrored below (src/index.css). These are deliberately scoped to
 * the mockups: they are the *app's* palette, not the marketing one.
 */
.shots-grid { display: grid; gap: 40px; }
.shot { margin: 0; }
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); text-align: center; }

/* Screenshots page: shots stack at natural height (no aspect-ratio crop), so
   nothing is clipped. Reuses all mock- styling. */
.screens-intro { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.screens-intro h1 { font-size: var(--hero-title-size); line-height: 1.12; }
.screens-intro p { margin-top: var(--hero-sub-gap); font-size: var(--hero-sub-size); color: var(--muted); }
.screens-grid { display: grid; gap: clamp(40px, 5vw, 64px); }
.screen { margin: 0; }
.screen figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.screen figcaption b { color: var(--ink); font-weight: 600; }
/* The homepage link to the screenshots page. */
.screens-more { text-align: center; margin-top: 36px; }

.mock {
  /* App palette — do not swap these for the marketing tokens. */
  --app-fg:          hsl(0 0% 0%);
  --app-panel:       hsl(0 0% 100%);
  --app-bg:          hsl(0 0% 97%);
  --app-surface:     hsl(0 0% 95%);
  --app-border:      hsl(0 0% 88%);
  --app-muted:       hsl(0 0% 92%);
  --app-muted-fg:    hsl(0 0% 50%);
  --app-primary:     hsl(160 96% 43%);
  --app-secondary:   hsl(50 60% 49%);
  --app-secondary-d: hsl(50 60% 34%);
  --app-sidebar:     hsl(0 0% 0%);
  --app-sidebar-bd:  hsl(0 0% 15%);
  /* Status colours follow the app, not the marketing palette. */
  --app-confirmed:   hsl(142 52% 36%);
  --app-option:      hsl(0 0% 53%);
  /* Activity-type colour — configurable per account; light green here. */
  --app-type:        hsl(142 52% 86%);
  /* Per production-type tints (configurable per account; representative set). */
  --app-type-theatre:  hsl(350 65% 90%);
  --app-type-dance:    hsl(0 0% 86%);
  --app-type-opera:    hsl(185 50% 84%);
  --app-type-festival: hsl(142 52% 86%);

  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--app-bg);
  font-size: 13px;
  line-height: 1.45;
  color: var(--app-fg);
  user-select: none;
}
/* Equal-height shots. The calendar is the tallest (~640px) and its height is
   roughly width-independent, so on wide screens all three mockups share a fixed
   box (5:3, which matches the calendar's full-width shape) with a min-height
   floor set to the calendar's height — the calendar fills it, the shorter
   document and organisations mockups top-anchor with panel space below, and
   nothing important is clipped. Content flows from the top; overflow:hidden
   crops the bottom. Below 1024px the box relaxes to natural height (the calendar
   grows and the layout reflows on mobile), avoiding awkward cropping. */
@media (min-width: 1024px) {
  .shot .mock { aspect-ratio: 5 / 3; min-height: 641px; }
}

/* Top bar — the app's is 48px, bg-background-panel, border-b. */
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--app-sidebar-bd);
}
.mock-top-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mock-top-brand { display: flex; align-items: center; gap: 5px; }
.mock-top-brand img { width: 19px; height: auto; }
.mock-logo { font-size: 19px; font-weight: 300; letter-spacing: -0.5px; line-height: 1; }
.mock-logo b { font-weight: 300; color: var(--app-primary); }
.mock-logo i { font-style: normal; color: #fff; }
/* Account name: gold, as in the app (uppercased here per the brief). */
.mock-account {
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--app-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-top-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Search: a dark rounded pill, placeholder left, magnifier right. */
.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid hsl(0 0% 24%);
  border-radius: 999px;
  background: hsl(0 0% 11%);
  color: hsl(0 0% 58%);
  font-size: 11.5px;
}
.mock-search-ph { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-search svg { width: 13px; height: 13px; flex-shrink: 0; }
/* Notification: black rounded pill, bell + count. */
.mock-bell {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 11px;
  border-radius: 999px;
  background: hsl(0 0% 0%);
  border: 1px solid hsl(0 0% 22%);
  color: #fff;
  font-size: 11.5px;
}
.mock-bell svg { width: 13px; height: 13px; }
/* Avatar: plain neutral circle with initials, no photo. */
.mock-me {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--app-muted);
  color: var(--app-fg);
  font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
}

.mock-body { display: grid; grid-template-columns: 200px 1fr; min-height: 400px; }

/* Sidebar — app: w-240, bg-sidebar (black), items 18px font-light, active mint. */
.mock-side { background: var(--app-sidebar); padding: 10px 0; }
.mock-nav { display: flex; flex-direction: column; }
.mock-nav span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 1px 7px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}
.mock-nav span.is-active { color: var(--app-primary); }
.mock-nav svg { width: 15px; height: 15px; flex-shrink: 0; stroke-width: 1.8; }
.mock-nav hr { border: 0; border-top: 1px solid var(--app-sidebar-bd); margin: 9px 12px; }

.mock-main { padding: 12px 14px 16px; background: var(--app-bg); min-width: 0; }

/* Page header — app: mint "+ add" pill then a 30px/300 h1, then a #count. */
.mock-page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mock-add {
  display: inline-flex; align-items: center; gap: 5px;
  height: 27px; padding: 0 10px;
  border-radius: 6px;
  background: var(--app-primary);
  /* Dark ink on mint, per the site's standing rule — the app uses white here,
     but white on this green fails contrast. See CLAUDE.md. */
  color: var(--btn-ink);
  font-size: 12.5px; font-weight: 600;
}
.mock-add svg { width: 13px; height: 13px; }
.mock-h1 { font-size: 26px; font-weight: 300; line-height: 34px; margin: 0; }
.mock-count { font-size: 12.5px; color: var(--app-muted-fg); }
.mock-month { font-size: 13px; color: var(--app-fg); }
.mock-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* --- Calendar toolbar (dates-month header, two rows) --- */
.mock-toolbar { margin-bottom: 10px; }
.mock-toolbar-row { display: flex; align-items: center; gap: 10px; }
.mock-toolbar-head { margin-bottom: 8px; }
/* Row 1: + add button then the large lowercase page title. */
.mock-toolbar-head .mock-h1 { font-size: 24px; line-height: 30px; }
/* Row 2: count, gold calendar toggle, filter, today-nav, month. */
.mock-toolbar-controls { gap: 8px; }
.mock-cal-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: var(--radius);
  background: var(--app-secondary); /* gold square, as in the app */
  color: #fff;
}
.mock-cal-toggle svg { width: 15px; height: 15px; }
.mock-filter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  color: var(--app-muted-fg);
}
.mock-filter svg { width: 15px; height: 15px; }
.mock-nav-group {
  display: inline-flex; align-items: center; gap: 2px;
}
.mock-nav-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 26px;
  color: var(--app-muted-fg);
}
.mock-nav-arrow svg { width: 14px; height: 14px; }
.mock-today-pill {
  height: 26px;
  display: inline-flex; align-items: center;
  padding: 0 12px;
  border: 1px solid var(--app-border);
  border-radius: var(--radius);
  font-size: 12px; font-weight: 500;
  color: var(--app-fg);
}
/* The month title trails the controls (JS fills [data-cal-title]). */
.mock-toolbar-controls .mock-month { margin-left: 6px; font-size: 14px; }
.mock-field {
  display: flex; align-items: center; gap: 6px;
  width: 200px; height: 28px; padding: 0 9px;
  border: 1px solid var(--app-border);
  border-radius: 6px;
  background: var(--app-panel);
  color: var(--app-muted-fg);
  font-size: 12px;
}
.mock-field svg { width: 12px; height: 12px; flex-shrink: 0; }

/* --- Calendar (DatesPage) ---
   App grid: grid-cols-[32px_repeat(7,1fr)] — a week-number rail plus 7 days. */
.mock-cal { background: var(--app-panel); border-top: 1px solid var(--app-border); }
.mock-cal-head, .mock-week { display: grid; grid-template-columns: 28px repeat(7, 1fr); }
.mock-cal-head span {
  padding: 5px 8px;
  border-left: 1px solid var(--app-border);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--app-muted-fg);
}
.mock-cal-head span:first-child { border-left: 0; }
.mock-week { border-top: 1px solid var(--app-border); }
.mock-weeknum {
  display: flex; justify-content: center; padding-top: 5px;
  border-right: 1px solid var(--app-border);
  font-size: 11px;
  color: var(--app-muted-fg);
}
.mock-day {
  border-left: 1px solid var(--app-border);
  padding: 3px 5px 5px;
  min-height: 74px;
  min-width: 0;
}
.mock-day.is-out { background: hsl(0 0% 50% / 0.05); }   /* app: bg-muted/20 */
.mock-day.is-today { background: hsl(0 0% 50% / 0.1); box-shadow: inset 0 2px 0 var(--app-primary); }
.mock-day-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.mock-day-label { font-size: 12.5px; line-height: 1; }
.mock-day.is-out .mock-day-label { color: var(--app-muted-fg); }
.mock-day.is-today .mock-day-label {
  font-weight: 700;
  color: var(--app-primary);
  border-bottom: 2px solid var(--app-primary);
  padding-bottom: 2px;
}
.mock-today-tag { font-size: 9px; font-weight: 500; color: var(--app-primary); margin-left: 4px; }
.mock-plus { color: var(--app-muted-fg); display: flex; }
.mock-plus svg { width: 12px; height: 12px; }
.mock-day-events { display: flex; flex-direction: column; gap: 4px; margin-top: 3px; }

/* Event card — app: rounded-[4px], bg = activity-type colour, bold title,
   bold time line, venue line, gold crew circles, status bar pinned bottom. */
.mock-ev { border-radius: 4px; background: var(--app-type); overflow: hidden; }
.mock-ev-body { padding: 3px 6px; }
.mock-ev-prod {
  font-size: 11px; font-weight: 700; line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-ev-time {
  font-size: 11px; font-weight: 700; line-height: 1.2;
  color: var(--app-muted-fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-ev-venue {
  font-size: 11px; line-height: 1.2;
  color: var(--app-muted-fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-ev-crew { display: flex; gap: 2px; margin-top: 3px; }
.mock-ev-crew span {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--app-secondary-d);
  color: #fff;
  font-size: 8px; font-weight: 600;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--app-panel);
}
.mock-ev-status {
  display: flex; align-items: center;
  min-height: 17px;
  padding: 0 5px;
  font-size: 9.5px; font-weight: 500;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-ev-status.is-confirmed { background: var(--app-confirmed); }
.mock-ev-status.is-option    { background: var(--app-option); }

/* --- Organisations list (DataTable) ---
   App: 14px/300 body, 20px/300 muted lowercase headers, row borders. */
.mock-table-wrap { background: var(--app-panel); border-top: 1px solid var(--app-border); }
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; font-weight: 300; }
.mock-table th {
  padding: 8px 10px;
  text-align: left;
  font-size: 17px;
  font-weight: 300;
  color: var(--app-muted-fg);
  white-space: nowrap;
}
.mock-table td {
  padding: 6px 10px;
  border-top: 1px solid var(--app-border);
  color: var(--app-muted-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-table td.mock-td-name { color: var(--app-fg); }
.mock-table th.mock-th-box, .mock-table td.mock-td-box { width: 26px; padding: 6px 2px 6px 8px; }
.mock-table th.mock-th-act, .mock-table td.mock-td-act { width: 44px; padding-left: 0; padding-right: 0; }
.mock-box {
  display: block;
  width: 13px; height: 13px;
  border: 1px solid var(--app-border);
  border-radius: 3px;
  background: var(--app-panel);
}
.mock-row-act { display: flex; gap: 4px; color: var(--app-muted-fg); }
.mock-row-act svg { width: 13px; height: 13px; }

/* --- Document preview --- */
.mock-doc {
  background: var(--app-panel);
  border: 1px solid var(--app-border);
  border-radius: 4px;
  padding: 20px 24px;
  max-width: 520px;
  margin: 6px auto 0;
}
.mock-doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--app-border); padding-bottom: 12px; margin-bottom: 14px; }
.mock-doc-head img { width: 24px; opacity: 0.9; }
.mock-doc h4 { margin: 0; font-size: 15px; font-weight: 400; }
.mock-doc-sub { color: var(--app-muted-fg); font-size: 11px; margin-top: 2px; }
.mock-rows { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.mock-row { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; }
.mock-row dt { color: var(--app-muted-fg); margin: 0; }
.mock-row dd { margin: 0; font-weight: 500; text-align: right; }
.mock-row dd em { font-style: normal; color: hsl(154 100% 26%); }
.mock-doc-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.mock-doc-lines i { display: block; height: 6px; border-radius: 3px; background: hsl(0 0% 93%); }
.mock-doc-lines i:nth-child(2) { width: 92%; }
.mock-doc-lines i:nth-child(3) { width: 74%; }
.mock-doc-sign { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--app-border); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--app-muted-fg); }
.mock-chip {
  background: var(--app-confirmed); color: #fff;
  font-weight: 500; border-radius: 999px; padding: 3px 9px; font-size: 10px;
}

/* --- Extended mockups (screenshots page) -------------------------------- *
 * Additional app screens used on /screenshots. Same conventions: mock- prefix,
 * --app-* tokens only. */

/* Document signature block (also fills the homepage document shot). */
.mock-sign { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mock-sign-col { font-size: 11px; color: var(--app-muted-fg); }
.mock-sign-party { font-weight: 600; color: var(--app-fg); font-size: 12px; }
.mock-sign-line { margin: 22px 0 5px; border-bottom: 1px solid var(--app-fg); height: 1px; }
.mock-sign-name { color: var(--app-fg); }

/* Week (time-grid) view. */
.mock-wk { background: var(--app-panel); border-top: 1px solid var(--app-border); }
.mock-wk-head { display: grid; grid-template-columns: 46px repeat(7, 1fr); }
.mock-wk-head > span { padding: 5px 6px; border-left: 1px solid var(--app-border); }
.mock-wk-head > span:first-child { border-left: 0; }
.mock-wk-dayhead { display: flex; flex-direction: column; line-height: 1.25; }
.mock-wk-dayhead b { font-size: 11px; font-weight: 600; color: var(--app-muted-fg); text-transform: lowercase; }
.mock-wk-dayhead span { font-size: 12px; }
.mock-wk-dayhead.is-today b, .mock-wk-dayhead.is-today span { color: var(--app-primary); font-weight: 700; }
.mock-wk-body { display: grid; grid-template-columns: 46px repeat(7, 1fr); position: relative; }
.mock-wk-rail { display: flex; flex-direction: column; border-right: 1px solid var(--app-border); }
.mock-wk-rail span { height: var(--wk-hour, 34px); padding: 2px 6px 0 0; text-align: right; font-size: 9.5px; color: var(--app-muted-fg); }
.mock-wk-col { position: relative; border-left: 1px solid var(--app-border); background-image: repeating-linear-gradient(hsl(0 0% 93%) 0 1px, transparent 1px var(--wk-hour, 34px)); }
.mock-wk-ev { position: absolute; left: 2px; right: 2px; border-radius: 4px; background: var(--app-type); overflow: hidden; display: flex; flex-direction: column; }
.mock-wk-ev-body { padding: 3px 5px; flex: 1; min-height: 0; overflow: hidden; }
.mock-wk-ev .mock-ev-prod { font-size: 10px; }
.mock-wk-ev .mock-ev-time, .mock-wk-ev .mock-ev-venue { font-size: 9.5px; }

/* Active-filter bar (dates list). */
.mock-filterbar { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.mock-filterbar .mock-filter { color: var(--app-secondary-d); }
.mock-fchip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 8px 0 10px;
  border-radius: 999px; font-size: 11.5px;
  background: var(--app-surface); border: 1px solid var(--app-border); color: var(--app-fg);
}
.mock-fchip b { font-weight: 600; }
.mock-fchip svg { width: 11px; height: 11px; color: var(--app-muted-fg); }
.mock-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; vertical-align: baseline; margin-right: 5px; }
.dot-confirmed { background: var(--app-confirmed); }
.dot-option    { background: var(--app-option); }
.dot-canceled  { background: hsl(0 72% 60%); }

/* New-date drawer over a calendar. */
.mock-drawer-wrap { position: relative; }
.mock-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 300px; max-width: 62%;
  background: var(--app-panel); border-left: 1px solid var(--app-border);
  box-shadow: -12px 0 28px hsl(0 0% 0% / 0.12);
  padding: 14px 16px; overflow: hidden;
}
.mock-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-drawer-title { color: var(--app-secondary); font-size: 15px; font-weight: 300; text-transform: lowercase; }
.mock-drawer-x { color: var(--app-muted-fg); display: inline-flex; }
.mock-drawer-x svg { width: 15px; height: 15px; }
.mock-frow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--app-border); font-size: 12px; }
.mock-frow > span:first-child { color: var(--app-muted-fg); }
.mock-select {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 150px; justify-content: space-between;
  height: 26px; padding: 0 8px; border: 1px solid var(--app-border); border-radius: 4px;
  background: var(--app-panel); color: var(--app-fg); font-size: 11.5px;
}
.mock-select.is-placeholder { color: var(--app-muted-fg); }
.mock-select svg { width: 12px; height: 12px; color: var(--app-muted-fg); }
.mock-toggle { width: 30px; height: 17px; border-radius: 999px; background: var(--app-muted); position: relative; }
.mock-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 999px; background: #fff; }
.mock-toggle.is-on { background: var(--app-primary); }
.mock-toggle.is-on::after { left: 15px; }
.mock-rt { margin-top: 8px; border: 1px solid var(--app-border); border-radius: 4px; overflow: hidden; }
.mock-rt-bar { display: flex; gap: 10px; padding: 5px 8px; border-bottom: 1px solid var(--app-border); color: var(--app-muted-fg); font-size: 12px; font-weight: 600; }
.mock-rt-area { height: 46px; }

/* Productions table — cover thumbnails + type pills. */
.mock-cover { width: 34px; height: 22px; border-radius: 4px; }
.mock-cover--none { display: inline-flex; align-items: center; justify-content: center; color: var(--app-muted-fg); background: var(--app-surface); }
.mock-type {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; color: hsl(0 0% 20%);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.mock-type--theatre  { background: var(--app-type-theatre); }
.mock-type--dance    { background: var(--app-type-dance); }
.mock-type--opera    { background: var(--app-type-opera); }
.mock-type--festival { background: var(--app-type-festival); text-transform: lowercase; }

/* Production-detail sub-navigation. */
.mock-subnav { display: flex; align-items: center; gap: 14px; padding: 8px 2px 0; border-bottom: 1px solid var(--app-border); overflow: hidden; }
.mock-subnav-back { color: var(--app-muted-fg); display: inline-flex; }
.mock-subnav-back svg { width: 16px; height: 16px; }
.mock-subnav a { font-size: 13px; color: var(--app-muted-fg); padding-bottom: 8px; white-space: nowrap; }
.mock-subnav a.is-active { color: var(--app-secondary); border-bottom: 2px solid var(--app-secondary); font-weight: 500; }
.mock-prod-title { display: flex; align-items: center; gap: 8px; margin: 12px 0 10px; }
.mock-prod-title h3 { font-size: 20px; font-weight: 300; }
.mock-prod-title svg { width: 15px; height: 15px; color: var(--app-secondary); fill: var(--app-secondary); }

/* Stats page. */
.mock-stats-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-kpi { border: 1px solid var(--app-border); border-radius: var(--radius); padding: 12px 14px; background: var(--app-panel); }
.mock-kpi b { display: block; font-size: 26px; font-weight: 600; line-height: 1.1; }
.mock-kpi span { font-size: 11.5px; color: var(--app-muted-fg); }
.mock-panel-h { font-size: 12px; font-weight: 600; margin: 0 0 8px; }
.mock-stackwrap { border: 1px solid var(--app-border); border-radius: var(--radius); padding: 12px 14px; background: var(--app-panel); margin-bottom: 16px; }
.mock-stack { display: flex; height: 16px; border-radius: 4px; overflow: hidden; }
.mock-stack span { display: block; }
.mock-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 11px; color: var(--app-muted-fg); }
.mock-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: baseline; }
.mock-donuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.mock-donut-card { border: 1px solid var(--app-border); border-radius: var(--radius); padding: 12px 14px; background: var(--app-panel); display: flex; align-items: center; gap: 16px; }
.mock-donut { width: 92px; height: 92px; flex-shrink: 0; }
.mock-donut-card .mock-legend { flex-direction: column; gap: 6px; margin-top: 0; }

/* Custom fields — reuses .mock-table. */
.mock-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; color: var(--app-muted-fg); }
/* #pricing is a nav target: without this the sticky 68px header would sit on
   top of the section heading after the jump. */
#pricing { scroll-margin-top: 84px; }
.pricing .section-head { margin-bottom: 32px; }
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  margin: 0 auto 48px;
}
.billing-toggle { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.bt-opt {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.bt-opt.is-active { background: var(--ink); color: #fff; }
.save-badge {
  font-size: 11px; font-weight: 700;
  background: var(--ink); color: #fff;
  border-radius: 999px; padding: 2px 8px; letter-spacing: 0.01em;
}
/* Inside the active (black) toggle the badge inverts, or it would vanish. */
.bt-opt.is-active .save-badge { background: #fff; color: var(--ink); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--bg);
}
.plan--popular { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), var(--shadow-md); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 20px; font-weight: 600; }
/* "Everything in <plan>, plus:" lead-in above a cumulative feature list. */
.plan-inherits {
  margin: 20px 0 -6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.plan-price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.price-per { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-equiv { display: block; width: 100%; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.plan-features { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { position: relative; padding-left: 26px; font-size: 14.5px; color: hsl(0 0% 20%); }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--mint-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300854B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { margin-top: auto; }

/* Monthly/yearly visibility, toggled by [data-billing] on .pricing */
.pricing[data-billing="monthly"] [data-yearly] { display: none; }
.pricing[data-billing="yearly"]  [data-monthly] { display: none; }

.pricing-note { text-align: center; margin-top: 28px; font-size: 15px; color: var(--muted); }
.pricing-note strong { color: var(--ink); font-weight: 600; }
.pricing-note--sub { margin-top: 8px; font-size: 14px; }

/* --- Final CTA ---------------------------------------------------------- */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 { max-width: 20ch; margin: 0 auto; }
.cta-final .btn { margin-top: 32px; }
.cta-final .hero-note { margin-top: 16px; }
.cta-line { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Photo-backed variant: the no-people saucer scene as a full-bleed background,
   with a light scrim. Tall so the photo has room and reads as its own image. */
.cta-final--photo {
  color: #fff;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
}
.cta-final--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Light scrim — just enough to keep white text legible over the scene, with a
     soft centre focus behind the copy. Text also carries its own shadow. */
  background:
    linear-gradient(hsl(0 0% 0% / 0.28), hsl(0 0% 0% / 0.28)),
    radial-gradient(80% 90% at 50% 50%, hsl(0 0% 0% / 0.34) 0%, hsl(0 0% 0% / 0) 70%);
  pointer-events: none;
}
/* Title on one line on desktop (drop the 20ch clamp); it may wrap on mobile. */
.cta-final--photo h2 {
  max-width: none;
  color: #fff;
  text-shadow: 0 2px 14px hsl(0 0% 0% / 0.55);
}
.cta-final--photo .hero-note { color: hsl(0 0% 88%); text-shadow: 0 1px 6px hsl(0 0% 0% / 0.6); }

/* --- 404 page ----------------------------------------------------------- *
 * Full-screen photo (the no-people saucer scene) with the same light scrim
 * treatment family as .cta-final--photo, and the unified hero type scale. */
.notfound {
  position: relative;
  min-height: calc(100vh - 68px); /* fill the viewport below the sticky header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.notfound-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
}
.notfound::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(hsl(0 0% 0% / 0.28), hsl(0 0% 0% / 0.28)),
    radial-gradient(80% 90% at 50% 50%, hsl(0 0% 0% / 0.34) 0%, hsl(0 0% 0% / 0) 70%);
  pointer-events: none;
}
.notfound .container { position: relative; z-index: 2; }
.notfound-title {
  font-size: var(--hero-title-size);
  line-height: 1.12;
  max-width: 22ch;
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 2px 14px hsl(0 0% 0% / 0.55);
}
.notfound-sub {
  margin: var(--hero-sub-gap) auto 0;
  font-size: var(--hero-sub-size);
  color: hsl(0 0% 90%);
  text-shadow: 0 1px 8px hsl(0 0% 0% / 0.6);
}
.notfound-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Secondary button, light on the photo (the site's .btn-ghost is ink-on-light). */
.notfound .btn-secondary {
  background: hsl(0 0% 100% / 0.08);
  color: #fff;
  border-color: hsl(0 0% 100% / 0.6);
}
.notfound .btn-secondary:hover { border-color: #fff; background: hsl(0 0% 100% / 0.16); }

/* --- Features page ------------------------------------------------------ *
 * /features/ and /nl/features/. Cards are static HTML (one per feature, in both
 * pages) — js/features.js only filters them, exactly as the pricing toggle only
 * flips visibility on markup that is already there. That keeps every feature in
 * the page source for crawlers and for anyone without JS.
 */

.features-count {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mint);
}
/* On the photo hero the count sits over the scrim — keep the mint accent but
   add a shadow so it stays legible against the image. */
.hero--photo .features-count { margin-top: 16px; text-shadow: 0 1px 8px hsl(0 0% 0% / 0.7); }
/* The chips row is much lighter than the old search field, so the section
   opens tighter under the hero instead of leaving a hole where it sat. */
.features { padding-top: clamp(40px, 5vw, 56px); }

/* Toolbar: category chips only. There is no search — see js/features.js. */
.features-toolbar { margin-bottom: 36px; }

/* Chips stay light: transparent, subtle border, muted text, so the cards
   below carry the page rather than the filter row. */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip {
  appearance: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { color: var(--ink); border-color: hsl(0 0% 70%); }
.chip:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
/* Active chip: dark ink on mint, per the site's button rule. */
.chip.is-active {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--btn-ink);
  font-weight: 600;
}

/* Card grid — 3 / 2 / 1 at the site's existing breakpoints. */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-card:hover { border-color: hsl(0 0% 78%); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.feature-card h3 { font-size: 18px; font-weight: 600; }
.feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.plan-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* No empty-state rule: with chips-only filtering every category has cards, so
   nothing can filter down to zero. */
.feature-card[hidden] { display: none; }

/* --- Mobile nav: collapse the links into a hamburger --------------------- *
 * Below 820px the Features/Pricing/Screenshots links (plus the dropdown copy
 * of the login link) fold into a toggle; the logo, language switch, desktop
 * login link and CTA stay in the bar. js/main.js flips .is-open and the
 * aria-expanded state. With JS off the menu can't open, but every link is
 * still reachable from the footer and the page body. The breakpoint sits at
 * 820px (was 760px) because the added login link plus the longer Dutch copy
 * ("Inloggen" + "Start gratis proef") crowd the bar below ~800px. */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 190px;
    padding: 8px;
    background: var(--dark-bg);
    border: 1px solid hsl(0 0% 100% / 0.12);
    border-radius: 10px;
    box-shadow: 0 12px 32px hsl(0 0% 0% / 0.4);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links .nav-link { padding: 10px 12px; border-radius: 6px; }
  .nav-links .nav-link:hover { background: hsl(0 0% 100% / 0.06); }
  /* The desktop cluster login link hides; the dropdown gets its own plain
     login item (last in the menu, above the CTA that stays in the bar). */
  .login-link { display: none; }
  .login-link-mobile { display: block; }
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
  .chips { gap: 6px; }
  .chip { font-size: 13px; padding: 6px 12px; }
}

/* --- Homepage features teaser ------------------------------------------- *
 * Six cards lifted verbatim from /features/ — same .feature-card styling. The
 * copy is duplicated across four files (both homepages + both features pages);
 * see CLAUDE.md. Any edit to one of these six has to touch all four.
 */
.teaser-more { text-align: center; margin-top: 40px; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: hsl(0 0% 70%); padding: 56px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 600; }
/* The real UFO mark, height-matched to the wordmark (the SVG is ~1.43:1). */
.footer-mark { width: 30px; height: auto; flex-shrink: 0; }
.footer-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-right a { color: hsl(0 0% 80%); text-decoration: underline; text-underline-offset: 2px; }
.footer-right a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; font-size: 14px; }
.copyright { font-size: 13px; color: hsl(0 0% 45%); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .pillars-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan--popular { order: -1; } /* surface the popular plan first on tablet */
}
@media (max-width: 620px) {
  :root { --section-y: 64px; }
  .pillars-grid, .plans-grid { grid-template-columns: 1fr; }
  .header-nav { gap: 12px; }
  .brand-mark { width: 30px; }
  .brand-word { font-size: 20px; }
  /* The Features/Pricing/Screenshots links now live in the hamburger (see the
     max-width: 760px block); below 520px we also drop the wordmark to the UFO
     mark so the bar stays a clean single row: logo · EN|NL · CTA · ☰. */
  @media (max-width: 520px) {
    .brand-word { display: none; }
    .site-header .container { padding: 0 16px; }
    .header-nav { gap: 12px; }
  }
  .sector-tab { font-size: 14px; padding: 10px 12px; }
  .sector-card { padding: 32px 20px; }
  /* Mockups: drop the sidebar and thin out the app chrome so the calendar grid
     and the table still read on a phone. The app itself scrolls these
     horizontally on mobile; here they shrink instead, so the page never grows a
     second scrollbar inside a section. */
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-main { padding: 8px; }
  .mock-account, .mock-search, .mock-bell { display: none; }
  .mock-h1 { font-size: 20px; line-height: 26px; }
  .mock-tools { display: none; }
  .mock-cal-head, .mock-week { grid-template-columns: 18px repeat(7, 1fr); }
  .mock-cal-head span { padding: 4px 2px; font-size: 9px; }
  .mock-weeknum { font-size: 8px; }
  .mock-day { min-height: 46px; padding: 2px; }
  .mock-day-label { font-size: 9px; }
  .mock-today-tag, .mock-plus, .mock-ev-venue, .mock-ev-crew { display: none; }
  .mock-ev-prod, .mock-ev-time { font-size: 8px; }
  .mock-ev-body { padding: 2px 3px; }
  .mock-ev-status { min-height: 12px; font-size: 7px; padding: 0 3px; }
  .mock-table th { font-size: 12px; padding: 6px 5px; }
  .mock-table td { padding: 5px; font-size: 11px; }
  /* Actions and country are the first things to go when width is tight. */
  .mock-table th.mock-th-act, .mock-table td.mock-td-act,
  .mock-table th:last-child, .mock-table td:last-child { display: none; }
  .mock-doc { padding: 14px; }
  .mock-row { font-size: 11px; }
  /* Photo hero, narrow. The new landscape photo shows full height on a portrait
     phone (cover crops the sides), so the family stays centred with ~35% grass
     below — enough room to keep the tagline, unlike the old vertical crop. */
  .hero--photo::after {
    background:
      linear-gradient(to top, hsl(0 0% 0% / 0.93) 0%, hsl(0 0% 0% / 0.78) 16%, hsl(0 0% 0% / 0.52) 34%, hsl(0 0% 0% / 0.2) 50%, hsl(0 0% 0% / 0) 64%),
      radial-gradient(175% 64% at 50% 100%, hsl(0 0% 0% / 0.55) 0%, hsl(0 0% 0% / 0) 64%);
  }
  .hero--photo .hero-title { font-size: clamp(26px, 6.4vw, 34px); max-width: 16ch; }
  .hero--photo .hero-sub { font-size: 15px; margin-top: 10px; max-width: 34ch; }
  .hero--photo .hero-actions { margin-top: 18px; }
  .hero--photo .hero-note { margin-top: 9px; }
  .hero--photo .hero-copy { padding-bottom: clamp(28px, 4vh, 44px); }
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; align-items: flex-start; }
  .plan--popular { order: 0; }
}

/* --- Cookie consent bar ------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(560px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
}
.cookie-consent-text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.cookie-consent-text a { color: var(--mint-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* --- Language suggestion toast ------------------------------------------ */
.lang-suggest {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100vw - 32px));
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 10px 12px 10px 14px;
  font-size: 13.5px;
}
.lang-suggest-msg { color: var(--ink); line-height: 1.4; }
.lang-suggest-cta {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--mint-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.lang-suggest-x {
  flex-shrink: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  padding: 0 2px;
}
.lang-suggest-x:hover { color: var(--ink); }

@media (max-width: 520px) {
  /* Keep the toast at the top and the cookie bar at the bottom so they can never
     overlap, no matter how tall the (wrapping) cookie bar gets on a phone. */
  .lang-suggest { top: 76px; bottom: auto; right: 12px; left: 12px; max-width: none; }
}
