:root {
  /* CoreGxP visual identity: cool biotech blue + slate */
  /* CoreGxp brand colors */
  --accent: #0b2f6b;
  --accent-dark: #071f47;
  --accent-light: #2d7fcf;

  --gold: #c79a3b;
  --gold-muted: #ead9ae;

  --header-bg: #ffffff;

  /* Supporting Colors */
  --text: #0f172a;
  --muted: #5b6677;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfcff;
  /*--header-bg: #f6f8fc;*/

  --border: #e3eaf4;
  --field-border: #cfd9e6;
  --footer-border: #e5eaf2;

  --max: 1000px;
  --radius: 12px;
  --radius-small: 8px;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
}

main.wrap {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

section {
  margin: 2rem 0;
  padding: 1.05rem 1rem;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Header */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  padding: 2.75rem 1rem 2.25rem;
}

.site-logo {
  background: var(--header-bg);
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 1.5rem;
  /* border: 2px solid red; Border used during debugging*/
}

/* Hero Section */
.hero-header {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-supporting {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
}

.hero-tagline {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* Typography */
h1 {
  margin: 0 0 0.5rem;
  font-size: 2.45rem;
  line-height: 1.15;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
}

p {
  margin-top: 0;
}

ul {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.55rem;
  color: color-mix(in srgb, var(--text) 95%, transparent);
}


/* Highlight cards */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.highlight-card {
  text-align: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.highlight-card strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 0.75rem;
  color: var(--accent);
}

/* Selected Examples / story cards */
.example-card {
  margin-top: 1rem;
  padding: 1.25rem 1.25rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--text) 4%, transparent);
}

.example-card h3 {
  margin: 0 0 0.65rem;
  color: var(--accent-dark);
  font-size: 1.15rem;
  line-height: 1.3;
}

.example-card p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 92%, transparent);
}

/* Forms */
label {
  display: block;
  margin-top: 0.95rem;
  font-weight: 650;
  color: color-mix(in srgb, var(--text) 92%, transparent);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.72rem 0.75rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease, outline-color 140ms ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

button {
  margin-top: 1.1rem;
  background: var(--accent);
  color: var(--surface);
  border: 0;
  padding: 0.78rem 1.05rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  transition: background-color 140ms ease, transform 80ms ease;
}

button:hover {
  background: var(--accent-dark);
}

button:active {
  transform: translateY(1px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--footer-border);
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.35rem 0;
  margin-top: 2.5rem;
}

.footer-nav {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--accent);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

#formStatus {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Utilities */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
