/* Arkvelis — light SaaS / fintech static layout */

:root {
  --blue-50: #e8f4fc;
  --blue-100: #c5e4f7;
  --blue-200: #a8d4f0;
  --blue-600: #1e5a8a;
  --blue-900: #0c2238;
  --brand-bg: #0a0f2e;
  --black: #0a0a0a;
  --white: #ffffff;
  --muted: #5c6b7a;
  --line: #d4e4f0;
  --wrap: 1120px;
  --radius: 14px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(12, 34, 56, 0.06);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--blue-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
}

.header--on-hero,
.header--solid {
  background: var(--brand-bg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

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

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.nav a:hover {
  color: var(--white);
}

.nav a[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.header .btn-dark {
  background: var(--white);
  color: var(--brand-bg);
}

.header .btn-dark:hover {
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border: 1px solid var(--line);
}

.header .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--blue-100) 0%, var(--blue-200) 45%, #9ecae8 100%);
  padding: 24px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 380px;
}

.hero__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--blue-900);
  max-width: 14em;
}

.hero__copy p {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.6;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual svg {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(12, 34, 56, 0.12));
}

/* Stats */
.stats {
  background: var(--white);
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 28px 24px;
}

.stat {
  text-align: center;
  padding: 8px;
}

.stat__icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 10px;
  color: var(--blue-600);
}

.stat__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--blue-50);
}

.section__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 20em;
}

.section__lead {
  margin: 0 0 40px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card__head {
  background: var(--black);
  color: var(--white);
  padding: 20px 22px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card__head h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}

.card__body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body p {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-600);
}

.card__link:hover {
  text-decoration: underline;
}

/* Page (inner) */
.page-hero {
  background: linear-gradient(165deg, var(--blue-50) 0%, var(--blue-100) 100%);
  padding: 48px 0 56px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 32rem;
}

.page-content {
  padding: 48px 0 72px;
}

.page-content .section {
  padding: 0 0 40px;
}

.page-content .section:last-child {
  padding-bottom: 0;
}

/* Facts / contact */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.facts li:last-child {
  border-bottom: none;
}

.facts dt {
  color: var(--muted);
  font-weight: 500;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.facts a {
  color: var(--blue-600);
}

.section--spaced {
  padding-top: 48px;
}

.contact-box {
  max-width: 420px;
  padding: 24px;
  background: var(--blue-50);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-box p {
  margin: 0 0 12px;
  font-size: 0.9375rem;
}

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

.contact-box a {
  color: var(--blue-600);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--brand-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 32px;
  font-size: 0.8125rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer .logo img {
  height: 64px;
  width: auto;
}

.footer__brand p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.6;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero__copy h1,
  .hero__copy p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__visual {
    order: -1;
  }

  .hero__visual svg {
    width: 220px;
  }

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

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

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

@media (max-width: 640px) {
  .nav {
    display: none;
  }

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

  .header__inner.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-bg);
    padding: 16px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 16px;
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .stats {
    margin-top: 0;
    padding-top: 32px;
  }
}