:root {
  --canvas: #f7f9fc;
  --surface: #ffffff;
  --ink: #10233e;
  --muted: #5e6d82;
  --line: #dce4ee;
  --night: #0b1b33;
  --night-soft: #102844;
  --blue: #0a66d9;
  --blue-deep: #0758bb;
  --blue-soft: #eaf2ff;
  --amber: #d88910;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #57a2ff; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-170%);
  padding: .7rem 1rem;
  color: #fff;
  background: var(--blue);
  border-radius: 7px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header,
footer,
.hero,
.apps-section,
.data-section,
.beliefs,
.closing { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }

.site-header-band {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(14px);
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 760;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand-symbol {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
nav a,
footer > a {
  color: var(--muted);
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover,
footer > a:hover { color: var(--blue); }

.hero-bleed { background: var(--night); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: 550px;
  padding: clamp(3.5rem, 7vw, 6.25rem);
  color: #f8fbff;
}

.overline {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.1rem;
  color: #98b4d4;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.overline::before { width: 22px; height: 2px; background: #55a1ff; content: ""; }
.overline.dark { color: var(--blue); }
.overline.dark::before { background: var(--blue); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1 {
  max-width: 650px;
  margin-bottom: 1.45rem;
  font-size: clamp(3.15rem, 5.9vw, 5.85rem);
  font-weight: 780;
  line-height: .94;
}
h1 span,
.closing h2 span { color: #71b1ff; }
.hero-summary {
  max-width: 510px;
  margin-bottom: 1.9rem;
  color: #b9cae0;
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.actions,
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 43px;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--night); background: #fff; }
.button-light:hover { background: #dbeaff; box-shadow: 0 7px 22px rgba(0, 0, 0, .2); }
.button-blue { color: #fff; background: var(--blue); }
.button-blue:hover { background: var(--blue-deep); box-shadow: 0 8px 20px rgba(10,102,217,.23); }
.text-link { color: var(--blue); font-size: .85rem; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link.light { color: #bdd7fb; }
.text-link.light:hover { color: #fff; }

.app-shelf { display: grid; gap: .8rem; }
.shelf-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 82px;
  padding: .95rem 1rem;
  border: 1px solid rgba(178, 208, 243, .18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.045);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.shelf-item:hover { transform: translateX(4px); border-color: rgba(113,177,255,.88); background: rgba(89, 157, 242, .13); }
.shelf-item img { width: 48px; height: 48px; border-radius: 12px; }
.shelf-item strong { display: block; font-size: .95rem; letter-spacing: -.02em; }
.shelf-item small { color: #9db4d0; font-size: .76rem; }
.shelf-item b { color: #79b7ff; font-size: 1rem; }
.shelf-note { display: flex; align-items: center; gap: .6rem; margin: .65rem 0 0; color: #92a8c4; font-family: var(--mono); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.shelf-note span { width: 7px; height: 7px; border-radius: 50%; background: #5bd5a6; box-shadow: 0 0 0 4px rgba(91,213,166,.12); }

.apps-section { padding-block: 8.5rem 7.5rem; }
.section-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; margin-bottom: 3rem; }
.section-intro h2,
.data-heading h2,
.closing h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4.2vw, 4.45rem); font-weight: 760; line-height: .96; }
.section-intro > div > p,
.data-heading > p { max-width: 550px; margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }

.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card {
  display: flex;
  min-height: 328px;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid #c4dcfb;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(28, 52, 85, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.app-card:hover { transform: translateY(-4px); border-color: #aac8ee; box-shadow: 0 19px 35px rgba(28, 52, 85, .11); }
.app-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.65rem; }
.app-title-row { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 7px 16px rgba(16,35,62,.13); }
.product-type { margin-bottom: .16rem; color: var(--blue); font-family: var(--mono); font-size: .64rem; font-weight: 780; letter-spacing: .095em; line-height: 1.2; text-transform: uppercase; }
.app-card h3, .data-card h3 { margin-bottom: 0; font-size: 1.5rem; font-weight: 770; line-height: 1; }
.app-promise { margin-bottom: 1.35rem; color: #34465f; font-size: .98rem; line-height: 1.58; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.chips li { padding: .3rem .45rem; border: 1px solid #d7e2ef; border-radius: 5px; color: #4b627d; background: #f8fbff; font-size: .69rem; font-weight: 650; }
.card-actions { margin-top: auto; }

.data-section { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(2.5rem, 7vw, 7rem); padding-block: 6rem; border-top: 1px solid var(--line); }
.data-heading > p:last-child { max-width: 390px; }
.data-list { display: grid; gap: 12px; }
.data-card {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1.2fr) minmax(190px, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfefe;
}
.data-glyph { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; color: #7d4b00; background: #fff0d7; font-family: var(--mono); font-size: 1rem; font-weight: 800; }
.data-copy > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .84rem; }
.data-stats { margin: 0; color: #293c57; font-family: var(--mono); font-size: .74rem; font-weight: 700; line-height: 1.65; }
.data-stats span { color: var(--muted); font-size: .67rem; font-weight: 550; }
.data-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; white-space: nowrap; }
.data-links > a:last-child { color: var(--muted); font-size: .73rem; font-weight: 650; text-decoration: none; }
.data-links > a:last-child:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.beliefs-band { margin-bottom: 7.5rem; border-block: 1px solid #cddded; background: var(--blue-soft); }
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-block: 0; }
.beliefs div { display: grid; gap: .35rem; padding: 1.65rem 1.6rem; border-right: 1px solid #cddded; }
.beliefs div:last-child { border-right: 0; }
.beliefs strong { color: var(--ink); font-size: 1.05rem; letter-spacing: -.03em; }
.beliefs span { color: var(--muted); font-size: .82rem; }

.closing-band { margin-bottom: 4rem; background: var(--night); }
.closing { padding: clamp(3rem, 6vw, 5.5rem); color: #f9fbff; }
.closing h2 { max-width: 600px; }
.closing > p:not(.overline) { max-width: 500px; margin-bottom: 1.7rem; color: #aec3dd; }

footer { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: .78rem; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr .85fr; gap: 2.5rem; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card:last-child { grid-column: span 2; }
  .data-section { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 720px) {
  .site-header, footer, .hero, .apps-section, .data-section, .beliefs, .closing { width: min(calc(100% - 32px), 1280px); }
  .site-header { min-height: 64px; }
  nav { gap: 1rem; }
  nav a:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 3.25rem 0; }
  h1 { font-size: clamp(2.7rem, 12.5vw, 4.5rem); }
  .app-shelf { max-width: 520px; }
  .apps-section { padding-block: 5.5rem; }
  .section-intro { grid-template-columns: 1fr; gap: .6rem; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card:last-child { grid-column: auto; }
  .app-promise { min-height: 0; }
  .data-section { padding-block: 4.75rem; }
  .data-card { grid-template-columns: 44px 1fr; gap: 1rem; }
  .data-stats, .data-links { grid-column: 2; }
  .data-links { flex-direction: row; gap: 1rem; }
  .beliefs-band { margin-bottom: 4rem; }
  .beliefs { grid-template-columns: 1fr; }
  .beliefs div { grid-template-columns: 5.2rem 1fr; align-items: baseline; border-right: 0; border-bottom: 1px solid #cddded; }
  .beliefs div:last-child { border-bottom: 0; }
  .closing { margin-bottom: 2.25rem; }
  footer { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.5rem; }
}

@media (max-width: 440px) {
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .actions .text-link { padding: .35rem 0; }
  .shelf-item { grid-template-columns: 44px 1fr auto; padding: .75rem; }
  .shelf-item img { width: 44px; height: 44px; }
  .data-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
