:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-strong: #eef3fb;
  --text: #162033;
  --muted: #5d697d;
  --line: #dfe6f1;
  --blue: #7c3aed;
  --cyan: #00a6c8;
  --green: #1e8e3e;
  --indigo: #5f63d6;
  --yellow: #f9ab00;
  --red: #d93025;
  --shadow: 0 24px 70px rgba(26, 45, 76, 0.14);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(223, 230, 241, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.14);
}

.brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

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

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: #f4efff;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6vw, 92px) 64px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text,
.section-heading p,
.module-card p,
.panel-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--blue);
  background: #fff;
}

.app-preview {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  background:
    radial-gradient(circle at 16% 12%, rgba(249, 171, 0, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(0, 166, 200, 0.16), transparent 28%),
    linear-gradient(180deg, #fff, #f4f7fb);
  box-shadow: var(--shadow);
}

.preview-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.preview-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--line);
}

.preview-toolbar span:nth-child(1) {
  background: var(--red);
}

.preview-toolbar span:nth-child(2) {
  background: var(--yellow);
}

.preview-toolbar span:nth-child(3) {
  background: var(--green);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.preview-header strong {
  display: block;
  margin-bottom: 5px;
  font-size: 22px;
}

.preview-header small,
.preview-tile span,
.platform-card p,
.module-list small {
  color: var(--muted);
}

.status-pill {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  background: #e8f5e9;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.preview-tile {
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
}

.preview-tile strong {
  display: block;
  margin-top: 18px;
  font-size: 42px;
  line-height: 1;
}

.preview-tile.cyan {
  border-top: 4px solid var(--cyan);
}

.preview-tile.blue {
  border-top: 4px solid var(--blue);
}

.preview-tile.green {
  border-top: 4px solid var(--green);
}

.preview-tile.indigo {
  border-top: 4px solid var(--indigo);
}

.receipt-strip {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 20px;
  background: #162033;
}

.receipt-strip span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.receipt-strip span:nth-child(1) {
  width: 74%;
}

.receipt-strip span:nth-child(2) {
  width: 92%;
}

.receipt-strip span:nth-child(3) {
  width: 58%;
}

.receipt-strip span:nth-child(4) {
  width: 82%;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 92px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.intro-band div {
  min-height: 160px;
  padding: 34px;
  background: #fff;
}

.intro-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.intro-band span {
  color: var(--muted);
  line-height: 1.55;
}

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

.section-heading.compact {
  margin-bottom: 0;
}

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

.module-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(22, 32, 51, 0.07);
}

.module-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 22px 56px rgba(22, 32, 51, 0.12);
}

.module-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
}

.module-icon svg {
  width: 27px;
  height: 27px;
}

.module-card p {
  margin-bottom: 24px;
  font-size: 16px;
}

.accent-cyan .module-icon {
  color: var(--cyan);
  background: #e6f7fb;
}

.accent-blue .module-icon {
  color: var(--blue);
  background: #f4efff;
}

.accent-green .module-icon {
  color: var(--green);
  background: #e8f5e9;
}

.accent-indigo .module-icon {
  color: var(--indigo);
  background: #f0f0ff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--surface);
}

.print-section,
.panel-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  background: #fff;
}

.print-section {
  color: #d8e2f1;
  background: #111827;
}

.print-media,
.panel-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(30, 142, 62, 0.1)),
    #f8fbff;
  box-shadow: var(--shadow);
}

.print-media {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(196, 181, 253, 0.18), rgba(30, 142, 62, 0.14)),
    #172033;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.print-media img,
.panel-media img {
  display: block;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.print-copy,
.panel-copy {
  max-width: 620px;
}

.print-copy p,
.panel-copy p {
  margin-bottom: 22px;
}

.print-copy .eyebrow {
  color: #c4b5fd;
}

.print-copy h2 {
  color: #ffffff;
}

.print-copy p,
.print-copy .check-list li {
  color: #aebbd0;
}

.print-copy .check-list li::before {
  color: #111827;
  background: #c4b5fd;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  content: "✓";
  font-size: 13px;
  font-weight: 800;
}

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

.module-list a {
  display: grid;
  gap: 8px;
  min-height: 118px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}

.module-list a:hover,
.platform-card:hover {
  border-color: rgba(124, 58, 237, 0.52);
  box-shadow: 0 16px 38px rgba(22, 32, 51, 0.08);
}

.module-list span {
  font-weight: 800;
}

.web-access {
  background: #fff;
}

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

.platform-card {
  display: grid;
  min-height: 260px;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.platform-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: #f4efff;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
}

.platform-card p {
  margin: 0;
  line-height: 1.65;
}

.web-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.web-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  background: #fff;
}

.play-store-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface-strong);
}

.store-copy {
  max-width: 820px;
}

.store-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.play-store-section h2 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
}

.store-button {
  display: inline-flex;
  min-width: 220px;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 18px;
  padding: 12px 20px;
  color: #fff;
  background: #111827;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.22);
}

.store-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #c4b5fd;
}

.store-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}

.store-button span:last-child {
  display: grid;
  gap: 2px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
}

.store-button small {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 46px clamp(20px, 6vw, 92px);
  color: #d8e2f1;
  background: #111827;
}

.site-footer p {
  max-width: 580px;
  margin: 18px 0 0;
  color: #aebbd0;
  font-size: 15px;
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.12);
  color: #c4b5fd;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  justify-content: flex-end;
}

.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .print-section,
  .panel-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .section-heading.compact {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 10px;
  }

  .hero {
    padding-top: 40px;
  }

  .app-preview {
    min-height: 430px;
    border-radius: 22px;
    padding: 16px;
  }

  .print-media,
  .panel-media {
    border-radius: 18px;
  }

  .print-media img,
  .panel-media img {
    min-height: 240px;
  }

  .preview-grid,
  .module-grid,
  .module-list,
  .platform-grid,
  .intro-band {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: auto;
  }

  .play-store-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions .button,
  .store-button {
    width: 100%;
  }
}
