/* ==========================================================================
   UnderstandUrself — stylesheet
   Written by hand. No framework, no build step.

   Palette is derived from the logo: a luminous strand of cyan → violet →
   magenta on near-black. The dark canvas is not decoration — it is the
   product's promise made visual: your data sits in the dark, and only you
   hold the light.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Canvas — warm paper, never pure white, never dark. */
  --ink: #f7f6f2; /* --paper */
  --ink-raised: #ffffff; /* --card  */
  --ink-card: #ffffff;
  --hairline: rgba(25, 27, 22, 0.12);
  --hairline-strong: rgba(25, 27, 22, 0.26);

  /* Brand accents — the logo's blue → green, and nothing else.
     Token names are historical; only these two ends are canonical.
     --violet is the midpoint of the ramp, used where a third stop is needed. */
  --cyan: #2e7fd2; /* --brand-blue  */
  --violet: #3f9790; /* ramp midpoint */
  --magenta: #4faf4e; /* --brand-green */

  /* Surface tints — backgrounds only, never text. */
  --sage: #dfe9d6;
  --lavender: #e6e2f2;
  --rose: #f2e4df;

  /* Type */
  --text: #191b16;
  --text-dim: #565a4f;
  --text-faint: #8b8e81;

  /* Gradients */
  --strand: linear-gradient(90deg, #2e7fd2, #4faf4e);
  --strand-soft: linear-gradient(
    90deg,
    rgba(46, 127, 210, 0.9),
    rgba(79, 175, 78, 0.9)
  );

  /* Type scale */
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 11vh, 140px);
  --measure: 62ch;

  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* No ambient glows: the design system calls for flat colour, so this layer
   is kept only as a hook and draws nothing. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: none;
  pointer-events: none;
}

/* Very fine grain, so the large flat areas do not band. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: rgba(46, 127, 210, 0.18);
  color: #191b16;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link, for keyboard users. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ink-card);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Type primitives
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--strand);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(30px, 4.6vw, 54px);
  margin: 18px 0 20px;
  max-width: 20ch;
}

.section-title em {
  font-style: normal;
  background: var(--strand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: var(--measure);
  line-height: 1.7;
}

.mono-note {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 900px;
}

.band {
  padding-block: var(--section-y);
  position: relative;
}

.band--hairline {
  border-top: 1px solid transparent;
}

/* Section rules are light, not grey lines. */
.band--hairline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(46, 127, 210, 0.45) 25%,
    rgba(79, 175, 78, 0.45) 70%,
    transparent
  );
}

.band-head {
  margin-bottom: clamp(40px, 6vw, 68px);
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px var(--gutter);
  background: rgba(247, 246, 242, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

#navbar.is-scrolled {
  background: rgba(247, 246, 242, 0.94);
  border-bottom-color: var(--hairline);
}

#nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

#nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

#nav-logo span {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

#nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

#nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--strand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}

#nav-links a:hover {
  color: var(--text);
}

#nav-links a:hover::after,
#nav-links a.active::after {
  transform: scaleX(1);
}

#nav-links a.active {
  color: var(--text);
}

#hamburger {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  width: 40px;
  height: 38px;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn--primary {
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 6px 18px -12px rgba(25, 27, 22, 0.75);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(25, 27, 22, 0.8);
}

.btn--ghost {
  border-color: var(--hairline-strong);
  color: var(--text);
  background: #ffffff;
}

.btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   7. Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   8. Hero — the signature
   -------------------------------------------------------------------------- */

#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 140px calc(38vh + 50px);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-mark {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px -14px rgba(25, 27, 22, 0.4);
}

.hero-title {
  font-size: clamp(38px, 7.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  max-width: 15ch;
  margin-bottom: 26px;
}

.hero-title .glow {
  background: var(--strand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  font-size: clamp(16px, 1.9vw, 20px);
  color: var(--text-dim);
  max-width: 58ch;
  line-height: 1.68;
  margin-bottom: 34px;
}

.hero-meta {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}

.hero-meta span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* The strand: an SVG ribbon with data points travelling along it. */
#strand-stage {
  position: absolute;
  inset: auto 0 0 0;
  height: 38vh;
  min-height: 240px;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

#strand-stage svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.strand-path {
  fill: none;
  stroke: url(#strandGradient);
  stroke-width: 2;
  opacity: 1;
}

.strand-path--ghost {
  stroke: rgba(25, 27, 22, 0.12);
  stroke-width: 1;
}

/* Nodes are positioned by JS along the path. */
.strand-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.strand-node.is-lit {
  opacity: 1;
}

.strand-node .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.strand-node .dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.strand-node .dot--violet {
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}
.strand-node .dot--magenta {
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}

.strand-node .stamp {
  color: var(--text-faint);
}

/* "today" marker at the right edge of the strand */
.strand-now {
  position: absolute;
  right: 9%;
  bottom: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(79, 175, 78, 0.5),
    transparent
  );
}

.strand-now::after {
  content: "today";
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(70, 150, 70, 0.9);
}

/* --------------------------------------------------------------------------
   9. Home — problem statement
   -------------------------------------------------------------------------- */

.claim {
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.claim-note {
  margin-top: 26px;
  color: var(--text-dim);
  max-width: 52ch;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: baseline;
}

.stat:last-child {
  border-bottom: 1px solid var(--hairline);
}

.stat dt {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--strand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 3.6ch;
}

.stat dd {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

.stat dd b {
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Home — the four capabilities
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--ink);
  padding: clamp(28px, 3.6vw, 46px);
  position: relative;
  transition: background 0.4s var(--ease);
}

.pillar:hover {
  /* background-color only, so the tint layer below survives the hover. */
  background-color: var(--ink-raised);
}

/* Each capability takes one of the three logo colours, so the grid reads as
   a spectrum rather than four identical boxes. */
.pillar:nth-child(1) {
  background: var(--sage);
}

.pillar:nth-child(2) {
  background: var(--ink-raised);
}

.pillar:nth-child(3) {
  background: var(--lavender);
}

.pillar:nth-child(4) {
  background: var(--rose);
}

.pillar-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}

.pillar h3 {
  font-size: clamp(19px, 2.1vw, 25px);
  margin: 16px 0 12px;
  line-height: 1.2;
}

.pillar p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.68;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--strand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar:hover::before {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   11. Home — look-back card (product demonstration)
   -------------------------------------------------------------------------- */

.lookback {
  background: var(--ink-raised);
  box-shadow: 0 10px 30px -26px rgba(25, 27, 22, 0.5);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 40px);
  position: relative;
  overflow: hidden;
}

.lookback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.lookback-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 22px;
}

.lookback-head .mono-note {
  color: var(--cyan);
}

.lookback-quote {
  font-family: var(--display);
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.lookback-rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  z-index: 1;
}

.lookback-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
  color: var(--text-dim);
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(25, 27, 22, 0.08);
}

.lookback-row time {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-faint);
}

.lookback-foot {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Home — how it works (steps)
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid transparent;
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.85;
  background: linear-gradient(
    90deg,
    var(--cyan),
    rgba(79, 175, 78, 0.3) 70%,
    transparent
  );
}

.step:nth-child(1)::before {
  color: var(--cyan);
}
.step:nth-child(2)::before {
  color: var(--violet);
}
.step:nth-child(3)::before {
  color: var(--magenta);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--violet);
  position: absolute;
  top: -1px;
  left: 0;
  padding-top: 8px;
}

.step h3 {
  font-size: 20px;
  margin: 26px 0 11px;
}

.step p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   13. Privacy band (shared: home + privacy page)
   -------------------------------------------------------------------------- */

.seal {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.4vw, 62px);
  background: var(--sage);
  border-color: rgba(25, 27, 22, 0.1);
  position: relative;
  overflow: hidden;
}

.seal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--strand);
  opacity: 0.7;
}

.seal-claim {
  font-family: var(--display);
  font-size: clamp(21px, 2.9vw, 34px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.022em;
  max-width: 26ch;
}

.seal-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.seal-item h4 {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.seal-item p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. Values / layers / phases — the shared "list-item" pattern
   -------------------------------------------------------------------------- */

.list-block {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.list-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(30px, 3.6vw, 46px) 0;
  border-top: 1px solid var(--hairline);
  transition: border-color 0.4s var(--ease);
}

.list-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.list-item:hover {
  border-top-color: var(--hairline-strong);
}

.list-marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--violet);
  padding-top: 9px;
}

.list-body h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.list-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.72;
  max-width: 64ch;
}

.list-body p + p {
  margin-top: 14px;
}

.list-body strong {
  color: var(--text);
  font-weight: 600;
}

.list-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.list-body a:hover {
  color: var(--magenta);
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--text-dim);
  font-weight: 500;
}

.tag--now {
  border-color: rgba(46, 127, 210, 0.45);
  color: var(--cyan);
}

.tag--next {
  border-color: rgba(79, 175, 78, 0.45);
  color: var(--violet);
}

blockquote {
  position: relative;
  padding-left: 20px;
  margin: 16px 0;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  font-style: italic;
}

blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
}

blockquote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

/* Checklists inside list items (roadmap tasks) */
.ticks {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ticks li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 13px;
  align-items: start;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 8px;
  background: var(--violet);
  box-shadow: none;
}

.ticks--future li::before {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   15. Team
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-card {
  background: var(--ink-raised);
  padding: clamp(24px, 2.6vw, 34px);
  transition: background 0.35s var(--ease);
}

.team-card:hover {
  background: var(--ink-raised);
}

.team-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  filter: none;
  transition:
    filter 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.team-card:hover img {
  filter: none;
  transform: scale(1.04);
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 13px;
}

.team-card .detail {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Ownership table */
.owns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
}

.own {
  background: var(--ink-raised);
  padding: 28px clamp(20px, 2.4vw, 30px);
}

.own h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.own .who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.own p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */

.contact-primary {
  font-family: var(--display);
  font-size: clamp(22px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  background: var(--strand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  word-break: break-word;
}

.contact-primary:hover {
  opacity: 0.82;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(296px, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.person:hover {
  border-color: var(--hairline-strong);
  background: var(--ink-raised);
  transform: translateY(-2px);
}

.person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.person-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.person-mail {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-faint);
  /* Break only if the address genuinely cannot fit, never mid-word by
     default. Cards are sized above so it normally never triggers. */
  overflow-wrap: anywhere;
  word-break: normal;
}

/* --------------------------------------------------------------------------
   17. Impressum / legal prose
   -------------------------------------------------------------------------- */

.legal-block {
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
}

.legal-block:last-of-type {
  border-bottom: 1px solid var(--hairline);
}

.legal-block h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.legal-block p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.72;
  max-width: 68ch;
}

.legal-block a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   18. Closing CTA
   -------------------------------------------------------------------------- */

.closer {
  text-align: center;
  padding-block: clamp(80px, 12vh, 150px);
  border-top: 1px solid var(--hairline);
}

.closer h2 {
  font-size: clamp(28px, 5vw, 56px);
  max-width: 18ch;
  margin: 20px auto 22px;
}

.closer .lede {
  margin: 0 auto 34px;
  text-align: center;
}

.closer .eyebrow {
  justify-content: center;
}

.closer .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   19. Disclaimer + footer
   -------------------------------------------------------------------------- */

.disclaimer {
  border-top: 1px solid var(--hairline);
  padding-block: 30px;
}

.disclaimer p {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  max-width: 88ch;
}

#footer {
  border-top: 1px solid var(--hairline);
  padding: 30px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: rgba(242, 240, 234, 0.85);
}

.footer-text {
  font-size: 12.5px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-links a {
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   20. Page headers (inner pages)
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(130px, 18vh, 190px) clamp(40px, 6vw, 70px);
}

.page-head h1 {
  font-size: clamp(34px, 6vw, 68px);
  margin: 20px 0 22px;
  max-width: 17ch;
}

.page-head h1 em {
  font-style: normal;
  background: var(--strand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .split,
  .steps,
  .pillars,
  .seal-grid {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 44px;
  }

  .pillars {
    border-radius: var(--radius);
  }
}

@media (max-width: 768px) {
  #hamburger {
    display: block;
  }

  #nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--gutter) 26px;
    background: rgba(252, 251, 248, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hairline);
  }

  #nav-links.open {
    display: flex;
  }

  #nav-links a {
    font-size: 17px;
    padding: 11px 0;
    width: 100%;
  }

  #nav-links a::after {
    display: none;
  }

  .list-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .list-marker {
    padding-top: 0;
  }

  .stat {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #strand-stage {
    height: 30vh;
    min-height: 190px;
  }

  .strand-node.is-secondary {
    display: none;
  }

  .strand-node {
    font-size: 10px;
    padding: 6px 10px 6px 8px;
  }

  .lookback-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  #footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .closer .eyebrow {
    justify-content: flex-start;
  }

  .closer {
    text-align: left;
  }

  .closer h2,
  .closer .lede {
    margin-inline: 0;
    text-align: left;
  }

  .closer .btn-row {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   22. Reduced motion
   -------------------------------------------------------------------------- */

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .strand-node {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   23. SVG gradient stops
   --------------------------------------------------------------------------
   Driven from CSS so the strand always follows the accent tokens above.
   -------------------------------------------------------------------------- */

.strand-stop-a {
  stop-color: var(--cyan);
}
.strand-stop-b {
  stop-color: var(--violet);
}
.strand-stop-c {
  stop-color: var(--magenta);
}

/* ==========================================================================
   24. Accents in use
   --------------------------------------------------------------------------
   Where the brand blue and green actually appear. Nothing new is introduced
   here: the same two accents and the three surface tints, applied to labels,
   timestamps, hover and active states, and source dots, so the page is not
   only black type on paper.

   The black action pill is deliberately left alone. It is the one hard
   element in the system, and colouring it would cost the page its calm.
   ========================================================================== */

/* ---- Labels and eyebrows ------------------------------------------------- */

.eyebrow {
  color: var(--cyan);
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  border-radius: 2px;
}

.pillar-index {
  color: var(--cyan);
}

.mono-note {
  color: var(--violet);
}

/* ---- Navigation ---------------------------------------------------------- */

#nav-links a.active {
  color: var(--cyan);
}

#nav-links a:hover {
  color: var(--cyan);
}

.footer-links a:hover {
  color: var(--cyan);
}

#nav-logo span {
  background: var(--strand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Secondary button: colour on hover, black pill untouched -------------- */

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---- Hero meta: source dots, in the blue→green range ---------------------- */

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-meta span:nth-child(2)::before {
  background: var(--violet);
}

.hero-meta span:nth-child(3)::before {
  background: var(--magenta);
}

/* ---- Statistics ---------------------------------------------------------- */

.stat {
  transition: border-color 0.24s var(--ease);
}

.stat:hover {
  border-top-color: var(--cyan);
}

.stat dd b {
  color: var(--cyan);
}

/* ---- Capability tiles ---------------------------------------------------- */

.pillar h3 {
  transition: color 0.24s var(--ease);
}

.pillar:hover h3 {
  color: var(--cyan);
}

.pillar:nth-child(2):hover {
  background-color: var(--sage);
}

/* ---- Look-back card: timestamps and source dots --------------------------- */

.lookback-row time {
  color: var(--violet);
}

.lookback-row time::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--cyan);
}

.lookback-row:nth-child(2) time::before {
  background: var(--violet);
}

.lookback-row:nth-child(3) time::before {
  background: var(--magenta);
}

.lookback-row:nth-child(4) time::before {
  background: var(--cyan);
}

.lookback-quote {
  background: var(--lavender);
  border-radius: var(--radius);
  padding: 18px 20px;
}

/* ---- Steps: numbered chips ----------------------------------------------- */

.step::before {
  background: var(--sage);
  color: var(--cyan);
  border-radius: 999px;
  padding: 4px 10px;
  top: 10px;
}

.step:nth-child(2)::before {
  background: var(--lavender);
  color: var(--violet);
}

.step:nth-child(3)::before {
  background: var(--rose);
  color: var(--magenta);
}

.step {
  padding-top: 40px;
}

/* ---- Privacy panel ------------------------------------------------------- */

.seal-item h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seal-item h4::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.seal-item:nth-child(2) h4::before {
  background: var(--violet);
}

.seal-item:nth-child(3) h4::before {
  background: var(--magenta);
}

/* ---- Links and pressed states -------------------------------------------- */

a:active,
.btn:active {
  color: var(--magenta);
}

.btn--primary:active {
  color: #ffffff;
  background: var(--cyan);
}

.list-item:hover {
  border-top-color: var(--cyan);
}

/* --------------------------------------------------------------------------
   27. Inline text links
   --------------------------------------------------------------------------
   Links inside running prose. Previously these carried an inline colour,
   which outranks any :hover or :active rule and left them stuck on blue.
   -------------------------------------------------------------------------- */

.text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

.text-link:hover,
.text-link:active,
.text-link:focus-visible {
  color: var(--magenta);
}
