/* ==========================================================================
   12thPlus website theme (2026)
   One stylesheet for every website page. Colours follow the logo: navy + teal.
   Change a colour here and it changes on every page. Page files should only
   add small page-specific rules, never redefine these.
   ========================================================================== */

:root {
  /* Brand (from the logo) */
  --navy: #1F3662;
  --navy-deep: #13233F;
  --teal: #16AEC8;          /* logo teal: decoration, icons, large text */
  --teal-strong: #0A7C93;   /* buttons and links: readable with white text */
  --teal-soft: #E6F6F9;

  /* Stage colours (one per class band) */
  --green: #0E7C6B;  --green-soft: #E4F0EC;
  --blue: #1668E3;   --blue-soft: #EAF2FE;
  --purple: #7C3AED; --purple-soft: #F1EBFE;

  /* Text and surfaces */
  --ink: #14213D;
  --muted: #55606E;
  --faint: #8A93A2;
  --canvas: #F6F8FA;
  --card: #FFFFFF;
  --line: #E4E8EE;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-raised: 0 10px 30px rgba(16, 24, 40, .10);
  --header-h: 68px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--card);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-strong); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--tint { background: var(--canvas); }
.section--teal { background: var(--teal-soft); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-strong); margin-bottom: 10px;
}
.h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--muted); margin-top: 14px; }
.accent { color: var(--teal-strong); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal-strong); color: #fff; box-shadow: 0 6px 18px rgba(10, 124, 147, .28); }
.btn--primary:hover { background: #086A7E; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-spacer { height: var(--header-h); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.site-logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a {
  padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  color: var(--muted); text-decoration: none;
}
.site-nav a:hover { color: var(--navy); background: var(--canvas); }
.site-nav a[aria-current="page"] { color: var(--teal-strong); background: var(--teal-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login { font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 8px 10px; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; content: '';
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.mobile-menu { display: none; }

@media (max-width: 1020px) {
  .site-nav, .header-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-raised);
    padding: 12px 20px 20px;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a:not(.btn) {
    display: block; padding: 13px 4px; font-weight: 500; color: var(--ink);
    text-decoration: none; border-bottom: 1px solid var(--line);
  }
  .mobile-menu a[aria-current="page"] { color: var(--teal-strong); font-weight: 600; }
  .mobile-menu .btn { width: 100%; margin-top: 14px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.check-list li::before {
  content: ''; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230A7C93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--teal-soft); color: var(--teal-strong);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--teal-strong);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B8C2D3; padding: 64px 0 28px; font-size: 14px; }
.site-footer a { color: #B8C2D3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { max-width: 300px; }
.site-footer h3 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.store-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.store-badges a {
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; font-size: 13px; font-weight: 600;
}
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .section { padding: 56px 0; } }
