:root {
  color-scheme: light;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #eef4f6;
  --ink: #132232;
  --muted: #5c7085;
  --line: #d8e2ea;
  --accent: #0c7280;
  --accent-dark: #095766;
  --red: #cf2d18;
  --gold: #b48a42;
  --black: #111827;
  --shadow: 0 20px 60px rgba(19, 34, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 6%, rgba(12, 114, 128, 0.15), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(207, 45, 24, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 249, 0.98)),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(19, 34, 50, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 34, 50, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  animation: gridDrift 18s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 226, 234, 0.86);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(19, 34, 50, 0.12);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.brand:hover img {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 14px 34px rgba(19, 34, 50, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: var(--surface-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 74px 0 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.01;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.25;
}

.lead,
.section-heading p {
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.interactive-surface,
.button,
.screen-frame,
.nav-links a,
.notice a {
  position: relative;
  overflow: hidden;
}

.interactive-surface {
  cursor: pointer;
}

.interactive-surface:focus-visible,
.button:focus-visible,
.screen-frame:focus-visible,
.nav-links a:focus-visible,
.notice a:focus-visible {
  outline: 3px solid rgba(12, 114, 128, 0.26);
  outline-offset: 3px;
}

.click-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(12, 114, 128, 0.20);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 620ms ease-out forwards;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: transform 580ms ease;
}

.button:hover::after {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 32px rgba(12, 114, 128, 0.26);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span,
.live-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(216, 226, 234, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  padding: 8px 11px;
}

.live-pill {
  position: relative;
  color: var(--accent-dark);
  background: #e8f7f8;
}

.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(12, 114, 128, 0.44);
  animation: pulse 1.8s ease-out infinite;
}

.hero-panel {
  border: 1px solid rgba(216, 226, 234, 0.9);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 246, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
  animation: floatPanel 7s ease-in-out infinite;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-panel:hover {
  border-color: rgba(12, 114, 128, 0.30);
  box-shadow: 0 28px 74px rgba(19, 34, 50, 0.17);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-logo {
  width: 150px;
  max-width: 44%;
}

.screen-frame {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(19, 34, 50, 0.12);
  cursor: zoom-in;
  padding: 0;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.screen-frame:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 24px 58px rgba(19, 34, 50, 0.17);
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-screen {
  border-radius: 16px;
}

.featured-screen img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.metric-row div {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.metric-row span,
.report-list span,
.notice span,
.evidence-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(216, 226, 234, 0.86);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 28s linear infinite;
}

.ticker-track span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  padding: 9px 14px;
}

.section {
  padding: 76px 0;
  border-top: 1px solid rgba(216, 226, 234, 0.86);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.use-grid,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-grid article {
  min-width: 0;
}

.screen-grid h3 {
  margin: 18px 0 8px;
}

.screen-grid p {
  color: var(--muted);
}

.feature-card,
.evidence-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(19, 34, 50, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.evidence-card:hover {
  transform: translateY(-5px) scale(1.018);
  border-color: rgba(12, 114, 128, 0.28);
  box-shadow: 0 22px 54px rgba(19, 34, 50, 0.12);
}

.feature-card p,
.split p,
.compliance p {
  color: var(--muted);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 10px;
  background: #f7e9e5;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

.evidence-band {
  position: relative;
}

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

.evidence-card {
  min-height: 150px;
}

.evidence-card strong {
  display: block;
  margin-bottom: 10px;
}

.split,
.compliance {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.report-list {
  display: grid;
  gap: 12px;
}

.report-list div,
.notice {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.report-list div:hover {
  transform: translateX(4px) scale(1.012);
  box-shadow: 0 14px 36px rgba(19, 34, 50, 0.09);
}

.report-list strong {
  display: block;
  margin-bottom: 5px;
}

.notice {
  border-left: 4px solid var(--accent);
  box-shadow: 0 14px 40px rgba(19, 34, 50, 0.07);
}

.notice strong {
  display: block;
  margin-bottom: 14px;
}

.notice a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.notice a:hover {
  color: var(--accent-dark);
  transform: translateX(3px);
}

.download-band {
  border-top: 0;
}

.author-band {
  border-top: 0;
  padding-top: 18px;
}

.author-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(180, 138, 66, 0.28);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 238, 0.86)),
    var(--surface);
  box-shadow: 0 22px 64px rgba(19, 34, 50, 0.11);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.author-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(180, 138, 66, 0.46);
  box-shadow: 0 30px 78px rgba(19, 34, 50, 0.16);
}

.author-card p {
  color: var(--muted);
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(12, 114, 128, 0.18);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 247, 248, 0.88)),
    var(--surface);
  box-shadow: 0 24px 70px rgba(19, 34, 50, 0.12);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.download-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(12, 114, 128, 0.36);
  box-shadow: 0 30px 82px rgba(19, 34, 50, 0.17);
}

.download-card p {
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.lightbox {
  width: min(94vw, 1280px);
  max-width: 1280px;
  border: 0;
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.lightbox::backdrop {
  background: rgba(8, 17, 27, 0.68);
  backdrop-filter: blur(10px);
}

.lightbox[open] {
  animation: lightboxIn 200ms ease-out both;
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 750;
}

.lightbox-close {
  display: inline-flex;
  float: right;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  padding: 8px 13px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lightbox-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 34, 50, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(216, 226, 234, 0.86);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  animation: revealUp 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.delay-1 {
  animation-delay: 110ms;
}

.delay-2 {
  animation-delay: 220ms;
}

.delay-3 {
  animation-delay: 330ms;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(12, 114, 128, 0.44);
  }
  72%,
  100% {
    box-shadow: 0 0 0 10px rgba(12, 114, 128, 0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 42px 42px;
  }
}

@keyframes rippleOut {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(32);
  }
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section .reveal {
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .compliance,
  .download-card,
  .author-card {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

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

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

@media (max-width: 620px) {
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 16px 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 40px;
  }

  .use-grid,
  .evidence-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
