/* Lingua20 main stylesheet – 2025-11-23 */

/* Basic variables */
:root {
  --bg-main: #f4f7ff;
  --bg-card: #ffffff;
  --bg-hero: #eef3ff;
  --text-main: #121320;
  --text-muted: #4b5164;
  --accent: #2153ff;
  --accent-soft: rgba(33, 83, 255, 0.12);
  --border-soft: #dde2f2;
  --pill-bg: #eef1ff;
  --pill-text: #2b3a8a;
  --danger: #b3261e;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-hero: 0 26px 60px rgba(15, 23, 42, 0.12);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

/* Light-theme override so HostGator/auto dark cannot black this out */
html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #f4f7ff 0, #f0f3fb 40%, #edf0f7 70%, #e8ebf5 100%) !important;
  color: var(--text-main) !important;
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: 18px; /* ≈ 1.2x normal body text */
  -webkit-filter: none !important;
  filter: none !important;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

/* Header / brand */

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Mild 3D logo effect on the wordmark */
.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f2937;
  text-shadow:
    0 1px 0 #ffffff,
    0 2px 2px rgba(15, 23, 42, 0.25),
    0 4px 6px rgba(15, 23, 42, 0.18);
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-soft);
  color: var(--text-main);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  text-decoration: none;
}

.nav-link.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
  border-color: transparent;
  font-weight: 600;
}

.nav-link.primary:hover {
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.4);
}

/* Hero */

.hero {
  background: linear-gradient(145deg, #eef3ff, #f4f7ff);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-hero);
  margin-bottom: 32px;
  border: 1px solid rgba(209, 213, 230, 0.8);
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-main);
  max-width: 640px;
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Layout */

.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 880px) {
  .grid-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 217, 235, 0.9);
}

.card + .card {
  margin-top: 16px;
}

h2,
h3,
h4 {
  margin-top: 0;
  color: var(--text-main);
}

h2.section-title {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

h3.section-title {
  font-size: 18px;
  font-weight: 700;
}

.text-muted {
  color: var(--text-muted);
}

p {
  margin: 0 0 10px;
  font-size: 16px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 12px;
  font-weight: 500;
  margin: 0 6px 6px 0;
  border: 1px solid rgba(148, 163, 255, 0.4);
  white-space: nowrap;
}

.tag-pill span.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
}

.list-compact {
  padding-left: 18px;
  margin: 8px 0 2px;
}

.list-compact li {
  font-size: 16px;
  margin-bottom: 6px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.small-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Field notes */

.field-notes-section {
  margin-top: 32px;
}

.field-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 960px) {
  .field-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .field-notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid rgba(210, 216, 236, 0.95);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  position: relative;
}

.field-card .label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.8);
  background: var(--accent-soft);
  color: #27317a;
  font-weight: 600;
  white-space: nowrap;
}

.badge.exp {
  border-color: rgba(16, 185, 129, 0.7);
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
}

.field-card h3 {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 600;
}

.field-card p {
  font-size: 14px;
  margin-bottom: 6px;
}

.field-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.field-link {
  font-size: 13px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.field-link span.arrow {
  font-size: 13px;
}

/* Footer */

footer.site-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(203, 210, 230, 0.9);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

footer.site-footer .left,
footer.site-footer .right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
