/* MyDigitalOrganization marketing site.
   One body of water: the app's palette (warm paper, wire blue, ember) let
   loose into gradients, glass and soft light. Everything that moves
   moves slowly, on the same curve, and stops under reduced motion. */

:root {
  --paper: #f4f1ea;
  --panel: #fdfcf9;
  --white: #ffffff;
  --ink: #1a2433;
  --ink-dim: #3b4859;
  --blue: #005c98;
  --blue-bright: #0b6fb4;
  --blue-hover: #004b80;
  --teal: #1fb3b8;
  --violet: #7a5fd0;
  --problem: #b03f00;
  --ember: #e2742f;
  --problem-tint: #f6e9e1;
  --shadow-tool: #8d5406;
  --tool: #00606a;
  --record: #5b3f9e;
  --person: #2f6b45;
  --win: #2f6b45;
  --line: rgba(26, 36, 51, 0.12);
  --line-soft: rgba(26, 36, 51, 0.07);
  --team-line: #2c5a8f;
  --on-dark-accent: #9fd4ec;
  --on-dark-dim: #c9c4b8;
  --on-blue-dim: #dbe8f3;

  --grad: linear-gradient(120deg, var(--blue-bright) 0%, var(--teal) 52%, var(--violet) 100%);
  --grad-soft: linear-gradient(135deg, rgba(11,111,180,.14), rgba(31,179,184,.12) 50%, rgba(122,95,208,.14));
  --glass: rgba(253, 252, 249, 0.72);
  --glass-line: rgba(255, 255, 255, 0.7);
  --shadow: 0 20px 60px -24px rgba(26, 36, 51, 0.28), 0 2px 8px -2px rgba(26, 36, 51, 0.08);
  --shadow-sm: 0 10px 30px -18px rgba(26, 36, 51, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --max: 1200px;
  --gutter: 24px;
  --header-h: 68px;
  --radius: 22px;
  --h2: clamp(32px, 3.8vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html:not(.is-smooth) { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

/* the current, under everything */
#river { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* the river wrapper: fixed and translated by flow.js when smooth scrolling is on */
.flow { position: relative; z-index: 1; }
html.is-smooth .flow { position: fixed; top: 0; left: 0; width: 100%; will-change: transform; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-blue :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--white);
  font-weight: 600; text-decoration: none; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker--dim { color: var(--ink-dim); }
.kicker--small { font-size: 12px; }

.lede { color: var(--ink-dim); font-size: 19px; }
h2 { font-size: var(--h2); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
h3 { font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; }

.note { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-dim); font-style: italic; }
.placeholder { color: var(--ink-dim); }

/* ---------- Arrivals ---------- */

[data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  text-decoration: none; text-align: center; white-space: nowrap;
  border: 1px solid var(--line); color: var(--ink); background: var(--glass);
  border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(26,36,51,.22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary {
  background: var(--grad); border-color: transparent; color: var(--white); font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(11, 111, 180, 0.65);
}
.btn--primary:hover { background: var(--grad); color: var(--white); box-shadow: 0 18px 40px -14px rgba(31, 179, 184, 0.7); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; min-height: 48px; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); font-weight: 600; min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn--light:hover { background: var(--paper); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.55);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(253, 252, 249, 0.72); box-shadow: 0 10px 30px -24px rgba(26,36,51,.35); }
.site-header .wrap {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; font-weight: 500;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; }

.nav-main ul { display: flex; gap: 8px 22px; font-size: 15px; }
.nav-main a, .nav-mobile a {
  display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
  color: var(--ink-dim); text-decoration: none; position: relative;
}
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-main a:hover { color: var(--ink); }
.nav-main a:hover::after { transform: scaleX(1); }
.nav-mobile a:hover { color: var(--ink); }

.header-ctas { display: flex; gap: 10px; }
.short-label { display: none; }

.nav-mobile { display: none; padding-top: var(--header-h); }
.nav-mobile ul { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 15px; }

@media (max-width: 1240px) {
  .nav-main { display: none; }
  .nav-mobile { display: block; }
}
@media (max-width: 640px) {
  .header-ctas .btn:not(.btn--primary) { display: none; }
  .header-ctas .long-label { display: none; }
  .header-ctas .short-label { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: calc(var(--header-h) + 64px); padding-bottom: 48px;
  display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center;
  min-height: 92vh;
}
@media (max-width: 1240px) { .hero { padding-top: 40px; } }
.hero__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; font-weight: 700;
  letter-spacing: -0.03em; text-wrap: balance;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 20px; color: var(--ink-dim); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fine { font-size: 14px; color: var(--ink-dim); }

/* the bubble */
.bubble {
  flex: 1 1 480px; min-width: 0; max-width: 640px;
  display: flex; flex-direction: column; gap: 14px;
}
.bubble__label { font-size: 12px; min-height: 1.4em; color: var(--teal); transition: color .8s var(--ease); }
.bubble__label.is-hurt { color: var(--ember); }
#blob {
  /* the drawing surface is much larger than the column it sits in, so the
     third parties and the stream have room; it is transparent and clicks
     pass through it to whatever is underneath */
  position: relative; width: 128%; max-width: none; aspect-ratio: 1.3 / 1;
  margin: -4% -14% -8%;
  background: none; border-radius: 0; overflow: visible; pointer-events: none;
}
#blob { --hurt: 1; --glow: 0; }
/* the halo that blooms behind the skin for a moment when the company becomes whole */
#blob::before {
  content: ""; position: absolute; inset: -4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.0) 44%, rgba(120, 190, 255, 0.42) 58%, rgba(225, 242, 255, 0.5) 74%, rgba(255, 255, 255, 0) 100%);
  filter: blur(34px); opacity: var(--glow); pointer-events: none;
}
/* a warm contact shadow on the paper, never a black one; the piece has no panel */
#blob::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 6%; height: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(176, 160, 136, 0.42), rgba(176, 160, 136, 0) 100%);
  filter: blur(14px); pointer-events: none;
}
#blob canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
/* the CSS blob, for the no-WebGL case: a gooey morph with a glossy highlight */
.blob__fallback {
  position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: var(--grad);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  box-shadow: inset -20px -24px 50px rgba(0,0,0,.18), inset 18px 20px 40px rgba(255,255,255,.35), 0 30px 60px -30px rgba(11,111,180,.5);
  animation: goo 9s ease-in-out infinite alternate;
}
.blob__fallback::after { content: ""; position: absolute; left: 22%; top: 16%; width: 28%; height: 20%; border-radius: 50%; background: rgba(255,255,255,.7); filter: blur(10px); }
#blob.has-gl .blob__fallback { display: none; }
@keyframes goo {
  0%   { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; }
  50%  { border-radius: 44% 56% 42% 58% / 60% 40% 60% 40%; }
  100% { border-radius: 52% 48% 60% 40% / 42% 58% 46% 54%; }
}
  padding: 8px 0 8px 16px; border-left: 3px solid var(--line-soft); border-radius: 2px;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.bubble__acts li strong { font-weight: 600; color: inherit; }
@media (max-width: 1080px) { .bubble { max-width: none; } }

/* ---------- Waves between sections ---------- */

.wave { display: block; width: 100%; height: 72px; overflow: hidden; line-height: 0; margin: -1px 0; }
.wave svg { display: block; width: 200%; height: 100%; animation: drift 26s linear infinite; }
.wave--flip svg { animation-name: drift-flip; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift-flip { from { transform: scaleY(-1) translateX(0); } to { transform: scaleY(-1) translateX(-50%); } }

/* ---------- Pilot strip ---------- */

.band { position: relative; background: var(--grad-soft); }
.pilots {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center;
  font-size: 15px; color: var(--ink-dim);
}
.pilots .kicker { color: var(--ink-dim); font-size: 12px; letter-spacing: 0.12em; }
.pilot { display: inline-flex; align-items: center; min-height: 44px; opacity: .78; transition: opacity .3s; }
.pilot:hover { opacity: 1; }
.pilot img { display: block; width: auto; max-width: 160px; }

/* ---------- Generic sections ---------- */

.section { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 44px; }
.section__intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }

/* a card is a glass panel on the water */
.panel, .plan, .map-card, .problems li {
  background: rgba(253, 252, 249, 0.86); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}

/* Problems grid */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.problems li { border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.problems li:hover { transform: translateY(-4px); }
.problems .kicker { color: var(--problem); letter-spacing: 0.06em; }
.problems__text { font-size: 19px; font-weight: 500; }

/* Comparison */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.compare li { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--line); padding-top: 16px; }
.compare strong { font-weight: 600; }
.compare li > span { color: var(--ink-dim); font-size: 16px; }
.compare .is-ours { border-image: var(--grad) 1; }
.compare .is-ours strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Steps: a line of stones across the water */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; position: relative; padding-top: 18px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 4px; border-radius: 4px; background: var(--grad); }
.steps h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.steps p { color: var(--ink-dim); font-size: 16px; }

/* Feature rows */
.features { gap: 96px; }
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature--reverse { flex-wrap: wrap-reverse; }
.feature__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature__copy p { color: var(--ink-dim); }
.panel {
  flex: 1 1 480px; min-width: 0; border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.panel:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -28px rgba(26, 36, 51, 0.35); }

.panel__lead { font-size: 18px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats div { background: var(--problem-tint); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.stats dt { font-size: 13px; color: var(--ink-dim); }
.stats dd { margin: 0; font-family: var(--mono); font-size: 18px; color: var(--problem); }
.panel__foot { font-size: 13px; color: var(--ink-dim); }

.panel--list { padding: 0; gap: 0; overflow: hidden; }
.panel--list .kicker { padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }

/* Schema sketch */
.panel--schema { gap: 10px; }
.schema-sketch { width: 100%; height: auto; }
.schema-team rect:first-child { fill: var(--white); stroke: var(--team-line); stroke-width: 1.5; }
.schema-team--outside rect:first-child { stroke: var(--ink-dim); stroke-dasharray: 4 3; }
.schema-name { fill: var(--team-line); opacity: .45; }
.schema-team text { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--ink); }
.schema-cost { font-family: var(--mono); font-size: 12px; fill: var(--problem); font-weight: 600; }
.panel--schema figcaption { font-size: 13px; color: var(--ink-dim); }
.schema-sketch .flow-line { stroke-dasharray: 6 8; animation: flowline 2.4s linear infinite; }
@keyframes flowline { to { stroke-dashoffset: -28; } }

/* Opportunities */
.opp-row {
  padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--line-soft); transition: background-color .3s;
}
.opp-row:hover { background: rgba(255,255,255,.5); }
.opp-row:last-child { border-bottom: 0; }
.opp-row > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.opp-row strong { font-weight: 500; font-size: 15px; }
.opp-row span:not([class]) { font-size: 13px; color: var(--ink-dim); }
.opp-row__figure { font-family: var(--mono); color: var(--problem); white-space: nowrap; }
.opp-row__ask { font-size: 13px; padding: 7px 12px; border: 1px solid var(--blue); border-radius: 999px; color: var(--blue); white-space: nowrap; }
.opp-row--fixed strong { color: var(--ink-dim); text-decoration: line-through; text-decoration-color: var(--line); }
.opp-row--fixed .opp-row__figure { color: var(--win); }

/* Quality */
.quality__score { font-family: var(--mono); font-size: 36px; font-weight: 600; color: var(--win); line-height: 1.1; }
.quality__score small { font-size: 14px; font-weight: 400; color: var(--ink-dim); }
.quality__bar { height: 8px; background: var(--line-soft); border-radius: 8px; overflow: hidden; }
.quality__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--win)); border-radius: 8px; transform-origin: left; transition: transform 1.4s var(--ease) .3s; transform: scaleX(0); }
.is-in .quality__bar span { transform: scaleX(1); }
.quality__missing { color: var(--problem); margin-top: 6px; }
.quality__list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-dim); background: var(--problem-tint); border-radius: 14px; padding: 14px 16px; }
.quality__list strong { color: var(--ink); font-weight: 600; }

/* ---------- The sample ---------- */

.sample { align-items: flex-start; }
.map-card {
  width: 100%; max-width: 780px; border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.map-card__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--blue);
}
.map-card__head strong { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.map-card__head span:last-child { color: var(--ink-dim); }

.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team {
  border: 1px solid rgba(44, 90, 143, 0.25); background: rgba(255,255,255,.7);
  border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.team:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.team--worst { border: 2px solid var(--ember); padding: 13px; }
.team__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; align-items: baseline; }
.team__name { font-weight: 600; font-size: 15px; }
.team__count { font-family: var(--mono); font-size: 12px; color: var(--problem); }
.team__people { font-size: 13px; color: var(--ink-dim); }
.team__lost { font-family: var(--mono); font-size: 13px; color: var(--problem); }
.team--worst .team__lost { font-weight: 600; }
.team--none .team__count, .team--none .team__lost { color: var(--ink-dim); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--tool); border-radius: 999px; color: var(--tool); }
.chip--self { border-style: dashed; border-color: var(--shadow-tool); color: var(--shadow-tool); }

.map-card__total {
  border-top: 1px solid var(--line-soft); padding-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline;
  font-size: 15px;
}
.map-card__hours { font-family: var(--mono); font-size: 24px; font-weight: 600; color: var(--problem); }
.map-card__legend { font-size: 12px; color: var(--ink-dim); }
.map-card .btn--block { margin-top: 4px; }

/* ---------- For employees (deep water) ---------- */

.on-dark {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #141c2b 0%, #1a2438 45%, #24204a 100%); color: var(--paper);
}
.on-dark::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -18vw; top: -24vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,179,184,.32), rgba(122,95,208,.18) 50%, rgba(0,0,0,0) 100%);
  animation: breathe 14s ease-in-out infinite alternate; will-change: transform;
}
@keyframes breathe { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }
.on-dark a { color: var(--on-dark-accent); }
.employees { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 56px; }
.employees__copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.employees__copy .kicker { color: var(--on-dark-accent); }
.employees__copy p { color: var(--on-dark-dim); }
.promises { flex: 1 1 520px; min-width: 0; border-top: 1px solid rgba(255,255,255,.14); }
.promises li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.promises .promises__last { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-accent); }

/* ---------- Where the data goes ---------- */

.data { padding-top: 88px; padding-bottom: 88px; gap: 28px; }
.data h2 { font-size: 30px; }
.data-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.data-grid li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--ink); padding-top: 14px; }
.data-grid strong { font-weight: 600; }
.data-grid li > span { font-size: 15px; color: var(--ink-dim); }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan {
  border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-5px); }
.plan--featured { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; }
.plan h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.plan__price { font-family: var(--mono); font-size: 36px; font-weight: 600; line-height: 1.2; }
.plan__price small { font-size: 15px; font-weight: 400; color: var(--ink-dim); }
.plan p { color: var(--ink-dim); font-size: 15px; }
.plan .btn { margin-top: auto; }
.pricing-note { font-size: 14px; color: var(--ink-dim); }

/* ---------- Testimonials ---------- */

.quotes { padding-top: 112px; padding-bottom: 112px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quotes figure { border-left: 3px solid var(--teal); padding: 4px 0 4px 22px; display: flex; flex-direction: column; gap: 12px; }
.quotes blockquote { font-size: 22px; line-height: 1.45; font-weight: 300; }
.quotes figcaption { font-size: 14px; color: var(--ink-dim); }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) 112px; display: flex; flex-direction: column; gap: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 20px 0;
  font-weight: 600; font-size: 19px; transition: color .3s;
}
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 300; color: var(--teal); font-size: 24px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-dim); }

/* ---------- Final CTA: the sea ---------- */

.on-blue { position: relative; overflow: hidden; background: var(--grad); color: var(--white); }
.on-blue::after {
  content: ""; position: absolute; left: -10%; bottom: -60%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.26), rgba(255,255,255,0) 72%);
  animation: breathe 16s ease-in-out infinite alternate-reverse; will-change: transform;
}
.cta-band { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-band p { font-size: 18px; color: var(--on-blue-dim); }

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 44px; padding-bottom: 44px;
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink-dim);
}
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-footer .note { display: inline; margin: 0 0 0 4px; }
main:focus { outline: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .steps, .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Phones: the piece comes first, the water stays, the glass goes ---------- */

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .problems { grid-template-columns: minmax(0, 1fr); }
  .section, .employees, .quotes { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .faq { padding-bottom: 56px; }
  .cta-band { padding-top: 56px; padding-bottom: 56px; }
  .features { gap: 56px; }
  .feature { gap: 20px; }
  .feature--reverse { flex-wrap: wrap; } /* copy first, then the panel, on a phone */
  .feature--reverse > .feature__copy { order: -1; }
  h2 { font-size: clamp(28px, 8vw, 34px); }
  h3 { font-size: 22px; }
  .lede { font-size: 17px; }
  .wave { height: 36px; }
  .nav-mobile .wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-mobile .wrap::-webkit-scrollbar { display: none; }
  .nav-mobile ul { flex-wrap: nowrap; gap: 0 18px; }
  .nav-mobile a { min-height: 40px; font-size: 14px; }
  /* glass is expensive on a phone and reads as plain paper anyway */
  .panel, .plan, .map-card, .problems li, .btn, .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .panel, .plan, .map-card, .problems li { background: rgba(253, 252, 249, 0.92); box-shadow: 0 12px 32px -20px rgba(26, 36, 51, 0.3); }
  .site-header { background: rgba(244, 241, 234, 0.92); }
  [data-reveal] { filter: none; transform: translate3d(0, 16px, 0); transition-duration: .6s; }
  .panel:hover, .plan:hover, .problems li:hover, .team:hover { transform: none; }

  /* the hero: headline, then the story, then the ask */
  .hero { min-height: 0; padding-top: 28px; padding-bottom: 36px; gap: 20px; flex-direction: column; flex-wrap: nowrap; }
  .hero__copy { display: contents; }
  .hero__copy > .kicker { order: 1; }
  .hero h1 { order: 2; font-size: clamp(34px, 10vw, 44px); }
  .bubble { order: 3; max-width: none; gap: 8px; flex: none; width: 100%; }
  #blob { width: 100%; margin: 0; aspect-ratio: 1.25 / 1; max-height: 48vh; }
  .hero__sub { order: 4; font-size: 17px; }
  .hero__ctas { order: 5; }
  .hero__fine { order: 6; font-size: 13px; }
  .bubble__label { font-size: 11px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 18px; }
  .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .map-card { padding: 16px; }
  .steps, .data-grid { grid-template-columns: minmax(0, 1fr); }
  .problems li { padding: 20px; }
  .problems__text { font-size: 17px; }
  .plan { padding: 22px; }
  .quotes blockquote { font-size: 19px; }
  .faq summary { font-size: 17px; }
  .cta-band .btn--light { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .brand { font-size: 12px; letter-spacing: 0.06em; }
  .nav-mobile ul { gap: 0 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .quality__bar span { transform: scaleX(1); }
}
