/* Intentiv marketing site: "The Act, Annotated".
   The law on one side, what Intentiv does about it on the other. One committed light world:
   a forest cloth field holding white statute pages, mint used ONLY as the highlighter over a
   clause, and the app's own screens shown as they look in the product. Source Serif 4 is the
   Act's voice, Schibsted Grotesk is Intentiv's, Plus Jakarta Sans appears only inside the app
   screens because that is the app's face. */

:root {
  --forest: #0d3d29;
  --forest-deep: #09301f;
  --forest-2: #14523a;
  --mint: #caffbb;
  --mint-soft: #eaf8ec;
  --on-mint: #3a5c45;
  --bright: #6be887;
  --paper: #ffffff;
  --desk: #eef1f0;
  --soft: #f2f5f4;
  --soft-2: #e5eae8;
  --line: #dfe6e2;
  --ink: #0d171a;
  --ink-2: #41504a;
  --ink-3: #5d6a64;
  --warn: #a8690c;
  --warn-bg: #fbf0dc;
  --pass: #1c7a58;
  --on-forest: #ffffff;
  --on-forest-2: rgba(255, 255, 255, 0.76);
  --on-forest-3: rgba(255, 255, 255, 0.58);
  --forest-rule: rgba(255, 255, 255, 0.16);

  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --app: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --section: clamp(72px, 10vw, 128px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--forest); }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--paper); color: var(--forest); padding: 10px 14px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 16px; }
.tnum, .app__panelhead, .factors, .pack, .price, .tiles b { font-variant-numeric: tabular-nums; }

/* ── controls ─────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pill--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.pill--white { background: var(--paper); color: var(--forest); }
.pill--white:hover { background: var(--mint); }
.pill--line { border: 1.5px solid var(--forest-rule); color: var(--on-forest); }
.pill--line:hover { border-color: var(--on-forest-2); }
.pill--forest { background: var(--forest); color: var(--on-forest); }
.pill--forest:hover { background: var(--forest-2); }
.pill--soft { background: var(--soft); color: var(--ink); }
.pill--soft:hover { background: var(--soft-2); }
.textlink { color: var(--forest-2); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ── nav: on white, above the hero panel ───────────────────────────────── */
.nav { background: var(--forest); color: var(--on-forest); }
.nav__row { display: flex; align-items: center; gap: 28px; min-height: 72px; border-bottom: 1px solid var(--forest-rule); }
.brand { display: inline-flex; color: var(--on-forest); }
.brand .logo { width: 116px; height: auto; fill: currentColor; display: block; }
.nav__links { display: flex; gap: 4px; flex: 1; }
.nav__links a, .nav__signin {
  text-decoration: none; color: var(--on-forest-2); font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.nav__links a:hover, .nav__signin:hover { color: var(--on-forest); background: rgba(255, 255, 255, .08); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

/* ── hero: the Act, the notes, the product ─────────────────────────────────── */
.hero { background: var(--forest); color: var(--on-forest); padding-bottom: clamp(56px, 7vw, 96px); }
.hero__panel {
  padding-top: clamp(40px, 5.6vw, 76px);
  display: grid; justify-items: center; text-align: center; overflow: hidden;
}
.hero__lede { margin: 20px 0 28px; max-width: 58ch; color: var(--on-forest-2); font-size: 18px; line-height: 1.55; }
.hero__panel .hero__cta { justify-content: center; }
.hero__screen {
  width: 100%; max-width: 880px; margin-top: clamp(32px, 4vw, 52px);
  padding: clamp(8px, 1.2vw, 14px); border-radius: 26px;
  background: var(--forest-2);
}
.hero__screen .film__frame { border-radius: 18px; }
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5.7fr) minmax(0, 2.3fr) minmax(0, 4fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: center;
}
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.leaders path { fill: none; stroke: var(--mint); stroke-width: 1.4; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); opacity: .7; transition: opacity .2s ease; }
.leaders.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.22, 1, .36, 1), opacity .2s ease; }
.leaders circle { fill: var(--mint); opacity: .9; }
.leaders path.is-on { stroke-width: 2.4; opacity: 1; }

/* the statute page */
.act {
  position: relative; z-index: 2;
  background: var(--paper); color: var(--ink);
  border-radius: 6px 6px 6px 6px;
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 30px) clamp(16px, 1.8vw, 22px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 48px -18px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .2);
  font: 400 15px/1.55 var(--serif);
  transform: rotate(-.6deg);
}
.act__running {
  margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font: 400 12.5px/1.4 var(--serif); font-style: italic; color: var(--ink-3);
}
.act__div { margin: 0 0 6px; font: 600 13px/1.4 var(--serif); color: var(--ink-2); }
.act__sec { margin: 0 0 8px; font: 700 19px/1.3 var(--serif); letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
.act__num { display: inline-block; min-width: 1.6em; }
.act__p { margin: 0 0 8px; }
.act__sub { display: inline-block; min-width: 1.9em; color: var(--ink-2); }
.act__paras { list-style: none; margin: 0 0 4px; padding: 0 0 0 1.9em; display: grid; gap: 4px; }
.act__para { display: inline-block; min-width: 1.8em; color: var(--ink-2); }
.act__elide { color: var(--ink-3); letter-spacing: .3em; }
.act__foot { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font: 400 12.5px/1.4 var(--serif); font-style: italic; color: var(--ink-3); }
.ref { font: 700 11px/1 var(--sans); color: var(--forest-2); margin-left: 3px; }
.hl {
  color: inherit; padding: 0 .12em; border-radius: 2px;
  background-image: linear-gradient(transparent 12%, var(--mint) 12%, var(--mint) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease;
}
.js .hl { background-size: 0% 100%; }
.js .is-inked .hl { background-size: 100% 100%; }
.hl.is-on { box-shadow: 0 0 0 2px var(--forest-2); }

/* the margin notes */
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 22px); position: relative; z-index: 4; }
.note { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; cursor: default; border-radius: 10px; padding: 6px; margin: -6px; outline: none; }
.note p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--on-forest-2); }
.note b { color: var(--on-forest); font-weight: 600; }
.note__num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  background: var(--mint); color: var(--forest); font: 700 13px/1 var(--sans);
}
.note.is-on { background: rgba(255, 255, 255, .06); }
.note:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }

/* the app screens, drawn in the app's own language */
.app {
  margin: 0; position: relative; z-index: 2;
  background: var(--paper); color: var(--ink); border-radius: 22px;
  font: 400 13.5px/1.45 var(--app);
  box-shadow: 0 1px 2px rgba(13, 61, 41, .06), 0 24px 50px -22px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.app__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; }
.app__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app__title div b { display: block; font-size: 15px; letter-spacing: -.01em; }
.app__title div span { display: block; color: var(--ink-3); font-size: 12.5px; }
.app__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--mint); color: var(--forest); font-weight: 700; font-size: 12px; flex: none; }
.app__tabs { display: flex; gap: 4px; margin: 0 18px; padding: 4px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.app__tabs span { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.app__tabs .on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.app__body { padding: 12px 18px 16px; display: grid; gap: 8px; }
.app__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--soft); transition: box-shadow .2s ease, background-color .2s ease; }
.app__who { min-width: 0; }
.app__who b { display: block; font-size: 13.5px; font-weight: 600; }
.app__who span { display: block; color: var(--ink-3); font-size: 12px; }
.app__panel { padding: 12px; border-radius: 14px; background: var(--soft); display: grid; gap: 8px; transition: box-shadow .2s ease; }
.app__panel--mint { background: var(--mint-soft); }
.app__panelhead { display: flex; justify-content: space-between; font-size: 13px; }
.app__hint { color: var(--ink-3); font-size: 12px; }
.app__hint.on-mint { color: var(--on-mint); }
.app__cap { padding: 10px 18px 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11.5px; }
[data-target].is-on { box-shadow: 0 0 0 2px var(--forest-2), 0 0 0 5px var(--mint); background: var(--paper); }

.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; flex: none; }
.app__row .status, .app__panel .status { background: var(--paper); }
.status i { width: 7px; height: 7px; border-radius: 999px; background: var(--ink-3); }
.status--pass i { background: var(--pass); }
.status--warn { background: var(--warn-bg); color: #6b4812; }
.status--warn i { background: var(--warn); }
.meter { position: relative; height: 8px; border-radius: 999px; background: var(--soft-2); }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--forest); }
.meter i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-2); border-radius: 2px; }

.hero .film__frame { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }

/* ── the Act, annotated: the law beside what the product does about it ──────── */
.annotated { background: var(--forest); color: var(--on-forest); padding-block: clamp(24px, 3vw, 40px) clamp(64px, 8vw, 104px); overflow: hidden; }
.annotated__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 4.4vw, 56px); }
.annotated__head p { margin: 0; color: var(--on-forest-2); font-size: 17px; max-width: 42ch; }
.hero h1 {
  margin: 0; max-width: 18ch; font: 600 clamp(38px, 5vw, 66px)/1.02 var(--sans); letter-spacing: -.035em; text-wrap: balance;
}
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .fine { margin: 14px 0 0; font-size: 13.5px; color: var(--on-forest-3); }

/* ── section headings ─────────────────────────────────────────────────────── */
.serif-h { margin: 0; font: 600 clamp(32px, 4.4vw, 52px)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.sans-h { margin: 0; font: 600 clamp(30px, 3.8vw, 46px)/1.08 var(--sans); letter-spacing: -.03em; text-wrap: balance; }

/* ── duties: the headline, with the four steps set around it ──────────────── */
.duties { background: var(--paper); padding-block: var(--section); }
.duties__stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 460px) 1fr; grid-template-rows: auto 40px auto; gap: 28px 32px; align-items: center; }
.duties__centre { grid-column: 2; grid-row: 1 / span 3; text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: 24px; }
.duties__centre p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.slips { display: contents; list-style: none; margin: 0; padding: 0; }
.slip {
  background: var(--paper); border-radius: 6px;
  padding: 20px 22px 22px; max-width: 300px;
  box-shadow: 0 1px 2px rgba(13, 61, 41, .12), 0 8px 16px -10px rgba(13, 61, 41, .3);
  display: grid; gap: 6px;
}
.slip h3 { margin: 0; font: 700 19px/1.25 var(--serif); letter-spacing: -.01em; }
.slip p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.slip__num { font: 700 13px/1 var(--sans); color: var(--forest); background: var(--mint); width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; margin-bottom: 6px; }
.slip--1 { grid-column: 1; grid-row: 1; justify-self: end; transform: rotate(-2.2deg); }
.slip--2 { grid-column: 3; grid-row: 1; justify-self: start; transform: rotate(1.6deg); margin-top: 32px; }
.slip--3 { grid-column: 1; grid-row: 3; justify-self: end; transform: rotate(1.4deg); margin-top: -24px; }
.slip--4 { grid-column: 3; grid-row: 3; justify-self: start; transform: rotate(-1.8deg); box-shadow: 0 0 0 1.5px var(--forest-2), 0 8px 16px -10px rgba(13, 61, 41, .3); }

/* ── the two screens ─────────────────────────────────────────────────────── */
.work { background: var(--desk); padding-block: var(--section); }
.work .sans-h { margin-bottom: clamp(32px, 4vw, 48px); max-width: 18ch; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.work__item { display: grid; grid-template-rows: 1fr auto auto; }
.work__item .shot { display: flex; flex-direction: column; }
.work__item .shot .app__body { flex: 1; align-content: start; }
.work__item h3 { margin: 26px 0 8px; font: 600 24px/1.2 var(--sans); letter-spacing: -.02em; }
.work__item > p { margin: 0; color: var(--ink-2); max-width: 48ch; }
.shot { box-shadow: 0 1px 2px rgba(13, 61, 41, .06), 0 14px 32px -20px rgba(13, 61, 41, .35); }
.factors { display: grid; gap: 6px; }
.factors div { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.factors span { color: var(--ink-3); font-size: 12.5px; }
.factors b { font-size: 13px; font-weight: 600; }
.lvl { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--paper); }
.lvl--m { color: #6b4812; }
.lvl--l { color: var(--pass); }
.pack { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pack li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pack b { font-weight: 600; font-size: 12.5px; }
.pack .ok { color: var(--pass); }
.pack .warn { color: #8a5608; }

/* ── statutory clocks ───────────────────────────────────────────────────── */
.clocks { background: var(--paper); padding-block: var(--section); }
.clocks__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.clocks__intro p { margin: 18px 0 0; color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.clocks__list { list-style: none; margin: 0; padding: 0; display: grid; }
.clock { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 32px); align-items: center; padding-block: 22px; border-top: 1px solid var(--line); }
.clock:last-child { border-bottom: 1px solid var(--line); }
.clock p { margin: 0; font-size: 17px; color: var(--ink-2); }
.clock b { color: var(--ink); font-weight: 600; }
.cite { display: block; margin-top: 4px; font: 400 13px/1.3 var(--serif); font-style: italic; color: var(--ink-3); }
.digits { display: inline-flex; gap: 6px; }
.digits span {
  display: grid; place-items: center; width: clamp(48px, 5vw, 62px); height: clamp(64px, 6.6vw, 82px);
  border-radius: 10px; background: var(--forest); color: var(--mint);
  font: 600 clamp(38px, 4vw, 50px)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
  position: relative;
}
.digits span::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: rgba(0, 0, 0, .28); }

/* ── trust ───────────────────────────────────────────────────────────────── */
.trust { background: var(--paper); padding-bottom: var(--section); }
.trust__panel {
  background: var(--forest-deep); color: var(--on-forest); border-radius: 26px;
  padding: clamp(28px, 4.4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start;
}
.trust__copy p { margin: 18px 0 20px; color: var(--on-forest-2); max-width: 42ch; }
.trust .textlink { color: var(--mint); }
.trust__copy .trust__note { margin-top: 28px; font-size: 13.5px; color: var(--on-forest-3); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles li { border: 1px solid var(--forest-rule); border-radius: 16px; padding: 18px 16px; display: grid; gap: 4px; align-content: start; min-height: 116px; }
.tiles b { font: 600 22px/1.15 var(--serif); letter-spacing: -.01em; color: var(--mint); }
.tiles span { font-size: 14px; line-height: 1.45; color: var(--on-forest-2); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { background: var(--desk); padding-block: var(--section); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 16px; border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 600 17.5px/1.35 var(--sans); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); max-width: 64ch; }

/* ── closing band ────────────────────────────────────────────────────────── */
.close { background: var(--desk); padding-bottom: var(--section); }
.close__frame {
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(28px, 4.4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: center;
}
.close__copy .sans-h { margin-bottom: 26px; }
.close__price { text-align: right; }
.close__price p { margin: 0; color: var(--ink-3); font-size: 15px; }
.price { font: 600 clamp(80px, 11vw, 136px)/.9 var(--serif) !important; color: var(--forest) !important; letter-spacing: -.04em; margin-bottom: 12px !important; }
.price__cur { font-size: .42em; vertical-align: .95em; margin-right: 4px; color: var(--forest-2); }
.price__per { font: 500 18px/1 var(--sans); letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.foot { background: var(--paper); padding-block: clamp(56px, 7vw, 88px) clamp(32px, 4vw, 48px); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot h3 { margin: 0 0 12px; font: 600 13px/1.3 var(--sans); color: var(--ink-3); }
.foot__cols a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.foot__cols a:hover { color: var(--forest-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ── design partners: white marks on the forest, the last thing in the hero ── */
.partners { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--forest-rule); display: grid; justify-items: center; gap: 22px; text-align: center; }
.partners__label { margin: 0; font-size: 14.5px; color: var(--on-forest-3); }
.marks { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
.plogo { display: block; height: var(--h); width: auto; opacity: .86; }

.film { background: var(--desk); padding-block: var(--section); }
.film__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3.6vw, 44px); }
.film__head p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.film__frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--forest); aspect-ratio: 16 / 9; max-width: 100%; box-shadow: 0 1px 2px rgba(13, 61, 41, .08), 0 24px 48px -28px rgba(13, 61, 41, .45); }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__play {
  position: absolute; right: clamp(12px, 2.2vw, 26px); top: clamp(12px, 2.2vw, 26px);
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 8px;
  border: 0; border-radius: 999px; background: var(--paper); color: var(--forest);
  font: 600 16px/1 var(--sans); cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
  transition: background-color .15s ease, transform .15s ease;
}
.film__play:hover { background: var(--mint); }
.film__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--forest); color: var(--mint); }
.film__icon svg { width: 18px; height: 18px; fill: currentColor; }
.film__len { color: var(--ink-3); font-weight: 500; }
.film__frame.is-playing .film__play { display: none; }
@media (max-width: 860px) {
  .film__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .plogo { height: calc(var(--h) * .72); }
  /* On a phone the frame is small: the play control is the round icon alone, clear of the title. */
  .film__play { height: auto; padding: 5px; gap: 0; }
  .film__play > span:not(.film__icon) { display: none; }
  .film__icon { width: 40px; height: 40px; }
}

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .act { grid-column: 1; grid-row: 1; }
  .file { grid-column: 2; grid-row: 1; }
  .notes { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leaders { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__row { justify-content: space-between; }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .act, .file, .notes { grid-column: 1; grid-row: auto; }
  .act { transform: none; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .clocks__grid, .trust__panel, .faq__wrap, .close__frame { grid-template-columns: minmax(0, 1fr); }
  .close__price { text-align: left; }
  .duties__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .duties__centre { grid-column: 1; grid-row: 1; padding-block: 0 8px; }
  .slips { display: grid; grid-column: 1; grid-row: 2; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .slip { grid-column: auto !important; grid-row: auto !important; justify-self: stretch !important; max-width: none; transform: none !important; margin: 0 !important; }
  .annotated__head { grid-template-columns: minmax(0, 1fr); }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav__signin { display: none; }
  .slips { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tiles li { min-height: 0; }
  .app__tabs span:nth-child(n+3) { display: none; }
  .factors div { grid-template-columns: 1fr auto; }
  .factors div span { grid-column: 1 / -1; }
  .hero__cta .pill { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .hl { background-size: 100% 100%; }
  .leaders path { stroke-dashoffset: 0; }
}
