:root {
  --surface: #f9f9f7;
  --surface-low: #f2f4f2;
  --surface-card: #ffffff;
  --surface-ink: #dde5e4;
  --ink: #2d3432;
  --muted: #5a605e;
  --primary: #2e5b8d;
  --primary-deep: #244d79;
  --primary-soft: #d3e4ff;
  --accent: #dceafb;
  --outline: rgba(45, 52, 50, 0.12);
  --shadow: 0 24px 48px rgba(42, 67, 94, 0.08);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: min(1180px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(211, 228, 255, 0.9), transparent 30%),
    radial-gradient(circle at right 18%, rgba(220, 234, 251, 0.55), transparent 22%),
    var(--surface);
}

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

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-surface {
  background: var(--surface);
}

.section-wash {
  background: var(--surface-low);
}

.section-accent {
  background:
    linear-gradient(135deg, rgba(46, 91, 141, 0.1), rgba(46, 91, 141, 0.02)),
    var(--surface);
}

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.mini-label {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 91, 141, 0.08);
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(46, 91, 141, 0.16);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(0.4);
    opacity: 0.7;
  }
  to {
    transform: scale(1.1);
    opacity: 0;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(249, 249, 247, 0.84);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #5d87b5);
  color: #fff;
  box-shadow: 0 16px 28px rgba(46, 91, 141, 0.25);
}

.brand-word {
  font-size: 1.06rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(46, 91, 141, 0.08);
  border-radius: 16px;
  padding: 12px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.split-copy h2,
.compare-intro h2,
.final-cta-card h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text,
.section-head p,
.product-copy p,
.scenario-copy p,
.split-copy p,
.faq-item p,
.footer-copy,
.footer-bottom p {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), #5a83b1);
  color: #fff;
  box-shadow: 0 18px 32px rgba(46, 91, 141, 0.22);
}

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

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats li,
.hero-card,
.product-card,
.scenario-card,
.stack-card,
.final-cta-card,
.compare-table,
.faq-item {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 20px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-stage {
  position: relative;
  min-height: 640px;
}

.hero-card {
  position: absolute;
  padding: 22px;
}

.hero-card-main {
  inset: 20px 34px 96px 32px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 240, 245, 0.76)),
    rgba(255, 255, 255, 0.92);
}

.hero-card-note {
  left: 0;
  bottom: 26px;
  width: min(320px, 72%);
}

.hero-card-note p,
.hero-card-trace li {
  margin: 0;
  color: var(--muted);
}

.hero-card-trace {
  right: 0;
  top: 0;
  width: min(300px, 56%);
}

.hero-card-trace ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hero-card-trace li {
  padding-left: 18px;
  position: relative;
}

.hero-card-trace li::before,
.feature-list li::before,
.stack-list li::before,
.footer-grid a::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  left: 0;
  top: 0.7em;
  transform: translateY(-50%);
}

.trust-strip {
  background: var(--surface-low);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.trust-grid div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.trust-grid span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(46, 91, 141, 0.1);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.section-head {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  margin-bottom: 18px;
}

.product-grid,
.scenario-grid {
  display: grid;
  gap: 22px;
}

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

.product-card {
  overflow: hidden;
}

.product-visual {
  padding: 26px 26px 0;
}

.product-visual img {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(46, 91, 141, 0.08), rgba(255, 255, 255, 0.95));
}

.product-copy {
  padding: 26px;
}

.product-copy h3,
.scenario-copy h3,
.split-copy h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.feature-list,
.stack-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.feature-list li,
.stack-list li,
.footer-grid a {
  position: relative;
  padding-left: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 700;
  color: var(--primary);
}

.scenario-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
}

.scenario-card {
  grid-column: span 4;
  overflow: hidden;
  display: grid;
  min-height: 280px;
}

.scenario-wide {
  grid-column: span 8;
}

.scenario-panel {
  min-height: 190px;
  background-size: cover;
  background-position: center;
}

.panel-child {
  background:
    linear-gradient(135deg, rgba(35, 58, 87, 0.18), rgba(35, 58, 87, 0.05)),
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(120deg, #7c91a9, #cdd7dc);
}

.panel-care {
  background:
    linear-gradient(140deg, rgba(35, 58, 87, 0.2), rgba(35, 58, 87, 0.04)),
    linear-gradient(120deg, #465563, #c3d0da);
}

.panel-home {
  background:
    linear-gradient(135deg, rgba(35, 58, 87, 0.12), rgba(35, 58, 87, 0.02)),
    linear-gradient(120deg, #b8c8d1, #eef3f1);
}

.panel-store {
  background:
    linear-gradient(135deg, rgba(35, 58, 87, 0.18), rgba(35, 58, 87, 0.05)),
    linear-gradient(120deg, #89a0b2, #d8e1e6);
}

.scenario-copy {
  padding: 24px;
}

.split-grid,
.compare-grid,
.faq-grid {
  display: grid;
  gap: 26px;
}

.split-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.principle-list {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}

.principle-list article {
  padding: 0 0 0 22px;
  position: relative;
}

.principle-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.split-visual {
  display: grid;
  gap: 20px;
}

.stack-card,
.stack-band {
  padding: 28px;
}

.stack-band {
  display: grid;
  gap: 18px;
  background: linear-gradient(135deg, rgba(46, 91, 141, 0.11), rgba(255, 255, 255, 0.86));
  border-radius: var(--radius-lg);
}

.stack-band strong,
.compare-row span:first-child {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.stack-band span {
  color: var(--muted);
}

.compare-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

.compare-table {
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 16px;
  padding: 18px 22px;
}

.compare-row + .compare-row {
  background: rgba(255, 255, 255, 0.56);
}

.compare-head {
  background: rgba(46, 91, 141, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 24px 28px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 800;
}

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

.faq-item p {
  margin: 14px 0 0;
}

.final-cta-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(140deg, rgba(46, 91, 141, 0.14), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
}

.final-cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-footer {
  padding: 26px 0 32px;
  background: rgba(235, 239, 236, 0.9);
}

.footer-grid,
.footer-bottom {
  display: grid;
  gap: 24px;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 42px 0 24px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-grid a {
  display: block;
  margin: 10px 0;
  color: var(--ink);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-bottom {
  grid-template-columns: 1fr auto;
  padding-top: 22px;
  border-top: 1px solid rgba(45, 52, 50, 0.08);
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.legal-page {
  background: var(--surface);
}

.legal-shell {
  padding: 60px 0 90px;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.legal-card h2 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card ul {
  padding-left: 20px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .compare-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

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

  .scenario-card,
  .scenario-wide {
    grid-column: span 12;
  }

  .final-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-stats,
  .product-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-card-main {
    inset: 18px 0 132px;
  }

  .hero-card-note,
  .hero-card-trace {
    position: absolute;
    width: calc(100% - 24px);
  }

  .hero-card-note {
    left: 12px;
    bottom: 22px;
  }

  .hero-card-trace {
    top: auto;
    right: 12px;
    bottom: 178px;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 28px;
  }
}
