@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0b1c2c;
  --muted: #536779;
  --cyan: #319fbe;
  --mint: #a9efdb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: "DM Sans", sans-serif;
}

.site-width {
  width: min(calc(100% - 48px), 1160px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid #e5edf2;
  background: #fff;
}

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

.wordmark {
  color: var(--navy);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
  text-decoration: none;
}

.launch-badge {
  padding: 5px 12px;
  border: 1px solid #d6e8e0;
  border-radius: 999px;
  background: #effaf4;
  color: #35685a;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.hero {
  flex: 1;
  background: radial-gradient(circle at 74% 37%, rgba(161, 222, 244, 0.35), transparent 38%), linear-gradient(180deg, #f5faff 0%, #fff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: clamp(40px, 10svh, 96px);
}

.hero-copy {
  min-width: 0;
}

h1,
p,
figure {
  margin: 0;
}

h1 {
  max-width: 690px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.25;
}

.intro {
  max-width: 550px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.signup-form {
  max-width: 550px;
  margin-top: 32px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.signup-form #sib-form-container {
  max-width: none;
  margin: 0;
}

.signup-form #sib-container {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.privacy-page a {
  color: #176f89;
  text-underline-offset: 3px;
}

.privacy-page a:hover {
  color: var(--navy);
}

.signup-form .signup-label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.form-controls {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.signup-form .form-controls .sib-input {
  flex: 1;
  min-width: 0;
  width: auto;
}

.signup-form .form-controls .sib-form-block:not(.sib-input) {
  flex: none;
  width: auto;
}

.signup-form #sib-container .form-controls .sib-form-block {
  padding: 0;
}

.signup-form .form-controls .form__entry,
.signup-form .form-controls .form__label-row {
  width: 100%;
  margin: 0;
  padding: 0;
}

.signup-form .form-controls .entry__field {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.signup-form .form-controls input,
.signup-form .form-controls button {
  min-height: 54px;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
}

.signup-form #sib-container .form-controls input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid #bacbd6;
  background: #fff;
  color: var(--navy);
  font-size: 15px;
}

.signup-form #sib-container .form-controls input::placeholder {
  color: #7b8d9b;
  font-family: "DM Sans", sans-serif;
}

.signup-form .form-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 24px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.signup-form .form-controls button:hover {
  background: #17405a;
}

.signup-form .sib-captcha {
  margin-top: 14px;
  padding: 0;
}

.signup-form .sib-captcha .form__entry,
.signup-form .sib-captcha .form__label-row {
  margin: 0;
  padding: 0;
}

.signup-form .entry__error:empty {
  display: none;
}

.signup-form .entry__error:not(:empty) {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #8b2626;
  background: #fff0f0;
  font-size: 14px;
  line-height: 1.35;
}

:where(.sib-form-message-panel) {
  display: none;
}

.signup-form .input--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.signup-form .sib-form-message-panel {
  max-width: none;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.signup-form .sib-form-message-panel__text {
  padding: 0;
}

.signup-form #error-message {
  color: #8b2626;
  background: #fff0f0;
  border-color: #efb7b7;
}

.signup-form #success-message {
  color: #18583d;
  background: #eaf8f0;
  border-color: #a8ddbe;
}

.launch-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.diagram {
  width: 100%;
  max-width: min(520px, 60svh);
  margin-inline: auto;
}

.diagram-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 1.12;
  overflow: hidden;
  border: 1px solid #dce9ee;
  border-radius: 32px;
  background-color: #eaf5fa;
  background-image: linear-gradient(rgba(47, 98, 137, 0.065) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 98, 137, 0.065) 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: 0 24px 70px rgba(22, 68, 91, 0.1);
}

.diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.line-base,
.line-flow {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-base {
  stroke: #a9cddd;
}

.line-flow {
  stroke: var(--cyan);
  stroke-dasharray: 7 9;
  animation: flow 18s linear infinite;
}

.line-dot {
  fill: #429cbc;
}

.diagram-node {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  padding: 10px 5px;
  border: 1px solid #deebef;
  background: #fff;
  box-shadow: 0 4px 14px rgba(22, 68, 91, 0.08);
  font-size: clamp(10px, 1.9vw, 13px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.bank {
  left: 16%;
  width: 24%;
  max-width: 112px;
  border-radius: 12px;
}

.bank-one { top: 22%; }
.bank-two { top: 50%; }
.bank-three { top: 78%; }

.api {
  top: 50%;
  left: 50%;
  width: 27%;
  max-width: 128px;
  padding-block: 17px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 28, 44, 0.18);
}

.product {
  top: 50%;
  left: 84%;
  width: 27%;
  max-width: 126px;
  padding-block: 14px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(22, 68, 91, 0.11);
}

.site-footer {
  border-top: 1px solid #254153;
  background: var(--navy);
  color: #d1dce4;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 61px;
  padding-block: 20px;
  font-size: 11px;
  line-height: 1.45;
}

.footer-link {
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.privacy-page {
  flex: 1;
  background: linear-gradient(180deg, #f5faff 0, #fff 300px);
}

.privacy-content {
  width: min(calc(100% - 48px), 760px);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 88px) 96px;
}

.privacy-eyebrow {
  margin-bottom: 12px;
  color: #35685a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-page h1 {
  max-width: none;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.045em;
}

.privacy-lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.privacy-updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.privacy-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid #dce9ee;
}

.privacy-section h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.privacy-section h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.privacy-section p,
.privacy-section li {
  color: #344b5d;
  font-size: 15px;
  line-height: 1.7;
}

.privacy-section p + p,
.privacy-section p + ul,
.privacy-section ul + p {
  margin-top: 14px;
}

.privacy-section ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.privacy-section li + li {
  margin-top: 6px;
}

.not-found-page {
  display: grid;
  flex: 1;
  align-items: center;
  background: radial-gradient(circle at 75% 35%, rgba(161, 222, 244, 0.35), transparent 38%), linear-gradient(180deg, #f5faff 0%, #fff 100%);
}

.not-found-inner {
  padding-block: 80px 96px;
}

.not-found-code {
  margin-bottom: 16px;
  color: #35685a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.not-found-page h1 {
  max-width: 720px;
  font-size: clamp(32px, 4vw, 44px);
}

.not-found-message {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.not-found-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.not-found-link:hover {
  background: #17405a;
}

:focus-visible {
  outline: 3px solid #31b99d;
  outline-offset: 4px;
}

.rise {
  animation: rise 700ms both;
}

.rise-later {
  animation-delay: 140ms;
}

@keyframes flow {
  to { stroke-dashoffset: -320; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 959px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 64px;
  }

  .hero-copy,
  h1,
  .intro,
  .signup-form {
    max-width: none;
  }

  .diagram {
    justify-self: center;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .site-width {
    width: min(calc(100% - 36px), 1160px);
  }

  .hero-inner {
    gap: 30px;
    padding-block: 36px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.3125;
  }

  .intro,
  .launch-note {
    font-size: 12px;
    line-height: 1.3;
  }

  .intro {
    margin-top: 18px;
  }

  .signup-form {
    margin-top: 24px;
  }

  .signup-form .signup-label {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .privacy-content {
    width: min(calc(100% - 36px), 760px);
    padding-block: 40px 64px;
  }

  .privacy-lead {
    font-size: 16px;
  }

  .privacy-section {
    margin-top: 32px;
    padding-top: 28px;
  }

  .not-found-inner {
    padding-block: 64px 80px;
  }

  .form-controls {
    flex-direction: column;
    gap: 9px;
  }

  .signup-form .form-controls .sib-input {
    width: 100%;
  }

  .signup-form .form-controls .sib-form-block:not(.sib-input) {
    width: 100%;
  }

  .signup-form .form-controls input,
  .signup-form .form-controls button {
    width: 100%;
    min-height: 54px;
    font-size: 13px;
  }

  .signup-form .sib-captcha {
    margin-top: 12px;
  }

  .footer-inner {
    padding-block: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise,
  .line-flow { animation: none; }
  .signup-form .form-controls button { transition: none; }
}
