/* Brightside Health — brand design system
   Aqua #39CBD5 (core) · Sapphire #2E4985 (base)
   Light Aqua #E6F9FA · Light Sapphire #F1F7FE
   Headings: Outfit · Body: DM Sans */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --aqua: #39CBD5;
  --aqua-dark: #22a6b0;
  --sapphire: #2E4985;
  --sapphire-dark: #223868;
  --light-aqua: #E6F9FA;
  --light-sapphire: #F1F7FE;
  --ink: #1f2a44;
  --muted: #5b6b86;
  --line: #e3e9f2;
  --white: #ffffff;
  --danger: #c0392b;
  --success: #1e9e6a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(46, 73, 133, 0.08);
  --shadow-lg: 0 20px 50px rgba(46, 73, 133, 0.14);
  --font-head: 'Outfit', 'Segoe UI', Arial, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--light-sapphire);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .head { font-family: var(--font-head); color: var(--sapphire); margin: 0 0 .4em; line-height: 1.15; }
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
a { color: var(--aqua-dark); }
p { margin: 0 0 1rem; }

/* ---- layout ---- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
  position: sticky; top: 0; z-index: 20;
}
.topbar img { height: 38px; display: block; }
.topbar .spacer { flex: 1; }
.topbar .tag {
  font-family: var(--font-head); font-weight: 600; color: var(--sapphire);
  background: var(--light-aqua); padding: 5px 12px; border-radius: 999px; font-size: .85rem;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 32px 20px 80px; }
.wrap-wide { max-width: 1120px; }

/* ---- cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.card.flush { padding: 0; overflow: hidden; }

/* hero banner */
.hero {
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--sapphire-dark) 60%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 26px;
}
.hero h1 { color: var(--white); font-size: 2.3rem; }
.hero p { color: rgba(255,255,255,.85); max-width: 60ch; margin-bottom: 0; }
.hero .trophy { font-size: 2.4rem; margin-bottom: 6px; }
.hero::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(57,203,213,.55), transparent 70%);
}

/* ---- award blurbs ---- */
.awards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.award-tile {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; background: var(--light-aqua);
}
.award-tile.ab { background: var(--light-sapphire); }
.award-tile h3 { margin-bottom: 4px; }
.award-tile .who { font-size: .82rem; color: var(--muted); }
.award-tile p { font-size: .9rem; margin-bottom: 0; color: var(--muted); }

/* ---- forms ---- */
label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--sapphire); margin: 18px 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; font-family: var(--font-body); }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(57,203,213,.25);
}
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; cursor: pointer; transition: all .15s; background: var(--white);
}
.radio-card:hover { border-color: var(--aqua); }
.radio-card.selected { border-color: var(--aqua); background: var(--light-aqua); box-shadow: 0 0 0 3px rgba(57,203,213,.2); }
.radio-card input { display: none; }
.radio-card .rc-title { font-family: var(--font-head); font-weight: 700; color: var(--sapphire); }
.radio-card .rc-sub { font-size: .82rem; color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--aqua); color: var(--sapphire-dark); transition: transform .08s, background .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { background: var(--aqua-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--sapphire); color: var(--white); }
.btn.primary:hover { background: var(--sapphire-dark); }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--sapphire); }
.btn.ghost:hover { background: var(--light-sapphire); color: var(--sapphire); }
.btn.sm { padding: 7px 14px; font-size: .85rem; }
.btn.danger { background: transparent; border: 1.5px solid #f0c9c4; color: var(--danger); }
.btn.danger:hover { background: #fbeae7; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---- misc ---- */
.pill {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .75rem;
  padding: 3px 11px; border-radius: 999px; background: var(--light-aqua); color: var(--sapphire);
}
.pill.open { background: #d7f6e8; color: var(--success); }
.pill.closed { background: #f0e2e0; color: var(--danger); }
.pill.draft { background: #eef2f8; color: var(--muted); }
.pill.love { background: var(--light-aqua); color: var(--aqua-dark); }
.pill.ab { background: var(--light-sapphire); color: var(--sapphire); }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin: 12px 0; }
.notice.err { background: #fbeae7; color: var(--danger); }
.notice.ok { background: #d7f6e8; color: var(--success); }
.notice.info { background: var(--light-aqua); color: var(--sapphire); }
.muted { color: var(--muted); }
.center { text-align: center; }
hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }
.required { color: var(--aqua-dark); }

@media (max-width: 720px) {
  .awards, .radio-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
}
