/* ==========================================================================
   FenTech Capital — pre-launch site  (v4)

   Palette   ink #16181D · green #0B4D2F · navy #0C2A5E · silver #B9BEC6
             porcelain #E9EDEC (page field) · white #FFFFFF (card panel)
   Type      Cormorant Garamond (display) / Source Serif 4 (body)
   Signature a white card floating on a porcelain field; the tricolor
             hairline (green · silver · navy) as the dividing language;
             one faint gradient "equity curve" ascending behind the card.
   ========================================================================== */

:root {
  --white:       #ffffff;
  --porcelain:   #e9edec;
  --ink:         #16181d;
  --ink-soft:    #3d4148;
  --muted:       #71767f;
  --green:       #0b4d2f;
  --green-tint:  rgba(11, 77, 47, 0.10);
  --navy:        #0c2a5e;
  --navy-tint:   rgba(12, 42, 94, 0.10);
  --silver:      #b9bec6;
  --hairline:    #e7e9ec;

  --serif:   "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Cormorant Garamond", Georgia, serif;

  --max-w: 720px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Tricolor brand bar — full-bleed, top of viewport.
   Green and navy meet through silver: the three brand colors in one line.
   -------------------------------------------------------------------------- */

.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    var(--green) 40%,
    var(--silver) 50%,
    var(--navy) 60%,
    var(--navy) 100%
  );
}

/* --------------------------------------------------------------------------
   Signature backdrop — one continuous ascending curve, drawn in a
   green-to-navy gradient at whisper opacity. It enters low on the left
   and exits high on the right, passing behind the card.
   -------------------------------------------------------------------------- */

.curve-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.curve-backdrop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 22px 56px;
}

.card {
  width: 100%;
  max-width: var(--max-w);
  text-align: center;
  background: #ffffff;
  border: 1px solid #dfe3e4;
  border-radius: 4px;
  padding: 64px 56px 48px;
  box-shadow: 0 28px 70px -38px rgba(12, 42, 94, 0.30);
}

/* --------------------------------------------------------------------------
   Load sequence — a single orchestrated rise. Each .rise child fades up
   in order; disabled entirely under prefers-reduced-motion.
   -------------------------------------------------------------------------- */

.rise {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease-out) forwards;
}

.rise.d1 { animation-delay: 0.05s; }
.rise.d2 { animation-delay: 0.22s; }
.rise.d3 { animation-delay: 0.38s; }
.rise.d4 { animation-delay: 0.54s; }
.rise.d5 { animation-delay: 0.70s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.logo-wrap {
  margin-bottom: 40px;
}

.logo-wrap img {
  max-width: 400px;
  width: 82%;
  height: auto;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Eyebrow — PRE-LAUNCH between extending hairlines, with a breathing
   green marker. The hairlines are the tricolor language at reduced volume.
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto 44px;
  max-width: 460px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
}

.eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--green-tint) 30%, var(--silver));
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--silver), var(--navy-tint) 70%, transparent);
}

.eyebrow .inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0.35;
  animation: breathe 3.2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.75); opacity: 0.35; }
  50%      { transform: scale(1.15); opacity: 0.12; }
}

.eyebrow .label {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--navy);
  transform: translateX(0.13em); /* optically recenter letterspaced caps */
}

/* --------------------------------------------------------------------------
   Lede
   -------------------------------------------------------------------------- */

.lede {
  font-size: 20.5px;
  line-height: 1.78;
  font-weight: 400;
  color: var(--ink);
  margin: 0 auto 52px;
  max-width: 600px;
}

.lede strong {
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.005em;
}

/* --------------------------------------------------------------------------
   Ornament divider — a silver lozenge between two hairlines.
   -------------------------------------------------------------------------- */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 46px;
  max-width: 300px;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.ornament .gem {
  width: 7px;
  height: 7px;
  background: var(--silver);
  transform: rotate(45deg);
  flex: none;
}

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */

.founder .name {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}

.founder .role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 26px;
}

/* LinkedIn — quiet pill, navy line, fills on hover */

.founder .linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--navy);
  border-radius: 100px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  margin-bottom: 28px;
}

.founder .linkedin:hover,
.founder .linkedin:focus-visible {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px -8px rgba(12, 42, 94, 0.45);
}

.founder .linkedin svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.founder .contact-line {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 6px;
  line-height: 1.7;
}

.founder .contact-line.address {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 0;
}

.founder .contact-line a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy-tint);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.founder .contact-line a:hover,
.founder .contact-line a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* --------------------------------------------------------------------------
   Disclaimer — separated by the tricolor hairline at full card width.
   -------------------------------------------------------------------------- */

.disclaimer-block {
  margin-top: 54px;
}

.tricolor-rule {
  height: 1px;
  border: none;
  margin: 0 0 30px;
  background: linear-gradient(
    90deg,
    var(--green-tint),
    var(--silver) 50%,
    var(--navy-tint)
  );
}

.disclaimer {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Focus visibility
   -------------------------------------------------------------------------- */

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.founder .linkedin:focus-visible {
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .rise {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .eyebrow .dot::after {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  body { font-size: 16px; }

  .page { padding: 40px 14px 36px; }

  .card {
    padding: 40px 22px 32px;
  }

  .logo-wrap { margin-bottom: 32px; }
  .logo-wrap img { max-width: 300px; width: 86%; }

  .eyebrow { margin-bottom: 36px; max-width: 320px; gap: 14px; }

  .lede {
    font-size: 17.5px;
    margin-bottom: 42px;
  }

  .ornament { margin-bottom: 38px; }

  .founder .name { font-size: 33px; }

  .founder .contact-line { font-size: 14px; }
  .founder .contact-line.address { font-size: 13.5px; }

  .disclaimer-block { margin-top: 44px; }
}
