:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --ink: #050505;
  --muted: #a9a9a9;
  --text: #111111;
  --soft: #eeeeee;
  --line: #d8d8d8;
  --dark: #1f1f1f;
  --radius-xl: 28px;
  --radius-card: 20px;
  --container: 1280px;
  --gutter: 80px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  width: 18px;
  height: 22px;
  color: currentColor;
}
.brand-mark svg { width: 100%; height: 100%; fill: currentColor; }
.brand-mark .paper-fold { fill: none; stroke: #fff; stroke-width: 1.2; opacity: .85; }

/* Button - Text Regular Normal (16/1.5/400) per Figma */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid #0d0d0d;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button-dark { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.button-light { background: #fff; color: #111; }
.button-invert { background: #fff; color: #111; border-color: #fff; }

.site-hero {
  min-height: 1228px;
  padding-top: 24px;
  background: linear-gradient(180deg, #f6f7f8 0 82%, #fff 82% 100%);
  overflow: hidden;
}
.nav-shell {
  width: min(1280px, calc(100% - 128px));
  margin: 0 auto;
  height: 72px;
  padding: 0 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 100;
  transition: transform .35s ease;
}
/* Floating navbar - pojawia się po scroll-up, znika po scroll-down */
.nav-shell.is-floating {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.nav-shell.is-floating.is-hidden {
  transform: translateX(-50%) translateY(-180%);
}
/* Mobile menu backdrop - przyciemnienie i przechwycenie kliknięć poza menu */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background .3s ease;
  z-index: 90;
}
body.menu-open .nav-backdrop {
  background: rgba(0, 0, 0, .5);
  pointer-events: auto;
}
body.menu-open { overflow: hidden; }
/* Nav links - Text Regular Normal (16/1.5/400) per Figma */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.nav-links a:not(.button) { text-decoration: none; }
.nav-cta { margin-left: 2px; min-height: 48px; padding-inline: 26px; }
.nav-toggle { display: none; }

.hero-copy {
  text-align: center;
  padding-top: 108px;
}
/* All section serif headings - line-height & letter-spacing per Figma (H1/H2 = 1.1/0) */
.hero-copy h1,
.section-intro h2,
.security-intro h2,
.dark-cta h2,
.split-intro h2,
.process-copy h2,
.numbers-intro h2,
.team-intro h2,
.footer h2,
.faq h2 {
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}
/* H1 - 56/1.1/400 */
.hero-copy h1 {
  max-width: 790px;
  margin-inline: auto;
  font-size: 56px;
}
h1 span,
h2 span { color: var(--muted); }
.hero-copy p {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 18px;
  line-height: 1.5;
}
/* Hero tagline - Text Medium Normal (18/1.5/400) */
.hero-copy .hero-tagline {
  max-width: 768px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.cta-note,
.hero-copy .cta-note {
  max-width: none;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: #6f6f6f;
}
.hero-proof {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #111;
}
.hero-visual-wrap {
  margin-top: 60px;
  border: 1px solid #d7dde4;
  border-radius: 20px 20px 0 0;
  padding: 16px 16px 0;
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 60px rgba(33, 40, 50, .10);
  overflow: hidden;
}
.hero-visual-wrap img {
  width: 100%;
  border-radius: 14px 14px 0 0;
  border: 1px solid #e5e8ec;
}

.section { padding: 116px 0; }
/* Tagline (eyebrow) - Inter Semi Bold 12/1.5/600 uppercase per user preference */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.section-intro.wide-left { max-width: 790px; }
/* H2 - 48/1.1/400 */
.section-intro h2 { font-size: 48px; }
/* Section descriptions - Text Medium Normal (18/1.5/400) */
.section-intro p:not(.eyebrow),
.split-intro p:not(.eyebrow),
.process-copy p:not(.eyebrow),
.numbers-intro p:not(.eyebrow),
.team-intro p:not(.eyebrow),
.security-intro p:not(.eyebrow),
.faq-intro p:not(.eyebrow),
.still-questions p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.5;
}
.section-intro > p:last-child { margin-top: 28px; }

.outcomes { padding-top: 34px; }
/* minmax rows - let cards grow with content while preserving floor height */
.outcome-grid {
  margin-top: 82px;
  display: grid;
  grid-template-columns: minmax(420px, 1.65fr) minmax(240px, .78fr) minmax(240px, .78fr);
  grid-template-rows: minmax(400px, auto) minmax(320px, auto);
  gap: 32px;
}
.outcome-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  min-height: 320px;
  background: #1d1d1d;
}
.outcome-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  filter: saturate(.86);
}
.outcome-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.46), rgba(0,0,0,.76));
}
.outcome-large {
  grid-row: 1 / span 2;
  padding: 48px;
}
.outcome-wide {
  grid-column: 2 / span 2;
  padding: 48px;
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: #fff;
}
.card-icon img { width: 100%; height: 100%; display: block; }
/* Small outcome cards (Volume, Harmony) - H5 (24/1.2/400) */
.outcome-card h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}
/* Large outcome cards (Zero-waste, Dark Data) - H4 (32/1.2/400) */
.outcome-large h3,
.outcome-wide h3 { font-size: 32px; }
/* Outcome card body - Text Regular Normal (16/1.5/400) */
.outcome-card p { margin: 0; font-size: 16px; line-height: 1.5; }
.outcome-large p, .outcome-wide p { max-width: 620px; }

.security-band {
  background: #f4f5f6;
  padding: 164px 0 96px;
}
.security-intro { text-align: center; max-width: 785px; }
/* Security H2 - 48/1.1/400 */
.security-intro h2 { font-size: 48px; }
.security-intro p { margin: 28px auto 0; max-width: 785px; }
.security-layout {
  margin-top: 84px;
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 78px;
  align-items: center;
}
.security-image {
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}
.security-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.security-copy { padding-top: 14px; }
.security-item { margin-bottom: 34px; }
/* Security item h3 - H4 (32/1.2/400) */
.security-item h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}
/* Security item body - Text Regular Normal (16/1.5/400) */
.security-item p { margin: 0; font-size: 16px; line-height: 1.5; }
.security-item.accented { padding-left: 32px; border-left: 3px solid #111; }

.dark-cta {
  margin-top: 108px;
  margin-bottom: 108px;
  min-height: 390px;
  padding: 64px 32px;
  border-radius: 42px;
  background: #202020;
  color: #fff;
  text-align: center;
  display: grid;
  place-items: center;
  align-content: center;
}
/* Dark CTA H2 - 48/1.1/400 */
.dark-cta h2 { max-width: 780px; font-size: 48px; }
/* Dark CTA body - Text Medium Normal (18/1.5/400) */
.dark-cta p { margin: 28px auto 0; max-width: 720px; color: #fff; font-size: 18px; line-height: 1.5; }
.dark-cta .button { margin-top: 32px; }
.dark-cta .cta-note { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.5; }

.features { padding-top: 102px; }
.split-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
/* Features H2 - 48/1.1/400 */
.split-intro h2 { font-size: 48px; }
.split-intro > p { max-width: 590px; margin: 16px 0 0; }
.feature-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 48px;
}
.feature-card {
  min-height: 372px;
  border: 1px solid #d8d8d8;
  border-radius: 20px;
  padding: 16px 16px 24px;
  background: #fff;
  overflow: hidden;
}
.feature-card img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 28px;
}
/* Feature card h3 - H5 (24/1.2/400) */
.feature-card h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}
/* Feature card body - Text Regular Normal (16/1.5/400) */
.feature-card p { margin: 0; font-size: 16px; line-height: 1.5; }

.process {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(500px, .98fr);
  gap: 96px;
  align-items: start;
  padding-top: 118px;
  padding-bottom: 122px;
}
.process-copy { position: sticky; top: 28px; }
/* Process H2 - 48/1.1/400 */
.process-copy h2 { font-size: 48px; }
.process-copy p { max-width: 590px; margin-top: 28px; }
.timeline { position: relative; padding-left: 84px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  bottom: 22px;
  width: 3px;
  background: #111;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  margin-bottom: 50px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -91px;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 8px #fff;
}
/* Timeline number - H3 (40/1.1/400) */
.timeline-number {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: 0;
  line-height: 1.1;
  font-weight: 400;
}
/* Timeline h3 - H4 (32/1.2/400) */
.timeline h3 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}
/* Timeline body - Text Medium Normal (18/1.5/400) */
.timeline p { margin: 0; font-size: 18px; line-height: 1.5; }

.numbers-band {
  background: #f1f2f3;
  padding: 116px 0 104px;
}
.numbers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
/* Numbers H2 - 48/1.1/400 */
.numbers-intro h2 { font-size: 48px; max-width: 560px; }
.numbers-intro p { margin: 10px 0 0; max-width: 620px; }
.stats-grid {
  margin-top: 116px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-card {
  border-left: 1px solid #c9c9c9;
  padding-left: 32px;
  padding-right: 30px;
}
/* Stat number - custom 120px Libre Baskerville Regular (per user) */
.stat-number {
  font-family: var(--serif);
  font-size: 120px;
  line-height: .72;
  letter-spacing: -.06em;
  margin-bottom: 40px;
  font-weight: 400;
}
/* Stat number suffix span (%, +, sec) - H2 (48/1.1/400). 48/120 = 0.4em */
.stat-number span {
  font-size: .4em;
  vertical-align: top;
  margin-left: 8px;
  letter-spacing: 0;
  line-height: 1.1;
  font-weight: 400;
}
/* Stat card h3 - H6 (20/1.3/400) */
.stat-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 400;
}
/* Stat card body - Text Regular Normal (16/1.5/400) */
.stat-card p { margin: 0; font-size: 16px; line-height: 1.5; }

.team { padding-top: 128px; padding-bottom: 70px; overflow: visible; }
/* Team H2 - 48/1.1/400 */
.team-intro h2 { font-size: 48px; max-width: 840px; }
.team-intro p { margin-top: 28px; max-width: 840px; }
/* Desktop: show the full leadership row. The previous horizontal strip intentionally
   overflowed the viewport, which made the last card cut through a portrait on desktop. */
.team-strip {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  overflow: visible;
  padding-bottom: 8px;
}
.team-strip::-webkit-scrollbar { display: none; }
.team-card {
  min-width: 0;
  color: #050505;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  background: #f2f2f2;
}
/* Team card name - Text Large Semi Bold (20/1.5/600 Inter) */
.team-card h3 {
  margin: 24px 0 4px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
/* Team card role - Text Medium Normal (18/1.5/400) */
.team-card p { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 400; }
.team-card a {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  color: #fff;
  background: #000;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}

.faq { padding-top: 140px; padding-bottom: 0; }
.faq-intro { text-align: center; max-width: 780px; margin: 0 auto; }
/* FAQ H2 - 48/1.1/400 */
.faq-intro h2 { font-size: 48px; }
.faq-intro p { margin-top: 20px; }
.faq-list {
  width: min(780px, calc(100% - 48px));
  margin: 78px auto 0;
}
details {
  border-top: 1px solid #cfcfcf;
  padding: 24px 0 26px;
}
details:last-child { border-bottom: 1px solid #cfcfcf; }
/* FAQ summary (question) - Text Medium Bold (18/1.5/700 Inter) */
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "⌃";
  font-size: 28px;
  line-height: .7;
  transition: transform .2s ease;
}
details:not([open]) summary::after { transform: rotate(180deg); }
/* FAQ answer - Text Regular Normal (16/1.5/400) */
details p { margin: 26px 0 0; font-size: 16px; line-height: 1.5; font-weight: 400; }
.still-questions {
  text-align: center;
  padding: 128px 0 204px;
}
/* Still questions h2 - H4 (32/1.2/400) */
.still-questions h2 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
}
/* Still questions p - Text Medium Normal (18/1.5/400) - inherited from shared selector */
.still-questions p { margin: 20px auto 26px; max-width: 720px; }

.footer {
  padding: 0 0 34px;
  background: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 120px;
  align-items: start;
  padding-top: 4px;
}
/* Footer h2 - H1 (56/1.1/400) */
.footer-copy h2 {
  margin-top: 30px;
  max-width: 630px;
  font-size: 56px;
}
/* Footer description - Text Regular Normal (16/1.5/400) */
.footer-copy p {
  margin-top: 26px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.5;
}
.footer-copy .button { margin-top: 24px; }
.footer-copy .cta-note { margin: 12px 0 0; max-width: none; font-size: 12px; line-height: 1.5; color: #777; }
/* Footer nav links - Text Small Semi Bold (14/1.5/600) */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 56px;
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.footer-nav a { text-decoration: none; }
/* Footer bottom - Text Small Semi Bold (14/1.5/600) */
.footer-bottom {
  border-top: 1px solid #d7d7d7;
  margin-top: 34px;
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 28px; flex-wrap: wrap; }

/* Hover underline - animacja width 0 → 100% przez ::after, dostosowana do stylu strony */
.nav-links a:not(.button),
.footer-nav a,
.footer-bottom > div a {
  position: relative;
  text-decoration: none;
  transition: color .25s ease;
}
.nav-links a:not(.button)::after,
.footer-nav a::after,
.footer-bottom > div a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width .35s ease;
}
.nav-links a:not(.button):hover::after,
.footer-nav a:hover::after,
.footer-bottom > div a:hover::after {
  width: 100%;
}

/* ── Tablet (>= 770px and <= 1120px) ───────────────────────────── */
@media (max-width: 1120px) {
  :root { --gutter: 32px; }
  .nav-shell { width: min(100% - 32px, 1280px); }
  .nav-links { gap: 20px; }
  .outcome-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .outcome-large, .outcome-wide { grid-column: auto; grid-row: auto; }
  .outcome-card { min-height: 420px; }
  .security-layout, .split-intro, .process, .numbers-intro, .footer-main { grid-template-columns: 1fr; }
  .security-layout { gap: 48px; }
  .security-image { max-width: 620px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-copy { position: static; }
  .team-strip {
    width: min(var(--container), calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

/* ── Mobile nav breakpoint - hamburger from 1024px down ─────────── */
@media (max-width: 1024px) {
  .nav-shell {
    width: calc(100% - 40px);
    height: auto;
    min-height: 64px;
    border: 1px solid #cfcfcf;
    border-radius: 22px;
    padding: 0;
    flex-wrap: wrap;
    overflow: hidden;
    background: rgba(255,255,255,.96);
  }
  .brand {
    padding: 18px 18px 16px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    min-height: 58px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #000;
    border-radius: 0;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
  }
  .nav-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 14px;
    color: currentColor;
  }
  .nav-toggle-icon svg { width: 100%; height: 100%; display: block; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    font-size: 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 18px;
    border-top: 1px solid transparent;
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease, border-color .35s ease;
  }
  .nav-links.open {
    max-height: 480px;
    opacity: 1;
    padding: 34px 18px 18px;
    border-top-color: #d7d7d7;
    pointer-events: auto;
  }
  .nav-cta {
    width: 100%;
    margin-top: 4px;
    min-height: 42px;
    padding-inline: 18px;
    font-size: 16px;
  }
}

/* ── Full mobile layout - under 770px ───────────────────────────── */
@media (max-width: 769px) {
  :root { --gutter: 20px; }
  body { background: #fff; }
  .container { width: min(100% - 40px, var(--container)); }
  .site-hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 0;
    background: linear-gradient(180deg, #f6f7f8 0 100%);
  }
  .brand { font-size: 19px; }
  .brand-mark { width: 18px; height: 22px; }
  .hero-copy { padding-top: 64px; }
  .hero-copy h1 {
    font-size: 41px;
    line-height: 1.12;
    letter-spacing: -.035em;
  }
  .hero-copy .hero-tagline {
    margin-top: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
  }
  .hero-actions .button { min-height: 50px; width: min(100%, 270px); }
  .hero-copy .cta-note { margin-top: 12px; font-size: 12px; }
  .hero-proof { max-width: 320px; margin-top: 14px; font-size: 12px; }
  .hero-visual-wrap {
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: 0 18px 34px rgba(33, 40, 50, .14);
    background: #fff;
    overflow: hidden;
  }
  .hero-visual-wrap img {
    width: 170vw;
    min-width: 560px;
    max-width: 680px;
    margin-inline: auto;
    border: 0;
    border-radius: 0;
  }
  .section { padding: 78px 0; }
  .section-intro h2,
  .security-intro h2,
  .split-intro h2,
  .process-copy h2,
  .numbers-intro h2,
  .team-intro h2,
  .footer-copy h2,
  .faq-intro h2 { line-height: 1.12; letter-spacing: -.035em; }
  .section-intro h2 { font-size: 41px; }
  .section-intro p:not(.eyebrow),
  .split-intro p:not(.eyebrow),
  .process-copy p:not(.eyebrow),
  .numbers-intro p:not(.eyebrow),
  .team-intro p:not(.eyebrow),
  .security-intro p:not(.eyebrow),
  .faq-intro p:not(.eyebrow),
  .still-questions p:not(.eyebrow) { font-size: 16px; line-height: 1.5; }
  .footer-copy p { font-size: 16px; line-height: 1.5; }
  .outcomes { padding-top: 58px; }
  .outcome-grid, .feature-grid, .stats-grid { grid-template-columns: 1fr; }
  .outcome-grid { margin-top: 84px; gap: 32px; grid-template-rows: auto; }
  .outcome-large { order: 1; }
  .outcome-wide { order: 2; }
  .outcome-grid .outcome-card:nth-of-type(2) { order: 3; }
  .outcome-grid .outcome-card:nth-of-type(3) { order: 4; }
  .outcome-card, .outcome-large, .outcome-wide {
    min-height: 378px;
    padding: 24px;
    border-radius: 20px;
    justify-content: flex-end;
  }
  .outcome-card h3 { font-size: 27px; line-height: 1.08; }
  .outcome-large h3, .outcome-wide h3 { font-size: 29px; }
  .outcome-card p { font-size: 16px; }
  .security-band { padding-top: 88px; padding-bottom: 80px; }
  .security-intro { text-align: center; }
  .security-intro h2 { font-size: 41px; }
  .security-layout { grid-template-columns: 1fr; margin-top: 50px; gap: 48px; }
  .security-image { max-width: none; border-radius: 20px; }
  .security-item h3 { font-size: 29px; line-height: 1.08; }
  .security-item.accented { padding-left: 20px; }
  .dark-cta {
    width: calc(100% - 40px);
    margin-top: 72px;
    margin-bottom: 72px;
    border-radius: 24px;
    min-height: 286px;
    padding: 44px 24px;
  }
  .dark-cta h2 { font-size: 39px; line-height: 1.12; }
  .features { padding-top: 78px; }
  .split-intro { gap: 22px; }
  .feature-grid { margin-top: 54px; gap: 26px; }
  .feature-card { min-height: auto; padding: 14px 14px 22px; }
  .feature-card h3 { font-size: 24px; line-height: 1.12; }
  .feature-card p { font-size: 15px; }
  .process { gap: 52px; padding-top: 80px; padding-bottom: 76px; }
  .process-copy h2 { font-size: 41px; }
  .timeline { padding-left: 48px; }
  .timeline::before { left: 2px; top: -18px; bottom: 12px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; margin-bottom: 42px; }
  .timeline-item::before { left: -53px; }
  .timeline-number { font-size: 28px; }
  .timeline h3 { font-size: 28px; margin-bottom: 14px; }
  .timeline p { font-size: 15px; }
  .numbers-band { padding: 76px 0; }
  .numbers-intro { gap: 22px; }
  .numbers-intro h2 { font-size: 39px; }
  .stats-grid { margin-top: 48px; gap: 0; }
  .stat-card { padding: 0 0 34px 18px; margin-bottom: 34px; }
  .stat-number { font-size: 76px; margin-bottom: 26px; }
  .team { padding-top: 80px; padding-bottom: 42px; }
  .team-intro h2 { font-size: 39px; }
  .team-strip {
    width: calc(100vw - 20px);
    margin-left: 20px;
    margin-right: 0;
    margin-top: 52px;
    display: flex;
    gap: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .team-card { flex: 0 0 315px; scroll-snap-align: start; }
  .team-card img { width: 315px; height: 315px; aspect-ratio: auto; object-position: center top; }
  .faq { padding-top: 80px; }
  .faq-intro { padding-left: 20px; padding-right: 20px; }
  .faq-list { width: calc(100% - 40px); margin-top: 46px; }
  summary { font-size: 17px; }
  .still-questions { padding: 78px 20px 118px; }
  .footer-main { gap: 56px; }
  .footer-copy h2 { font-size: 41px; }
  .footer-nav { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom div { gap: 16px; }
}


/* ── Legal / Privacy Policy page ─────────────────────────────────── */
.legal-page {
  background: #fff;
}
.legal-header {
  padding-top: 24px;
  background: linear-gradient(180deg, #f6f7f8 0%, #fff 100%);
}
.legal-hero {
  padding: 96px 0 72px;
  text-align: left;
  max-width: 940px;
}
.legal-back-link {
  display: inline-flex;
  margin-bottom: 34px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0;
}
.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.5;
}
.legal-main {
  background: #fff;
}
.legal-document {
  max-width: 940px;
  padding: 56px 0 118px;
}
.legal-document h1,
.legal-document h2,
.legal-document h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}
.legal-document h1 {
  margin: 0 0 38px;
  font-size: 42px;
  line-height: 1.12;
}
.legal-document h2 {
  margin: 54px 0 18px;
  padding-top: 18px;
  border-top: 1px solid #d8d8d8;
  font-size: 28px;
  line-height: 1.2;
}
.legal-document h3 {
  margin: 34px 0 14px;
  font-size: 22px;
  line-height: 1.25;
}
.legal-document p,
.legal-document li {
  font-size: 16px;
  line-height: 1.65;
}
.legal-document p {
  margin: 0 0 18px;
}
.legal-document ul {
  margin: 0 0 24px 0;
  padding-left: 22px;
}
.legal-document li + li {
  margin-top: 8px;
}
.legal-document strong {
  font-weight: 600;
  color: var(--ink);
}
.legal-footer {
  padding-top: 0;
}
.legal-footer .footer-bottom {
  margin-top: 0;
}
@media (max-width: 769px) {
  .legal-header { padding-top: 20px; }
  .legal-hero {
    padding: 64px 0 48px;
  }
  .legal-hero h1 {
    font-size: 41px;
    line-height: 1.12;
    letter-spacing: -.035em;
  }
  .legal-hero p:not(.eyebrow) {
    font-size: 16px;
  }
  .legal-document {
    padding: 38px 0 88px;
  }
  .legal-document h1 { font-size: 34px; }
  .legal-document h2 { font-size: 25px; }
  .legal-document h3 { font-size: 20px; }
  .legal-document p,
  .legal-document li {
    font-size: 15px;
    line-height: 1.6;
  }
}


/* ── Cookie consent / minimal analytics preferences ──────────────── */
.footer-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-link:hover { opacity: .72; }

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(17, 17, 17, .96);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.cookie-consent[hidden],
.cookie-modal[hidden] { display: none !important; }
.cookie-consent h2,
.cookie-modal h2,
.cookie-modal h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}
.cookie-consent h2 {
  font-size: 24px;
  line-height: 1.2;
}
.cookie-consent p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}
.cookie-consent a { color: #fff; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.cookie-button:hover { transform: translateY(-1px); }
.cookie-button.primary {
  border-color: #fff;
  background: #fff;
  color: #111;
}
.cookie-button.ghost { color: rgba(255,255,255,.84); }
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1010;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.44);
  backdrop-filter: blur(8px);
}
.cookie-modal-panel {
  position: relative;
  width: min(720px, calc(100% - 40px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}
.cookie-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}
.cookie-modal h2 {
  font-size: 32px;
  line-height: 1.14;
}
.cookie-modal-intro {
  margin: 0 0 22px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.cookie-close {
  appearance: none;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.cookie-option h3 {
  font-size: 21px;
  line-height: 1.25;
}
.cookie-option p {
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}
.cookie-status {
  display: inline-flex;
  min-width: 108px;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 32px;
  align-items: center;
}
.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d8d8d8;
  cursor: pointer;
  transition: background .2s ease;
}
.cookie-slider::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.cookie-switch input:checked + .cookie-slider { background: #111; }
.cookie-switch input:checked + .cookie-slider::after { transform: translateX(26px); }
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cookie-modal-actions .cookie-button {
  color: #111;
  border-color: #111;
}
.cookie-modal-actions .cookie-button.primary {
  background: #111;
  color: #fff;
}
.cookie-modal-actions .cookie-button.ghost {
  color: #444;
  border-color: var(--line);
}
.legal-cookie-button { margin-top: 10px; }

@media (max-width: 769px) {
  .cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
  }
  .cookie-consent h2 { font-size: 22px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-button { flex: 1 1 100%; }
  .cookie-modal-panel {
    width: calc(100% - 28px);
    max-height: calc(100vh - 28px);
    margin: 14px auto;
    padding: 22px;
    border-radius: 24px;
  }
  .cookie-modal h2 { font-size: 27px; }
  .cookie-option {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cookie-status { width: fit-content; }
  .cookie-modal-actions { justify-content: stretch; }
}


/* Off-screen mount for the official Google Calendar scheduling button.
   Our visible CTA keeps the DocuSphere styling; the Google widget is created lazily on click. */
.calendar-scheduling-proxy {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

[data-calendar-booking][aria-busy="true"] {
  cursor: wait;
  opacity: .78;
}
