/* The link page (hello.financekeem.com). Made for a phone held up in a dim
   room: one dark column, the website's ink and green, and exactly one green
   button. Deliberately one theme; every color is set here, so the page looks
   the same whatever the phone's own setting. */
:root {
  --bg: #16191f;
  --panel: #20242d;          /* the website's dark band */
  --line: #333946;
  --text: #f4f5f7;
  --muted: #a9afba;
  --green: #09c269;          /* the website's button green */
  --green-hover: #1dab65;
  --green-soft: #7cc4a0;     /* the highlight green, lifted for a dark ground */
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 16px/1.55 'Open Sans', Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
[hidden] { display: none !important; }

.hl {
  max-width: 440px; margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 22px;
}

/* 1. Who he is */
.hl-who { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.hl-portrait {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  border: 3px solid var(--panel); box-shadow: 0 0 0 2px var(--green-soft); margin-bottom: 12px;
}
.hl-name { margin: 0; font: 800 28px/1.15 'Poppins', 'Open Sans', sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.hl-title { margin: 4px 0 0; font-weight: 700; color: var(--green-soft); }
.hl-cred { margin: 0; color: var(--muted); font-size: 15px; }

/* 2. The video */
.hl-video {
  /* The CD video is tall (filmed on a phone). Sized so the green button
     still shows below it without scrolling on most phones. */
  position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  width: min(100%, 320px, max(200px, calc((100svh - 420px) * 9 / 16))); margin-inline: auto;
  background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.hl-video video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.hl-sound {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px;
  background: rgba(22, 25, 31, .82); color: #fff; font: 700 14px/1 'Open Sans', sans-serif; cursor: pointer; white-space: nowrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hl-sound::before {
  content: ''; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 8v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 8v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hl-play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0;
  background: rgba(22, 25, 31, .78); cursor: pointer; display: grid; place-items: center;
}
.hl-play span { width: 0; height: 0; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.hl-end {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 16px; background: rgba(14, 16, 20, .88); text-align: center;
}
.hl-again { border: 0; background: none; color: var(--text); font: 600 15px/1 'Open Sans', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }

/* 3. The one green button */
.hl-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.hl-go {
  display: block; background: var(--green); color: #fff; text-decoration: none; text-align: center;
  font: 700 18px/1.25 'Open Sans', sans-serif; padding: 18px 20px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(9, 194, 105, .28); transition: background .15s ease, transform .15s ease;
}
.hl-go:hover { background: var(--green-hover); }
.hl-go:active { transform: scale(.98); }
.hl-go-big { width: 100%; max-width: 320px; font-size: 16px; padding: 14px 14px; }
.hl-note { margin: 0; color: var(--muted); font-size: 14px; }

/* Call and Email */
.hl-reach { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.hl-reach li + li { border-top: 1px solid var(--line); }
.hl-reach-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 52px; text-decoration: none; }
.hl-reach-link:hover { background: rgba(255, 255, 255, .04); }
.hl-reach-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hl-reach-value { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; text-align: right; }

/* 5. Social links, two columns */
.hl-social ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hl-social-link {
  display: block; text-align: center; text-decoration: none; padding: 13px 10px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 15px;
}
.hl-social-link:hover { border-color: var(--muted); }
/* The featured link (Substack): its own orange, a soft glow that breathes,
   so it reads as the one to tap after the green button. Still for anyone
   who prefers less motion. */
.hl-social-link.is-featured {
  border-color: #ff6719; color: #fff; background: rgba(255, 103, 25, .14);
  box-shadow: 0 0 0 1px rgba(255, 103, 25, .5), 0 0 18px 2px rgba(255, 103, 25, .35);
  animation: hl-pulse 2.2s ease-in-out infinite;
}
.hl-social-link.is-featured:hover { background: rgba(255, 103, 25, .22); }
@keyframes hl-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 103, 25, .5), 0 0 14px 1px rgba(255, 103, 25, .28); transform: scale(1); }
  50% { box-shadow: 0 0 0 3px rgba(255, 103, 25, .35), 0 0 30px 6px rgba(255, 103, 25, .5); transform: scale(1.03); }
}

/* 6. Save my contact */
.hl-save {
  display: block; text-align: center; text-decoration: none; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--text); font-weight: 700; font-size: 16px;
}
.hl-save:hover { background: rgba(255, 255, 255, .06); }

/* 7. The fine print */
.hl-foot { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.5; text-align: center; }
.hl-foot p { margin: 0 0 8px; }
.hl-legal a { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .hl-social-link.is-featured { animation: none; }
  .hl-go { transition: none; }
  .hl-go:active { transform: none; }
}
