/* Palette 1b — "Sunrise Split"
   Dark navy-indigo base, coral leads, light blue cools it.
   Drop this in and use the variables; the .link-* classes are optional. */

:root {
  /* Surfaces */
  --bg:            #10142A; /* page background */
  --surface:       #191F3C; /* cards, secondary buttons */
  --surface-hover: #211A3A; /* surface + coral warmth */
  --surface-cool:  #182742; /* surface + blue coolness */
  --border:        rgba(255, 255, 255, 0.10);

  /* Text */
  --text:          #F4F1EE; /* warm white — primary text */
  --text-muted:    #9D9AB8; /* labels, secondary text */

  /* Accents */
  --coral:         #FF6A45; /* primary accent */
  --coral-hover:   #FF8163;
  --coral-soft:    #FF8F6D; /* coral text on dark */
  --coral-tint:    rgba(255, 106, 69, 0.12);
  --on-coral:      #2A0F08; /* text on a coral fill */

  --blue:          #86CBF2; /* secondary accent */
  --blue-hover:    #A3D9F7;
  --blue-tint:     rgba(134, 203, 242, 0.12);
  --on-blue:       #10142A; /* text on a blue fill */

  /* Shape */
  --radius:     14px;
  --radius-lg:  22px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Archivo, system-ui, sans-serif;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--coral); }

.muted { color: var(--text-muted); }

/* Eyebrow / kicker text */
.kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--coral-soft);
}

/* --- Link rows ------------------------------------------------- */

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 15px 16px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

/* Primary — the one link you most want tapped */
.link-row--primary {
  background: var(--coral);
  color: var(--on-coral);
}
.link-row--primary:hover  { background: var(--coral-hover); color: var(--on-coral); }
.link-row--primary:active { filter: brightness(0.94); }

/* Secondary — most rows */
.link-row--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.link-row--secondary:hover  { background: var(--surface-hover); border-color: var(--coral); color: var(--text); }
.link-row--secondary:active { background: var(--bg); }

/* Secondary, cool variant — for a row you want to read as calm (e.g. Strava) */
.link-row--cool:hover { background: var(--surface-cool); border-color: var(--blue); }

/* Outlined blue — a highlighted-but-not-primary row (e.g. discount codes) */
.link-row--outline {
  background: var(--blue-tint);
  color: var(--blue);
  border-color: rgba(134, 203, 242, 0.40);
}
.link-row--outline:hover { background: var(--blue); color: var(--on-blue); border-color: var(--blue); }

/* Tertiary — quiet text link */
.link-row--quiet {
  min-height: 48px;
  padding: 13px 16px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}
.link-row--quiet:hover { color: var(--text); }

.link-row__icon {
  width: 26px;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
}
.link-row__label { flex: 1; }

/* --- Card / avatar --------------------------------------------- */

.card {
  background: var(--bg);
  border: 1px solid rgba(255, 120, 80, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  object-fit: cover;
}

/* Photo tinting — warm duotone-ish wash over imagery */
.img-tint { position: relative; }
.img-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coral);
  mix-blend-mode: color;
  opacity: 0.28;
  pointer-events: none;
}

/* --- Focus (keyboard accessibility) ---------------------------- */

:where(a, button):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .link-row { transition: none; }
}
