:root {
  --primary: #138fd8;
  --primary-deep: #0a3b73;
  --primary-soft: #d7eefb;
  --accent: #c6a860;
  --accent-soft: #f3ead7;
  --ink: #142033;
  --muted: #617086;
  --line: rgba(20, 32, 51, 0.1);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --soft-bg: #f7f6f2;
  --success: #157347;
  --danger: #b42318;
  --shadow-lg: 0 30px 70px rgba(10, 30, 62, 0.14);
  --shadow-md: 0 16px 40px rgba(10, 30, 62, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --nav-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(19, 143, 216, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(198, 168, 96, 0.18), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #f7f6f2 52%, #ffffff 100%);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img,
.footer-brand img,
.h5-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(10, 59, 115, 0.16);
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-size: 1rem;
}

.brand-copy span,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active {
  color: var(--primary-deep);
  background: rgba(19, 143, 216, 0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(19, 143, 216, 0.08);
  color: var(--primary-deep);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.2rem;
}

.btn,
.store-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(10, 59, 115, 0.22);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(10, 59, 115, 0.28);
}

.ghost-btn {
  border-color: rgba(10, 59, 115, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-deep);
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  border-color: rgba(10, 59, 115, 0.28);
  transform: translateY(-2px);
}

.pill-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
}

.pill {
  color: var(--primary-deep);
  background: rgba(19, 143, 216, 0.12);
}

.tag {
  color: #6f5624;
  background: rgba(198, 168, 96, 0.18);
}

.section {
  padding: 88px 0;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
  margin: 0;
  color: var(--muted);
}

.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy p.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  max-width: 680px;
}

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

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

.stat-card,
.surface-card,
.feature-card,
.step-card,
.testimonial,
.info-card,
.legal-card,
.contact-card,
.requirement-card,
.version-card,
.focus-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
}

.stat-card strong {
  display: block;
  font-size: 1.55rem;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.hero-visual {
  position: relative;
}

.hero-media {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #dce8f4;
}

.hero-media img,
.about-media img,
.download-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 59, 115, 0.12) 0%, rgba(10, 59, 115, 0.84) 100%),
    linear-gradient(180deg, transparent 0%, rgba(12, 30, 62, 0.24) 100%);
}

.market-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 14px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.surface-card {
  border-radius: 22px;
  padding: 18px;
}

.surface-card.dark {
  background: rgba(9, 28, 58, 0.78);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.surface-card.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.surface-card small,
.metric-label {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 10px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 140px;
}

.chart-bars span {
  flex: 1;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, rgba(19, 143, 216, 0.95), rgba(10, 59, 115, 0.95));
}

.chart-bars span:nth-child(1) { height: 42%; }
.chart-bars span:nth-child(2) { height: 70%; }
.chart-bars span:nth-child(3) { height: 56%; }
.chart-bars span:nth-child(4) { height: 84%; }
.chart-bars span:nth-child(5) { height: 68%; }
.chart-bars span:nth-child(6) { height: 94%; }

.ticker-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ticker-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.92rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

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

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

.feature-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-card,
.step-card,
.testimonial,
.info-card,
.legal-card,
.contact-card,
.requirement-card,
.version-card,
.focus-card {
  border-radius: 24px;
  padding: 26px;
}

.feature-card h3,
.step-card h3,
.contact-card h3,
.requirement-card h3,
.focus-card h3 {
  margin-bottom: 12px;
}

.feature-card .icon,
.step-number,
.legal-index,
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-deep);
  background: rgba(19, 143, 216, 0.12);
  margin-bottom: 18px;
}

.canvas-card {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(10, 59, 115, 0.96) 0%, rgba(9, 35, 72, 0.98) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.canvas-card p {
  color: rgba(255, 255, 255, 0.74);
}

.canvas-card::before,
.canvas-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 168, 96, 0.26), transparent 70%);
}

.canvas-card::before {
  width: 240px;
  height: 240px;
  top: -70px;
  right: -20px;
}

.canvas-card::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -120px;
}

.curve-chart {
  position: relative;
  margin-top: 28px;
  padding: 18px 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.curve-track {
  position: relative;
  height: 180px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.curve-track span {
  position: absolute;
  width: 18%;
  bottom: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #2dbaf6, #0d6ebd);
}

.curve-track span:nth-child(1) { left: 4%; height: 18%; }
.curve-track span:nth-child(2) { left: 24%; height: 46%; }
.curve-track span:nth-child(3) { left: 44%; height: 34%; }
.curve-track span:nth-child(4) { left: 64%; height: 74%; }

.curve-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

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

.step-number {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.step-note,
.quote-meta,
.version-card span,
.legal-card span,
.contact-card span,
.requirement-card span {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.testimonial strong {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-deep);
}

.quote-meta {
  margin-top: 18px;
  color: var(--muted);
}

.cta-band {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(198, 168, 96, 0.18), rgba(19, 143, 216, 0.15)),
    #ffffff;
  border: 1px solid rgba(19, 143, 216, 0.08);
  box-shadow: var(--shadow-md);
}

.cta-band .hero-actions {
  margin-top: 22px;
}

.about-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.about-media,
.download-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-media::after,
.download-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 59, 115, 0.05), rgba(10, 59, 115, 0.44));
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.metric-box {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.metric-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
  color: var(--primary-deep);
}

.principle-grid,
.focus-grid,
.legal-grid,
.contact-grid,
.download-grid,
.support-grid {
  display: grid;
  gap: 22px;
}

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

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

.focus-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-deep);
}

.surface-slab {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 143, 216, 0.07), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(19, 143, 216, 0.1);
  box-shadow: var(--shadow-md);
}

.legal-hero,
.contact-hero,
.download-hero {
  padding-top: 52px;
}

.legal-hero-card,
.contact-hero-card,
.download-hero-card {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.legal-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.legal-content {
  display: grid;
  gap: 20px;
}

.legal-card h3 {
  margin-bottom: 14px;
}

.legal-card ul,
.bullet-list,
.check-list,
.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-callout,
.rights-panel,
.status-strip {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 143, 216, 0.08), rgba(19, 143, 216, 0.02));
  border: 1px solid rgba(19, 143, 216, 0.14);
}

.contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.contact-form-wrap {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(247, 250, 252, 0.85);
  padding: 15px 16px;
  transition: 0.3s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(19, 143, 216, 0.46);
  box-shadow: 0 0 0 4px rgba(19, 143, 216, 0.12);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-row input {
  margin-top: 4px;
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.form-message.success {
  display: block;
  color: var(--success);
  background: rgba(21, 115, 71, 0.1);
}

.form-message.error {
  display: block;
  color: var(--danger);
  background: rgba(180, 35, 24, 0.1);
}

.contact-side {
  display: grid;
  gap: 18px;
}

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

.download-grid {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 20px;
}

.store-btn {
  min-width: 210px;
  padding: 16px 20px;
  border: 1px solid rgba(10, 59, 115, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.store-btn strong {
  display: block;
  font-size: 1rem;
}

.store-btn span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.system-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.site-footer {
  padding: 34px 0 40px;
  border-top: 1px solid rgba(20, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary-deep);
  background: rgba(19, 143, 216, 0.08);
}

.footer-bottom {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

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

.faq-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
}

.faq-panel {
  display: none;
  padding: 0 24px 24px;
}

.faq-item.open .faq-panel {
  display: block;
}

.faq-item.open .faq-toggle {
  color: var(--primary-deep);
}

.h5-page {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.h5-shell {
  width: min(calc(100% - 28px), 680px);
  margin: 0 auto;
  padding: 26px 0 44px;
}

.h5-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.h5-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.h5-hero-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 240px;
  margin-bottom: 18px;
}

.h5-hero-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

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

.h5-list-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(19, 143, 216, 0.06);
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-layout,
  .about-hero,
  .legal-grid,
  .contact-grid,
  .download-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .about-media,
  .download-media {
    min-height: 460px;
  }

  .hero-stats,
  .step-grid,
  .testimonial-grid,
  .principle-grid,
  .metric-band,
  .system-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-three,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 76px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    background: rgba(248, 250, 252, 0.92);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20, 32, 51, 0.08);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.menu-open .nav-menu {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero,
  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media,
  .about-media,
  .download-media {
    min-height: 360px;
    border-radius: 28px;
  }

  .hero-stats,
  .step-grid,
  .testimonial-grid,
  .principle-grid,
  .metric-band,
  .system-grid,
  .steps-grid,
  .grid-two,
  .grid-three,
  .support-grid,
  .focus-grid,
  .panel-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .market-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .feature-card,
  .step-card,
  .testimonial,
  .info-card,
  .legal-card,
  .contact-card,
  .requirement-card,
  .version-card,
  .focus-card,
  .legal-hero-card,
  .contact-hero-card,
  .download-hero-card,
  .contact-form-wrap,
  .cta-band,
  .surface-slab {
    padding: 22px;
    border-radius: 22px;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
  }

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