*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #E6F1FB;
  --blue-100: #B5D4F4;
  --blue-200: #85B7EB;
  --blue-400: #378ADD;
  --blue-600: #185FA5;
  --blue-800: #0C447C;
  --blue-900: #042C53;

  --gray-50:  #F7F7F5;
  --gray-100: #EDEDEA;
  --gray-200: #D5D5D0;
  --gray-400: #888780;
  --gray-600: #5F5E5A;
  --gray-900: #1A1A18;

  --amber-50:  #FAEEDA;
  --amber-200: #EF9F27;
  --amber-600: #854F0B;

  --green-50:  #EAF3DE;
  --green-600: #3B6D11;

  --purple-50:  #EEEDFE;
  --purple-600: #3C3489;

  --coral-50:  #FAECE7;
  --coral-600: #993C1D;

  --red-bg:   #F5C4B3;
  --red-text: #712B13;

  --text-primary:   #1A1A18;
  --text-secondary: #5F5E5A;
  --text-tertiary:  #888780;
  --text-blue:      #185FA5;

  --bg-primary:   #ffffff;
  --bg-secondary: #F7F7F5;
  --bg-tertiary:  #EDEDEA;

  --border-light:  rgba(0,0,0,0.08);
  --border-medium: rgba(0,0,0,0.14);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font:    'Georgia', 'Times New Roman', serif;
  --font-ui: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-ui);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  min-height: 100vh;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-primary);
  border-bottom: 0.5px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 14px; height: 14px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-ui);
}
.nav-link:hover { background: var(--bg-secondary); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: var(--blue-400);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--blue-600); }

/* ── HERO ── */
.hero {
  padding: 48px 20px 36px;
  background: var(--bg-primary);
  border-bottom: 0.5px solid var(--border-light);
  text-align: center;
}
.hero h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.search-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.search-bar input {
  width: 100%;
  padding: 12px 16px;
  border: 0.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  font-size: 14px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-ui);
  outline: none;
}
.search-bar input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(55,138,221,0.12);
}
.search-btn {
  width: 100%;
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  background: var(--blue-400);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background 0.15s;
}
.search-btn:hover { background: var(--blue-600); }
.hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 10px;
}

/* ── PAGE BODY ── */
.page {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── RESPONSIVE ── */
@media (min-width: 540px) {
  .search-bar { flex-direction: row; }
  .search-bar input { flex: 1; }
  .search-btn { width: auto; }
}
