:root {
  --primary: #2563EB;
  --secondary: #14532D;
  --accent: #6D28D9;
  --bg: #F6FAFF;
  --bg-light: #FFFFFF;
  --bg-card: #FFFFFF;
  --text: #0F172A;
  --text-muted: #334155;
  --text-dim: #64748B;
  --border: #D9E4F6;
  --ok: #22C55E;
  --danger: #EF4444;
  --surface: #FFFFFF;
  --surface-soft: #F4F8FF;
  --surface-strong: #ECF3FF;
  --ring: rgba(37, 99, 235, 0.22);
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(980px 560px at 90% -6%, rgba(109, 40, 217, 0.13), transparent 60%),
    radial-gradient(860px 540px at 6% -12%, rgba(37, 99, 235, 0.17), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 34%, #f8fbff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(246, 250, 255, 0.84);
  border-bottom: 1px solid rgba(217, 228, 246, 0.92);
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--text-dim);
  font-size: 0.92rem;
  text-align: center;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 13px;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  color: #ffffff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
}

main {
  padding: 42px 0 74px;
  display: grid;
  gap: 24px;
}

section {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-color: rgba(37, 99, 235, 0.3);
  background:
    linear-gradient(136deg, rgba(37, 99, 235, 0.14), rgba(109, 40, 217, 0.1) 42%, rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow-card);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -115px;
  top: -150px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.24) 0%, rgba(109, 40, 217, 0) 70%);
}

.hero::after {
  width: 440px;
  height: 260px;
  left: -140px;
  bottom: -185px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0) 72%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  max-width: 20ch;
  color: #0b1225;
}

.hero h1 strong {
  color: var(--primary);
}

.hero-copy {
  max-width: 72ch;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 8px 13px;
  border: 1px solid transparent;
  background: #ffffff;
}

.badge.b1 {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.08);
}

.badge.b2 {
  color: var(--accent);
  border-color: rgba(109, 40, 217, 0.3);
  background: rgba(109, 40, 217, 0.08);
}

.badge.b3 {
  color: var(--secondary);
  border-color: rgba(20, 83, 45, 0.26);
  background: rgba(20, 83, 45, 0.1);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 17px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible,
.lang-btn:focus-visible,
.footer-link:focus-visible,
.nav-link:focus-visible,
.back-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  color: #0f172a;
}

.section-index {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(37, 99, 235, 0.26);
  background: rgba(37, 99, 235, 0.08);
  padding: 5px 9px;
  border-radius: 999px;
}

.lead {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 74ch;
}

.statement {
  padding: 15px;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 16px;
  color: #102347;
  font-weight: 700;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  margin: 16px 0;
}

.step {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  min-width: 124px;
  text-align: center;
  color: #1f2f4f;
}

.arrow {
  color: #7890b8;
  font-size: 1.05rem;
  font-weight: 800;
}

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

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

.card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.03rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

.card.c1 {
  border-top: 3px solid var(--primary);
}

.card.c2 {
  border-top: 3px solid var(--accent);
}

.card.c3 {
  border-top: 3px solid var(--ok);
}

.stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.layer {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 9px;
}

.layer strong {
  font-size: 0.92rem;
  color: #12233f;
}

.layer span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.layer.top {
  border-color: rgba(109, 40, 217, 0.32);
}

.layer.mid {
  border-color: rgba(37, 99, 235, 0.32);
}

.layer.low {
  border-color: rgba(34, 197, 94, 0.32);
}

.bullet-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 10px;
}

.bullet-list li {
  position: relative;
  padding-left: 19px;
  color: var(--text-muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.57em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

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

.stat {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #ffffff;
  padding: 15px 12px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.27rem;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 4px;
  color: #0e1c36;
}

.stat span {
  color: var(--text-dim);
  font-size: 0.84rem;
  display: block;
}

.founder {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.founder-main {
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1), rgba(109, 40, 217, 0.09));
  border: 1px solid rgba(37, 99, 235, 0.32);
  border-radius: 16px;
  padding: 18px;
}

.founder-main h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
  margin-bottom: 4px;
}

.founder-main span {
  color: #2b4a77;
  font-weight: 700;
}

.founder-main p {
  color: var(--text-muted);
  margin-top: 9px;
}

.cred-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.cred-list li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cred-list strong {
  color: #172a49;
  display: block;
  margin-bottom: 3px;
  font-size: 0.93rem;
}

.call {
  text-align: center;
  background:
    linear-gradient(140deg, rgba(37, 99, 235, 0.13), rgba(20, 83, 45, 0.11)),
    #f7fbff;
  border-color: rgba(37, 99, 235, 0.34);
}

.call h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.call p {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 auto;
}

.call-meta {
  margin-top: 15px;
  color: #2f5f72;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.87rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link,
.nav-link,
.back-link {
  text-decoration: none;
  color: #103069;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  line-height: 1;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-link,
.back-link {
  font-size: 0.88rem;
  border-radius: 12px;
  padding: 9px 13px;
}

.footer-link:hover,
.nav-link:hover,
.back-link:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.38);
}

/* Legal pages */
.legal-page {
  padding-bottom: 46px;
}

.legal-page .site-header {
  margin-bottom: 30px;
}

.legal-page .wrap {
  width: min(1060px, 92vw);
}

.legal-page .header-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.header-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-card {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.legal-page .eyebrow {
  margin-bottom: 10px;
}

.legal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 9px;
  color: #0f1e3a;
}

.intro {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.legal-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 14px;
}

.legal-block.full {
  grid-column: 1 / -1;
}

.legal-block h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #152a4e;
}

.legal-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-block strong {
  color: #132645;
}

.legal-page a {
  color: var(--primary);
  word-break: break-word;
}

.footer-note {
  margin-top: 19px;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

.privacy-page {
  line-height: 1.6;
}

.privacy-page .legal-card h2.wp-block-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 30px 0 10px;
  color: #152a4e;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.privacy-page .legal-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  margin: 22px 0 8px;
  color: #19345f;
}

.privacy-page .legal-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  margin: 16px 0 6px;
  color: #20447a;
}

.privacy-page .legal-card h5 {
  font-size: 0.96rem;
  margin: 12px 0 6px;
  color: #2a4e88;
}

.privacy-page .legal-card p,
.privacy-page .legal-card li {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.privacy-page .legal-card ul {
  margin: 8px 0 12px 18px;
  padding-left: 16px;
}

.privacy-page .legal-card li {
  margin-bottom: 8px;
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr;
    padding: 11px 0;
    gap: 8px;
  }

  .tagline {
    text-align: left;
  }

  .hero {
    padding: 31px;
  }

  .grid-3,
  .stats,
  .founder,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .legal-page .header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

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

  .legal-card {
    padding: 22px;
  }

  .legal-page .header-inner {
    min-height: 64px;
  }
}

@media (max-width: 680px) {
  main {
    padding-top: 24px;
  }

  section {
    padding: 22px;
  }

  .hero {
    padding: 25px 22px;
  }

  .workflow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .arrow {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}