/* Getnomik Resources - white, dark blue and grey */
:root {
  --navy-900: #0a1a33;
  --navy-800: #0f2649;
  --navy-700: #163764;
  --blue-600: #1f4f99;
  --blue-500: #2d64bd;
  --blue-50:  #eef3fb;
  --grey-900: #1c2330;
  --grey-700: #475163;
  --grey-500: #6b7486;
  --grey-300: #cfd5df;
  --grey-200: #e3e7ee;
  --grey-100: #f3f5f8;
  --white: #ffffff;
  --green: #1f7a4d;   --green-bg: #e8f5ee;
  --amber: #8a5a00;   --amber-bg: #fdf3dc;
  --red: #b42318;     --red-bg: #fdecea;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 26, 51, .06), 0 4px 16px rgba(10, 26, 51, .06);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--grey-900); background: var(--white);
}
img { max-width: 100%; }
a { color: var(--blue-600); text-underline-offset: 2px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, .h2, .h3 { font-family: var(--serif); color: var(--navy-900); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.01em; }
h2, .h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--grey-700); max-width: 62ch; }
.muted { color: var(--grey-500); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.nowrap { white-space: nowrap; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--white); padding: 8px 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 560px; }
.section { padding: 64px 0; }
.section.tight { padding: 32px 0 56px; }
.section.alt { background: var(--grey-100); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--grey-200); background: var(--white); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--navy-800); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.brand-text { font-family: var(--serif); font-weight: 700; color: var(--navy-900); font-size: 1.15rem; margin: 0; }
.brand-text span { color: var(--grey-500); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--grey-700); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--navy-900); }
.site-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--blue-600); }
.site-nav .btn { color: inherit; }
.site-nav .btn.primary { color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--grey-300); border-radius: 8px; padding: 6px 12px; font: inherit; color: var(--navy-900); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 8px; border: 1px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn.primary { background: var(--navy-800); color: var(--white); }
.btn.primary:hover { background: var(--navy-700); color: var(--white); }
.btn.ghost { background: var(--white); color: var(--navy-800); border-color: var(--grey-300); }
.btn.ghost:hover { border-color: var(--navy-700); }
.btn.danger { background: var(--red); color: var(--white); }
.btn.small { padding: 7px 12px; font-size: .85rem; }
.btn.block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blue-50), var(--white)); padding: 72px 0 56px; border-bottom: 1px solid var(--grey-200); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--blue-600); margin-bottom: .75em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.countdown { text-align: left; }
.countdown-num { font-family: var(--serif); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--navy-900); margin: 0 0 .15em; font-variant-numeric: tabular-nums; }
.countdown-label { color: var(--grey-700); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.soft { background: var(--blue-50); border-color: #d6e1f3; box-shadow: none; }
.card.soft p { margin: 0; }
.card.sticky { position: sticky; top: 88px; }
.card.danger { margin-top: 16px; box-shadow: none; }
.card.danger summary { cursor: pointer; color: var(--red); font-weight: 600; }

.page-head { background: var(--grey-100); border-bottom: 1px solid var(--grey-200); padding: 40px 0 28px; }
.page-head .lead { margin-bottom: 0; }
.crumbs { margin: 0; font-size: .9rem; color: var(--grey-500); }
.page-head:has(.crumbs) { padding: 16px 0; }

/* Role picker */
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 24px; }
.role-tile { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--grey-200); border-radius: var(--radius); text-decoration: none; color: var(--navy-900); font-weight: 600; background: var(--white); transition: border-color .15s, transform .15s; }
.role-tile:hover { border-color: var(--navy-700); color: var(--navy-900); transform: translateY(-1px); }
.role-arrow { color: var(--blue-600); }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.guide-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; position: relative; transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--grey-300); box-shadow: var(--shadow); }
.guide-card h3 { margin-top: 12px; font-size: 1.2rem; }
.guide-card h3 a { color: var(--navy-900); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card .meta { margin: auto 0 0; }
.guide-card-top { display: flex; gap: 8px; flex-wrap: wrap; }
.meta { font-size: .85rem; color: var(--grey-500); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--grey-100); color: var(--grey-700); border: 1px solid var(--grey-200); }
.tag-live { background: var(--green-bg); color: var(--green); border-color: #c7e6d4; }
.tag-soon { background: var(--amber-bg); color: var(--amber); border-color: #f1dfae; }

.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--grey-700); min-width: 180px; }
.filters .grow { flex: 1; }
.empty { padding: 32px 0; }

.guide-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.guide-main h1 { margin-top: 12px; }
.verified { color: var(--green); font-weight: 600; font-size: .9rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--grey-200); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--blue-600); font-weight: 700; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--grey-900); }
input, select, textarea { font: 400 1rem/1.4 var(--sans); padding: 10px 12px; border: 1px solid var(--grey-300); border-radius: 8px; background: var(--white); color: var(--grey-900); width: 100%; }
textarea { resize: vertical; }
.optional { font-weight: 400; color: var(--grey-500); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form .check, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--grey-700); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy-800); }
.consent { display: grid; gap: 10px; padding: 12px; background: var(--grey-100); border-radius: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
fieldset { border: 1px solid var(--grey-200); border-radius: 8px; padding: 12px; margin: 0; }
legend { font-size: .9rem; font-weight: 600; padding: 0 6px; }
.pad-top { padding-top: 28px; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
form.inline { display: inline; }
form.inline select { width: auto; padding: 6px 8px; font-size: .85rem; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; border: 1px solid; margin: 0 0 12px; }
.alert.success { background: var(--green-bg); color: var(--green); border-color: #c7e6d4; }
.alert.error { background: var(--red-bg); color: var(--red); border-color: #f5c6c1; }
.alert.warning { background: var(--amber-bg); color: var(--amber); border-color: #f1dfae; }
.flash-wrap { padding-top: 16px; }

/* Home: dates & trust */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.date-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.date-list li { display: flex; gap: 16px; align-items: center; padding: 12px 16px; border: 1px solid var(--grey-200); border-radius: var(--radius); }
.date-badge { width: 52px; flex: none; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--navy-900); line-height: 1.1; }
.date-badge span { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600; text-transform: uppercase; color: var(--blue-600); letter-spacing: .06em; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust p { margin: 0; }

/* Calendar */
.cal-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-bar h2 { margin: 0; min-width: 160px; text-align: center; }
.cal-filter { margin-left: auto; }
.cal-filter select { width: auto; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--grey-200); border-left: 1px solid var(--grey-200); }
.cal-dow { padding: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase; color: var(--grey-500); background: var(--grey-100); border-right: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.cal-cell { min-height: 96px; padding: 6px; border-right: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); display: flex; flex-direction: column; gap: 4px; }
.cal-cell.empty { background: var(--grey-100); }
.cal-cell.today .cal-day { background: var(--navy-800); color: var(--white); }
.cal-day { font-size: .8rem; font-weight: 600; color: var(--grey-700); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cal-ev { font-size: .72rem; line-height: 1.3; padding: 3px 6px; border-radius: 4px; background: var(--grey-100); color: var(--grey-900); border-left: 3px solid var(--grey-500); }
.cat-gst { border-left-color: #1f4f99; background: #eef3fb; }
.cat-tds { border-left-color: #6a3fa0; background: #f3eefa; }
.cat-roc { border-left-color: #0f766e; background: #e8f6f4; }
.cat-tax { border-left-color: #b45309; background: #fdf3e6; }
.cat-pf  { border-left-color: #475163; background: #f1f3f6; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--grey-500); background: var(--grey-100); padding: 10px 12px; border-bottom: 1px solid var(--grey-200); }
.table td { padding: 12px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td { padding: 8px 12px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.past td { color: var(--grey-500); }

/* Account & admin */
.account-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.lib-list { list-style: none; padding: 0; margin: 0 0 32px; }
.lib-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grey-200); }
.admin-nav { display: flex; gap: 8px; padding-top: 20px; }
.admin-nav a { padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--grey-700); font-weight: 600; font-size: .9rem; }
.admin-nav a[aria-current] { background: var(--navy-800); color: var(--white); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; padding: 18px 20px; }
.stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--navy-900); line-height: 1.1; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b7c2d6; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: var(--white); }
.site-footer .brand-text { color: var(--white); }
.site-footer .brand-text span { color: #8d9bb4; }
.site-footer .muted { color: #8d9bb4; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-head { color: var(--white); font-weight: 600; margin-bottom: .4em; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .8rem; color: #8d9bb4; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .guide-layout, .split, .account-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 20px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .card.sticky { position: static; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--grey-200); flex-direction: column; align-items: stretch; padding: 12px 16px 16px; gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .site-nav a[aria-current] { box-shadow: none; color: var(--blue-600); }
  .two, .three { grid-template-columns: 1fr; }
  .filters label { min-width: 0; flex: 1 1 100%; }
  .cal-grid { display: none; }
  .cal-filter { margin-left: 0; width: 100%; }
  .cal-filter select { width: 100%; }
  .table-wrap .table { min-width: 720px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
