:root {
  --navy: #0A1A2F;
  --navy-2: #0d2942;
  --gold: #F4B01E;
  --gold-soft: #FBF0DA;
  --ink: #102538;
  --muted: #617285;
  --line: #dbe6ed;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #164767 0, var(--navy) 48%, #04111e 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom));
}

.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.brand-panel {
  padding: 24px 28px 22px;
  text-align: center;
  color: white;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
}

.logo { width: min(240px, 70%); height: auto; display: block; margin: 0 auto; }
.strapline { margin: 2px 0 0; color: #cbeaf2; font-size: 14px; letter-spacing: .02em; }
.profile { padding: 28px 24px 26px; }
.eyebrow { margin: 0 0 7px; color: #A97400; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(32px, 9vw, 44px); letter-spacing: -.035em; line-height: 1.04; }
.role { margin: 9px 0 22px; color: var(--muted); font-size: 17px; }

.primary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.button { min-height: 50px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--gold); font-weight: 750; text-align: center; cursor: pointer; }
.button-primary { background: var(--gold); color: #0A1A2F; }
.button-secondary { background: white; color: var(--navy); }
.button:focus-visible, a:focus-visible { outline: 3px solid #f4b01e; outline-offset: 3px; }

.contact-list { border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: #A97400; background: var(--gold-soft); border-radius: 50%; font-weight: 800; }

.markets { display: grid; gap: 10px; margin: 20px 0; }
.markets a { padding: 14px 16px; background: #f5f9fb; border: 1px solid var(--line); border-radius: 14px; }
.markets span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.markets strong { font-size: 15px; }

.qr-panel { margin-top: 22px; text-align: center; }
.qr-panel img { width: 180px; height: 180px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 0; display: block; margin: 0 auto; }
.qr-panel p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.home-hint { margin: 17px 12px 0; color: #d4e5ed; text-align: center; font-size: 13px; }

@media (max-width: 360px) {
  .primary-actions { grid-template-columns: 1fr; }
  .profile { padding-inline: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .contact-list a, .markets a { transition: transform .15s ease, box-shadow .15s ease; }
  .button:active, .contact-list a:active, .markets a:active { transform: scale(.98); }
}
