@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&display=swap");

:root {
  --primary: #02066f;
  --primary-2: #10178f;
  --accent: #b51d2a;
  --background: #ededed;
  --surface: #ffffff;
  --surface-soft: #f7f7f8;
  --foreground: #1a1a1d;
  --muted: #696b75;
  --muted-2: #8c8f9b;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --shadow: 0 12px 32px rgba(10, 12, 28, 0.08);
  --container: 80rem;
  --radius: 2px;
  --nav-height: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  padding-top: var(--nav-height);
}

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

.container.narrow {
  width: min(100% - 2rem, 56rem);
}

.container.legal {
  width: min(100% - 2rem, 56rem);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--primary);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.nav-bar {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-wordmark {
  width: clamp(10.5rem, 16vw, 13.5rem);
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  max-height: 3.05rem;
  object-fit: contain;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-sub {
  margin-top: 0.18rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
}

.menu-button svg {
  width: 1.6rem;
  height: 1.6rem;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--primary);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0 0.8rem;
}

.mobile-links .nav-link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.mobile-links .nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}

.home-hero {
  min-height: calc(90vh - var(--nav-height));
  display: flex;
  align-items: center;
}

.page-hero {
  padding: 7rem 0;
}

.legal-hero {
  padding: 5rem 0;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  pointer-events: none;
}

.home-hero .hero-art {
  opacity: 0.2;
}

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

.hero-copy {
  max-width: 60rem;
  animation: rise-in 700ms ease both;
}

.home-copy {
  max-width: 56rem;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 7vw, 4.9rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 {
  text-transform: none;
  font-size: clamp(3rem, 7vw, 5.25rem);
}

.hero h1 span {
  color: rgba(255, 255, 255, 0.82);
}

.hero-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-title-with-icon .icon {
  width: clamp(2rem, 5vw, 2.4rem);
  height: clamp(2rem, 5vw, 2.4rem);
  color: rgba(255, 255, 255, 0.72);
  flex: 0 0 auto;
}

.hero-rule {
  width: 4rem;
  height: 0.25rem;
  margin: 1.25rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.42);
}

.hero p {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 600;
  line-height: 1.65;
}

.hero-meta {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.section {
  padding: 6rem 0;
}

.section.tight {
  padding: 4rem 0;
}

.section.white {
  background: #fff;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.section-rule {
  width: 4rem;
  height: 0.25rem;
  margin: 0 auto 3.5rem;
  background: var(--primary);
}

.muted-copy {
  margin: 0;
  color: rgba(26, 26, 29, 0.66);
  font-weight: 600;
  line-height: 1.75;
}

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

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

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

.grid.two-one {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.card.pad {
  padding: 2rem;
}

.card.deep-pad {
  padding: 2.5rem;
}

.hover-card {
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.hover-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(2, 6, 111, 0.16);
}

.pillar-card {
  display: flex;
  flex-direction: column;
  min-height: 18rem;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--background);
  color: var(--primary);
}

.icon-box.square {
  width: 3rem;
  height: 3rem;
  margin: 0;
  border-radius: var(--radius);
  background: rgba(2, 6, 111, 0.08);
}

.icon-box svg {
  width: 2rem;
  height: 2rem;
}

.icon-box.square svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card h2,
.card h3 {
  margin: 0;
  color: var(--foreground);
  font-weight: 900;
  letter-spacing: 0;
}

.card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: rgba(26, 26, 29, 0.7);
  font-weight: 600;
  line-height: 1.65;
}

.pillar-card p {
  margin-top: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

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

.btn.primary:hover {
  background: var(--primary-2);
}

.btn.light {
  margin-top: 2.5rem;
  background: #fff;
  color: var(--primary);
}

.btn.light:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(2, 6, 111, 0.62);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.small-rule {
  width: 2.5rem;
  height: 0.15rem;
  margin: 1.2rem 0;
  background: var(--primary);
}

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

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 17.5rem;
}

.partner-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.company-logo {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-weight: 900;
  font-size: 1.15rem;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.company-logo.revolut {
  background: #0075eb;
  color: #fff;
  font-size: 1.6rem;
  border-color: transparent;
}

.partner-card p {
  font-size: 0.9rem;
  flex: 1;
}

.team-wrap {
  display: flex;
  justify-content: center;
}

.team-card {
  max-width: 42rem;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(2, 6, 111, 0.08);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-body {
  padding: 2.5rem;
}

.team-body h2 {
  margin: 0.25rem 0 0;
  font-size: 2rem;
}

.team-body p + p {
  margin-top: 1rem;
}

.text-card {
  display: grid;
  gap: 1rem;
}

.text-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  text-transform: uppercase;
}

.text-card p,
.text-card li {
  color: rgba(26, 26, 29, 0.72);
  font-weight: 600;
  line-height: 1.75;
}

.stack {
  display: grid;
  gap: 3rem;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.check-list svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: var(--primary);
}

.cta-panel {
  background: var(--primary);
  color: #fff;
}

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

.cta-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr);
  gap: 3rem;
}

.side-stack {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item a {
  color: var(--primary);
  font-weight: 800;
}

.contact-item a:hover {
  text-decoration: underline;
}

.notice {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: rgba(26, 26, 29, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.65;
}

.notice.tint {
  background: rgba(2, 6, 111, 0.05);
  border-color: rgba(2, 6, 111, 0.1);
}

.notice strong {
  color: rgba(26, 26, 29, 0.76);
}

.form-card {
  padding: 2.5rem;
}

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

.field {
  display: grid;
  gap: 0.55rem;
}

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

label {
  color: rgba(26, 26, 29, 0.66);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  padding: 0.9rem 1rem;
  font-size: 0.93rem;
  font-weight: 600;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
  min-height: 9.5rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 6, 111, 0.16);
}

.required {
  color: var(--accent);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-footer p {
  max-width: 27rem;
  color: rgba(26, 26, 29, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.55;
}

.form-footer a {
  color: var(--primary);
}

.form-footer a:hover {
  text-decoration: underline;
}

.success-panel {
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
}

.success-panel svg {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.success-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  font-weight: 900;
}

.success-panel p {
  max-width: 27rem;
  margin: 0;
  margin-bottom: 1.5rem;
}

.error-box {
  display: none;
  padding: 1rem;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 700;
}

.error-box.is-visible {
  display: block;
}

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

.procedure-step {
  display: flex;
  gap: 1rem;
}

.procedure-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 900;
}

.procedure-step p {
  margin: 0;
  color: rgba(26, 26, 29, 0.64);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
}

.legal-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 2rem;
}

.legal-section h2 {
  margin: 0 0 1rem;
  color: var(--foreground);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: rgba(26, 26, 29, 0.72);
  font-weight: 600;
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 0.9rem;
}

.legal-section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal-section li + li {
  margin-top: 0.5rem;
}

.legal-section a {
  color: var(--primary);
  font-weight: 800;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-contact {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.not-found {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.not-found .card {
  width: min(100%, 30rem);
}

.footer {
  background: var(--foreground);
  color: #fff;
  padding: 3.5rem 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-intro {
  max-width: 21rem;
}

.footer .brand-wordmark {
  width: 14rem;
}

.footer-intro p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer h3 {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer nav {
  display: grid;
  gap: 0.45rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.footer-disclosures {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclosures p {
  max-width: 58rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  line-height: 1.7;
}

.footer-disclosures strong {
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.76rem;
  font-weight: 600;
}

.fade-in {
  animation: rise-in 650ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .grid.four,
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .grid.two-one {
    grid-template-columns: 1fr;
  }
}

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

  .menu-button {
    display: inline-flex;
  }

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

  .brand-sub {
    font-size: 0.66rem;
  }

  .home-hero {
    min-height: 42rem;
  }

  .page-hero {
    padding: 5rem 0;
  }

  .section {
    padding: 4.5rem 0;
  }

  .grid.four,
  .grid.three,
  .partners-grid,
  .procedure-grid {
    grid-template-columns: 1fr;
  }

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

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .btn {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .container,
  .container.narrow,
  .container.legal {
    width: min(100% - 1.5rem, var(--container));
  }

  .brand-mark {
    width: 1.85rem;
    height: 1.85rem;
  }

  .brand-wordmark {
    width: 9.5rem;
  }

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

  .brand-sub {
    font-size: 0.6rem;
  }

  .hero h1,
  .home-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .card.pad,
  .card.deep-pad,
  .team-body,
  .form-card {
    padding: 1.35rem;
  }

  .partner-head {
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
  }
}
