/* Wealth Studio – public front page */
@font-face { font-family: "Young Serif"; src: url(fonts/young-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-ext-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0; }

:root {
  --ink: #14284B;        /* deep navy, the app's own colour */
  --ink-2: #2E5FA3;
  --paper: #FAFBFD;
  --mist: #E7EDF6;
  --silver: #C5CCD6;     /* accent on navy */
  --silver-deep: #8A95A6;/* accent on light backgrounds */
  --leaf: #1E7A46;
  --text: #24314A;
  --muted: #5B677D;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--silver-deep); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: #fff; padding: 8px 12px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--ink); color: #fff; font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 6px; transition: background .15s; }
.btn:hover { background: #0d1d38; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-big { min-height: 54px; padding: 0 28px; font-size: 17px; }
.link { color: var(--ink); font-weight: 600; text-decoration: none; }
.link:hover, .link-strong { text-decoration: underline; text-decoration-color: var(--silver-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); font-family: var(--sans); cursor: pointer; border: 0; }
.btn-ghost:hover { background: var(--mist); }
.btn-ghost-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); font-family: var(--sans); cursor: pointer; border: 0; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); }
.demo-form { margin: 0; display: inline-flex; }
.demo-note { font-size: 15px; color: var(--muted); margin: 16px 0 0; max-width: 32em; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(250, 251, 253, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--mist); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 400 20px/1 var(--serif); color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }

/* hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.05; max-width: 13ch; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 24px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--mist); max-width: 30em; }
.rate-eq { display: inline-flex; align-items: baseline; gap: 10px; font: 600 26px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.rate-sign { color: var(--silver-deep); }
.rate-note { font-size: 14px; color: var(--muted); }
.phone { margin: 0; justify-self: center; width: 100%; max-width: 330px; padding: 10px; background: #0f1f3b; border-radius: 40px; box-shadow: 0 30px 60px -20px rgba(20, 40, 75, 0.45), 0 0 0 1px rgba(20, 40, 75, 0.08); }
.phone img { border-radius: 31px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
}

/* the two-country ledger */
.ledger { padding: 88px 0 80px; background: var(--ink); color: #DDE5F2; }
.ledger h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; max-width: 20ch; }
.ledger .sub { color: #AFBDD6; max-width: 38em; margin: 18px 0 48px; font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: stretch; }
.side h3 { display: flex; align-items: baseline; gap: 14px; color: #fff; font-size: 28px; margin-bottom: 18px; }
.glyph { font: 600 44px/1 var(--sans); color: var(--silver); width: 1.1em; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 16px; color: #C9D4E7; }
.side li b { color: #fff; font-weight: 600; }
.seam { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 0; color: rgba(255, 255, 255, 0.5); font: 600 18px/1 var(--sans); }
.seam-line { flex: 1; width: 2px; background: linear-gradient(var(--silver), rgba(197, 204, 214, 0.12)); }
.split-foot { margin: 40px 0 0; color: #fff; font-size: 18px; max-width: 36em; }

/* features */
.feature { padding: 96px 0; }
.feature-alt { background: var(--mist); }
.feature-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feature-alt .feature-copy { order: 2; }
.feature h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; margin-bottom: 20px; }
.feature-copy p { color: var(--muted); max-width: 32em; }
.shots { position: relative; }
.shot { width: 100%; max-width: 420px; border-radius: 10px; box-shadow: 0 20px 45px -18px rgba(20, 40, 75, 0.35), 0 0 0 1px rgba(20, 40, 75, 0.07); background: #fff; }
.shots-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.shots-pair .shot-offset { margin-top: 64px; }
.feature-alt .shots { display: flex; justify-content: center; }
.feature-alt .shot { max-width: 460px; }

/* extras */
.extras { padding: 72px 0; border-bottom: 1px solid var(--mist); }
.extras-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.extras-list li { font-size: 15px; color: var(--muted); }
.extras-list b { display: block; font: 400 21px/1.3 var(--serif); color: var(--ink); margin-bottom: 8px; }

/* privacy */
.private { padding: 88px 0; }
.private-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px 64px; }
.private h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; grid-row: span 2; }
.private-list { margin: 0; padding: 0; list-style: none; }
.private-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--mist); }
.private-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px; border-left: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(-45deg); }
.private-more { margin: 18px 0 0; color: var(--muted); }

/* joining */
.join { padding: 88px 0 96px; background: var(--ink); color: #C9D4E7; }
.join h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 36px; }
.steps { list-style: none; counter-reset: s; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; position: relative; padding-top: 56px; font-size: 16px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; font: 400 40px/1 var(--serif); color: var(--silver); }
.steps b { display: block; color: #fff; font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.join .btn:not(.btn-ghost-dark) { background: linear-gradient(180deg, #E4E8EE, #BCC4CF); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.join .btn:not(.btn-ghost-dark):hover { background: linear-gradient(180deg, #EEF1F5, #CBD2DC); }
.ledger :focus-visible, .join :focus-visible { outline-color: var(--silver); }

/* footer */
.foot { padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-nav a { color: var(--ink); }

/* smaller screens */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-in, .feature-in, .private-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone { max-width: 290px; }
  .feature-alt .feature-copy { order: 0; }
  .extras-list { grid-template-columns: 1fr 1fr; }
  .private h2 { grid-row: auto; }
}
@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top-nav .link { display: none; }
  .lede { font-size: 17px; }
  .split { grid-template-columns: 1fr; }
  .seam { flex-direction: row; padding: 28px 0; }
  .seam-line { height: 2px; width: auto; flex: 1; background: linear-gradient(90deg, var(--silver), rgba(197, 204, 214, 0.12)); }
  .feature { padding: 72px 0; }
  .shots-pair { grid-template-columns: 1fr; }
  .shots-pair .shot-offset { margin-top: 0; }
  .extras-list, .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { padding: 0 0 0 48px; }
  .steps li::before { font-size: 32px; }
}
