:root {
  --primary: #8c1d2b;
  --primary-hover: #6d1420;
  --primary-subtle: #fbeff0;
  --gold: #d4ac4a;
  --gold-hover: #e0bc62;
  --gold-deep: #8a6a12;
  --ink: #1a1013;
  --ink-muted: #6b585c;
  --line: #e9dfe0;
  --paper: #ffffff;
  --tint: #faf6f6;
  --radius: 18px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; top: -999px; left: 12px; }
.skip:focus { top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Placeholder copy still to be supplied */
.todo {
  background: #fff3c9;
  color: #5a4300;
  border-bottom: 2px dashed var(--gold-deep);
  padding: 0 .2em;
  border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px;
  font: 500 16px/1.2 var(--font); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.link { color: var(--primary); font-weight: 600; font-size: 16px; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--primary); color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; white-space: nowrap; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 16px; opacity: .92; }
.nav-links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { margin-inline-start: 4px; }
.lang-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.lang-wrap:hover, .lang-wrap:focus-within { background: rgba(255,255,255,.16); }
.lang { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font: inherit; font-size: 16px; }
.lang option { color: #1a1013; background: #fff; }

/* Hero */
.hero { position: relative; min-height: min(800px, calc(100vh - 72px)); display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a1a1d; }
.hero-bg { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #2a1a1d 0%, #2a1a1d 35%, rgba(42,26,29,.8) 45%, rgba(42,22,26,.32) 60%, rgba(42,18,24,.04) 78%, rgba(42,18,24,0) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: 96px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; font-weight: 600; letter-spacing: -.03em; max-width: 11ch; }
.hero-sub { font-size: clamp(19px, 2vw, 26px); line-height: 1.35; max-width: 24ch; margin: 28px 0 40px; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.display { font-size: clamp(32px, 4vw, 50px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }

/* Block 2: cards */
.cards { display: flex; gap: 24px; height: 440px; margin-top: 40px; }
.card {
  position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--primary-subtle);
  transition: flex-grow .45s cubic-bezier(.4, 0, .2, 1);
  font: inherit; color: #fff; text-align: left;
}
.card.is-active { flex-grow: 3; cursor: default; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#tab-invest img { object-position: 52% 50%; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26,16,19,.72)); transition: opacity .3s; }
.card.is-active::after { opacity: 0; }
.card-label { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-weight: 700; font-size: 18px; transition: opacity .2s; }
.card.is-active .card-label { opacity: 0; }
.soon {
  display: inline-block; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: var(--gold); color: var(--ink); padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; }
.panels { min-height: 150px; }
.panel h3 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.panel p { font-size: 22px; line-height: 1.35; max-width: 27em; margin-bottom: 20px; }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--primary-subtle); color: var(--ink);
  font-size: 28px; line-height: 1; cursor: pointer; padding-bottom: 4px;
}
.arrow:hover { background: var(--line); }

/* Bands (blocks 3 and 5) */
.band { position: relative; color: #fff; overflow: hidden; background: #2a1a1d; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; }
.band-inner { position: relative; z-index: 1; padding-block: 112px; }
.band-text { max-width: 620px; }
.band h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.band p { font-size: 21px; margin-top: 18px; }
.band .btn { margin-top: 36px; }

.band-travel::after { background: linear-gradient(90deg, rgba(60,14,22,.9), rgba(60,14,22,.62) 60%, rgba(60,14,22,.45)); }
.band-split { display: flex; align-items: center; justify-content: space-between; gap: 48px; }

.paycard-stage { position: relative; width: 340px; height: 250px; flex: none; }
.paycard {
  position: absolute; left: 20px; top: 26px; width: 300px; height: 190px; border-radius: 16px;
  background: linear-gradient(135deg, #a32635 0%, var(--primary) 45%, #5c111b 100%);
  box-shadow: 0 24px 50px rgba(0,0,0,.45); transform: rotate(-6deg);
  border: 1px solid rgba(255,255,255,.18);
}
.paycard-back { transform: rotate(7deg) translate(18px, 10px); background: linear-gradient(135deg, #e3c373, var(--gold) 50%, #a9842d); }
.paycard span { position: absolute; }
.paycard-brand { left: 22px; top: 20px; font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.paycard-brand b { font-weight: 400; letter-spacing: 0; }
.paycard-chip { left: 22px; top: 76px; width: 44px; height: 33px; border-radius: 7px; background: linear-gradient(135deg, #f1dc9f, var(--gold)); }
.paycard-type { left: 22px; bottom: 20px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.paycard-soon { right: 18px; bottom: 18px; font-size: 12px; font-weight: 600; background: var(--gold); color: var(--ink); padding: 4px 10px; border-radius: 999px; }

.band-licence::after { background: linear-gradient(90deg, rgba(26,16,19,.88) 0%, rgba(26,16,19,.7) 42%, rgba(26,16,19,.12) 78%); }
.band-licence .band-bg { object-position: 50% 55%; }
.band-licence .todo { background: var(--gold); color: var(--ink); border-bottom-color: #fff; }

/* Block 4: how your money is held */
.held-sub { text-align: center; font-size: 21px; color: var(--ink-muted); margin-top: 14px; }
.held { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 52px auto 0; }
.held-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 36px 36px 38px; background: #fff; }
.held-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--primary); color: #fff; }
.held-icon-gold { background: #fbf4e1; color: var(--gold-deep); border: 1.5px solid var(--gold); }
.held-card h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin: 24px 0 16px; }
.held-card ul { margin: 0; padding: 0; list-style: none; }
.held-card li { position: relative; padding-left: 22px; font-size: 19px; line-height: 1.45; }
.held-card li + li { margin-top: 12px; }
.held-card li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Block 6: trust */
.trust-inner { display: flex; align-items: center; justify-content: center; gap: clamp(48px, 10vw, 200px); }
.phone {
  width: 270px; flex: none; border-radius: 44px; padding: 9px; background: #17100f;
  box-shadow: 30px 40px 80px rgba(26,16,19,.22);
}
.phone-screen { border-radius: 36px; overflow: hidden; background: #fff; font-size: 13px; }
.phone-top { background: linear-gradient(160deg, #a32635, var(--primary) 60%, #6d1420); color: #fff; padding: 14px 18px 26px; display: flex; flex-direction: column; }
.phone-notch { align-self: center; width: 78px; height: 20px; border-radius: 12px; background: #17100f; margin-bottom: 20px; }
.phone-brand { font-weight: 700; letter-spacing: .05em; font-size: 14px; margin-bottom: 46px; }
.phone-brand b { font-weight: 400; letter-spacing: 0; }
.phone-small { opacity: .85; font-size: 12px; }
.phone-balance { font-size: 24px; font-weight: 600; margin-top: 2px; }
.phone-row { display: flex; flex-direction: column; gap: 3px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.phone-row span { color: var(--ink-muted); font-size: 12px; }
.phone-row b { font-size: 16px; font-weight: 600; }
.phone-row .phone-muted { color: var(--gold-deep); font-size: 13px; }
.phone-actions { display: flex; gap: 8px; padding: 14px 14px 18px; }
.phone-actions span { flex: 1; background: var(--ink); color: #fff; border-radius: 8px; padding: 11px 6px; text-align: center; font-size: 12px; font-weight: 500; }

.trust-lead { font-size: 26px; font-weight: 500; }
.trust-big { font-size: clamp(64px, 9vw, 112px); line-height: 1; font-weight: 600; letter-spacing: -.035em; color: var(--primary); margin: 4px 0 10px; }
.trust-since { margin-top: 30px; font-size: 20px; color: var(--ink-muted); }

/* Block 7: blog */
.badge { width: fit-content; margin: 0 auto 12px; background: var(--primary-subtle); color: var(--primary); font-weight: 600; font-size: 16px; padding: 6px 14px; border-radius: 8px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 52px; }
.post { text-decoration: none; }
.post img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 20px; }
.post-title { font-size: 18px; line-height: 1.4; }
.post-go { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-subtle); display: grid; place-items: center; font-size: 20px; transition: background .15s, color .15s; }
.post:hover .post-go { background: var(--primary); color: #fff; }

/* Block 8: FAQ */
.faq { padding-top: 24px; }
.faq-title { font-size: 34px; font-weight: 600; margin-bottom: 12px; }
.faq details { border-bottom: 1px solid #d9cfd1; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 28px 30px 0; font-size: 21px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 60px 30px 0; color: var(--ink-muted); max-width: 70ch; }

/* Waitlist page */
.waitlist { background: linear-gradient(135deg, #3c0e16, #2a1a1d 70%); color: #fff; padding: 96px 0 112px; overflow: hidden; }
.waitlist-inner { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.waitlist-text { max-width: 600px; }
.waitlist h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; margin-top: 18px; }
.waitlist-sub { font-size: 21px; margin-top: 18px; opacity: .92; }
.waitlist-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.waitlist-form input[type="email"] { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; direction: ltr; }
.waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,.55); }
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.waitlist-form button:disabled { opacity: .6; cursor: default; }
.waitlist-hp { position: absolute; top: -999px; height: 1px; width: 1px; opacity: 0; }
.waitlist-note { margin-top: 28px; font-size: 20px; font-weight: 500; }
.waitlist-note.is-ok { color: var(--gold); }
.waitlist-note.is-error { color: #ffb4b4; font-size: 17px; margin-top: 16px; }
.waitlist-privacy { margin-top: 18px; font-size: 14px; opacity: .7; }
.waitlist .badge { margin: 0; }
@media (max-width: 960px) { .waitlist-inner { flex-direction: column; align-items: flex-start; } .waitlist { padding: 64px 0 72px; } }

/* Footer */
.footer { background: #f4efef; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 40px; padding: 72px 0 56px; border-bottom: 1px solid #d9cfd1; }
.footer-cols h3 { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.footer-cols a { display: block; text-decoration: none; margin-bottom: 16px; font-size: 17px; }
.footer-cols a:hover { text-decoration: underline; }
.footer-brand { padding: 44px 0 64px; }
.footer-brand img { height: 56px; width: auto; }
.footer-tag { font-size: 28px; font-weight: 500; letter-spacing: -.01em; margin-top: 26px; }
.footer-legal { background: var(--primary-subtle); padding: 30px 0; font-size: 15px; }

/* Responsive */
.display, .hero h1, .band h2 { text-wrap: balance; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 760px) { .hero h1 { hyphens: auto; font-size: clamp(34px, 10.5vw, 44px); } }

/* Right-to-left languages (Arabic): mirror the photo overlays so text stays readable */
[dir="rtl"] .hero::after, [dir="rtl"] .band::after { transform: scaleX(-1); }
[dir="rtl"] .hero-bg { right: auto; left: 0; }
[dir="rtl"] .band-licence .band-bg { transform: scaleX(-1); }
.joined-script * { letter-spacing: 0 !important; }
.joined-script .hero h1, .joined-script .display, .joined-script .band h2 { line-height: 1.3; }

.nav .logo { flex: none; }
[dir="rtl"] .phone-row b, [dir="rtl"] .phone-balance { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .link span, [dir="rtl"] .post-go { display: inline-block; transform: scaleX(-1); }

.band-licence .band-text { max-width: none; }
.band-licence h2 { text-wrap: wrap; }
@media (min-width: 761px) { #products .display { white-space: pre-line; } }

/* Small screens: logo, globe and button on the first row; Save / Invest / Spend on a second row */
@media (max-width: 760px) {
  .nav-inner { height: auto; flex-wrap: wrap; padding-block: 10px 0; gap: 0; }
  .logo img { height: 28px; }
  .nav-links { display: contents; }
  .nav-links a:not(.btn) { order: 3; flex: 1 1 0; text-align: center; padding: 12px 4px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.16); margin-top: 10px; }
  .lang-wrap { order: 1; margin-inline-start: auto; }
  .nav-cta { order: 2; margin: 0; margin-inline-start: 6px; padding: 9px 14px; font-size: 14px; }
  .nav-inner::after { content: ""; order: 2; flex-basis: 100%; }
}
@media (max-width: 960px) {
  .band-split { flex-direction: column; align-items: flex-start; }
  .trust-inner { flex-direction: column; text-align: center; }
  .posts { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .hero-bg { width: 100%; object-position: 50% 50%; }
  .hero { align-items: flex-end; }
  .hero-inner { padding-block: 48px 44px; }
  .hero::after { background: linear-gradient(180deg, rgba(42,18,24,.1) 0%, rgba(42,18,24,.25) 42%, rgba(26,16,19,.92) 72%); }
  .cards { height: 320px; gap: 10px; }
  .card.is-active { flex-grow: 4; }
  .card-label { left: 10px; font-size: 14px; writing-mode: vertical-rl; transform: rotate(180deg); bottom: 12px; }
  .card-label .soon { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .arrows { justify-content: flex-end; }
  .panel p { font-size: 19px; }
  .band-inner { padding-block: 80px; }
  .band-licence::after { background: rgba(26,16,19,.78); }
  .paycard-stage { transform: scale(.85); transform-origin: left top; height: 215px; }
  .held { grid-template-columns: 1fr; }
  .held-card { padding: 28px 24px 30px; }
  .faq summary { font-size: 18px; padding-right: 8px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
