/* Ruh by DR8 X: website version 10.6 (29 Nov 2026), "Silver & Ink" with a matte finish (the owner's pick). A light,
   premium design in white, soft grey and ink black, with silver light instead of colour and a fine matte grain over
   every page. Font: Manrope (the owner's pick), self-hosted, SIL Open Font License 1.1.
   No outside requests, cookies or trackers. Every effect stops for visitors whose device asks for less motion. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --white: #ffffff;
  --porcelain: #f5f5f5;   /* soft grey sections */
  --mist: #ececec;        /* insets, tracks */
  --ink: #0a0a0a;         /* text, buttons, dark sections */
  --ink-2: #171717;       /* raised surfaces on ink */
  --text: #0a0a0a;
  --text-2: #4d4d4d;      /* body text */
  --text-3: #6b6b6b;      /* quiet text */
  --faint: #8f8f8f;       /* only for large text (3:1 or more) */
  --line: #e8e8e8;
  --line-2: #d9d9d9;
  --accent: #171717;      /* ink: labels, links, icons */
  --accent-2: #8a8a8a;    /* graphite silver */
  --glow: #bdbdbd;        /* silver light */
  --accent-soft: #f2f2f2;
  --accent-line: #dedede;
  --on-dark: #f5f5f5;
  --on-dark-2: #a8a8a8;
  --on-dark-3: #7a7a7a;
  --on-dark-accent: #c4c4c4; /* small labels and icons on black */
  --offer: #85192b;       /* the founding-offer bar: a deep maroon red, the one colour on the site */
  --offer-edge: #5b0f1b;  /* its darker ends */
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.05), 0 2px 8px -2px rgba(10, 10, 10, 0.06);
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 14px 34px -14px rgba(10, 10, 10, 0.16);
  --shadow-lg: 0 2px 6px rgba(10, 10, 10, 0.04), 0 30px 70px -30px rgba(0, 0, 0, 0.24), 0 70px 140px -70px rgba(0, 0, 0, 0.26);
  /* Small icons are files, so the site's security rules (images only from the site itself) allow them. */
  --check: url("icon-check.svg");
  --check-light: url("icon-check-light.svg");
  --plus: url("icon-plus.svg");
  --plus-light: url("icon-plus-light.svg");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  position: relative; isolation: isolate; overflow-x: clip;
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--white); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 840px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; text-decoration: none;
  transition: top 0.2s ease;
}
.skip:focus { top: 12px; }

/* ---------- Founding offer bar (deep maroon red) ---------- */
.offer-bar { position: relative; overflow: hidden; background: url("noise-matte.svg"), linear-gradient(90deg, var(--offer-edge), var(--offer) 50%, var(--offer-edge)); color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.45; text-align: center; }
.offer-bar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.06) 50%, transparent 62%);
  transform: translateX(-100%); animation: sweep 8s var(--ease) 2.5s infinite;
}
.offer-bar p { padding: 10px 0; }
.offer-bar strong { color: var(--white); font-weight: 700; }
.offer-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; vertical-align: 1px;
  background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14), 0 0 12px rgba(255, 255, 255, 0.7);
}
.offer-bar a { color: var(--white); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); white-space: nowrap; margin-left: 6px; }
.offer-bar a:hover { text-decoration-color: var(--white); }
.offer-bar .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.offer-bar a:hover .arrow { transform: translateX(3px); }
.offer-bar a:focus-visible { outline-color: var(--white); }

/* ---------- Soft silver light at the top of every page ---------- */
.page-glow {
  position: absolute; left: 0; right: 0; top: 0; height: 1340px; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.page-glow.small { height: 760px; opacity: 0.8; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-1 { width: 780px; height: 780px; left: calc(50% - 780px); top: -40px; background: radial-gradient(closest-side, rgba(110, 110, 110, 0.13), rgba(110, 110, 110, 0)); animation: drift-a 26s ease-in-out infinite alternate; }
.orb-2 { width: 700px; height: 700px; left: calc(50% + 10px); top: -110px; background: radial-gradient(closest-side, rgba(150, 150, 150, 0.16), rgba(150, 150, 150, 0)); animation: drift-b 31s ease-in-out infinite alternate; }
.orb-3 { width: 640px; height: 640px; left: calc(50% - 300px); top: 380px; background: radial-gradient(closest-side, rgba(90, 90, 90, 0.06), rgba(90, 90, 90, 0)); animation: drift-c 35s ease-in-out infinite alternate; }
.orb-4 { width: 460px; height: 460px; left: calc(50% + 250px); top: 430px; background: radial-gradient(closest-side, rgba(140, 140, 140, 0.10), rgba(140, 140, 140, 0)); animation: drift-b 28s ease-in-out infinite alternate-reverse; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10, 10, 10, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, 0.05) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 52% 40% at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 52% 40% at 50% 30%, #000 0%, transparent 78%);
}

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 40; transition: box-shadow 0.35s ease; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s ease;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(10, 10, 10, 0.07); }
.nav.scrolled::before, .menu-open .nav::before { opacity: 1; }
.nav-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: flex-end; gap: 9px; text-decoration: none; margin-right: auto; }
/* The Ruh logo has 40 units of room round it for the moon's glow, so it is drawn taller with a negative margin:
   the letters stay exactly 30 px tall. */
.logo-ruh { height: 40.03px; width: auto; margin: -5.02px; }
.brand .by { font-size: 12.5px; font-weight: 500; color: var(--text-3); letter-spacing: 0.02em; line-height: 1; padding-bottom: 1px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color 0.2s ease, background-color 0.2s ease; }
.nav-links a:hover { color: var(--ink); background: rgba(10, 10, 10, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(10, 10, 10, 0.06); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.menu { display: none; position: relative; width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); cursor: pointer; }
.menu i { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu i:first-of-type { top: 16px; }
.menu i:last-of-type { top: 24px; }
.menu-open .menu i:first-of-type { top: 20px; transform: rotate(45deg); }
.menu-open .menu i:last-of-type { top: 20px; transform: rotate(-45deg); }
/* The header's "Book a demo" waits until the hero's button has scrolled away (home page) */
.nav-cta { max-width: 220px; white-space: nowrap; }
.ready .nav-cta { transition: max-width 0.4s var(--ease), padding 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s ease, visibility 0.3s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.js .nav-cta[data-follow]:not(.show) { max-width: 0; padding-left: 0; padding-right: 0; margin-left: -10px; border-width: 0; opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 15px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform 0.8s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: url("noise-matte.svg") var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(10, 10, 10, 0.22), 0 10px 24px -10px rgba(10, 10, 10, 0.45); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(10, 10, 10, 0.2), 0 16px 32px -12px rgba(10, 10, 10, 0.45); }
.btn-lg { padding: 18px 30px; font-size: 16.5px; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost::after { background: linear-gradient(100deg, transparent 30%, rgba(10, 10, 10, 0.06) 50%, transparent 70%); }
.btn-ghost:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 14px 34px -14px rgba(255, 255, 255, 0.25); }
.btn-light::after { background: linear-gradient(100deg, transparent 30%, rgba(10, 10, 10, 0.08) 50%, transparent 70%); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 20px 44px -14px rgba(255, 255, 255, 0.35); }
.btn-block { width: 100%; }

/* ---------- Type ---------- */
.label { display: inline-flex; align-items: center; gap: 11px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); text-wrap: balance; }
.label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--ink)); box-shadow: 0 0 0 4px var(--accent-soft); }
.dark .label { color: var(--on-dark-accent); }
.dark .label::before { background: linear-gradient(135deg, #ffffff, var(--accent-2)); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.10), 0 0 14px rgba(255, 255, 255, 0.55); }
.display { font-weight: 700; font-size: clamp(42px, 6.2vw, 86px); line-height: 1.1; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; }
.display em, .split em.w {
  display: block; width: fit-content; margin: 0 auto; font-style: normal; padding-bottom: 0.06em;
  background: linear-gradient(90deg, #0a0a0a 0%, #3d3d3d 22%, #8f8f8f 50%, #3d3d3d 78%, #0a0a0a 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer-text 9s ease-in-out infinite alternate;
}
.display em::selection { -webkit-text-fill-color: var(--white); color: var(--white); }
.h2 { margin-top: 18px; max-width: 900px; font-weight: 700; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.h2 .muted { color: var(--faint); }
.dark .h2 { color: var(--on-dark); }
.dark .h2 .muted { color: var(--on-dark-3); }
.sub { margin-top: 18px; max-width: 640px; color: var(--text-2); font-size: 18px; }
.head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.head.center .h2, .head.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding: 88px 0 36px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .display { max-width: 1060px; }
.lede { margin-top: 30px; max-width: 660px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.lede strong { color: var(--ink); font-weight: 700; }
.actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 38px; }
.cta-hint { font-size: 14px; color: var(--text-3); }
.proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 36px; margin-top: 48px; }
.proof li { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 13.5px; line-height: 1.4; color: var(--text-3); }
.proof b { display: block; color: var(--ink); font-weight: 700; font-size: 14.5px; margin-bottom: 1px; }
.proof-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--accent); }
.proof-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- The example calls ---------- */
.showcase { position: relative; max-width: 1120px; margin: 80px auto 0; perspective: 1800px; }
.showcase::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 16%; bottom: -3%; z-index: -1; border-radius: 48px; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 45%, rgba(0, 0, 0, 0.30), transparent 70%);
  filter: blur(56px); opacity: 0.6;
}
.showcase figcaption { margin-top: 24px; text-align: center; font-size: 14px; color: var(--text-3); }
.stage { transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--scale, 1)); }
.plan-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 24px; padding: 5px; background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.plan-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--text-3); font: 600 15px/1 var(--sans); transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.plan-tab:hover { color: var(--ink); }
.plan-tab[aria-selected="true"] { background: url("noise-matte.svg") var(--ink); color: var(--white); box-shadow: 0 6px 16px -8px rgba(10, 10, 10, 0.7); }
.badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; line-height: 1.2; background: var(--accent-soft); color: var(--accent); }
.plan-tab[aria-selected="true"] .badge { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.window { background: var(--white); border-radius: 26px; overflow: hidden; text-align: left; box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.07), var(--shadow-lg); }
.js .window.off { display: none; }
.window + .window { margin-top: 22px; }
.js .window + .window { margin-top: 0; }
.window-bar { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(#ffffff, #fafafa); }
.window-bar::before { content: ""; flex: none; width: 42px; height: 10px; background: radial-gradient(circle at 5px 5px, #e0e0e0 4.5px, transparent 5px) 0 0 / 16px 10px repeat-x; }
.window-title { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #f5f5f5; color: #171717; border: 1px solid #e3e3e3; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chip .dot { background: #0a0a0a; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12); animation: pulse 2s ease-in-out infinite; }
.window-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.call { padding: 26px 30px 30px; border-right: 1px solid var(--line); }
.wave { display: flex; align-items: center; gap: 4px; height: 36px; margin-bottom: 22px; }
.wave i { flex: 1; max-width: 4px; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #0a0a0a, #9a9a9a); opacity: 0.85; transform: scaleY(0.14); }
.wave i:nth-child(4n+1) { animation-delay: -0.2s; }
.wave i:nth-child(4n+2) { animation-delay: -0.6s; }
.wave i:nth-child(4n+3) { animation-delay: -1s; }
.wave i:nth-child(3n) { opacity: 0.4; }
.wave.speaking i { animation-name: wave; animation-duration: 0.9s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.transcript { display: grid; gap: 14px; }
.transcript li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.who { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.ai .who { color: var(--accent); }
.transcript p { font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.caller p { color: var(--text-3); }
.side { position: relative; background: var(--porcelain); }
.events { padding: 22px 24px 0; display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10, 10, 10, 0.03); }
.event b { color: var(--ink); font-weight: 650; }
.tick { width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.message { margin: 16px 24px 24px; padding: 18px 18px 6px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.message-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; }
.sent { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.time { color: var(--text-3); }
.message dl { margin-top: 12px; }
.message dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.message dt { color: var(--text-3); }
.message dd { margin: 0; font-weight: 600; color: var(--ink); }
.check { width: 15px; height: 15px; fill: none; stroke: #0a0a0a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }
.tag::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-red { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.tag-amber { color: #b54708; background: #fffaeb; border-color: #fedf89; }
.tag-grey { color: #525252; background: #f2f2f2; border-color: #e3e3e3; }
.pending { position: absolute; inset: 22px 24px; display: grid; align-content: start; gap: 12px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.pending-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 13px; color: var(--text-3); }
.pending .dot { animation: pulse 1.6s ease-in-out infinite; }
.pending i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #ebebeb, #f7f7f7, #ebebeb) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
.pending i:nth-of-type(2) { width: 82%; }
.pending i:nth-of-type(3) { width: 64%; }
.pending i:nth-of-type(4) { width: 74%; }
.js [data-demo] .event { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js [data-demo] .event.on { opacity: 1; transform: none; }
.js .pending { opacity: 1; }
.js .side.busy .pending, .js .message.on ~ .pending { opacity: 0; }
.js [data-demo] .line { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js [data-demo] .line.on { opacity: 1; transform: none; }
.js [data-demo] .f { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js [data-demo] .f.on { opacity: 1; transform: none; }
.js [data-demo] .check { stroke-dashoffset: 16; transition: stroke-dashoffset 0.6s ease 1s; }
.js [data-demo] .message.on .check { stroke-dashoffset: 0; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.18em; background: var(--accent); opacity: 0; }
.typing .typed::after { opacity: 1; animation: blink 0.9s steps(1) infinite; }

/* ---------- Industries: a moving strip of trades ---------- */
.industries { padding: 72px 0 30px; text-align: center; }
.industries .label { margin-bottom: 28px; }
.marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { display: flex; justify-content: center; }
.trades { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1120px; margin: 0 auto; padding: 8px 24px 20px; }
.marquee.run { justify-content: flex-start; width: max-content; animation: marquee 56s linear infinite; }
.marquee.run .trades { flex-wrap: nowrap; max-width: none; margin: 0; padding: 8px 5px 20px; }
.marquee-mask:hover .marquee.run { animation-play-state: paused; }
.trades li {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; cursor: default;
  padding: 12px 20px 12px 16px; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--text-2);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease;
}
.trades svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trades li.lit { background: url("noise-matte.svg") var(--ink); border-color: var(--ink); color: var(--white); }
.trades li.lit svg { stroke: var(--on-dark-accent); }
.trades li:hover, .trades li.tap, .trades li:focus-visible { transform: translateY(-4px); color: var(--ink); border-color: #cfcfcf; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.35); outline: none; }
.trades li.lit:hover, .trades li.lit.tap, .trades li.lit:focus-visible { color: var(--white); border-color: var(--ink); }

/* ---------- Statement ---------- */
.statement { padding: 128px 0 140px; }
.big { max-width: 1100px; font-weight: 650; font-size: clamp(30px, 3.7vw, 54px); line-height: 1.22; letter-spacing: -0.035em; color: var(--faint); text-wrap: pretty; }
.big .hi { color: var(--ink); }
.scrub .sw { color: #d4d4d4; transition: color 0.45s ease; }
.scrub .sw.on, .scrub .sw.fixed { color: var(--ink); }

/* ---------- Dark sections ---------- */
.dark { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("noise.svg"); opacity: 0.4; }
.dark p { color: var(--on-dark-2); }
.dark-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(820px 440px at 12% -12%, rgba(255, 255, 255, 0.10), transparent 70%), radial-gradient(720px 420px at 92% -4%, rgba(255, 255, 255, 0.05), transparent 70%);
}

/* How it works: a timeline that lights up, then the three onboarding steps */
.how { padding: 132px 0 140px; }
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: 76px; }
.flow::before, .flow::after { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; }
.flow::before { background: rgba(255, 255, 255, 0.12); }
.flow::after {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent) -160px 0 / 160px 100% no-repeat,
    linear-gradient(90deg, #5c5c5c, #f5f5f5 55%, #8a8a8a);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
  transform-origin: left center; transition: transform 2s var(--ease) 0.3s;
  animation: pulse-line 5s ease-in-out 2.4s infinite;
}
.js .flow:not(.in)::after { transform: scaleX(0); }
.flow li { position: relative; }
.node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px; border-radius: 50%;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 6px var(--ink), 0 0 26px -4px rgba(255, 255, 255, 0.35);
}
.num { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: #d9d9d9; font-variant-numeric: tabular-nums; }
.flow h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; color: var(--on-dark); }
.flow p { font-size: 15px; }
.onboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 92px; }
.onboard > div {
  position: relative; isolation: isolate; overflow: hidden; padding: 30px 30px 36px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.onboard > div::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.10), transparent 60%); }
.onboard > div:hover { border-color: rgba(255, 255, 255, 0.22); }
.onboard > div:hover::before { opacity: 1; }
.step { display: inline-block; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-accent); }
.onboard h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -0.02em; color: var(--on-dark); }
.onboard p { max-width: 310px; font-size: 15.5px; }
.big-num { position: absolute; right: 20px; bottom: -40px; z-index: -1; font-size: 150px; font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.04); pointer-events: none; }

/* ---------- Why it works ---------- */
.soft { background: var(--porcelain); }
#features { padding: 132px 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.card {
  position: relative; isolation: isolate; overflow: hidden; grid-column: span 2; padding: 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 0, 0, 0.035), transparent 60%); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfcfcf; }
.card:hover::before { opacity: 1; }
.card-wide { grid-column: span 4; }
.card h3 { margin: 20px 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.card p { font-size: 15.5px; color: var(--text-2); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-safety { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.card-safety .card-icon { color: #d92d20; background: #fef3f2; border-color: #fecdca; }
.safety-viz { position: relative; padding: 22px 22px 24px; border-radius: 18px; background: url("noise-matte.svg") var(--ink); box-shadow: 0 26px 50px -26px rgba(10, 10, 10, 0.6); }
.safety-viz::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(300px 160px at 85% 0%, rgba(240, 68, 56, 0.20), transparent 70%); }
.bubble-head { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-accent); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f04438; box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.2); animation: pulse 1.4s ease-in-out infinite; }
.mini-wave { display: inline-flex; align-items: center; gap: 3px; height: 14px; margin-left: auto; }
.mini-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--on-dark-accent); transform: scaleY(0.3); animation: wave 0.9s ease-in-out infinite; }
.mini-wave i:nth-child(2n) { animation-delay: -0.3s; }
.mini-wave i:nth-child(3n) { animation-delay: -0.6s; }
.card .quote { position: relative; font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--white); }
.tags { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.meter { position: relative; height: 8px; margin: 32px 0 26px; border-radius: 999px; background: var(--mist); }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 80%; border-radius: inherit; background: linear-gradient(90deg, #a3a3a3, var(--ink)); transform-origin: left center; transition: transform 1.6s var(--ease) 0.4s; }
.js .card-control:not(.in) .meter-fill { transform: scaleX(0); }
.mark { position: absolute; top: 18px; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--text-3); line-height: 1; }
.mark::before { content: ""; position: absolute; left: 50%; top: -16px; width: 1.5px; height: 12px; margin-left: -0.75px; background: var(--line-2); }
.mark-80 { left: 80%; }
.mark-100 { left: 100%; transform: translateX(-100%); }
.mark-100::before { left: auto; right: 0; }

/* ---------- Pricing ---------- */
.pricing { padding: 132px 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1000px; margin: 60px auto 0; align-items: start; }
.plan {
  position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 38px 34px 34px; border-radius: 28px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 0, 0, 0.035), transparent 60%); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan:hover::after { opacity: 1; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.offer-tag { padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.was { margin-right: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--faint); text-decoration-thickness: 2px; }
.amount { font-size: 66px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.per { color: var(--text-3); font-size: 15px; font-weight: 500; }
.setup { margin: 12px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.setup s { color: var(--text-3); }
.plan ul { display: grid; gap: 12px; margin-bottom: 34px; }
.plan li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--accent-soft) var(--check) center / 12px no-repeat; }
.plan li.plus { padding-left: 0; font-weight: 700; }
.plan li.plus::before { display: none; }
.plan .btn-block { margin-top: auto; }
.plan-featured { background: url("noise-matte.svg") var(--ink); border-color: rgba(255, 255, 255, 0.06); color: var(--on-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 44px 90px -40px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(10, 10, 10, 0.2); }
.plan-featured::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px 300px at 85% -12%, rgba(255, 255, 255, 0.10), transparent 70%), radial-gradient(420px 280px at 0% 112%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.plan-featured::after { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.10), transparent 60%); }
.beam {
  position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), rgba(255, 255, 255, 0.10) 0deg, rgba(255, 255, 255, 0.10) 200deg, #8a8a8a 250deg, #ffffff 290deg, #8a8a8a 330deg, rgba(255, 255, 255, 0.10) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite;
}
.plan-featured h3 { color: var(--on-dark-accent); }
.plan-featured .badge { background: linear-gradient(135deg, #ffffff, #bdbdbd); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(255, 255, 255, 0.3); }
.plan-featured .amount { color: var(--white); }
.plan-featured .was, .plan-featured .setup s { color: rgba(255, 255, 255, 0.4); }
.plan-featured .per, .plan-featured .setup { color: var(--on-dark-2); }
.plan-featured .setup { border-bottom-color: rgba(255, 255, 255, 0.1); }
.plan-featured li { color: #d4d4d4; }
.plan-featured li.plus { color: var(--white); }
.plan-featured li::before { background-color: rgba(255, 255, 255, 0.12); background-image: var(--check-light); }
.extra { display: flex; align-items: center; gap: 18px; max-width: 1000px; margin: 22px auto 0; padding: 22px 26px; border-radius: 22px; background: var(--white); border: 1px dashed var(--line-2); }
.extra-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--accent); background: var(--accent-soft); }
.extra-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.extra-label { margin-bottom: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.extra p { font-size: 15.5px; color: var(--text-2); }
.extra strong { color: var(--ink); font-weight: 700; }
.good { max-width: 1000px; margin: 22px auto 0; padding: 30px 32px 32px; border-radius: 24px; background: var(--porcelain); border: 1px solid var(--line); }
.good h3 { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.good ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.good li { position: relative; padding-left: 32px; font-size: 15px; color: var(--text-2); }
.good li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--white) var(--check) center / 12px no-repeat; box-shadow: 0 0 0 1px var(--accent-line); }

/* ---------- FAQ ---------- */
.faq { padding: 132px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-note { margin-top: 22px; font-size: 15.5px; color: var(--text-3); }
.faq-note a { color: var(--accent); font-weight: 650; text-underline-offset: 3px; }
.faq-list { padding: 6px 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
details { overflow: hidden; border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { position: relative; padding: 24px 54px 24px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 650; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); transition: color 0.2s ease; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--white) var(--plus) center / 13px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, border-color 0.25s ease;
}
summary:hover { color: var(--accent); }
details[open] summary::after { transform: rotate(45deg); background-color: var(--ink); border-color: var(--ink); background-image: var(--plus-light); }
details.closing summary::after { transform: none; background-color: var(--white); border-color: var(--line-2); background-image: var(--plus); }
details p { padding: 0 54px 26px 0; font-size: 16px; color: var(--text-2); }
details a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Call to action ---------- */
.cta { padding: 110px 0 120px; }
.cta-panel { text-align: center; padding: 116px 28px; border-radius: 36px; }
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 380px at 50% -12%, rgba(255, 255, 255, 0.10), transparent 70%), radial-gradient(520px 320px at 88% 112%, rgba(255, 255, 255, 0.05), transparent 70%), radial-gradient(520px 320px at 8% 112%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.rings { position: absolute; left: 50%; top: 50%; z-index: -1; width: 0; height: 0; pointer-events: none; }
.rings i { position: absolute; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); opacity: 0; transform: scale(0.3); animation: ring 6.4s ease-out infinite; }
.rings i:nth-child(2) { animation-delay: 1.6s; }
.rings i:nth-child(3) { animation-delay: 3.2s; }
.rings i:nth-child(4) { animation-delay: 4.8s; }
.cta-content { position: relative; }
.display-sm { font-size: clamp(40px, 5.6vw, 76px); font-weight: 700; line-height: 1.1; letter-spacing: -0.045em; text-wrap: balance; }
.cta-panel .display-sm { color: var(--white); }
.cta-panel .sub { margin: 20px auto 0; max-width: 620px; color: var(--on-dark-2); }
.cta-panel .actions { margin-top: 38px; }
.cta-note { margin-top: 20px; font-size: 14.5px; }
.dark .cta-note { color: var(--on-dark-3); }
.cta-note a { color: #d9d9d9; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 36px; border-top: 1px solid var(--line); background: var(--white); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.company { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.logo-dr8x { height: 56px; width: auto; }
.company span { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.footer-note { max-width: 440px; color: var(--text-3); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px; font-size: 14.5px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }

/* ---------- Company and policy pages ---------- */
.doc { padding: 84px 0 120px; }
.doc h1 { margin: 18px 0 14px; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.1; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; }
.doc .label { color: var(--accent); }
.doc .updated { color: var(--text-3); font-size: 14px; }
.doc .lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-2); }
.doc h2 { margin: 56px 0 14px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.doc h3 { margin: 26px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 14px; }
.doc ul { display: grid; gap: 10px; margin-top: 12px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--ink)); }
.doc ul + p { margin-top: 14px; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(10, 10, 10, 0.3); }
.doc a:hover { text-decoration-color: currentColor; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc .note { margin-top: 36px; padding: 24px 26px; border-radius: 20px; background: var(--porcelain); border: 1px solid var(--line); }
.details { display: grid; gap: 12px; margin-top: 40px; }
.details div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 20px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.details dt { color: var(--text-3); font-size: 14.5px; font-weight: 600; }
.details dd { margin: 0; color: var(--ink); font-weight: 600; }
.details dd span { display: block; margin-top: 4px; color: var(--text-3); font-weight: 400; font-size: 15px; }
.details + h2 { border-top: 0; padding-top: 0; }

/* ---------- 404 ---------- */
.solo { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.solo-logo { display: block; width: fit-content; margin: 0 auto 44px; }
.solo .display-sm { margin-top: 18px; color: var(--ink); }
.solo .actions { margin-top: 34px; }

/* ---------- Matte finish ----------
   A fine, still grain over every page, like matte paper and matte ink: it takes the digital gloss off the white and
   the black. It is a small image file inside the site (grain.svg), so the security rules allow it. It never moves,
   catches no clicks, and is left out when printing or when a device asks for more contrast. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: url("grain.svg") 0 0 / 200px 200px repeat;
  opacity: 0.05;
}
/* More grain on the light parts only (the owner's request, 29 Nov): a second, finer layer of dark specks
   (grain-light.svg). On white and grey it adds grain; on the black parts it changes the colour by less than one
   shade, so they stay exactly as they were. Later the same day the owner asked for a quarter less: at 0.52 the grain
   on the light parts is 25% less than at full strength.
   The black parts that are not whole sections (offer bar, now maroon, Pro plan, safety quote, black buttons, the chosen tab, the
   HVAC pill) carry the same fine white grain as the black sections, through noise-matte.svg in their background. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 61; pointer-events: none;
  background: url("grain-light.svg") 0 0 / 200px 200px repeat;
  opacity: 0.52;
}
@media print, (prefers-contrast: more), (forced-colors: active) {
  body::before, body::after { display: none; }
}

/* ---------- Motion ---------- */
.js .intro { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 0.9s ease, transform 1s var(--ease), filter 0.9s ease; }
.js .intro.in { opacity: 1; transform: none; filter: none; }
.js h1.intro, .js .showcase.intro { filter: none; }
.js h1.intro { opacity: 1; transform: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(0.25em); filter: blur(8px); transition: opacity 0.8s ease, transform 0.9s var(--ease), filter 0.8s ease; transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
.split em.w { display: block; }
.split.in .w { opacity: 1; transform: none; filter: none; }
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: reveal-up 0.9s var(--ease) var(--d, 0s) backwards; }

@keyframes reveal-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.16); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes shimmer-text { to { background-position: 100% 0; } }
@keyframes sweep { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { --angle: 360deg; } }
@keyframes ring { 0% { opacity: 0; transform: scale(0.3); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes pulse-line { 0% { background-position: -160px 0, 0 0; } 60%, 100% { background-position: calc(100% + 160px) 0, 0 0; } }
@keyframes drift-a { to { transform: translate3d(80px, 40px, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-70px, 60px, 0) scale(0.94); } }
@keyframes drift-c { to { transform: translate3d(40px, -50px, 0) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .intro, .js .reveal, .split .w, .js [data-demo] .line, .js [data-demo] .f, .js [data-demo] .event { opacity: 1; transform: none; filter: none; transition: none; }
  .js [data-demo] .check { stroke-dashoffset: 0; transition: none; }
  .js .pending, .rings { display: none; }
  .stage { transform: none !important; }
  .js .flow:not(.in)::after { transform: none; }
  .js .card-control:not(.in) .meter-fill { transform: none; }
  .card:hover, .plan:hover, .trades li:hover, .trades li.tap, .trades li:focus-visible, .btn:hover { transform: none; }
  .btn::after { display: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .flow { gap: 20px; }
  .flow h3 { font-size: 17.5px; }
}
@media (max-width: 980px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .flow::before, .flow::after { left: 21.5px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .flow::after { background: linear-gradient(180deg, #5c5c5c, #f5f5f5 55%, #8a8a8a); transform-origin: center top; animation: none; }
  .js .flow:not(.in)::after { transform: scaleY(0); }
  .flow li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 22px; }
  .flow .node { grid-row: span 2; margin-bottom: 0; }
  .flow h3 { margin-top: 9px; font-size: 19px; }
  .onboard { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { grid-column: span 1; }
  .card-wide { grid-column: span 2; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-head { position: static; }
}
@media (max-width: 900px) {
  .menu { display: block; }
  .no-js .menu { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
  }
  .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-row { height: 64px; gap: 12px; }
  .logo-ruh { height: 34.70px; margin: -4.35px; }
  .logo-dr8x { height: 48px; }
  .hero { padding: 56px 0 24px; }
  .actions { margin-top: 32px; }
  .proof { flex-direction: column; align-items: flex-start; width: fit-content; margin: 38px auto 0; gap: 14px; }
  .showcase { margin-top: 52px; }
  .plan-tab { padding: 9px 16px; }
  .window { border-radius: 20px; }
  .window-body { grid-template-columns: minmax(0, 1fr); }
  .window-bar { padding: 12px 16px; }
  .window-bar::before, .chip { display: none; }
  .call { padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .transcript li { grid-template-columns: 50px minmax(0, 1fr); }
  .transcript p { font-size: 15px; }
  .events { padding: 18px 18px 0; }
  .message { margin: 14px 18px 18px; }
  .pending { inset: 18px; }
  .industries { padding: 56px 0 20px; }
  .trades li { padding: 10px 16px 10px 13px; font-size: 15px; }
  .statement { padding: 88px 0 96px; }
  .how, #features, .pricing, .faq { padding: 88px 0; }
  .flow { margin-top: 56px; }
  .bento { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .card, .card-wide { grid-column: span 1; padding: 26px; }
  .card-safety { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .plans { margin-top: 44px; }
  .plan { padding: 32px 24px 26px; }
  .amount { font-size: 56px; }
  .extra { align-items: flex-start; padding: 20px; }
  .good { padding: 26px 22px; }
  .good ul { grid-template-columns: minmax(0, 1fr); }
  .faq-list { padding: 4px 20px; }
  summary { font-size: 17px; padding-right: 48px; }
  details p { padding-right: 0; }
  .cta { padding: 72px 0 88px; }
  .cta-panel { padding: 80px 22px; border-radius: 28px; }
  .footer { padding: 52px 0 32px; }
  .doc { padding: 56px 0 88px; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 20px; }
}
@media (max-width: 400px) {
  .brand .by { display: none; }
  .nav-end .btn-sm { padding: 10px 14px; }
}

/* ---------- Dark header and footer (29 Nov 2026, version 10.4) ----------
   The owner: "Change its colour to dark tone. Keep the DR8 X logo area grey only, else blackish background."
   Matte ink with the same fine grain as the other black parts. The header uses the white Ruh logo (in the pages);
   in the footer the DR8 X logo stays as it was, on its own light grey plate. Placed last so it wins over the rules
   above, the phone rules included. */
.nav { background: url("noise-matte.svg") var(--ink); }
.nav::before { display: none; }
.nav.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -20px rgba(0, 0, 0, 0.6); }
.brand .by { color: #8c8c8c; }
.nav-links a { color: #bdbdbd; }
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.nav .btn-primary { background: #f5f5f5; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 22px -12px rgba(255, 255, 255, 0.35); }
.nav .btn-primary:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 14px 30px -12px rgba(255, 255, 255, 0.45); }
.nav .btn-primary::after { background: linear-gradient(100deg, transparent 30%, rgba(10, 10, 10, 0.08) 50%, transparent 70%); }
.nav :focus-visible { outline-color: var(--white); }
.menu { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }
.menu i { background: var(--white); }

.footer { background: url("noise-matte.svg") var(--ink); border-top: 0; }
/* The DR8 X mark on a grey circle, with the name "DR8 X" in white beside it (the owner's pick, 29 Nov; version
   10.6). The mark sits in a 40 px square inside a 78 px circle, so its corners stay clear of the edge. */
.company { gap: 16px; color: var(--on-dark); }
.footer .logo-dr8x { box-sizing: content-box; width: 40px; height: 40px; object-fit: contain; padding: 19px; border-radius: 50%; background: var(--white); }
/* A shorter footer (version 10.5): less space above, between and below its rows. */
.footer { padding: 40px 0 26px; }
.footer-links { margin-top: 22px; }
.footer-row { margin-top: 18px; padding-top: 14px; }
.footer-note { color: #8c8c8c; }
.footer-links a { color: #bdbdbd; }
.footer-links a:hover { color: var(--white); }
.footer-row { border-top-color: rgba(255, 255, 255, 0.08); color: #8c8c8c; }
.footer :focus-visible { outline-color: var(--white); }

@media (max-width: 900px) {
  .nav-links { background: rgba(18, 18, 18, 0.97); border-color: rgba(255, 255, 255, 0.1); }
}
@media (max-width: 720px) {
  .footer { padding: 32px 0 22px; }
  .footer .logo-dr8x { width: 36px; height: 36px; padding: 17px; }
  .company span { font-size: 20px; }
  .footer-top { gap: 16px; }
  .footer-links { margin-top: 18px; gap: 6px 22px; line-height: 1.5; }
  .footer-row { margin-top: 14px; padding-top: 12px; }
}
