/* Logoped microsite styles (mobile-first) */
:root {
  --primary-bg: #FFD54F;
  --primary-btn: #66BB6A;
  --text: #2E3A59;
  --bg: #FFFDE7;
  --muted: #F5F7FA;
  --white: #FFFFFF;
  --shadow: 0 6px 20px rgba(46,58,89,0.12);
  --radius: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1b5e20; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1040px;
  padding: 16px;
  margin: 0 auto;
}

.nav {
  background: var(--primary-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-weight: 700;
  color: #2E3A59;
  letter-spacing: 0.2px;
}
.menu {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #2E3A59;
  font-weight: 600;
}
.menu a.active,
.menu a:focus-visible {
  outline: 3px solid rgba(46,58,89,0.25);
  background: rgba(255,255,255,0.65);
}
.menu .cta {
  background: var(--primary-btn);
  color: var(--white);
}
.menu .cta:hover { filter: brightness(0.95); text-decoration: none; }

.hero {
  background: linear-gradient(180deg, var(--primary-bg), #FFE082);
  padding: 32px 0;
}
.hero h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  line-height: 40px;
}
.lead {
  font-size: 16px;
  line-height: 24px;
  color: #344164;
  margin-bottom: 16px;
}
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .05s ease, filter .2s ease;
}
.btn:hover { text-decoration: none; filter: brightness(0.97); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid #1B5E20; outline-offset: 2px; }

.btn-primary {
  background: var(--primary-btn);
  color: var(--white);
}
.btn-secondary {
  background: var(--primary-bg);
  color: #2E3A59;
  border-color: rgba(46,58,89,0.15);
}

.section {
  padding: 24px 0;
}
.section-title {
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 12px 0;
}
.subtle { color: #4c5a7a; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card img { border-radius: 12px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #E8F5E9;
  color: #1B5E20;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

footer {
  background: var(--muted);
  margin-top: 32px;
  padding: 16px 0;
  color: #46506A;
}
footer .inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 720px) {
  footer .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

h1 { font-size: 32px; line-height: 40px; }
h2 { font-size: 24px; line-height: 32px; }
h3 { font-size: 20px; line-height: 28px; }
p  { font-size: 16px; line-height: 24px; margin: 0 0 12px 0; }
small { font-size: 14px; line-height: 20px; }

.faq dt {
  font-weight: 700;
  margin-top: 8px;
}
.faq dd {
  margin: 0 0 8px 0;
  color: #3f4a6b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pill {
  background: #FFF59D;
  padding: 4px 8px;
  border-radius: 999px;
}

.content {
  display: grid;
  gap: 12px;
}
.prose p { margin-bottom: 12px; }
.prose h2 { margin: 16px 0 8px; }
.prose h3 { margin: 12px 0 6px; }
.prose ul { padding-left: 18px; margin: 0 0 12px 0; }
.prose li { margin-bottom: 6px; }

.header-cboard {
  margin-left: auto;
}

.notice {
  background: #FFF9C4;
  border: 1px solid #FCE082;
  padding: 12px;
  border-radius: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.table th, .table td {
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}
.table th {
  background: #F9FAFB;
  font-weight: 700;
}

.section-muted {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 16px;
}

.visually-strong {
  color: #1B5E20;
  font-weight: 800;
}

.logo {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.logo .mark {
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--primary-btn);
  box-shadow: 0 0 0 3px rgba(102,187,106,0.25);
}

/* Improve focus for WCAG AA */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid #1B5E20;
  outline-offset: 2px;
}

.nav .btn-secondary {
  background: #FFE082;
}

.spacer { height: 8px; }

.kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: #4c5a7a;
  font-size: 12px;
}

.grid.equal .card { height: 100%; display: flex; flex-direction: column; }
.card .grow { flex: 1; }

.meta {
  color: #6b7a99;
  font-size: 14px;
}