/* Grow Capital – global landing page
   Layout and palette follow the approved design (Oct 2026). */

@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --forest: #02261F;       /* hero + footer */
  --forest-2: #053A2C;
  --green: #0A5A33;        /* buttons */
  --green-deep: #04432A;
  --gold: #D9A520;
  --gold-light: #F7D46B;
  --gold-deep: #B07D12;
  --cream: #FBF6EC;
  --card: #FFFFFF;
  --ink: #10201A;
  --muted: #4B5853;
  --line: #EDE4CF;

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gold-text: linear-gradient(180deg, #FFE38A 0%, #F2C14E 40%, #C98E15 78%, #E2AE35 100%);
  --gold-bar: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(16, 32, 26, .07); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand img { width: 200px; }
.main-nav { display: flex; gap: 8px; margin: 0 auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 16px; color: var(--ink); position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 50%; width: 30px; margin-left: -15px; bottom: -2px; height: 2.5px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--green-deep); }
.country-btn { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; background: var(--forest); color: #fff; font-size: 15px; font-weight: 500; padding: 12px 20px; border-radius: 999px; white-space: nowrap; }
.country-btn .icon { font-size: 19px; }
.country-btn .icon:last-child { font-size: 16px; opacity: .9; }
.country-btn:hover { background: var(--forest-2); }

/* ---------- Hero (light) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 46px 0 34px;
  background:
    radial-gradient(60% 80% at 82% 30%, rgba(246, 207, 98, .30), transparent 65%),
    radial-gradient(40% 60% at 0% 20%, rgba(214, 196, 150, .35), transparent 70%),
    linear-gradient(180deg, #FFFDF8 0%, #FBF4E4 100%); }
.hero::before { content: ""; position: absolute; right: 8%; top: 0; width: 55%; height: 80%; z-index: -2; opacity: .35;
  background-image: radial-gradient(rgba(160, 120, 50, .45) 1px, transparent 1.3px); background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); }
.hero-sweep-left { position: absolute; left: 0; bottom: 18px; width: calc((100vw - var(--wrap)) / 2 + 10px); max-width: 260px; height: 120px; z-index: -1; }
@media (max-width: 1400px) { .hero-sweep-left { display: none; } }
.hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(44%, 640px); z-index: -1; }
.hero-art img { width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%), linear-gradient(180deg, transparent 0%, #000 12%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%), linear-gradient(180deg, transparent 0%, #000 12%, #000 90%, transparent 100%);
  mask-composite: intersect; }
.hero-copy { position: relative; }
.hero-kicker { font-size: 14px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
.hero h1 { font-weight: 800; line-height: 1.04; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(34px, 4.3vw, 60px); color: var(--forest); }
.h1-top, .h1-gold { display: block; }
.h1-gold { background: linear-gradient(180deg, #E9B53A 0%, #D29A1B 55%, #B07A10 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.hero-sub { margin-top: 16px; font-size: 19px; line-height: 1.5; color: #1E2B25; max-width: 31em; }
.hero-features { display: flex; flex-wrap: wrap; margin-top: 26px; }
.hero-features li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; line-height: 1.3; color: var(--forest); font-weight: 500; padding: 4px 30px; border-left: 1px solid rgba(201, 142, 21, .45); }
.hero-features li:first-child { padding-left: 0; border-left: 0; }
.hero-features .gold-icon { width: 42px; height: 42px; }

/* ---------- Markets ---------- */
.markets { position: relative; padding: 26px 0 30px; background: linear-gradient(180deg, #FBF4E4, var(--cream) 30%); }
.section-title { text-align: center; font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--forest); }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; border-radius: 2px; background: var(--gold-bar); margin: 10px auto 0; }
.detected-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 16px auto 0; font-size: 15px; text-align: center; }
.detected-note .icon { color: var(--green); }
.detected-note a { font-weight: 600; color: var(--green); }

.country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.country-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; background: radial-gradient(70% 90% at 100% 0%, rgba(246, 207, 98, .16), transparent 60%), #FFFDF9;
  box-shadow: 0 0 0 1px rgba(226, 205, 160, .7), 0 22px 40px -28px rgba(2, 38, 31, .45); }
.country-grid > .country-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
.country-card.is-detected { box-shadow: 0 0 0 2px var(--gold), 0 22px 40px -26px rgba(2, 38, 31, .5); }
.card-sweep { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; z-index: -1; }
.card-content { position: relative; padding: 28px 30px 52px; }
.country-head { display: flex; align-items: center; gap: 20px; }
.flag { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .05); }
.country-brand { font-size: 18px; font-weight: 600; color: var(--forest); }
.country-head h3 { font-size: 42px; font-weight: 800; line-height: 1.05; text-transform: uppercase; color: var(--forest); letter-spacing: -.01em; }
.country-head h3.is-long { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.015em; }
.country-tag { margin-top: 6px; font-size: 16px; line-height: 1.4; color: #24302B; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 500; text-decoration: none; border-radius: 999px; padding: 14px 26px; cursor: pointer; border: 0; transition: background-color .2s; }
.btn .icon { font-size: 18px; transition: transform .2s; }
.btn-green { background: linear-gradient(180deg, #0B5A39, #03402A); color: #fff; box-shadow: 0 12px 20px -12px rgba(3, 64, 42, .9); }
.btn-green:hover { background: #03402A; }
.btn-green:hover .icon { transform: translateX(3px); }
.card-action { display: inline-flex; flex-direction: column; align-items: center; margin-top: 24px; }
.card-content .btn { font-size: 17px; padding: 15px 34px; min-width: 260px; }
.country-host { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.btn-soon { background: #F3EEE1; color: #6B746F; border: 1.5px dashed #D3C49B; cursor: default; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn-ghost:hover { background: rgba(2, 38, 31, .06); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.soon-badge { position: absolute; top: 16px; right: 16px; z-index: 1; font-size: 12px; font-weight: 600; color: var(--gold-deep); background: #FDF3D8; border: 1px solid #F0D99A; padding: 4px 11px; border-radius: 999px; }

/* ---------- Partners ---------- */
.partners { background: var(--cream); padding: 18px 0 34px; }
.partners-title { display: flex; align-items: center; justify-content: center; gap: 22px; text-align: center; font-size: clamp(16px, 1.7vw, 21px); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--forest); }
.partners-title::before, .partners-title::after { content: ""; flex: 0 1 130px; height: 2px; }
.partners-title::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.partners-title::after { background: linear-gradient(90deg, var(--gold), transparent); }
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 18px; }
.partner { width: 300px; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 20px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(226, 205, 160, .55), 0 12px 24px -20px rgba(2, 38, 31, .35); }
.partner picture { display: block; }
.partner img { height: 60px; width: auto; max-width: 220px; object-fit: contain; }
.partner img.is-tall { height: 84px; }
.partner-name { font-size: 28px; font-weight: 600; color: #1C2B5A; letter-spacing: .01em; line-height: 1.1; }
.partner-role { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.wave { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.site-footer { position: relative; background: linear-gradient(180deg, #03392B, var(--forest)); color: #fff; padding: 104px 0 24px; overflow: hidden; }
.wave-footer { top: -1px; height: 92px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px 36px; flex-wrap: wrap; }
.footer-brand img { width: 196px; }
.footer-tag { margin-top: 8px; font-size: 16.5px; }
.footer-tag span { color: var(--gold); margin: 0 7px; }
.footer-nav { display: flex; flex-wrap: wrap; }
.footer-nav a { color: #fff; text-decoration: none; font-size: 15.5px; padding: 2px 22px; border-left: 1px solid rgba(255, 255, 255, .45); }
.footer-nav a:first-child { border-left: 0; padding-left: 0; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--forest); }
.footer-social a:hover { background: var(--gold-light); }
.footer-social svg { width: 19px; height: 19px; }
.copyright { font-size: 14px; color: rgba(255, 255, 255, .88); line-height: 1.6; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .45); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-markets { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-markets a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-markets a:hover { color: var(--gold-light); text-decoration: underline; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 20, 15, .62); backdrop-filter: blur(3px); }
.modal-box { position: relative; width: min(100%, 440px); max-height: calc(100% - 20px); overflow: auto; background: #fff; border-radius: 24px; padding: 34px 28px 28px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); border-top: 4px solid var(--gold); }
.modal-box:focus { outline: none; }
.modal.is-open .modal-box { animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #F2EFE6; color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.modal-close:hover { background: #E7E2D3; }
.modal-flag { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.modal h2 { font-size: 24px; font-weight: 700; color: var(--forest); padding: 0 28px; }
.modal p { margin-top: 8px; color: var(--muted); }
.modal .modal-lead { margin-top: 18px; font-weight: 600; color: var(--ink); }
.modal-actions { display: grid; gap: 10px; margin-top: 18px; }
.pick-list { margin-top: 20px; display: grid; gap: 12px; text-align: left; }
.pick-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.pick-list img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pick-name { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.pick-name strong { font-size: 16px; color: var(--ink); }
.pick-soon { margin-top: 16px; font-size: 13px; text-align: center; }
body.modal-locked { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .country-grid { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
  .country-grid > .country-card:last-child:nth-child(odd) { width: 100%; }
  .hero-art { width: 42%; }
  .copyright { border-left: 0; padding-left: 0; }
}
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: 0 16px; padding-top: 8px; }
  .brand img { width: 170px; }
  .country-btn { margin-left: auto; }
  .main-nav { order: 3; width: calc(100% + 56px); margin: 4px -28px 0; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; }
  .hero { padding-bottom: 20px; display: flex; flex-direction: column; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .hero-art { position: relative; top: auto; transform: none; width: min(88%, 560px); margin: 18px 0 0 auto; }
  .hero-sweep-left { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .main-nav { width: calc(100% + 36px); margin: 4px -18px 0; }
  .country-btn span, .country-btn .icon:last-child { display: none; }
  .country-btn { padding: 11px; }
  .country-btn .icon { font-size: 20px; }
  .hero { padding-top: 32px; }
  .hero-kicker { font-size: 11.5px; letter-spacing: .18em; }
  .hero-sub { font-size: 16px; }
  .hero-features { flex-direction: column; gap: 12px; }
  .hero-features li { padding: 0; border: 0; }
  .hero-features .gold-icon { width: 34px; height: 34px; }
  .country-card { min-height: 0; }
      .card-content { max-width: none; padding: 18px 18px 50px; }
  .flag { width: 70px; height: 70px; }
  .country-head { gap: 16px; }
  .country-head h3 { font-size: 34px; }
  .country-head h3.is-long { font-size: 24px; }
  .country-brand { font-size: 15px; }
  .country-tag { font-size: 15px; }
  .card-action { display: flex; }
  .card-content .btn { width: 100%; min-width: 0; padding: 14px 20px; font-size: 16px; }
  .soon-badge { top: 12px; right: 12px; font-size: 11px; }
  .partners-title::before, .partners-title::after { display: none; }
  .partner { width: 100%; }
  .site-footer { padding-top: 76px; }
  .wave-footer { height: 58px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav a { padding: 2px 12px; font-size: 14.5px; }
}

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