/* Dragonfly Labs — site styles
   White paper, graphite ink, one blue pen. Pictures move, text never does. */

:root {
  --paper: #ffffff;
  --ink: #1c1d1f;
  --pencil: #6e6f73;
  --hairline: #ececec;
  --soft: #f6f6f5;
  --pen: #1f6bff;
  --highlighter: #ffe866;
  --blue: #1666f5;
  --blue-deep: #0b4fd0;
  --blue-bright: #2e8bff;
  --sky: #7fd6ff;
  --blue-wash: #e8f1ff;
  --sky-wash: #e2f6ff;
  --alert: #b42318;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Nanum Pen Script", "Bradley Hand", "Segoe Print", cursive;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --spring: cubic-bezier(0.34, 1.5, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.2, 0.75, 0.2, 1);
  --lift: 0 1px 2px rgba(28, 29, 31, 0.06), 0 24px 56px -28px rgba(28, 29, 31, 0.32);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--pen); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; }
p + p { margin-top: 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--pencil); max-width: 54ch; }
.muted { color: var(--pencil); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Buttons and links */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0.7em 1.45em; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--spring), background-color 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(22, 102, 245, 0.65); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.97); }
.btn-quiet { background: var(--soft); color: var(--ink); }
.btn-quiet:hover { background: var(--hairline); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0.5em 1.15em; font-size: 0.95rem; }

.link {
  color: var(--ink); font-weight: 600; text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0% 2px no-repeat, linear-gradient(var(--hairline), var(--hairline)) 0 100% / 100% 2px no-repeat;
  transition: background-size 0.45s var(--ease-soft);
}
.link:hover { color: var(--ink); background-size: 100% 2px, 100% 2px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2rem; }
.actions.center { justify-content: center; }

/* Floating header: a white bar off the top of the page that slides away on scroll down */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--gutter) 0;
  transition: transform 0.3s var(--ease-out);
  pointer-events: none;
}
.site-header.away { transform: translateY(calc(-100% - 12px)); }
.bar {
  position: relative; pointer-events: auto;
  max-width: 1080px; margin: 0 auto; height: 62px; padding: 0 10px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  /* Glass: see-through white with blur, a bright edge, and a soft blue-graphite shadow */
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 20px rgba(22, 40, 90, 0.08);
  transition: box-shadow 0.3s ease;
}
/* Floating over content that moves underneath: a slightly deeper shadow */
.site-header.scrolled .bar { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 34px rgba(22, 40, 90, 0.14); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.025em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 32px; height: 32px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 10px 14px; border-radius: 999px; transition: background-color 0.15s ease; }
.site-nav a:not(.btn):hover { background: var(--soft); }
.site-nav a[aria-current="page"]:not(.btn) { background: var(--soft); }
.site-nav .btn { margin-left: 6px; }

.menu-toggle {
  display: none; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--soft); color: var(--ink); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}

@media (max-width: 760px) {
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: rgba(255, 255, 255, 0.62); border-radius: 24px;
    -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 34px rgba(22, 40, 90, 0.14);
    /* Glass never moves: the panel only fades, so the blur draws cleanly */
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .js .site-nav.open { opacity: 1; visibility: visible; transition: opacity 0.2s ease, visibility 0s; }
  .js .site-nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .js .site-nav .btn { margin: 6px 0 0; min-height: 50px; }
}

/* Sections */

.section { padding: clamp(72px, 9vw, 128px) 0; }
.fix { padding-top: clamp(40px, 5vw, 64px); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 1rem; color: var(--pencil); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */

.hero { padding: clamp(140px, 17vw, 200px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.045em; }
.hero .lede { margin-top: 1.4rem; }
.hero .actions { position: relative; justify-content: center; margin-top: 2.2rem; }

.cta-note { position: absolute; left: calc(50% + 118px); top: 50%; transform: translateY(-38%); display: flex; align-items: center; gap: 2px; pointer-events: none; }
.cta-note svg { width: 70px; height: 40px; overflow: visible; }
.cta-note .note { position: static; }
@media (max-width: 620px) { .cta-note { display: none; } }

/* Scenes: fixed-size pictures scaled to fit, so the pen notes stay on target */

.scene { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); overflow: hidden; border-radius: 10px; background: #fff; }
.canvas {
  position: absolute; left: 0; top: 0;
  width: calc(var(--w) * 1px); height: calc(var(--h) * 1px);
  transform: scale(var(--s, 1)); transform-origin: 0 0;
  font-size: 13px; line-height: 1.25; color: var(--ink);
}

.befores {
  perspective: 1600px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(56px, 8vw, 96px); padding: 0 clamp(0px, 2vw, 24px);
}
.polaroid {
  margin: 0; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--lift);
  transition: transform 1s var(--spring) 0.55s, opacity 0.6s ease 0.55s, rotate 0.6s var(--ease-soft);
}
.polaroid figcaption { padding: 12px 6px 4px; font-size: 0.95rem; color: var(--pencil); }
.tilt-l { transform: rotate(-2.2deg); }
.tilt-r { transform: rotate(1.8deg); }
.before { display: flex; flex-direction: column; min-width: 0; perspective: 1600px; }
.before-q { margin: 0 0 clamp(18px, 2.4vw, 28px); padding: 0 8px; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.15; letter-spacing: -0.03em; text-align: center; }
@media (max-width: 860px) { .before + .before { margin-top: 24px; } }
.discovery { margin: clamp(64px, 8vw, 104px) auto 0; max-width: 620px; text-align: center; }
.discovery p { margin: 1rem auto 0; max-width: 46ch; color: var(--pencil); }

.js .hero:not(.in) .polaroid { opacity: 0; transform: translateY(80px) rotate(0deg); }
.js .hero .tilt-r { transition-delay: 0.7s, 0.7s, 0s; }
.hero .polaroid .ink, .hero .polaroid .note { transition-delay: calc(var(--d, 0s) + 0.7s); }

@media (max-width: 860px) {
  .befores { grid-template-columns: 1fr; gap: 28px; padding: 0; }
  .tilt-l { transform: rotate(-1.2deg); }
  .tilt-r { transform: rotate(1deg); }
}

/* Pen: strokes draw themselves, notes write left to right */

.pen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ink {
  fill: none; stroke: var(--pen); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s ease-in-out var(--d, 0s);
}
.ink.fast { transition-duration: 0.28s; }
.note {
  position: absolute; z-index: 2;
  font-family: var(--hand); font-size: 30px; line-height: 1; color: var(--pen); white-space: nowrap;
  transform: rotate(var(--r, -3deg)); transform-origin: left center;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 10px #fff;
  clip-path: inset(-30% -10% -30% 0);
  transition: clip-path 0.7s steps(14, end) var(--d, 0s);
}
.js [data-reveal]:not(.in) .ink { stroke-dashoffset: 1.01; }
.js [data-reveal]:not(.in) .note { clip-path: inset(-30% 100% -30% 0); }

/* Scene A: the spreadsheet */

.sheet { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; font-size: 12.5px; }
.sheet-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; background: #eeefee; border-bottom: 1px solid #d9dbd9; font-size: 12px; color: #55595c; }
.sheet-bar .dots { display: flex; gap: 5px; }
.sheet-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #cfd2cf; }
.sheet-fx { display: flex; align-items: center; height: 26px; padding: 0 12px; border-bottom: 1px solid #e3e5e3; font-size: 12px; color: #74787b; }
.sheet-fx b { color: #55595c; margin-right: 10px; font-weight: 600; }
.sheet-grid { flex: 1; }
.r { display: grid; grid-template-columns: 28px 160px 142px 118px 112px; height: 34px; }
.r.letters { height: 22px; }
.r > span { display: flex; align-items: center; min-width: 0; padding: 0 8px; border-right: 1px solid #e8eae8; border-bottom: 1px solid #e8eae8; white-space: nowrap; overflow: hidden; }
.r > span:first-child { justify-content: center; padding: 0; background: #f3f4f3; color: #8a8e91; font-size: 11px; }
.r.letters > span { justify-content: center; background: #f3f4f3; color: #8a8e91; font-size: 11px; }
.r.head > span { font-weight: 700; color: #2b2e30; }
.c-mark { background: var(--highlighter); padding: 1px 3px; }
.c-red { color: var(--alert); font-weight: 600; }
.c-strike { text-decoration: line-through; color: #94989b; }
.c-note { position: relative; }
.c-note::after { content: ""; position: absolute; top: -9px; right: -9px; border-style: solid; border-width: 0 7px 7px 0; border-color: transparent #e0752d transparent transparent; }
.sticky {
  position: absolute; left: 44px; top: 290px; width: 150px; padding: 10px 12px; transform: rotate(-3deg);
  background: #fff3a6; color: #4a3f00; font-size: 12.5px; line-height: 1.3; font-weight: 600;
  box-shadow: 0 8px 16px -10px rgba(0, 0, 0, 0.45);
}
.sheet-tabs { display: flex; gap: 2px; height: 28px; padding: 0 8px; background: #eeefee; border-top: 1px solid #d9dbd9; font-size: 12px; color: #55595c; }
.sheet-tabs span { display: flex; align-items: center; padding: 0 12px; }
.sheet-tabs .on { background: #fff; font-weight: 600; color: #1d6f42; box-shadow: inset 0 -2px 0 #1d6f42; }

/* Scene B: the big platform */

.plat { position: absolute; inset: 0; background: #fbfbfc; font-size: 12.5px; }
.plat-top { position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; padding: 0 14px; background: #20232a; color: #e9eaee; }
.plat-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.plat-brand i { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, #7b8cff, #4b5bd6); }
.plat-plan { position: absolute; right: 124px; color: #a7aab3; font-size: 11.5px; }
.plat-price { position: absolute; left: 446px; top: 11px; width: 104px; text-align: center; font-weight: 700; font-size: 13px; color: #fff; }
.plat-side { position: absolute; left: 0; top: 40px; bottom: 0; width: 170px; margin: 0; padding: 12px 0 0; list-style: none; background: #f1f2f4; border-right: 1px solid #e3e4e8; }
.plat-side li { display: flex; align-items: center; gap: 9px; height: 24px; padding: 0 12px 0 14px; color: #4a4e57; white-space: nowrap; }
.plat-side li i { width: 8px; height: 8px; border-radius: 2px; background: #c4c7cf; flex: none; }
.plat-side li.on { color: #20232a; font-weight: 600; }
.plat-main { position: absolute; left: 170px; right: 0; top: 40px; bottom: 0; padding: 16px 18px; }
.plat-h { display: flex; justify-content: space-between; align-items: center; }
.plat-h b { font-size: 15px; }
.plat-h span { padding: 2px 8px; border-radius: 999px; background: #fde5e2; color: #9b1c12; font-size: 11px; font-weight: 700; }
.plat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.plat-cards > div { height: 140px; padding: 12px; border: 1px solid #e6e7eb; border-radius: 8px; background: #fff; display: flex; flex-direction: column; }
.plat-cards small { color: #7a7e88; font-size: 11px; }
.plat-cards b { font-size: 20px; margin-top: 2px; letter-spacing: -0.02em; }
.plat-cards .bars { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.plat-cards .bars u { flex: 1; height: var(--h); background: #d9dcf6; border-radius: 3px 3px 0 0; }
.plat-cards .line { margin-top: auto; height: 46px; background: linear-gradient(170deg, transparent 45%, #c9cdf5 46%, #c9cdf5 49%, transparent 50%), linear-gradient(to top, #f3f4fd, transparent); border-radius: 4px; }

/* The fix */

.fix-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fix-copy p { margin-top: 1.2rem; max-width: 42ch; }
.fix-copy p.muted { font-size: 1rem; }
.fix-stage { position: relative; aspect-ratio: 640 / 540; }
.fix-back, .fix-front { position: absolute; }
.fix-back { width: 50%; top: 26%; transition: transform 0.9s var(--spring), opacity 0.6s ease; }
.fix-back .scene { box-shadow: var(--lift); border: 6px solid #fff; border-radius: 14px; }
.back-a { left: 0; transform: translate(2%, 6%) rotate(-6deg) scale(0.92); opacity: 0.8; }
.back-b { right: 0; transform: translate(-2%, 12%) rotate(5deg) scale(0.92); opacity: 0.8; }
.fix-front { left: 17%; width: 66%; top: 12%; transition: transform 0.9s var(--spring) 0.35s, opacity 0.35s ease 0.35s; }
.fix-front .scene { box-shadow: 0 2px 4px rgba(28, 29, 31, 0.06), 0 40px 80px -36px rgba(28, 29, 31, 0.45); border-radius: 16px; }
.fix-pen { inset: auto -2% auto auto; top: -6%; width: 31%; height: auto; aspect-ratio: 200 / 120; }
.fix-note { right: -1%; top: -12%; }

.js .fix:not(.in) .back-a { transform: translate(-6%, 0) rotate(-7deg); opacity: 1; }
.js .fix:not(.in) .back-b { transform: translate(6%, 4%) rotate(6deg); opacity: 1; }
.js .fix:not(.in) .fix-front { transform: translateY(60px) scale(0.86); opacity: 0; }

.tool { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; font-size: 14px; }
.tool-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 12px; }
.tool-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.tool-title svg { width: 24px; height: 24px; }
.tool-date { color: var(--pencil); font-size: 13px; }
.tool-tabs { display: flex; gap: 6px; padding: 0 18px 12px; border-bottom: 1px solid #efefee; }
.tool-tabs span { padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--pencil); }
.tool-tabs .on { background: var(--blue); color: #fff; }
.tool-tabs b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 5px; border-radius: 9px; background: var(--sky); color: #06325f !important; color: #fff; font-size: 11px; }
.tool-list { list-style: none; margin: 0; padding: 4px 12px; flex: 1; }
.tool-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 9px 8px; border-bottom: 1px solid #f2f2f1;
  transition: transform 0.6s var(--spring), opacity 0.3s ease;
  transition-delay: calc(0.7s + var(--i) * 70ms);
}
.tool-list strong { display: block; font-weight: 650; font-size: 14px; }
.tool-list small { display: block; color: var(--pencil); font-size: 12.5px; }
.js .fix:not(.in) .tool-list li { opacity: 0; transform: translateY(14px); }
.tool-foot { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 14px; padding: 12px 14px; border-radius: 10px; background: var(--blue-wash); color: var(--blue-deep); font-size: 13.5px; font-weight: 600; }

.who { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; text-align: center; }
.pill.done { background: #dff1e6; color: #17603a; }
.pill.urgent { background: #fde5e2; color: #9b1c12; }
.pill.wait { background: #eceefb; color: #3b46a8; }
.pill.booked { background: #eef0f2; color: #3a4652; }
.mini-btn { padding: 6px 13px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; white-space: nowrap; }

@media (max-width: 900px) {
  .fix-grid { grid-template-columns: 1fr; }
  .fix-stage { margin-top: 24px; }
}

/* Examples: bento grid. Small tools are small tiles, the warehouse system is the big one */

.bento {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1080px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 440px; grid-auto-flow: dense;
  gap: clamp(14px, 1.8vw, 20px); perspective: 1800px;
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 26px 26px 0; border-radius: 26px; background: var(--soft);
  transition: opacity 0.7s ease, translate 0.9s var(--ease-soft), rotate 0.6s var(--ease-soft), box-shadow 0.4s ease;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
}
.tile:hover { box-shadow: 0 30px 60px -36px rgba(22, 102, 245, 0.55); }
.tile-copy h3 { font-size: 1.2rem; }
.tile-copy p { margin-top: 6px; max-width: 36ch; color: var(--pencil); font-size: 0.98rem; }
.tile-pic {
  width: calc(100% + 20px); margin: auto -10px 0; flex: none; overflow: visible; background: transparent; border-radius: 0;
  translate: 0 34px;
  transition: translate 1s var(--ease-soft); transition-delay: calc(var(--i, 0) * 90ms + 0.25s);
}
.tile.in:hover .tile-pic { translate: 0 16px; transition-delay: 0s; transition-duration: 0.6s; }
.js .bento > .tile:not(.in) { opacity: 0; translate: 0 40px; }
.js .bento > .tile:not(.in) .tile-pic { translate: 0 130px; }

.t-blue { background: linear-gradient(165deg, #eaf1ff, #d5e3ff); }
.t-sky { background: linear-gradient(165deg, #eaf9ff, #cbedff); }
.t-lilac { background: linear-gradient(165deg, #f2efff, #dfd9ff); }
.t-mint { background: linear-gradient(165deg, #e9f8f1, #cdefe0); }
.t-sand { background: linear-gradient(165deg, #fff7ec, #fde4c8); }
.t-big {
  grid-column: 2 / 4; grid-row: 2 / 4; padding: 36px 36px 0; color: #fff;
  background: radial-gradient(120% 90% at 15% 0%, var(--blue-bright) 0%, var(--blue) 55%, #0d4fd6 100%);
}
.t-big .tile-copy h3 { color: #fff; font-size: clamp(1.45rem, 2.3vw, 1.9rem); }
.t-big .tile-copy p { color: #dbe9ff; font-size: 1.05rem; max-width: 44ch; }
.t-big .tile-pic { width: calc(100% + 96px); margin: auto -96px 0 0; translate: 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.85rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.chips span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ff0a8; }
.t-big.in:hover .tile-pic { translate: 0 26px; }

.also { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 52ch; text-align: center; color: var(--pencil); }

@media (max-width: 900px) {
  .bento {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 28px;
  }
  .bento::-webkit-scrollbar { display: none; }
  .tile, .t-big { flex: 0 0 44%; height: 440px; min-height: 0; padding: 24px 22px 0; scroll-snap-align: start; }
  .t-big { flex-basis: 70%; }
  .t-big .tile-pic { width: calc(100% + 60px); margin-right: -60px; }
}
@media (max-width: 600px) {
  .tile, .t-big { flex-basis: 84%; }
  .t-big .chips { display: none; }
}

/* The warehouse system picture */
.wms {
  position: absolute; left: 0; top: 0; width: 540px; height: 400px; display: flex; flex-direction: column; gap: 14px;
  padding: 18px 20px; border-radius: 14px; background: #fff; font-size: 13px;
  box-shadow: 0 2px 4px rgba(4, 30, 90, 0.12), 0 40px 70px -30px rgba(4, 30, 90, 0.65);
}
.wms-top { display: flex; align-items: center; gap: 14px; }
.wms-top b { font-size: 17px; letter-spacing: -0.02em; }
.wms-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); }
.wms-tabs span { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--pencil); }
.wms-tabs .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.wms-sites { margin-left: auto; color: var(--pencil); font-size: 12px; }
.wms-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wms-kpis > div { padding: 9px 12px; border-radius: 10px; background: var(--soft); }
.wms-kpis small { display: block; color: var(--pencil); font-size: 11px; }
.wms-kpis b { font-size: 20px; letter-spacing: -0.03em; }
.wms-kpis b.bad { color: var(--alert); }
.wms-table > div { display: grid; grid-template-columns: 1.7fr 0.8fr 0.8fr 0.8fr; align-items: center; padding: 8px 4px; border-top: 1px solid #f0f0ef; }
.wms-table .th { border-top: 0; color: var(--pencil); font-size: 11.5px; font-weight: 600; }
.wms-table em { font-style: normal; font-size: 11px; padding: 2px 8px; }
.wms-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wms .links { margin-top: 0; }
.wms .links span { font-size: 11px; }
.wms-sync { color: var(--pencil); font-size: 11.5px; white-space: nowrap; }
.picker {
  position: absolute; left: 360px; top: 226px; width: 220px; height: 340px; display: flex; flex-direction: column;
  padding: 18px 16px 16px; border-radius: 30px; background: #fff; border: 6px solid #15161a; font-size: 12.5px;
  box-shadow: 0 40px 70px -24px rgba(4, 30, 90, 0.7);
}
.picker-h b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.picker-h span { color: var(--pencil); font-size: 11.5px; }
.picker ul { list-style: none; margin: 12px 0 0; padding: 0; }
.picker li { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid #f0f0ef; }
.picker li i { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--blue); }
.picker li.done i { background: var(--blue); box-shadow: none; }
.picker li.done i::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.picker li span { flex: 1; }
.picker li small { display: block; color: var(--pencil); font-size: 10.5px; }
.picker li b { font-weight: 650; }
.picker-btn { margin-top: auto; padding: 11px; border-radius: 999px; background: var(--blue); color: #fff; text-align: center; font-weight: 600; }

.mini { position: absolute; inset: 18px; display: flex; flex-direction: column; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(28, 29, 31, 0.06), 0 14px 30px -18px rgba(28, 29, 31, 0.3); font-size: 12.5px; }
.mini-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mini-h b { font-size: 14.5px; letter-spacing: -0.01em; }
.mini-h span { color: var(--pencil); font-size: 11.5px; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid #f0f0ef; }
.mini-list .pill { font-size: 11px; padding: 3px 8px; }
.mini-list.lines b { font-weight: 650; }
.mini-foot { margin-top: auto; padding: 9px 12px; border-radius: 9px; background: var(--blue-wash); color: var(--blue-deep); font-weight: 600; text-align: center; }
.mini-foot.dark { background: var(--blue); color: #fff; border-radius: 999px; }
.mini-prog { margin-bottom: 6px; color: var(--pencil); font-size: 11.5px; }
.mini-prog i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: linear-gradient(to right, var(--blue-bright), var(--sky) var(--p), #ecebe7 var(--p)); }
.mini-mail { margin-bottom: 10px; padding: 9px 10px; border-radius: 8px; background: var(--soft); color: var(--pencil); font-size: 12px; line-height: 1.35; }
.mini-mail b { display: block; color: var(--ink); font-weight: 650; margin-bottom: 2px; }
.ai-tag { padding: 2px 8px; border-radius: 999px; background: #e7e9fd; color: #3b46a8 !important; font-weight: 700; font-size: 10.5px !important; }
.mini-field { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid #f0f0ef; }
.mini-field small { color: var(--pencil); font-size: 12px; }
.stepper { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.stepper i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); font-style: normal; }
.ticks { display: flex; gap: 4px; }
.ticks em { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--hairline); font-style: normal; font-size: 11px; color: var(--pencil); }
.ticks em.on { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-deep); font-weight: 600; }
.mini-total { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-top: 1px solid #f0f0ef; }
.mini-total small { color: var(--pencil); }
.mini-total b { font-size: 24px; letter-spacing: -0.03em; }

/* Example cards: automation run, dashboard, warehouse */
.mini-list.runs li { justify-content: flex-start; gap: 10px; }
.mini-list.runs i { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }
.mini-list.runs i::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis > div { padding: 8px 9px; border-radius: 9px; background: var(--soft); display: flex; flex-direction: column; }
.kpis small { color: var(--pencil); font-size: 10.5px; }
.kpis b { font-size: 17px; letter-spacing: -0.03em; line-height: 1.2; }
.kpis b.bad { color: var(--alert); }
.kpis em { font-style: normal; font-size: 10.5px; color: var(--pencil); }
.kpis em.up { color: #17603a; }
.kpis em.down { color: var(--alert); }
.spark { margin-top: auto; display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.spark u { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--blue-bright), var(--sky)); }
.mini-list.stock span small { display: block; color: var(--pencil); font-size: 10.5px; }
.mini-list.stock b { font-weight: 650; }
.links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px; }
.links span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--hairline); font-size: 10px; font-weight: 600; }
.links span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2bb673; }

/* Example cards: booking, program, roster */
.days { display: flex; gap: 5px; margin-bottom: 8px; }
.days span { flex: 1; padding: 5px 0; border-radius: 8px; background: var(--soft); text-align: center; font-size: 10.5px; color: var(--pencil); }
.days b { display: block; font-size: 14px; color: var(--ink); }
.days .on { background: var(--blue); color: #dbe9ff; }
.days .on b { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.slots span { padding: 6px 0; border-radius: 999px; border: 1px solid var(--hairline); text-align: center; font-weight: 600; font-size: 11.5px; }
.slots .gone { color: #b5b6b9; text-decoration: line-through; border-color: transparent; background: var(--soft); }
.slots .on { background: var(--blue-wash); border-color: var(--blue); color: var(--blue-deep); }
.mini-note { margin: 10px 0 8px; font-size: 11px; color: var(--pencil); }
.mini-note .red { color: var(--alert); }
.mini-list.runs li.next i { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.mini-list.runs li.next i::after { display: none; }
.mini-list.runs li.next .pill { margin-left: auto; }
.roster { display: grid; grid-template-columns: 28px repeat(5, 1fr); gap: 5px 4px; align-items: center; font-size: 10.5px; }
.roster span { color: var(--pencil); text-align: center; }
.roster i { height: 18px; border-radius: 5px; background: var(--soft); }
.roster i.a { background: var(--blue); }
.roster i.b { background: var(--sky); }
.roster i.gap { background: repeating-linear-gradient(45deg, #fde5e2 0 4px, #fff 4px 8px); box-shadow: inset 0 0 0 1.5px var(--alert); }

/* People: logo faces and the empty circle */

.people .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.people h2 { max-width: 26ch; margin-top: clamp(40px, 5vw, 56px); }
.people .lede { margin-top: 1.2rem; }
.faces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.faces > li {
  position: relative; display: grid; place-items: center;
  width: clamp(72px, 9.5vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--hairline), 0 12px 26px -14px rgba(28, 29, 31, 0.3);
  transition: transform 0.7s var(--spring), opacity 0.3s ease; transition-delay: calc(var(--i) * 80ms);
}
.faces > li + li { margin-left: -8px; }
.faces > li:hover { z-index: 2; }
.faces .more { background: var(--soft); }
.faces .more span, .logos .more span { font-weight: 600; font-size: 0.92rem; color: var(--ink); white-space: nowrap; }
.faces .yours { margin-left: clamp(14px, 2.4vw, 28px) !important; }
@media (max-width: 600px) { .faces { gap: 10px; } .faces > li + li { margin-left: 0; } .faces .yours { margin-left: 0 !important; } }
.faces img { width: auto; max-width: 66%; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.5s ease, opacity 0.5s ease, scale 0.5s var(--spring); }
.faces > li:not(.yours):hover img { filter: none; opacity: 1; scale: 1.08; }
.faces > li:not(.yours) { translate: 0 0; transition: transform 0.7s var(--spring), opacity 0.3s ease, translate 0.45s var(--spring); transition-delay: calc(var(--i) * 80ms), calc(var(--i) * 80ms), 0s; }
.faces > li:not(.yours):hover { translate: 0 -6px; }
.faces .yours { background: radial-gradient(circle, var(--sky-wash) 55%, transparent 70%); box-shadow: none; }
.faces .yours svg { position: absolute; inset: -4%; width: 108%; height: 108%; overflow: visible; }
.faces .yours .note { font-size: 32px; }
.js .people:not(.in) .faces > li:not(.yours) { opacity: 0; transform: scale(0.5); }
@media (max-width: 520px) { .faces .yours .note { left: 54px !important; top: -26px !important; font-size: 26px; } }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps > li { position: relative; counter-increment: step; padding-top: 22px; border-top: 1px solid var(--hairline); }
.steps > li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: left; transition: transform 1.1s var(--ease-soft); transition-delay: calc(var(--fi, 0) * 0.25s + 0.1s); }
.js .steps:not(.in) > li::after { transform: scaleX(0); }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-deep); font-weight: 650; font-size: 0.95rem; }
.steps .time { display: block; margin-top: 2px; color: var(--pencil); font-size: 0.95rem; }
.steps p { margin-top: 12px; font-size: 1.02rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Questions, always open */

.qa { margin: 0 auto; max-width: 920px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 72px); }
.qa dt { font-weight: 650; font-size: 1.1rem; letter-spacing: -0.015em; }
.qa dd { margin: 8px 0 0; color: var(--pencil); font-size: 1.02rem; }
@media (max-width: 720px) { .qa { grid-template-columns: 1fr; gap: 32px; } }

/* Closing call to action */

.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(88px, 12vw, 150px) 0; text-align: center; color: #fff; background: radial-gradient(120% 140% at 50% 0%, var(--blue-bright) 0%, var(--blue) 55%, #0d4fd6 100%); }
.cta-band h2 { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 12px 30px -12px rgba(4, 30, 90, 0.6); }
.cta-band .btn-primary:hover { background: var(--sky-wash); color: var(--blue-deep); }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; max-width: 18ch; }
.cta-band p { margin-top: 1rem; max-width: 50ch; color: #dbe9ff; }
.cta-band > .wrap > .btn { margin-top: 2rem; }

/* Inner pages */

.page-head { padding: clamp(140px, 16vw, 190px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 1.25rem; }

.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 0.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.aside-box { padding: 28px; border-radius: 20px; background: var(--soft); }
.aside-box h2 { font-size: 1.3rem; margin-bottom: 14px; }
.aside-box ol { margin: 0; padding-left: 1.2em; }
.aside-box li + li { margin-top: 0.6em; }
.aside-box p { margin-top: 1.2em; color: var(--pencil); font-size: 1rem; }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 96px); }
.principles h3 { margin-bottom: 8px; }
.principles p { color: var(--pencil); max-width: 46ch; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; gap: 28px; } }

.stage-detail { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 16px clamp(24px, 5vw, 72px); padding: 44px 0; border-top: 1px solid var(--hairline); }
.stage-detail:last-of-type { border-bottom: 1px solid var(--hairline); }
.stage-detail .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-deep); font-weight: 650; }
.stage-detail h2 { margin-top: 16px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.stage-detail .time { margin-top: 6px; color: var(--pencil); }
.stage-detail h3 { font-size: 1.02rem; margin: 1.4em 0 0.3em; }
.stage-detail ul { margin: 0; padding-left: 1.2em; }
.stage-detail li + li { margin-top: 0.3em; }
@media (max-width: 760px) { .stage-detail { grid-template-columns: 1fr; } }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); font-size: 1.2rem; font-weight: 500; transition: transform 0.35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; max-width: 64ch; color: var(--pencil); }

/* Company logos (About) */

.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2vw, 22px); }
.logos .more { background: var(--soft) !important; }
.logos li { display: grid; place-items: center; width: clamp(80px, 10vw, 112px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hairline), 0 10px 24px -14px rgba(28, 29, 31, 0.28); }
.logos img { width: auto; max-width: 64%; max-height: 26px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.5s ease, opacity 0.5s ease; }
.logos li:hover img { filter: none; opacity: 1; }

/* Form */

.form { display: grid; gap: 24px; }
.form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 620px) { .form .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field > legend { font-weight: 600; font-size: 1rem; padding: 0; }
.field > legend { margin-bottom: 8px; }
.field .hint { font-size: 0.95rem; color: var(--pencil); margin-top: -4px; }
.field .opt { font-weight: 400; color: var(--pencil); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--soft); border: 1.5px solid transparent; border-radius: 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form textarea { min-height: 190px; resize: vertical; line-height: 1.5; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background-color: #fff; border-color: var(--pen); }
.form input[aria-invalid="true"], .form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--alert); background-color: #fff; }
.error-text { color: var(--alert); font-size: 0.95rem; font-weight: 600; }
.error-text:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--soft); border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; }
.check input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.check:has(input:checked) { background: var(--blue-wash); border-color: var(--blue); }
.check:has(input:focus-visible) { outline: 2px solid var(--pen); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot p { font-size: 0.95rem; color: var(--pencil); max-width: 44ch; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { padding: 16px 18px; border-radius: 14px; font-weight: 600; background: #fde5e2; color: #7a160e; }
.form-status:empty { display: none; }
.sent { padding: clamp(24px, 5vw, 56px) 8px; text-align: center; }
.sent h2 { margin: 18px 0 10px; }
.sent p { max-width: 42ch; margin: 0 auto; color: var(--pencil); }
.sent-check { width: 84px; height: 84px; margin: 0 auto; overflow: visible; }
.sent-check .ink { stroke-width: 3; }

/* Footer */

.site-footer { border-top: 1px solid var(--hairline); padding: 48px 0 56px; font-size: 0.98rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-row nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding-bottom: 2px; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0% 1.5px no-repeat; transition: background-size 0.4s var(--ease-soft); }
.footer-row nav a:hover { background-size: 100% 1.5px; }
.legal { margin-top: 28px; color: var(--pencil); font-size: 0.92rem; max-width: 70ch; }

.not-found { padding: clamp(130px, 15vw, 180px) 0 clamp(80px, 12vw, 140px); text-align: center; }
.not-found .wrap { display: flex; flex-direction: column; align-items: center; }
.not-found p { margin-top: 1rem; }
.not-found h1 { max-width: 16ch; }
.nf-pic { width: min(100%, 540px); margin: 0 0 clamp(36px, 5vw, 56px); transform: rotate(-1.6deg); perspective: 1600px; }
.nf-sheet .r { grid-template-columns: 28px 150px 170px 172px; }
.nf-sheet .sheet-grid { text-align: left; }
.nf-live { display: inline-flex; align-items: center; gap: 6px; }
.nf-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bb673; }
.js .nf-pic:not(.in) { opacity: 0; transform: translateY(40px) rotate(0deg); }


/* ---------- About page ---------- */

.center-head .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.center-head h1 { max-width: 18ch; }
.about-faces { margin-top: clamp(44px, 6vw, 64px); }
.js .faces[data-reveal]:not(.in) > li { opacity: 0; transform: scale(0.5); }
.faces-caption { margin-top: 24px; max-width: 52ch; color: var(--pencil); font-size: 0.98rem; }

.founder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-copy p { margin-top: 1rem; max-width: 46ch; }
.founder-copy p + p { color: var(--pencil); }
.founder-pic { margin: 0; }
.founder-pic .scene { background: transparent; overflow: visible; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

.roles-label { position: absolute; left: 2px; top: 4px; color: var(--pencil); font-size: 12px; font-weight: 600; }
.roles-label.two { top: 172px; }
.roles-row { position: absolute; left: 0; right: 0; top: 30px; display: flex; gap: 8px; }
.roles-row span {
  flex: auto; padding: 14px 8px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--hairline);
  text-align: center; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: opacity 0.4s ease, translate 0.6s var(--spring);
}
.roles-row span:nth-child(2) { transition-delay: 0.08s; }
.roles-row span:nth-child(3) { transition-delay: 0.16s; }
.roles-row span:nth-child(4) { transition-delay: 0.24s; }
.roles-row span:nth-child(5) { transition-delay: 0.32s; }
.roles-one {
  position: absolute; left: 0; right: 0; top: 198px; height: 74px; display: flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 20px; color: #fff; font-weight: 650; font-size: 16px;
  background: radial-gradient(120% 160% at 15% 0%, var(--blue-bright), var(--blue) 60%, #0d4fd6);
  box-shadow: 0 22px 40px -20px rgba(22, 102, 245, 0.7);
  transition: opacity 0.5s ease 1.2s, translate 0.8s var(--spring) 1.2s, scale 0.8s var(--spring) 1.2s;
}
.roles-one svg { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
.js .founder-pic:not(.in) .roles-row span { opacity: 0; translate: 0 12px; }
.js .founder-pic:not(.in) .roles-one { opacity: 0; translate: 0 24px; scale: 0.96; }

.values { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); perspective: 1800px; }
.values .tile { display: block; height: auto; padding: clamp(24px, 3vw, 34px); }
.values .tile h3 { margin-top: 18px; font-size: 1.2rem; }
.values .tile p { margin-top: 8px; color: var(--pencil); font-size: 1rem; max-width: 44ch; }
.v-icon { width: 48px; height: 48px; overflow: visible; }
.js .values > .tile:not(.in) { opacity: 0; translate: 0 30px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

.now { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.now-copy p { margin-top: 1rem; max-width: 46ch; }
.now-copy p + p { color: var(--pencil); }
.bars { padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: linear-gradient(165deg, #eaf1ff, #dbe7ff); }
.bar-group + .bar-group { margin-top: 26px; }
.bar-group h3 { margin-bottom: 12px; font-size: 0.95rem; letter-spacing: -0.01em; }
.bar-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; }
.bar-row + .bar-row { margin-top: 10px; }
.bar-row small { color: var(--pencil); font-size: 0.85rem; font-weight: 600; }
.bar-track { height: 42px; border-radius: 13px; background: rgba(255, 255, 255, 0.7); overflow: hidden; }
.bar-fill {
  display: flex; align-items: center; height: 100%; padding: 0 16px; border-radius: 13px; font-weight: 650; letter-spacing: 0.02em;
  clip-path: inset(0 0 0 0 round 13px); transition: clip-path 1.2s var(--ease-soft); transition-delay: calc(0.2s + var(--g, 0) * 0.6s);
}
.bar-fill.old { width: 100%; background: linear-gradient(90deg, #d5d8df, #b9bdc7); color: var(--ink); }
.bar-fill.new { width: 28%; min-width: 92px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); color: #fff; transition-duration: 0.7s; transition-delay: calc(0.75s + var(--g, 0) * 0.6s); }
.js .bars:not(.in) .bar-fill { clip-path: inset(0 100% 0 0 round 14px); }
@media (max-width: 860px) { .now { grid-template-columns: 1fr; } }

.wont { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.wont li { padding: 20px 8px; border-top: 1px solid var(--hairline); text-align: center; font-size: clamp(1.2rem, 2.3vw, 1.55rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.wont li:last-child { border-bottom: 1px solid var(--hairline); }
.struck {
  /* A light pen line behind the letters, so the words stay easy to read */
  background: linear-gradient(rgba(46, 139, 255, 0.4), rgba(46, 139, 255, 0.4)) 0 58% / 100% 2.5px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 0.7s ease-in-out; transition-delay: calc(var(--i) * 0.35s + 0.3s);
}
.js .wont:not(.in) .struck { background-size: 0% 2.5px; }

.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.four h3 { font-size: 1.05rem; }
@media (max-width: 980px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */

.journey { position: relative; width: 100%; max-width: 940px; margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr 2.4fr 1.6fr; text-align: left; }
.jy { position: relative; display: block; padding-right: 8px; color: var(--ink); text-decoration: none; }
.jy b { display: block; font-size: 1.05rem; letter-spacing: -0.015em; transition: color 0.2s ease; }
.jy:hover b { color: var(--blue); }
.jy small { color: var(--pencil); font-size: 0.88rem; }
.jy i { display: block; height: 14px; margin-top: 12px; border-radius: 999px; clip-path: inset(0 0 0 0 round 999px); transition: clip-path 0.6s var(--ease-soft); }
.jy-1 i { background: linear-gradient(90deg, var(--sky), #a9e3ff); transition-delay: 0.3s; }
.jy-2 i { background: linear-gradient(90deg, var(--blue-bright), var(--blue)); transition-duration: 0.9s; transition-delay: 0.85s; }
.jy-3 i { background: linear-gradient(90deg, #cfe0ff, rgba(232, 241, 255, 0)); transition-duration: 0.8s; transition-delay: 1.7s; }
.jy em { display: block; margin-top: 10px; font-style: normal; font-size: 0.82rem; font-weight: 650; color: var(--blue-deep); text-align: right; padding-right: 2px; transition: opacity 0.4s ease 1.2s; }
.jy-2 em { transition-delay: 1.75s; }
.js .journey:not(.in) .jy i { clip-path: inset(0 100% 0 0 round 999px); }
.js .journey:not(.in) .jy em { opacity: 0; }
.jy-pen { position: absolute; left: 21.6%; top: 100%; width: 210px; height: 49px; inset: 100% auto auto 21.6%; }
.jy-note { left: calc(21.6% + 150px); top: calc(100% + 30px); font-size: 28px; }
@media (max-width: 700px) {
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .jy-pen, .jy-note { display: none; }
  .jy em { text-align: left; }
}

.phase-section { padding: clamp(56px, 7vw, 100px) 0; }
.phase { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.phase.flip .phase-copy { order: 2; }
.phase-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-deep); font-weight: 650; }
.phase-copy h2 { margin-top: 16px; }
.phase-copy .phase-time { display: inline-block; margin-top: 12px; padding: 5px 13px; border-radius: 999px; background: var(--soft); font-size: 0.9rem; font-weight: 600; }
.phase-copy .phase-time + p { margin-top: 1.1rem; max-width: 50ch; }
.phase-copy h3 { margin-top: 1.6rem; font-size: 1rem; }
.gets { list-style: none; margin: 8px 0 0; padding: 0; }
.gets li { position: relative; padding: 6px 0 6px 30px; font-size: 1rem; }
.gets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 19px; height: 19px; border-radius: 50%; background: var(--blue); }
.gets li::after { content: ""; position: absolute; left: 7px; top: 13px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.phase-note { margin-top: 1.3rem; max-width: 50ch; padding: 14px 16px; border-radius: 14px; background: var(--blue-wash); color: var(--blue-deep); font-size: 0.95rem; }
.phase-pic { margin: 0; padding: clamp(18px, 2.6vw, 30px); border-radius: 28px; }
.phase-pic .scene { background: transparent; overflow: visible; }
#discovery .phase-pic { background: linear-gradient(165deg, #eaf9ff, #cbedff); }
#build .phase-pic { background: linear-gradient(165deg, #eaf1ff, #d5e3ff); }
#care .phase-pic { background: linear-gradient(165deg, #e9f8f1, #cdefe0); }
@media (max-width: 860px) {
  .phase { grid-template-columns: 1fr; }
  .phase.flip .phase-copy { order: 0; }
}

.flowmap { position: absolute; inset: 0; }
.fm-label { position: absolute; left: 2px; top: 0; color: var(--pencil); font-size: 12px; font-weight: 600; }
.fm-step {
  position: absolute; top: 24px; width: 150px; height: 84px; padding: 12px; border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(28, 29, 31, 0.06), 0 12px 26px -16px rgba(28, 29, 31, 0.4);
  transition: opacity 0.4s ease, translate 0.6s var(--spring);
}
.fm-step:nth-of-type(3) { transition-delay: 0.1s; }
.fm-step:nth-of-type(4) { transition-delay: 0.2s; }
.fm-step b { display: block; font-size: 13px; line-height: 1.25; }
.fm-step span { display: block; margin-top: 4px; color: var(--pencil); font-size: 11.5px; }
.fm-arrow { position: absolute; top: 65px; width: 38px; height: 2px; background: #b7bcc7; }
.fm-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent #b7bcc7; }
.proto {
  position: absolute; left: 40px; top: 178px; width: 380px; overflow: hidden; border-radius: 14px; background: #fff;
  box-shadow: 0 2px 4px rgba(28, 29, 31, 0.06), 0 30px 50px -26px rgba(28, 29, 31, 0.45);
  transition: opacity 0.5s ease 0.9s, translate 0.8s var(--spring) 0.9s;
}
.proto-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; background: #f1f2f4; color: var(--pencil); font-size: 11.5px; }
.proto-bar .dots { display: flex; gap: 5px; }
.proto-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #d0d3d9; }
.proto-body { padding: 14px 16px 16px; font-size: 12.5px; }
.proto-body > b { font-size: 15px; letter-spacing: -0.01em; }
.proto-field { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0ef; }
.proto-field small { color: var(--pencil); }
.proto-btn { margin-top: 14px; padding: 9px; border-radius: 999px; background: var(--blue); color: #fff; text-align: center; font-weight: 600; }
.js .phase-pic:not(.in) .fm-step { opacity: 0; translate: 0 14px; }
.js .phase-pic:not(.in) .proto { opacity: 0; translate: 0 30px; }

.rounds { position: absolute; inset: 0; }
.rd-line { position: absolute; left: 8px; right: 8px; top: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.8); }
.rd-line span { display: block; width: var(--p); height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transform-origin: left; transition: transform 1.2s var(--ease-soft) 0.3s; }
.rd {
  position: absolute; top: 36px; left: calc(var(--i) * 136px); width: 124px; height: 228px; display: flex; flex-direction: column; gap: 10px;
  padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(28, 29, 31, 0.06), 0 12px 26px -16px rgba(28, 29, 31, 0.4);
  transition: opacity 0.4s ease, translate 0.7s var(--spring); transition-delay: calc(var(--i) * 0.14s);
}
.rd small { font-weight: 650; font-size: 12px; }
.rd-pic { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 10px; background: var(--soft); }
.rd-pic i { display: block; height: 10px; border-radius: 5px; background: #d6dae3; }
.rd-pic i:nth-child(even) { width: 68%; }
.rd .pill { align-self: flex-start; font-size: 11px; padding: 3px 9px; }
.rd.current { box-shadow: 0 0 0 2px var(--blue), 0 18px 34px -18px rgba(22, 102, 245, 0.6); }
.rd.current .rd-pic i { background: linear-gradient(90deg, #b9d3ff, #d6ecff); }
.rd.next { opacity: 0.55; }
.js .phase-pic:not(.in) .rd { opacity: 0; translate: 0 18px; }
.js .phase-pic:not(.in) .rd-line span { transform: scaleX(0); }

.care-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: #fff; font-size: 13px;
  box-shadow: 0 2px 4px rgba(28, 29, 31, 0.06), 0 30px 50px -26px rgba(28, 29, 31, 0.4);
}
.cc-top { display: flex; align-items: center; justify-content: space-between; }
.cc-top b { font-size: 17px; letter-spacing: -0.02em; }
.cc-ok { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: #dff1e6; color: #17603a; font-weight: 600; font-size: 12px; }
.cc-ok i { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(43, 182, 115, 0.18); } }
.cc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-stats > div { padding: 10px 12px; border-radius: 11px; background: var(--soft); transition: opacity 0.4s ease, translate 0.6s var(--spring); }
.cc-stats > div:nth-child(2) { transition-delay: 0.08s; }
.cc-stats > div:nth-child(3) { transition-delay: 0.16s; }
.cc-stats > div:nth-child(4) { transition-delay: 0.24s; }
.cc-stats small { display: block; color: var(--pencil); font-size: 11px; }
.cc-stats b { font-size: 16px; letter-spacing: -0.02em; }
.cc-month small { color: var(--pencil); font-size: 11.5px; font-weight: 600; }
.cc-month ul { list-style: none; margin: 6px 0 0; padding: 0; }
.cc-month li { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid #f0f0ef; }
.cc-month li i { position: relative; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--blue); }
.cc-month li i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cc-month li.open i { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.cc-month li.open i::after { display: none; }
.js .phase-pic:not(.in) .cc-stats > div { opacity: 0; translate: 0 12px; }

.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.faq-split .section-head { margin-bottom: 0; position: sticky; top: 110px; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } .faq-split .section-head { position: static; } }

/* ---------- Contact ---------- */

.contact { padding: clamp(130px, 15vw, 170px) 0 clamp(72px, 9vw, 120px); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro card" "next card"; grid-template-rows: auto 1fr;
  gap: 36px clamp(32px, 6vw, 80px); align-items: start;
}
.contact-intro { grid-area: intro; }
.contact-intro h1 { max-width: 12ch; }
.contact-intro .lede { margin-top: 1.2rem; }
.contact-card {
  grid-area: card; position: relative;
  padding: clamp(22px, 3vw, 38px); border-radius: 28px; background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 29, 31, 0.05), 0 40px 80px -48px rgba(22, 40, 90, 0.45), 0 0 120px -10px rgba(127, 214, 255, 0.55);
}
.contact-next { grid-area: next; }
.contact-next h2 { font-size: 1.3rem; }
.timeline { position: relative; list-style: none; margin: 20px 0 0; padding: 0; counter-reset: t; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 14px; bottom: 30px; width: 2px;
  background: linear-gradient(var(--blue), var(--sky)); transform-origin: top; transition: transform 1.3s var(--ease-soft) 0.2s;
}
.timeline li { position: relative; counter-increment: t; padding: 3px 0 20px 46px; }
.timeline li::before {
  content: counter(t); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue-deep); font-weight: 650; font-size: 0.85rem;
}
.js .contact-next:not(.in) .timeline::before { transform: scaleY(0); }
.tip { margin-top: 6px; padding: 16px 18px; border-radius: 16px; background: var(--blue-wash); color: var(--blue-deep); font-size: 0.95rem; }
.field-problem { position: relative; }
.field-note { right: 0; top: 2px; font-size: 26px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "next"; grid-template-rows: none; }
  .contact-intro h1 { max-width: 16ch; }
}
@media (max-width: 560px) { .field-note { display: none; } }

.contact-done { padding: clamp(150px, 18vw, 210px) 0 clamp(90px, 12vw, 150px); text-align: center; }
.contact-done .wrap { display: flex; flex-direction: column; align-items: center; }
.contact-done h1 { margin-top: 22px; }
.contact-done .lede { margin-top: 1rem; }
.contact-done .actions { gap: 20px; }

/* Privacy */

.short-version { padding-top: 0; }
.values.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; }
.values.three .tile p { font-size: 0.98rem; }
@media (max-width: 860px) { .values.three { grid-template-columns: 1fr; max-width: 560px; } }

.policy-wrap { padding-top: clamp(16px, 3vw, 40px); }
.policy { display: grid; grid-template-columns: 220px minmax(0, 66ch); justify-content: center; gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 110px; }
.toc p { font-size: 0.9rem; color: var(--pencil); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--hairline); }
.toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--pencil); text-decoration: none; font-size: 0.98rem; transition: color 0.25s ease, border-color 0.35s var(--ease-soft); }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--blue); }
.policy .prose h2 { scroll-margin-top: 110px; }
.policy-meta { color: var(--pencil); font-size: 1rem; padding-bottom: 1.6em; border-bottom: 1px solid var(--hairline); }
.policy-meta + h2 { margin-top: 1.6em; }

.providers { margin: 1.2em 0; }
.providers > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.providers > div:last-child { border-bottom: 1px solid var(--hairline); }
.providers dt { font-weight: 600; }
.providers dd { margin: 0; color: var(--pencil); }
@media (max-width: 560px) { .providers > div { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .policy { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}

/* ---------- Motion layer ---------- */

/* Headlines rise word by word from behind a mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0 0.14em; margin: -0.06em 0 -0.14em; }
.split .w > span { display: inline-block; transition: transform 0.95s var(--ease-soft); transition-delay: calc(var(--wi, 0) * 38ms + var(--delay, 0s)); }
.js .split:not(.in) .w > span { transform: translateY(108%); }
/* Hide the top headline until it is split, with a failsafe if the script never runs */
.js .hero h1:not(.split), .js .page-head h1:not(.split), .js .contact-intro h1:not(.split) { opacity: 0; animation: show-anyway 0s linear 1.6s forwards; }
@keyframes show-anyway { to { opacity: 1; } }

/* Text settles in: a short rise and a soft blur */
[data-anim="fade"] { transition: opacity 0.8s var(--ease-soft), translate 0.9s var(--ease-soft), filter 0.8s var(--ease-soft); transition-delay: calc(var(--fi, var(--i, 0)) * 80ms + var(--delay, 0s)); }
.js [data-anim="fade"]:not(.in) { opacity: 0; translate: 0 14px; filter: blur(6px); }

/* Primary buttons: a light sheen passes on hover */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.75s var(--ease-soft); }

/* The dragonfly flutters once on load and again on hover */
.brand .mark path:nth-of-type(-n+4) { transform-box: view-box; transform-origin: 20px 15.5px; animation: flap 0.3s ease-in-out 0.9s 2; }
.brand .mark path:nth-of-type(-n+2) { animation-delay: 0.94s; }
.brand:hover .mark path:nth-of-type(-n+4) { animation: flap-again 0.28s ease-in-out 3; }
.brand:hover .mark path:nth-of-type(-n+2) { animation-delay: 0.04s; }
@keyframes flap { 50% { transform: scaleY(0.3); } }
@keyframes flap-again { 50% { transform: scaleY(0.3); } }


/* Closing band: slow drifting sky light, plus a glow that follows the cursor */
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(60px); }
.cta-band::before { width: 46vw; height: 46vw; left: -10vw; top: -20vw; background: rgba(127, 214, 255, 0.55); animation: drift-a 18s ease-in-out infinite alternate; }
.cta-band::after { width: 40vw; height: 40vw; right: -12vw; bottom: -22vw; background: rgba(46, 139, 255, 0.7); animation: drift-b 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(18vw, 10vw) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-16vw, -8vw) scale(0.9); } }
.cta-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 70%); }
.cta-band:hover .cta-glow { opacity: 1; }

/* Questions open smoothly where the browser supports it */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease-soft), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Between pages: a short cross-fade. No view-transition-name on the header: it would stop the glass blur from seeing the page */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 0.22s ease both; }
::view-transition-new(root) { animation: page-in 0.5s var(--ease-soft) both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
  .js .hero h1:not(.split), .js .page-head h1:not(.split), .js .contact-intro h1:not(.split) { opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
