.brand-logo {
  display: block;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: contain;
  margin-bottom: 2px;
}
:root {
  /* Backgrounds */
  --bg: #f8fafc;            /* very light gray-blue base */
  --bg-card: #ffffff;        /* pure white cards */
  --bg-elevated: #f1f5f9;    /* light gray-blue for subtle panels */

  /* Text colors */
  --fg: #09090e;             /* slate-900 for body text */
  --fg-muted: #475569;       /* slate-600 for secondary text */

  /* Accent blues */
  --accent: #0284c7;         /* sky-600 */
  --accent-soft: rgba(2,132,199,0.12);  /* soft tint background */

  /* Borders & radii */
  --border-subtle: rgba(2,132,199,0.25);
  --radius-lg: 18px;

  /* Shadows */
  --shadow-soft: 0 10px 24px rgba(2,132,199,0.15);

  /* Layout width */
  --max-width: 480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 70%); /* sky-100 → white */
  color: var(--fg);
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-card);
  border: 1px solid rgba(2,132,199,0.15);
  border-radius: 24px;
  padding: 24px 20px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hero */
.hero {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand h1 {
  font-size: 1.4rem;
  margin: 0;
}

.subtitle {
  margin: 2px 0 0;
  font-size: 2.0rem;
  color: var(--fg-muted);
}

.hero-text {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--fg);
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    transform 80ms ease,
    box-shadow 120ms ease,
    border-color 140ms ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 5px 5px rgba(56, 189, 248, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.7);
}

.btn.secondary {
  background: var(--accent-soft);
  color: var(--fg);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn.secondary:hover {
  background: rgba(56, 189, 248, 0.18);
}

/* Panels */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(2,132,199,0.15);
  background: radial-gradient(circle at top, #f1f5f9 0, #f1f5f9 100%);
  padding: 14px 14px 12px;
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.panel p {
  margin: 6px 0;
  font-size: 0.9rem;
  color: var(--fg);
}

.bullets {
  margin: 8px 0 4px;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.bullets li + li {
  margin-top: 3px;
}

.hint {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Header brand: left stacked text, right headshot (~25% width) */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left column aligned to top */
  gap: 18px;
}

/* top row: logo (flex) + headshot (fixed) */
.brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.brand-bottom {
    margin-top: 8px;
    width: 100%;
}

/* ensure subtitle and hero-text under the images use the intended sizes */
.brand-bottom .subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin: 2px 0 0;
  color: var(--fg-muted);
}

.brand-bottom .hero-text {
  margin: 6px 0 0;
}

.brand-logo {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  max-width: calc(100% - 140px); /* leave room for headshot */
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: contain;
}

.brand .headshot {
  width: 140px;               /* roughly quarter-ish on narrow container */
  max-width: 28%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand .headshot {
    width: 96px;
    max-width: none;
    margin-top: 8px;
    align-self: flex-start;
  }
}

/* Footer */
.footer {
  margin-top: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 10px;
}

.footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* Slightly wider screens */
@media (min-width: 600px) {
  body {
    padding: 36px 20px;
  }

  .page {
    padding: 26px 22px 20px;
  }
}
.brand {
  display: flex;
  align-items: flex-start; /* keep left column aligned to the top */
  gap: 18px;
}

/* Left column: title above subtitle above blurb */
.brand-text {
  flex: 1 1 auto; /* take remaining space */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand .hero-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fg);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 70%); /* sky-100 → white */
  color: var(--fg);
}


body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-card);
  border: 1px solid rgba(2,132,199,0.15);
  border-radius: 24px;
  padding: 24px 20px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hero */
.hero {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand h1 {
  font-size: 1.4rem;
  margin: 0;
}

.subtitle {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--fg-muted);
}

.hero-text {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--fg);
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    transform 80ms ease,
    box-shadow 120ms ease,
    border-color 140ms ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.7);
}

.btn.secondary {
  background: var(--accent-soft);
  color: var(--fg);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn.secondary:hover {
  background: rgba(56, 189, 248, 0.18);
}

/* Panels */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(2,132,199,0.15);
  background: radial-gradient(circle at top, #f1f5f9 0, #f1f5f9 100%);
  padding: 14px 14px 12px;
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.panel p {
  margin: 6px 0;
  font-size: 0.9rem;
  color: var(--fg);
}

.bullets {
  margin: 8px 0 4px;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.bullets li + li {
  margin-top: 3px;
}

.hint {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Header brand: text + headshot side-by-side */
.brand {
  display: flex;
  align-items: flex-start; /* keep left column aligned to the top */
  gap: 18px;
}

/* Left column: title above subtitle above blurb */
.brand-text {
  flex: 1 1 auto; /* take remaining space */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand .hero-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fg);
}

.brand .headshot {
  width: 140px;               /* fixed-ish width for the portrait column */
  max-width: 28%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  /* Stack: left column above image on small screens */
  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand .headshot {
    width: 100%;
    max-width: none;
    margin-top: 8px;
    align-self: stretch;
  }
}
/* Footer */
.footer {
  margin-top: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 10px;
}

.footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* Slightly wider screens */
@media (min-width: 600px) {
  body {
    padding: 36px 20px;
  }

  .page {
    padding: 26px 22px 20px;
  }
}
