/* ==========================================================================
   亲脉心贴 · 官方网站样式
   KMAIN ECG — official website
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0a0e33;
  --navy-800: #101540;
  --navy: #141a52;
  --navy-700: #1d2468;
  --indigo: #2f2b7d;

  --orange: #f2a03d;
  --orange-dark: #dd8a23;
  --teal: #16b39f;
  --blue: #3d76f2;
  --red: #ef5d5d;
  --purple: #8967e8;
  --cyan: #2fb9dd;

  --ink: #151a33;
  --text: #2a3050;
  --muted: #616a86;
  --muted-light: #8b93ab;

  --bg: #ffffff;
  --bg-alt: #f5f6fc;
  --bg-soft: #eef0fa;
  --line: rgba(20, 26, 82, 0.1);
  --line-strong: rgba(20, 26, 82, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(16, 21, 64, 0.05);
  --shadow: 0 12px 32px rgba(16, 21, 64, 0.08);
  --shadow-lg: 0 28px 70px rgba(16, 21, 64, 0.14);

  --container: 1160px;
  --header-h: 76px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

::selection {
  background: rgba(242, 160, 61, 0.32);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container.narrow {
  max-width: 860px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(61, 118, 242, 0.28), transparent 62%),
    radial-gradient(760px 420px at 88% 100%, rgba(22, 179, 159, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy) 58%, #232b74);
  color: rgba(255, 255, 255, 0.78);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-dark .eyebrow {
  color: var(--orange);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
}

.section-head .eyebrow {
  font-size: 13px;
  color: var(--orange-dark);
}

.section-head-light p {
  color: rgba(255, 255, 255, 0.68);
}

.section-head-light .eyebrow {
  color: var(--orange);
}

.lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #f6b458);
  color: #2a1a02;
  box-shadow: 0 12px 26px rgba(242, 160, 61, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(242, 160, 61, 0.4);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(20, 26, 82, 0.04);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link:hover {
  color: var(--orange-dark);
  gap: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(16, 21, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 21, 64, 0.14);
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.6);
}

.is-scrolled .brand-text strong,
.is-open .brand-text strong {
  color: var(--ink);
}

.is-scrolled .brand-text small,
.is-open .brand-text small {
  color: var(--muted-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.is-scrolled .site-nav a,
.is-open .site-nav a {
  color: var(--text);
}

.is-scrolled .site-nav a:hover,
.is-scrolled .site-nav a.is-active,
.is-open .site-nav a:hover {
  color: var(--navy);
}

.site-nav .nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  color: #2a1a02;
  background: linear-gradient(135deg, var(--orange), #f6b458);
  box-shadow: 0 8px 18px rgba(242, 160, 61, 0.3);
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  color: #2a1a02;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  place-items: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.is-scrolled .nav-toggle,
.is-open .nav-toggle {
  border-color: var(--line-strong);
}

.is-scrolled .nav-toggle span,
.is-open .nav-toggle span {
  background: var(--navy);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 150px;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(760px 460px at 78% 8%, rgba(61, 118, 242, 0.4), transparent 66%),
    radial-gradient(620px 420px at 6% 82%, rgba(22, 179, 159, 0.26), transparent 66%),
    linear-gradient(158deg, var(--navy-900) 0%, var(--navy) 46%, #232b74 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 520px at 50% 22%, #000 12%, transparent 82%);
  -webkit-mask-image: radial-gradient(760px 520px at 50% 22%, #000 12%, transparent 82%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -80px;
  background: radial-gradient(circle at 32% 32%, rgba(242, 160, 61, 0.5), transparent 68%);
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(circle at 60% 40%, rgba(22, 179, 159, 0.42), transparent 70%);
  animation-delay: -6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ee0b6;
  box-shadow: 0 0 0 4px rgba(78, 224, 182, 0.18);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(78, 224, 182, 0.42);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(78, 224, 182, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(78, 224, 182, 0);
  }
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.22;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero h1 em {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(100deg, #ffd79a 0%, var(--orange) 46%, #ffb85c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 30em;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.74);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  max-width: 470px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-stats dd {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.16), transparent 66%);
  filter: blur(4px);
}

.float-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(5, 8, 32, 0.28);
  animation: float 9s ease-in-out infinite;
}

.tag-connect {
  top: 34px;
  left: 0;
}

.tag-connect i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23c08d;
  box-shadow: 0 0 0 4px rgba(35, 192, 141, 0.16);
}

.tag-report {
  right: -20px;
  bottom: 84px;
  animation-delay: -4s;
}

.tag-report::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 160, 61, 0.18);
}

.patch-card {
  position: absolute;
  top: 96px;
  left: -18px;
  z-index: 2;
  width: 176px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 50px rgba(5, 8, 32, 0.34);
  transform: rotate(-5deg);
}

.patch-device {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 22px;
  background: linear-gradient(150deg, #ffffff, #e8eaf7);
  box-shadow: inset 0 -6px 14px rgba(20, 26, 82, 0.08);
}

.patch-electrode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--indigo);
}

.patch-electrode span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.patch-electrode small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted-light);
}

.patch-led {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d8a6;
  box-shadow: 0 0 0 4px rgba(55, 216, 166, 0.22);
  animation: pulse 2.4s ease-out infinite;
}

.patch-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.patch-caption strong {
  font-size: 13px;
  color: #fff;
}

.patch-caption span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.phone {
  position: relative;
  z-index: 1;
  width: 268px;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 40px 90px rgba(4, 7, 28, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateX(26px);
}

.phone::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.phone-screen {
  position: relative;
  padding: 30px 18px 18px;
  border-radius: 31px;
  background: linear-gradient(170deg, #131a4d, #0b1030 62%, #111a4a);
  color: #fff;
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.screen-head .live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #6fe8c0;
}

.screen-head .live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s ease-out infinite;
}

.screen-bpm {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
}

.screen-bpm strong {
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.screen-bpm span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.screen-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.screen-wave {
  position: relative;
  margin: 12px -6px 0;
  height: 78px;
}

.screen-wave svg {
  width: 100%;
  height: 100%;
}

.wave-base,
.wave-live {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wave-base {
  stroke: rgba(111, 232, 192, 0.16);
  stroke-width: 2;
}

.wave-live {
  stroke: #5fe3b6;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 6px rgba(95, 227, 182, 0.6));
  stroke-dasharray: 120 1400;
  animation: sweep 4.6s linear infinite;
}

@keyframes sweep {
  from {
    stroke-dashoffset: 1520;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.screen-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-metrics small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.screen-metrics b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.screen-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  margin-top: 14px;
  padding: 0 2px;
}

.screen-chart span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(95, 227, 182, 0.9), rgba(61, 118, 242, 0.32));
}

.screen-note {
  margin-top: 10px;
  font-size: 9.5px;
  text-align: center;
  color: rgba(255, 255, 255, 0.32);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.hero-wave path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Trust ---------- */
.trust {
  position: relative;
  margin-top: -108px;
  z-index: 5;
  padding-bottom: 8px;
}

.trust-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 14px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.trust-item span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Overview ---------- */
.section-overview {
  padding-top: 110px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.overview-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 18px;
}

.overview-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 26px 0 0;
}

.dash-card {
  position: relative;
  width: 100%;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.dash-head span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

.dash-head strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  color: var(--ink);
}

.dash-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0f8f6f;
  background: rgba(22, 179, 159, 0.12);
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 150px;
  margin-top: 26px;
}

.dash-bars span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(61, 118, 242, 0.85), rgba(61, 118, 242, 0.18));
  transition: height 0.6s var(--ease);
}

.dash-bars span:nth-child(even) {
  background: linear-gradient(180deg, rgba(22, 179, 159, 0.8), rgba(22, 179, 159, 0.16));
}

.dash-axis {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.dash-axis span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--muted-light);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.dash-stats small {
  display: block;
  font-size: 11.5px;
  color: var(--muted-light);
}

.dash-stats b {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink);
}

.report-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 94%);
  margin: -20px -8px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.report-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(61, 118, 242, 0.1);
}

.report-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.report-card span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.report-card em {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 11px;
  font-style: normal;
  color: var(--orange-dark);
  background: rgba(242, 160, 61, 0.14);
}

.check-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.check-list li {
  display: flex;
  gap: 14px;
}

.check-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(22, 179, 159, 0.12);
}

.check-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-list div {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.check-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
  color: var(--ink);
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-blue {
  color: var(--blue);
  background: rgba(61, 118, 242, 0.1);
}

.icon-teal {
  color: var(--teal);
  background: rgba(22, 179, 159, 0.11);
}

.icon-orange {
  color: var(--orange-dark);
  background: rgba(242, 160, 61, 0.14);
}

.icon-red {
  color: var(--red);
  background: rgba(239, 93, 93, 0.1);
}

.icon-purple {
  color: var(--purple);
  background: rgba(137, 103, 232, 0.12);
}

.icon-cyan {
  color: var(--cyan);
  background: rgba(47, 185, 221, 0.12);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Scenarios ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.scenario-card > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scenario-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: rgba(20, 26, 82, 0.06);
}

.scenario-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Workflow ---------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.workflow li {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.workflow li:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 160, 61, 0.4);
}

.workflow li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.workflow li:last-child::after {
  display: none;
}

.step-num {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffd79a, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.workflow h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.workflow p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.workflow-note {
  margin-top: 34px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- App panel ---------- */
.app-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(61, 118, 242, 0.12), transparent 62%),
    linear-gradient(150deg, #fff, var(--bg-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.app-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 21, 64, 0.16);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-title .eyebrow {
  margin-bottom: 4px;
}

.app-title h2 {
  font-size: 30px;
}

.app-panel-copy > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.app-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.app-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-content: start;
  padding: 8px 0;
}

.app-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.app-facts > div:last-child {
  border-bottom: 0;
}

.app-facts dt {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted-light);
}

.app-facts dd {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.app-facts a {
  color: var(--blue);
}

.app-facts a:hover {
  text-decoration: underline;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-list details[open] {
  border-color: rgba(20, 26, 82, 0.16);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  padding: 20px 58px 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after,
.faq-list summary::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.faq-list summary::before {
  transform: rotate(90deg);
}

.faq-list details[open] summary::before {
  transform: rotate(0deg);
  background: var(--orange-dark);
}

.faq-list details[open] summary::after {
  background: var(--orange-dark);
}

.faq-list details p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 56px;
}

.contact-copy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 16px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list small {
  display: block;
  font-size: 12px;
  color: var(--muted-light);
}

.contact-list a,
.contact-list span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

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

.contact-card {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(242, 160, 61, 0.3), transparent 62%),
    linear-gradient(160deg, var(--navy-900), var(--navy) 62%, #242c78);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-size: 21px;
  color: #fff;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.66);
}

.contact-card .btn {
  margin-top: 24px;
}

.contact-card .btn-outline {
  margin-top: 12px;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.contact-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-note {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  padding: 0 0 72px;
}

.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: #fffaf0;
  border: 1px solid rgba(242, 160, 61, 0.28);
}

.disclaimer-box svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: none;
  stroke: var(--orange-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.disclaimer-box p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #7a5a24;
}

.disclaimer-box strong {
  color: #6b4a12;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 26px;
  color: rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(700px 320px at 8% 0%, rgba(61, 118, 242, 0.2), transparent 62%),
    linear-gradient(180deg, var(--navy-900), #080c28);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  max-width: 30em;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
}

.brand-light .brand-logo {
  background: #fff;
  box-shadow: none;
}

.brand-light .brand-text strong {
  color: #fff;
}

.brand-light .brand-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h3 {
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer-col a,
.footer-col span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s var(--ease);
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ---------- Legal / inner pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(620px 320px at 82% 0%, rgba(61, 118, 242, 0.34), transparent 64%),
    linear-gradient(158deg, var(--navy-900), var(--navy) 58%, #232b74);
}

.page-hero .eyebrow {
  color: var(--orange);
}

.page-hero h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  color: #fff;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 44em;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.66);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding: 64px 0 96px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.legal-toc h2 {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.legal-toc ol {
  display: grid;
  gap: 8px;
  counter-reset: toc;
}

.legal-toc a {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.legal-toc a:hover {
  color: var(--navy);
}

.prose {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 44px;
  padding-bottom: 10px;
  font-size: 21px;
  border-bottom: 1px solid var(--line);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 28px;
  font-size: 16.5px;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.prose ul li {
  position: relative;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0.82em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.prose ol {
  list-style: decimal;
  padding-left: 20px;
}

.prose ol li {
  list-style: decimal;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--ink);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose a {
  color: var(--blue);
  border-bottom: 1px solid rgba(61, 118, 242, 0.3);
}

.prose a:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.prose .callout {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  background: #fffaf0;
  font-size: 14px;
  color: #6b4a12;
}

.prose .callout strong {
  color: #5d3f0d;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.legal-footer a {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line-strong);
}

.legal-footer a:hover {
  color: var(--orange-dark);
}

.legal-contact {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    gap: 32px;
  }

  .patch-card {
    left: -8px;
    width: 156px;
  }

  .overview-grid {
    gap: 44px;
  }

  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (max-width: 940px) {
  .section {
    padding: 72px 0;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 130px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin-inline: auto;
  }

  .hero-visual {
    margin-top: 12px;
    min-height: 460px;
    order: 2;
  }

  .phone {
    transform: none;
  }

  .patch-card {
    left: 0;
    top: 60px;
  }

  .tag-connect {
    left: 8%;
  }

  .tag-report {
    right: 8%;
    bottom: 96px;
  }

  .trust {
    margin-top: -80px;
  }

  .trust-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .trust-item {
    border-left: 0;
    padding: 0;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-visual {
    order: 2;
    width: 100%;
    max-width: 560px;
  }

  .report-card {
    margin-right: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow li::after {
    display: none;
  }

  .app-panel {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .container {
    padding-inline: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(16, 21, 64, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a,
  .is-scrolled .site-nav a,
  .is-open .site-nav a {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
  }

  .site-nav a:hover,
  .is-scrolled .site-nav a:hover,
  .is-open .site-nav a:hover {
    background: var(--bg-alt);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
    color: #2a1a02;
    background: linear-gradient(135deg, var(--orange), #f6b458);
  }

  .hero {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 150px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 34px;
    padding-top: 8px;
    transform: none;
  }

  .phone {
    width: 252px;
    transform: none;
  }

  .patch-card {
    display: none;
  }

  .tag-connect {
    left: 0;
    top: -4px;
  }

  .tag-report {
    right: -4px;
    bottom: 52px;
  }

  .trust {
    margin-top: -64px;
  }

  .trust-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .trust-item + .trust-item {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .section-overview {
    padding-top: 72px;
  }

  .dash-card {
    padding: 20px;
  }

  .dash-bars {
    height: 120px;
    gap: 8px;
  }

  .report-card {
    width: 100%;
    margin: 14px 0 0;
  }

  .feature-grid,
  .scenario-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 26px 22px;
  }

  .app-title {
    gap: 14px;
  }

  .app-title h2 {
    font-size: 24px;
  }

  .app-icon {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .app-facts > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .app-facts dd {
    text-align: left;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .disclaimer-box {
    flex-direction: row;
    padding: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 40px;
  }

  .legal-layout {
    padding: 40px 0 64px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .prose {
    font-size: 14.5px;
  }

  .prose table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 420px) {
  .hero-stats {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    padding: 0 16px;
    font-size: 14.5px;
  }

  .float-tag {
    font-size: 11px;
    padding: 7px 12px;
  }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .skip-link,
  .hero-wave {
    display: none !important;
  }

  body {
    color: #000;
  }

  .page-hero {
    padding: 0 0 16px;
    color: #000;
    background: none;
  }

  .page-hero h1 {
    color: #000;
  }

  .legal-layout {
    display: block;
    padding: 16px 0;
  }

  .prose {
    max-width: none;
    font-size: 11pt;
  }
}
