:root {
  color: #211b20;
  background: #f1eee9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #211b20;
  --muted: #6c6368;
  --paper: #fffdf9;
  --plum: #51233d;
  --plum-deep: #321326;
  --rose: #bd8c9e;
  --lime: #d7f171;
  --line: rgba(33, 27, 32, 0.14);
  --shadow: 0 24px 70px rgba(50, 19, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f1eee9;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(189, 140, 158, 0.22), transparent 31rem),
    linear-gradient(180deg, #f7f4ef 0, #eee9e2 100%);
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  position: relative;
  width: 160px;
  height: 115px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-logo img {
  position: absolute;
  width: 236px;
  max-width: none;
  height: auto;
  left: -37px;
  top: -38px;
  mix-blend-mode: multiply;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.next-steps {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 52px 0 0 102px;
  padding-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.next-steps-intro {
  max-width: 770px;
}

.next-steps-intro h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.next-steps-intro > p:last-child {
  margin-bottom: 0;
  color: #dacbd2;
  line-height: 1.65;
}

.next-steps-intro > p strong {
  color: white;
}

.next-steps-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.next-steps-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
}

.next-step-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(215, 241, 113, 0.7);
  border-radius: 50%;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 850;
}

.next-steps-list strong {
  display: block;
  margin: 4px 0 8px;
  color: white;
}

.next-steps-list p {
  margin: 0;
  color: #cdbdc5;
  font-size: 0.9rem;
  line-height: 1.55;
}

.next-steps-list a {
  color: var(--lime);
  text-underline-offset: 3px;
}

.next-steps-note {
  display: inline-flex;
  margin: 40px 0 0;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--plum-deep);
  font-size: 0.86rem;
  font-weight: 850;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.secure-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6a8d3c;
  box-shadow: 0 0 0 4px rgba(106, 141, 60, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: clamp(74px, 10vw, 132px) 0 clamp(65px, 8vw, 105px);
}

.hero-copy,
.section-heading,
.steps li,
.steps li > div,
.flow-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 750px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.6vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.intro {
  max-width: 670px;
  margin-bottom: 0;
  color: #554b51;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.hero-art {
  position: relative;
  min-height: 330px;
}

.cloud-card {
  position: absolute;
  width: 230px;
  min-height: 150px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.cloud-card-source {
  top: 12px;
  left: 5px;
  background: var(--paper);
  transform: rotate(-5deg);
}

.cloud-card-target {
  right: 0;
  bottom: 10px;
  z-index: 2;
  background: var(--plum);
  color: white;
  transform: rotate(4deg);
}

.cloud-kicker {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cloud-card-target .cloud-kicker {
  color: #d8bcc8;
}

.cloud-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.transfer-line {
  position: absolute;
  top: 148px;
  left: 135px;
  right: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: rotate(7deg);
}

.transfer-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px dashed rgba(81, 35, 61, 0.34);
}

.transfer-line span {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(215, 241, 113, 0.25);
}

.process {
  padding: 76px clamp(28px, 5vw, 70px);
  background: var(--paper);
  border-radius: 8px 8px 0 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin: 0;
  padding: 44px 0 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--plum);
  border-radius: 50%;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin: 5px 0 10px;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.flow-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  background: var(--plum-deep);
  color: white;
  border-radius: 0 0 8px 8px;
}

.flow-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -95px;
  bottom: -180px;
  border: 55px solid rgba(215, 241, 113, 0.12);
  border-radius: 50%;
}

.flow-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 28px;
  max-width: 760px;
}

.status-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.status-icon span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
}

.status-waiting span {
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--lime);
  animation: spin 1s linear infinite;
}

.status-success span {
  width: 23px;
  height: 13px;
  border: 0 solid var(--lime);
  border-width: 0 0 3px 3px;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg) translate(2px, -2px);
}

.status-error span {
  position: relative;
  width: 3px;
  height: 24px;
  border-radius: 3px;
  background: #f5b2aa;
}

.status-error span::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 24px;
  border-radius: 3px;
  background: #f5b2aa;
  transform: rotate(90deg);
}

.flow-card .eyebrow {
  color: var(--lime);
}

.flow-copy h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.status-message {
  max-width: 650px;
  margin-bottom: 0;
  color: #dacbd2;
  font-size: 1.04rem;
  line-height: 1.6;
}

.identity-message {
  margin: 18px 0 0;
  color: var(--lime);
  font-weight: 750;
}

.technical-message {
  margin: 14px 0 0;
  color: #f2b5af;
  font-size: 0.86rem;
}

.waiting-indicator {
  position: relative;
  z-index: 1;
  margin: 34px 0 0 102px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dacbd2;
  font-size: 0.83rem;
}

.waiting-indicator > span:not(.waiting-label) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.2s infinite ease-in-out;
}

.waiting-indicator > span:nth-child(2) {
  animation-delay: 0.15s;
}

.waiting-indicator > span:nth-child(3) {
  animation-delay: 0.3s;
}

.waiting-label {
  margin-left: 8px;
}

.flow-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 36px 0 0 102px;
}

.primary-action,
.secondary-action {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 24px;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-action {
  border: 0;
  background: var(--lime);
  color: var(--plum-deep);
}

.primary-action:hover:not(:disabled),
.primary-action:focus-visible:not(:disabled),
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-2px);
}

.primary-action:disabled {
  cursor: progress;
  opacity: 0.65;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
}

.arrow {
  font-size: 1.35rem;
  line-height: 1;
}

.noscript-message {
  margin: 24px 0 0 102px;
  color: #f2b5af;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 42px 0 70px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-grid article {
  min-height: 210px;
  padding: 34px;
  background: rgba(255, 253, 249, 0.74);
}

.trust-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: white;
  font-size: 0.75rem;
}

.trust-grid h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

footer {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

[hidden] {
  display: none !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

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

  .hero-art {
    width: min(540px, 100%);
  }

  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 28px;
  }

  .trust-grid article {
    min-height: 0;
  }
}

@media (max-width: 590px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .secure-label {
    display: none;
  }

  .hero {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(2.85rem, 14.5vw, 4.25rem);
    overflow-wrap: anywhere;
  }

  .brand {
    gap: 10px;
  }

  .site-header {
    min-height: 120px;
  }

  .brand-logo {
    width: 118px;
    height: 85px;
  }

  .brand-logo img {
    width: 174px;
    left: -27px;
    top: -28px;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .brand-copy span {
    font-size: 0.74rem;
  }

  .hero-art {
    min-height: 285px;
  }

  .cloud-card {
    width: 190px;
    max-width: 56vw;
    min-height: 130px;
    padding: 22px;
  }

  .cloud-card strong {
    font-size: 1.8rem;
  }

  .transfer-line {
    left: 85px;
    right: 85px;
  }

  .process {
    padding: 52px 24px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .flow-copy h2 {
    overflow-wrap: anywhere;
  }

  .flow-card {
    padding: 42px 24px;
  }

  .flow-main {
    grid-template-columns: 1fr;
  }

  .waiting-indicator,
  .flow-actions,
  .noscript-message,
  .next-steps {
    margin-left: 0;
  }

  .next-steps {
    margin-top: 44px;
    padding-top: 38px;
  }

  .next-steps-list {
    grid-template-columns: 1fr;
  }

  .flow-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  footer {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
