:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #60707a;
  --line: #d8e0e3;
  --panel: #ffffff;
  --bg: #f5f7f8;
  --teal: #0f6b7a;
  --teal-dark: #0a4d58;
  --red: #c7332c;
  --amber: #b7791f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 14px clamp(18px, 4vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  height: 34px;
  width: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--red);
  color: white;
}

.nav {
  display: flex;
  flex: 1;
  gap: 18px;
  overflow-x: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--teal);
}

.locale select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-weight: 650;
}

.visually-hidden {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.hero {
  display: grid;
  min-height: calc(100svh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: #40515a;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.disclaimer {
  margin-top: 22px;
  max-width: 680px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(23, 33, 38, 0.14);
  overflow: hidden;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #172126;
  color: white;
  padding: 18px;
}

.visual-header span {
  color: #c9d4d8;
  font-size: 13px;
}

.visual-header strong {
  color: #7ee0ca;
  font-size: 30px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.metric-grid div {
  background: white;
  padding: 18px;
}

.metric-grid span,
.timeline span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.timeline {
  padding: 18px;
}

.timeline p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid #edf1f2;
  padding: 12px 0;
}

.timeline p:last-child {
  border-bottom: 0;
}

.band,
.workflow {
  padding: clamp(48px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p,
.workflow p {
  color: var(--muted);
  line-height: 1.6;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-grid article,
.api-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.module-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  background: #edf3f4;
}

ol {
  margin: 24px 0 0;
  padding-left: 22px;
}

li {
  margin: 12px 0;
  color: #33454e;
  line-height: 1.55;
}

.api-panel code {
  display: block;
  margin-top: 10px;
  border: 1px solid #cbd6da;
  border-radius: 7px;
  background: #f7fafb;
  padding: 10px;
  color: var(--teal-dark);
  font-weight: 800;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  font-size: 13px;
}

.button.ghost {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}

.audiences {
  background: #edf3f4;
}

.audience-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audience-grid article,
.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.audience-grid p,
.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.trust-grid article {
  border-left: 3px solid var(--teal);
}

.verify {
  background: #172126;
  color: white;
}

.verify .section-head p {
  color: #c9d4d8;
}

.verify-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
}

.verify-panel code {
  border: 1px solid #2c3a41;
  border-radius: 7px;
  background: #0f1a1f;
  padding: 12px 14px;
  color: #7ee0ca;
  font-weight: 700;
  overflow-x: auto;
}

.verify-note {
  margin-top: 22px;
  max-width: 780px;
  color: #9fb0b6;
  font-size: 13px;
  line-height: 1.55;
}

.limitations-list {
  margin: 0;
  max-width: 900px;
  padding-left: 20px;
}

.limitations-list li {
  color: #33454e;
}

.contact {
  display: grid;
  place-items: center;
}

.contact-card {
  max-width: 760px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 24px 70px rgba(23, 33, 38, 0.1);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.contact-card .hero-actions {
  justify-content: center;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

html[dir="rtl"] .workflow,
html[dir="rtl"] .hero {
  direction: rtl;
}

@media (max-width: 900px) {
  .audience-grid,
  .trust-grid,
  .verify-panel {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .hero,
  .workflow,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(40px, 13vw, 64px);
  }
}
