/* Zyntra Hub — site stylesheet. No external fonts or frameworks. */

:root {
  --brand: #2c73ff;
  --brand-600: #1f5fe0;
  --brand-50: #eef4ff;
  --brand-100: #dbe7ff;
  --ink: #0b1b3f;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --success: #15803d;
  --warning-bg: #fff7ed;
  --warning: #9a3412;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
}

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

a {
  color: var(--brand-600);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.container {
  width: min(var(--max), 100% - 2rem);
  margin-inline: auto;
}

.narrow {
  width: min(780px, 100% - 2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* ------------------------------------------------------------ Header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--brand-50);
  color: var(--brand-600);
}

.site-nav .btn {
  margin-left: 0.5rem;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: 68px 0 auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open,
  .no-js .site-nav {
    display: block;
  }

  .no-js .site-nav {
    position: static;
    box-shadow: none;
  }

  .no-js .nav-toggle {
    display: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav .btn {
    margin: 0.5rem 0 0;
    text-align: center;
  }
}

/* ----------------------------------------------------------- Buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary,
.site-nav a.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover,
.site-nav a.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-600);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------------------------------------------------------- Sections -- */

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

/* -------------------------------------------------------------- Hero -- */

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--brand-100), transparent 60%),
    radial-gradient(40rem 24rem at -10% 10%, var(--brand-50), transparent 60%);
}

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

.hero .lead {
  max-width: 620px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-points {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.98rem;
}

.hero-points strong {
  display: block;
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- Cards -- */

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.hero-points .icon {
  margin: 0;
  width: 2.25rem;
  height: 2.25rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.badge-live {
  background: #dcfce7;
  color: var(--success);
}

.badge-soon {
  background: var(--warning-bg);
  color: var(--warning);
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-card .more {
  margin-top: auto;
  font-weight: 600;
}

/* ------------------------------------------------------------ Lists -- */

.check-list {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fe0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
}

.steps .card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-weight: 800;
  font-size: 1.4rem;
}

/* ------------------------------------------------------------- Split -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.status-table th,
.status-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.status-table th {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
}

/* --------------------------------------------------------------- FAQ -- */

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.25rem;
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style-position: outside;
}

.faq details[open] summary {
  margin-bottom: 0.6rem;
}

.faq details p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------- CTA -- */

.cta {
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--brand) 0%, #1747b8 100%);
  color: #fff;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  opacity: 0.92;
  max-width: 640px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--brand-600);
}

.cta .btn-primary:hover {
  background: var(--brand-50);
  color: var(--ink);
}

.cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 50%);
}

.cta .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ------------------------------------------------------- Page header -- */

.page-hero {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: radial-gradient(50rem 22rem at 90% -20%, var(--brand-100), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: var(--muted);
}

/* ------------------------------------------------------------- Prose -- */

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.25rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1em;
}

.prose li + li {
  margin-top: 0.35rem;
}

.notice {
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

.meta-line {
  color: var(--muted);
  font-size: 0.95rem;
}

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.5rem;
  margin: 0;
}

dl.facts dt {
  font-weight: 600;
  color: var(--ink);
}

dl.facts dd {
  margin: 0;
}

@media (max-width: 560px) {
  dl.facts {
    grid-template-columns: 1fr;
  }

  dl.facts dd {
    margin-bottom: 0.6rem;
  }
}

/* ------------------------------------------------------------ Footer -- */

.site-footer {
  margin-top: 0;
  padding: 3.5rem 0 2rem;
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.97rem;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid h2 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.9rem;
  color: #94a3b8;
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ Motion -- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ------------------------------------------------------------- Print -- */

@media print {
  .site-header,
  .site-footer,
  .cta,
  .nav-toggle {
    display: none !important;
  }
}
