:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #dbe3ef;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --violet: #7c3aed;
  --navy: #172554;
  --amber: #fbbf24;
  --green: #047857;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --content: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

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

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--violet);
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  border-radius: 8px;
  background: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.brand-mark svg {
  width: 27px;
}

.brand-name {
  font-size: 1.1rem;
}

.brand-name span {
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  padding: 9px 12px;
  color: var(--ink-soft);
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 720;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: #eff6ff;
}

.main-nav .nav-cta {
  margin-left: 6px;
  color: #fff;
  background: var(--ink);
}

.main-nav .nav-cta:hover {
  color: #fff;
  background: var(--blue-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 126px) 0 86px;
  background:
    radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.17), transparent 34%),
    radial-gradient(circle at 94% 25%, rgba(124, 58, 237, 0.16), transparent 33%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 80%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -260px;
  height: 360px;
  transform: rotate(-4deg);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.09));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(330px, 0.93fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.hero h1 span,
.gradient-text {
  color: transparent;
  background: linear-gradient(125deg, var(--blue) 12%, var(--violet) 78%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3);
}

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

.button-secondary:hover {
  color: var(--blue-dark);
  border-color: #bfdbfe;
  background: #eff6ff;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-notes span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 900;
}

.app-preview {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(219, 227, 239, 0.88);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.4deg);
}

.app-window {
  overflow: hidden;
  border: 1px solid #d8e0eb;
  border-radius: 22px;
  background: #f1f5f9;
}

.window-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: var(--navy);
}

.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.window-bar i:first-child {
  background: #f87171;
}

.window-bar i:nth-child(2) {
  background: #fbbf24;
}

.window-bar i:nth-child(3) {
  background: #34d399;
}

.window-title {
  margin-left: auto;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-style: normal;
}

.preview-body {
  padding: 20px;
}

.preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-heading strong {
  font-size: 1.08rem;
}

.preview-heading span {
  color: var(--muted);
  font-size: 0.75rem;
}

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

.metric {
  min-height: 102px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 1.45rem;
}

.metric em {
  display: inline-block;
  margin-top: 5px;
  color: var(--green);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.preview-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.preview-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 11px;
  background: #fff;
}

.preview-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.preview-row span,
.preview-row b {
  font-size: 0.76rem;
}

.preview-row b {
  color: var(--muted);
}

.floating-chip {
  position: absolute;
  right: -20px;
  bottom: 34px;
  padding: 12px 15px;
  color: #fff;
  border-radius: 13px;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 800;
  transform: rotate(-1.4deg);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.trust-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: clamp(74px, 9vw, 120px) 0;
}

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

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.3), transparent 32%),
    linear-gradient(135deg, #0f172a, #172554 60%, #312e81);
}

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

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark .section-head p,
.section-dark .muted {
  color: #cbd5e1;
}

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

.card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue-dark);
  border-radius: 14px;
  background: #dbeafe;
  font-size: 1.15rem;
  font-weight: 900;
}

.card h3 + p {
  margin-top: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 8vw, 90px);
}

.trade-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trade-cloud span {
  padding: 9px 13px;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 0, rgba(251, 191, 36, 0.2), transparent 26%),
    linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: var(--shadow-lg);
}

.cta-panel p {
  max-width: 650px;
  margin-top: 13px;
  color: #e0e7ff;
}

.cta-panel .button-secondary {
  border-color: transparent;
  background: #fff;
}

.page-hero {
  padding: clamp(70px, 9vw, 115px) 0 68px;
  background:
    radial-gradient(circle at 85% 15%, rgba(124, 58, 237, 0.14), transparent 35%),
    linear-gradient(180deg, #eff6ff, #fff);
}

.page-hero h1 {
  max-width: 870px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.page-hero .lead {
  max-width: 760px;
}

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

.platform-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.platform-card .label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: #3730a3;
  border-radius: 999px;
  background: #e0e7ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card p {
  margin-top: 10px;
  color: var(--muted);
}

.status-box {
  padding: 19px 21px;
  color: #78350f;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  background: #fffbeb;
}

.status-box strong {
  display: block;
  margin-bottom: 4px;
}

.faq-list {
  max-width: 860px;
  display: grid;
  gap: 13px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.faq-list summary {
  position: relative;
  padding: 20px 54px 20px 21px;
  cursor: pointer;
  list-style: none;
  font-weight: 820;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 21px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 21px 21px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 26px;
}

.contact-card,
.form-card,
.legal-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card p,
.form-card > p {
  margin-top: 12px;
  color: var(--muted);
}

.contact-data {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-data div {
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.contact-data strong,
.contact-data span {
  display: block;
}

.contact-data span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

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

.form-field label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 780;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  border-color: var(--blue);
}

.check-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
}

.legal-nav a {
  padding: 7px 9px;
  color: var(--ink-soft);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--blue-dark);
  background: #e0e7ff;
}

.legal-card {
  display: grid;
  gap: 34px;
}

.legal-section {
  display: grid;
  gap: 11px;
  scroll-margin-top: 110px;
}

.legal-section h2 {
  font-size: 1.5rem;
}

.legal-section h3 {
  margin-top: 8px;
  font-size: 1.06rem;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
}

.legal-section ul {
  margin: 0;
  padding-left: 21px;
}

.site-footer {
  padding: 56px 0 26px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
}

.site-footer .brand {
  color: #fff;
}

.footer-copy {
  max-width: 460px;
  margin-top: 17px;
  color: #94a3b8;
}

.footer-column strong {
  display: block;
  margin-bottom: 13px;
  color: #fff;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: #cbd5e1;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  color: #64748b;
  border-top: 1px solid #263449;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .header-inner {
    align-items: flex-start;
    padding-block: 14px;
  }

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

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .app-preview {
    width: min(620px, 94%);
    margin-inline: auto;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--content));
  }

  .header-inner {
    display: grid;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .main-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding-top: 66px;
  }

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

  .app-preview {
    width: 100%;
    transform: none;
  }

  .floating-chip {
    right: 12px;
    bottom: 18px;
    transform: none;
  }

  .trust-inner,
  .steps,
  .card-grid,
  .platform-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    padding-block: 22px;
  }

  .trust-item {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .form-field.full,
  .check-field,
  .form-note {
    grid-column: auto;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 1rem;
  }

  .actions .button {
    width: 100%;
  }

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

  .floating-chip {
    position: static;
    width: fit-content;
    margin: 12px 0 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
