@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Instrument+Serif&display=swap");

:root {
  --ink: #2b2035;
  --iris: #6757d9;
  --iris-deep: #5141bd;
  --lilac: #d7cdf5;
  --coral: #e58b74;
  --haze: #eee8f3;
  --paper: #faf7f0;
  --paper-strong: #fffdf8;
  --line: rgba(43, 32, 53, 0.16);
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: "Instrument Sans", Inter, "Helvetica Neue", Arial, sans-serif;
  --frame: 1180px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 19%, rgba(215, 205, 245, 0.32), transparent 27rem),
    var(--paper);
  font: 400 16px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased;
}

.home-page,
.rbt-page {
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-header {
  width: min(100%, calc(var(--frame) + 64px));
  min-height: 70px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand__mark {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav a,
.footer-nav a,
.text-link,
.path-action {
  text-underline-offset: 0.23em;
  text-decoration-thickness: 1px;
}

.header-nav a {
  min-height: 44px;
  padding: 11px 4px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.home-main {
  width: min(100%, calc(var(--frame) + 64px));
  flex: 1;
  margin: 0 auto;
  padding: 4px 32px 20px;
  display: grid;
  grid-template-rows: minmax(296px, 1fr) auto;
  gap: 18px;
}

.hero {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  grid-template-areas: "copy art";
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
}

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

.eyebrow,
.card-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--iris-deep);
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 660px;
  margin-top: 13px;
  font-size: clamp(54px, 5.25vw, 76px);
  line-height: 0.96;
  text-wrap: balance;
}

.lede {
  max-width: 620px;
  margin: 19px 0 0;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.48;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.button,
.text-link,
.path-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.button {
  padding: 11px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button--primary {
  color: #fff;
  background: var(--iris-deep);
  box-shadow: 0 9px 24px rgba(81, 65, 189, 0.2);
}

.button--primary:hover {
  background: #4434a9;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(81, 65, 189, 0.26);
}

.text-link {
  color: var(--ink);
}

.hero-art {
  grid-area: art;
  min-width: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.mark-stage {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.mark-stage img {
  position: relative;
  z-index: 2;
  width: 61%;
  filter: drop-shadow(0 22px 32px rgba(43, 32, 53, 0.12));
}

.ambient-ring {
  position: absolute;
  border: 1px solid rgba(103, 87, 217, 0.2);
  border-radius: 50%;
  animation: ambient-drift 9s ease-in-out infinite alternate;
}

.ambient-ring--outer {
  inset: 1%;
  border-color: rgba(103, 87, 217, 0.14);
}

.ambient-ring--middle {
  inset: 12%;
  border-color: rgba(229, 139, 116, 0.24);
  animation-delay: -3s;
}

.ambient-ring--inner {
  inset: 24%;
  border-color: rgba(103, 87, 217, 0.28);
  animation-delay: -6s;
}

@keyframes ambient-drift {
  from { transform: scale(0.985) rotate(-1deg); }
  to { transform: scale(1.015) rotate(1deg); }
}

.path-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.path-card {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.path-card h2 {
  margin-top: 6px;
  font-size: clamp(25px, 2.2vw, 30px);
  line-height: 1.04;
}

.path-card > p:not(.card-label) {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.42;
}

.path-card--provider {
  border-color: rgba(103, 87, 217, 0.28);
  background: linear-gradient(135deg, rgba(215, 205, 245, 0.63), rgba(255, 253, 248, 0.78));
  box-shadow: 0 10px 32px rgba(43, 32, 53, 0.06);
}

.path-card--rbt {
  background: rgba(255, 253, 248, 0.44);
}

.path-action {
  width: fit-content;
  margin-top: 9px;
  justify-content: flex-start;
  gap: 8px;
}

.path-action--provider {
  color: var(--iris-deep);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.82);
}

.footer-inner {
  width: min(100%, calc(var(--frame) + 64px));
  min-height: 66px;
  margin: 0 auto;
  padding: 9px 32px;
  display: grid;
  grid-template-columns: 174px 1fr auto;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.footer-lockup {
  width: 174px;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

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

.footer-nav a {
  min-height: 44px;
  padding: 11px 2px;
  display: inline-flex;
  align-items: center;
}

.rbt-shell {
  width: min(100%, calc(720px + 64px));
  flex: 1;
  margin: 0 auto;
  padding: clamp(42px, 8vh, 86px) 32px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rbt-mark {
  position: relative;
  width: 128px;
  aspect-ratio: 1;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
}

.rbt-mark::before,
.rbt-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(103, 87, 217, 0.2);
  border-radius: 50%;
}

.rbt-mark::before {
  inset: -22px;
}

.rbt-mark::after {
  inset: -10px;
  border-color: rgba(229, 139, 116, 0.28);
}

.rbt-mark img {
  position: relative;
  z-index: 1;
  width: 92px;
}

.rbt-shell h1 {
  max-width: 680px;
  font-size: clamp(52px, 7vw, 78px);
}

.rbt-copy {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
}

.store-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.store-link img {
  width: auto;
  height: 44px;
}

@media (min-width: 841px) and (max-height: 800px) {
  .site-header {
    min-height: 66px;
    padding-block: 11px;
  }

  .home-main {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 12px;
    grid-template-rows: minmax(280px, 1fr) auto;
    gap: 10px;
  }

  .hero {
    gap: clamp(34px, 5vw, 68px);
  }

  h1 {
    margin-top: 10px;
    font-size: clamp(52px, 4.85vw, 70px);
  }

  .lede {
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .mark-stage {
    width: min(100%, 350px);
  }

  .path-card {
    padding: 16px 20px;
  }

  .path-card > p:not(.card-label) {
    margin-top: 6px;
  }

  .path-action {
    margin-top: 4px;
  }

  .footer-inner {
    min-height: 62px;
    padding-block: 4px;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding-inline: 20px;
  }

  .home-main {
    display: block;
    padding: 20px 20px 54px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "art";
    gap: 34px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(47px, 10.8vw, 66px);
  }

  .hero-art {
    margin: 0 auto;
  }

  .mark-stage {
    width: min(78vw, 310px);
  }

  .path-row {
    margin-top: 8px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .path-card {
    padding: 24px;
  }

  .footer-inner {
    padding: 18px 20px;
    grid-template-columns: 1fr auto;
    gap: 6px 24px;
  }

  .footer-lockup {
    grid-column: 1;
    width: 150px;
  }

  .footer-inner p {
    grid-column: 1;
    text-align: left;
  }

  .footer-nav {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 24px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .home-main {
    padding-top: 28px;
  }

  h1,
  .rbt-shell h1 {
    font-size: clamp(43px, 13.4vw, 56px);
    overflow-wrap: normal;
  }

  .lede {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: flex-start;
  }

  .mark-stage {
    width: min(82vw, 270px);
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-nav {
    gap: 22px;
  }

  .rbt-shell {
    padding: 54px 20px 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
