@font-face {
  font-family: Manrope;
  src: url('/assets/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #160b37;
  --body: #514764;
  --purple: #4920be;
  --deep: #2c126f;
  --lavender: #e9e3fb;
  --cream: #faf8ff;
  --line: #e3dced;
  --white: #fff;
  --radius: 1.55rem;
  --shell: 76rem;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; }
a { color: inherit; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 3px solid #643be1; outline-offset: 4px; }
.shell { width: min(calc(100% - 3.5rem), var(--shell)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 6;
  inset: .75rem auto auto .75rem;
  transform: translateY(-160%);
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: white;
}
.skip:focus { transform: none; }

.masthead { position: relative; z-index: 2; padding-top: 1.15rem; background: var(--lavender); }
.nav {
  min-height: 4.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.35rem;
  padding: .55rem .7rem .55rem 1rem;
  border-radius: 5rem;
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 8px 35px rgb(56 27 116 / 5%);
}
.nav nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav nav a, .footer nav a { text-decoration: none; font-size: .91rem; font-weight: 750; }
.nav nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .54rem;
  text-decoration: none;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 800;
}
.wordmark span span { color: var(--purple); margin-left: .07em; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: .7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 5rem;
  line-height: 1.3;
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  font-size: .96rem;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .88rem; }
.button-light, .button-dark {
  background: var(--purple);
  color: white;
  box-shadow: 0 5px 14px rgb(56 25 142 / 16%);
}
.button-light:hover, .button-dark:hover { background: var(--deep); }
.button-outline { background: transparent; border-color: rgb(64 35 113 / 27%); }
.button-outline:hover { background: white; border-color: var(--purple); }
.button:disabled { cursor: default; opacity: .55; transform: none; }

.hero {
  position: relative;
  overflow: clip;
  text-align: center;
  background: var(--lavender);
}
.hero-grid { padding-block: clamp(2.5rem, 6vw, 5.45rem) 1.12rem; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  color: var(--purple);
  font-size: .81rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 12em;
  margin: .5rem auto .85rem;
  font-size: clamp(3.9rem, 8.45vw, 7.65rem);
  line-height: .94;
  letter-spacing: -.078em;
  word-spacing: .02em;
}
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 1.25rem auto 0;
  color: var(--body);
  font-size: clamp(1rem, 1.65vw, 1.21rem);
  line-height: 1.56;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.55rem;
}
.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 1.75rem auto 0;
  min-height: 16.5rem;
  height: clamp(18rem, 36vw, 32rem);
  border-radius: clamp(1.1rem, 4vw, 2.2rem);
  background: #cfc1ef;
}
.hero-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.has-art-motion .art-card {
  transform-box: fill-box;
  transform-origin: center;
  animation: art-card-float 3.05s ease-in-out infinite;
}
.has-art-motion .art-flow { animation: art-flow 1.4s linear infinite; }
.has-art-motion .art-token { animation: art-token-transfer 2.75s cubic-bezier(.45,.15,.25,.88) infinite; }
.has-art-motion .art-window-glow { animation: art-window-glow 2.75s ease-out infinite; }
.has-art-motion .art-box { animation: art-box-lift 3.65s ease-in-out infinite; }
.has-art-motion .art-sprout { animation: art-sprout-sway 4.3s ease-in-out infinite; }
.art-paused .hero-art * { animation-play-state: paused; }
@keyframes art-card-float {
  0%, 100% { transform: translateY(9px) rotate(-6deg); }
  50% { transform: translateY(-15px) rotate(4deg); }
}
@keyframes art-flow { to { stroke-dashoffset: -16; } }
@keyframes art-token-transfer {
  0% { opacity: 0; transform: translate(-15px, 15px) scale(.84); }
  17% { opacity: 1; }
  44% { transform: translate(15px, -21px) scale(1.07); }
  72% { opacity: 1; }
  83%, 100% { opacity: 0; transform: translate(55px, -47px) scale(.72); }
}
@keyframes art-window-glow {
  0%, 65%, 100% { opacity: .14; }
  85% { opacity: .43; }
}
@keyframes art-box-lift {
  0%, 63%, 100% { transform: translateY(0); }
  75% { transform: translateY(-9px); }
}
@keyframes art-sprout-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(7deg); }
}
.motion-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .45rem .82rem;
  border: 1px solid #c9b4e6;
  border-radius: 4rem;
  background: #faf6ff;
  color: var(--ink);
  box-shadow: 0 4px 14px #58339816;
  font-size: .82rem;
  font-weight: 800;
}
.motion-toggle::before {
  content: "";
  width: .5rem;
  height: .72rem;
  border-inline: 2px solid var(--purple);
}
.motion-toggle[data-paused="true"]::before {
  width: .53rem;
  height: .66rem;
  border: 0;
  background: var(--purple);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.motion-toggle:hover { background: white; }
.scenario {
  display: flex;
  align-items: flex-end;
  gap: .5rem 1rem;
  justify-content: space-between;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: min(25rem, calc(100% - 2rem));
  padding: .95rem 1rem .8rem;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 1.05rem;
  background: rgb(251 248 255 / 94%);
  box-shadow: 0 10px 28px rgb(51 23 120 / 18%);
  text-align: left;
}
.scenario-copy p {
  margin-bottom: .2rem;
  color: var(--purple);
  font-weight: 800;
  font-size: .8rem;
}
.scenario-copy strong { display: block; font-size: .98rem; line-height: 1.35; max-width: 15rem; }
.scenario-controls { display: flex; margin: 0 -.3rem -.22rem 0; }
.scenario-controls button {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .3rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.scenario-controls button:hover { background: var(--lavender); }
.scenario-controls button span {
  display: block;
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: #8f7cb6;
}
.scenario-controls button[aria-pressed="true"] span {
  width: .95rem;
  border-radius: .5rem;
  background: var(--purple);
}

.finance, .enquiry, .questions { padding-block: clamp(3.5rem, 7.2vw, 6.7rem); }
.section-intro { margin-bottom: 2rem; }
h2 { font-size: clamp(2.45rem, 5vw, 4.35rem); line-height: .98; letter-spacing: -.074em; }
.section-intro > p, .enquiry-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: .95rem;
  color: var(--body);
  font-size: 1.04rem;
  line-height: 1.65;
}
.finance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.finance-card {
  display: flex;
  flex-direction: column;
  padding: .55rem;
  gap: .2rem;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.finance-card:hover {
  transform: translateY(-4px);
  border-color: #a790d9;
  box-shadow: 0 18px 30px rgb(53 31 91 / 9%);
}
.card-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.92;
  border-radius: calc(var(--radius) - .5rem);
  background: #dcd1f1;
}
.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.2,.75,.33,1);
}
.finance-card:hover img { transform: scale(1.035); }
.card-visual-cafe img { object-position: center 55%; }
.card-visual-trade img { object-position: center 49%; }
.card-copy { padding: 1.05rem .88rem .95rem; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.card-copy h3 { font-size: clamp(1.25rem, 2.15vw, 1.55rem); line-height: 1.12; letter-spacing: -.052em; }
.card-copy p { margin: .5rem 0 1.14rem; color: var(--body); font-size: .99rem; line-height: 1.5; }
.card-copy span {
  margin-top: auto;
  padding-bottom: .1rem;
  border-bottom: 1px solid #bca8da;
  color: var(--purple);
  font-size: .89rem;
  font-weight: 800;
}
.card-visual-credit { background: #e2c8f7; }
.card-visual-credit img { object-fit: contain; }
.finance-card:hover .card-visual-credit img { transform: none; }

.process { background: #20104b; color: white; padding-block: clamp(3.2rem, 6vw, 5.5rem); }
.process-grid, .enquiry-grid, .faq-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 6vw, 6rem); }
.process .eyebrow { color: #d0bfff; margin-bottom: .75rem; }
.process h2 { max-width: 8em; }
.process ol { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.process li {
  position: relative;
  counter-increment: step;
  padding: .95rem 0 1.1rem 3.3rem;
  border-bottom: 1px solid #ffffff27;
}
.process li:first-child { border-top: 1px solid #ffffff27; }
.process li::before {
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  color: #e8dcff;
  font-weight: 800;
}
.process h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.process li p { margin-top: .25rem; color: #e4d9f3; line-height: 1.5; }

.enquiry { background: #eae3fa; }
.enquiry-copy .eyebrow { margin-bottom: .8rem; }
.form-area {
  padding: clamp(1.05rem, 3.25vw, 2.3rem);
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 10px 35px rgb(58 27 110 / 5%);
}
form { display: grid; gap: .95rem; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.field label, .consent { font-weight: 700; }
.field label { font-size: .88rem; }
.field label span { font-weight: 600; color: var(--body); }
.field input, .field select {
  width: 100%;
  min-height: 3.2rem;
  min-width: 0;
  padding: .64rem .75rem;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
  border: 1px solid #cfc6e1;
  border-radius: .64rem;
  background-color: #fcfaff;
}
.field select {
  padding-right: 2rem;
  appearance: none;
  background-image: url('/assets/chevron.svg');
  background-size: .85rem .85rem;
  background-repeat: no-repeat;
  background-position: right .78rem center;
}
.field input:focus-visible, .field select:focus-visible { outline-offset: 1px; }
.consent { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; font-size: .93rem; }
.consent [type="checkbox"] { width: 1.2rem; height: 1.2rem; margin: .06rem 0 0; flex: none; accent-color: var(--purple); }
.collection { font-size: .88rem; color: var(--body); line-height: 1.55; }
.collection a { font-weight: 800; text-underline-offset: .18em; }
.form-error { color: #8b1749; font-size: .93rem; font-weight: 750; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.submit { justify-self: start; }
.receipt { overflow-wrap: anywhere; }
.receipt h3 { font-size: 1.7rem; letter-spacing: -.055em; }
.receipt p { margin-top: .55rem; line-height: 1.5; }
.receipt-ref span { display: block; font-family: ui-monospace, monospace; }

.faq-grid h2 { max-width: 7.5em; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
details summary {
  min-height: 3.65rem;
  position: relative;
  display: grid;
  align-items: center;
  list-style: none;
  padding: .95rem 2.25rem .95rem 0;
  font-weight: 800;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  position: absolute;
  right: .25rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--purple);
  font-size: 1.5rem;
}
details[open] summary::after { content: '−'; }
details p { padding: 0 .5rem 1rem 0; line-height: 1.65; color: var(--body); }

.footer { border-top: 1px solid var(--line); }
.footer-row { padding-block: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.legal { max-width: 45rem; padding-block: 2.5rem; }
.legal h1 { margin: 2rem 0 .8rem; font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1; letter-spacing: -.075em; }
.legal h2 { margin: 2.4rem 0 .7rem; font-size: clamp(1.9rem, 4vw, 2.55rem); }
.legal > p { color: var(--body); line-height: 1.6; margin-bottom: 1rem; }
.legal .form-area { margin: 1.25rem 0; }
.legal .receipt-mark { display: none; }

@media (max-width: 820px) {
  .nav nav { gap: 1rem; }
  .nav nav a { font-size: .84rem; }
  .shell { width: min(calc(100% - 2.4rem), var(--shell)); }
  .finance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-pair { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 2rem); }
  .masthead { padding-top: .65rem; }
  .nav { min-height: 3.5rem; padding: .38rem .4rem .38rem .55rem; gap: .35rem; }
  .nav nav { display: none; }
  .wordmark { gap: .4rem; font-size: 1.11rem; }
  .wordmark img { width: 34px; height: 34px; }
  .button-small { min-height: 2.65rem; padding: .55rem .76rem; font-size: .82rem; }
  .hero-grid { padding-top: 2.6rem; }
  .hero h1 { max-width: 8em; margin-top: .62rem; font-size: clamp(3.5rem, 12vw, 5rem); line-height: .91; }
  .hero h1 em { display: block; }
  .hero-copy > p:not(.eyebrow) { margin-top: .95rem; max-width: 27rem; }
  .actions { gap: .5rem; margin-top: 1.15rem; }
  .actions .button { min-height: 2.8rem; padding: .58rem .7rem; font-size: .86rem; }
  .hero-visual { margin-top: 1.2rem; height: 16.9rem; }
  .scene-objects {
    transform: translateY(-25px) scale(.96);
    transform-box: view-box;
    transform-origin: 50% 45%;
  }
  .motion-toggle { top: .55rem; right: .55rem; }
  .scenario { left: .55rem; bottom: .55rem; width: calc(100% - 1.1rem); padding: .6rem .7rem; }
  .scenario-copy strong { font-size: .87rem; }
  .scenario-copy p { font-size: .76rem; }
  .scenario-controls button { min-width: 2.5rem; min-height: 2.75rem; }
  .process-grid, .enquiry-grid, .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .process h2, .faq-grid h2 { max-width: none; }
}
@media (max-width: 470px) {
  .finance-grid { grid-template-columns: 1fr; }
  .card-visual { aspect-ratio: 2.15; }
  .footer-row { flex-wrap: wrap; }
}
@media (max-width: 340px) {
  .shell { width: calc(100% - 1.45rem); }
  .actions .button { padding-inline: .47rem; }
  .scenario-controls button { min-width: 2.15rem; }
  .scene-objects { transform: translateY(-25px) scale(.86); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.process-motion {
  display: block;
  width: min(100%, 20rem);
  aspect-ratio: 1.8;
  object-fit: cover;
  margin-top: 1.4rem;
  border-radius: 1rem;
  background: #3d2873;
}
@media (max-width: 650px) {
  .process-motion { width: min(100%, 13rem); aspect-ratio: 1.8; }
}
@media (prefers-reduced-motion: reduce) {
  .process-motion { display: none; }
}

.more-finance { margin-top: 2.35rem; }
.more-finance > h3 { margin-bottom: .85rem; font-size: 1.37rem; letter-spacing: -.045em; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.more-grid a {
  display: grid;
  align-content: start;
  gap: .3rem;
  min-width: 0;
  padding: 1rem;
  border-radius: 1rem;
  background: #eee8fa;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.more-grid a:hover { background-color: #e6dafa; border-color: #a58acb; }
.more-grid strong { color: var(--purple); font-size: .99rem; }
.more-grid span { color: var(--body); font-size: .9rem; line-height: 1.45; }
@media (max-width: 820px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .finance-grid { gap: .72rem; }
  .finance-card {
    display: grid;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
    align-items: stretch;
    padding: .4rem;
  }
  .card-visual { height: 100%; min-height: 6rem; aspect-ratio: auto; }
  .card-copy { padding: .35rem .48rem .35rem .55rem; }
  .card-copy h3 { font-size: 1.16rem; }
  .card-copy p { margin: .25rem 0 .4rem; font-size: .93rem; }
  .card-copy span { font-size: .86rem; }
  .more-grid { gap: .5rem; }
  .more-grid a { padding: .8rem; }
}
