:root {
  --bg: #f6f8fb;
  --white: #ffffff;
  --ink: #161b2d;
  --ink-soft: #1e1b2d;
  --muted: #6f6a7a;
  --muted-2: #897d99;
  --nav: #5b6b82;
  --line: #e6eaf0;
  --line-strong: #d5dbe3;
  --teal: #0e7c66;
  --teal-dark: #0e694b;
  --teal-deeper: #08463c;
  --hero-left: #063730;
  --hero-right: #14a38d;
  --hero-mid: #0b6756;
  --cream: #fffbeb;
  --cream-border: #ead9a8;
  --amber: #b45309;
  --amber-bg: #fff4d6;
  --amber-ink: #7a4a00;
  --shadow: 0 1px 2px rgba(22, 27, 45, 0.04), 0 8px 24px rgba(22, 27, 45, 0.04);
  --radius: 22px;
  --radius-sm: 16px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); }
img, svg { display: block; }

.preview-banner {
  background: var(--amber-bg);
  color: var(--amber-ink);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-bottom: 1px solid #f0d48a;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid #eef1f5;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand img, .brand svg {
  width: 36px;
  height: 36px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.brand-sub {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7c94;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--nav);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu-btn {
  display: none;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 28px 64px;
}

.hero {
  background: linear-gradient(90deg, var(--hero-left) 0%, var(--hero-mid) 48%, var(--hero-right) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 48px 52px 52px;
  min-height: 320px;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.hero p {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 400;
  max-width: 640px;
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-light {
  background: #fff;
  color: var(--teal-deeper);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-solid {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 14px;
  padding: 14px 22px;
  border: 0;
}
.btn-solid:hover { filter: brightness(1.06); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
}

section { margin-top: 48px; }
.section-title {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}
.section-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid #e8edf3;
  border-radius: var(--radius);
  padding: 24px 26px 26px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.card p, .card li {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.card p + p { margin-top: 10px; }
.card ul { margin: 10px 0 0; padding-left: 1.15em; }
.card li + li { margin-top: 6px; }

.form-card { padding: 28px 30px 30px; }
.form-card h2 { margin-top: 0; }
.form-note {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 15.5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border: 1.5px solid #d9e0e8;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(14, 124, 102, 0.28);
  border-color: var(--teal);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-actions { margin-top: 22px; }

.form-banner {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #d7b4b4;
  border-radius: 8px;
  background: #fdf2f2;
  color: #7a1f1f;
  font-size: 14px;
}
.form-banner[hidden], .field-error[hidden] { display: none; }
.field-error { margin: 0; font-size: 13px; color: #9b1c1c; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c0392b;
}
.req { color: #9b1c1c; font-weight: 600; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.coming {
  background: var(--cream);
  border: 1.5px dashed var(--cream-border);
  border-radius: 20px;
  padding: 24px 26px 28px;
  box-shadow: none;
}
.pill {
  display: inline-block;
  background: #fde8c8;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.contact-block h3 { font-size: 18px; margin: 0 0 2px; }
.contact-block p { margin: 0; }
.contact-block .tel {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}
.placeholder-email {
  color: var(--muted);
  font-style: italic;
}

.links a {
  font-weight: 700;
  text-decoration: none;
}
.links a:hover { text-decoration: underline; }
.link-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid #e8edf3;
  background: #fff;
  margin-top: 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 28px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--nav);
  font-size: 14px;
  flex-wrap: wrap;
}

.thanks-wrap { padding-top: 36px; }
.thanks-card {
  max-width: 640px;
  padding: 28px 30px 32px;
}
.thanks-kicker {
  color: #5b7a88;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}
.thanks-card h1 {
  margin: 0 0 10px;
  font-size: 40px;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.thanks-card p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 22px;
}

.notice {
  background: #eef7f4;
  border: 1px solid #cfe4dc;
  color: #1e433a;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  margin: 0 0 20px;
}

/* Library */
.library-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}
.library-toolbar .field label { font-size: 12px; }
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px 12px;
  background: #fff;
  border: 1.5px solid #d9e0e8;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  height: 46px;
  white-space: nowrap;
}
.toggle input { accent-color: var(--teal-dark); width: 16px; height: 16px; }
.stats {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}
.table-wrap {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  overflow: auto;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
table.library {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 980px;
}
table.library th, table.library td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f5;
  vertical-align: top;
}
table.library th {
  position: sticky;
  top: 0;
  background: #f8fafb;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7c94;
  font-weight: 700;
  z-index: 1;
}
table.library td.name { font-weight: 650; color: var(--ink); min-width: 220px; }
table.library td.num, table.library th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.library td.past { min-width: 220px; color: var(--muted); }
table.library td.notes { min-width: 180px; color: var(--muted); }
table.library tr:hover td { background: #f6fbf9; }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
}
.badge-yes { background: #e5f6ef; color: #0d5c4d; }
.badge-no { background: #f1f3f6; color: #5b6b82; }
.badge-h { background: #e5f6ef; color: #0d5c4d; }
.badge-m { background: #fff4d6; color: #7a4a00; }
.badge-l { background: #f1f3f6; color: #5b6b82; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); }

.cards-mobile { display: none; }
.lib-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 10px;
}
.lib-card h3 { margin: 0 0 6px; font-size: 16px; }
.lib-meta { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.lib-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.lib-row span:first-child { color: var(--muted); }
.lib-raw { font-weight: 700; color: var(--teal-deeper); font-size: 16px; margin: 8px 0; }

@media (max-width: 880px) {
  .header-inner, .wrap, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 32px 22px 36px; border-radius: 24px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    gap: 0;
  }
  .nav.open a { padding: 12px 12px; border-radius: 10px; }
  .nav.open a:hover { background: var(--bg); }
  .menu-btn { display: inline-flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .library-toolbar { grid-template-columns: 1fr; }
  .table-wrap { display: none; }
  .cards-mobile { display: block; }
  .section-title { font-size: 26px; }
  .thanks-card h1 { font-size: 32px; }
  .btn-ghost { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-light, .hero .btn-ghost { width: 100%; }
}

@media (min-width: 881px) {
  .nav { display: flex !important; }
}

/* Brand logo (real WIN shield) */
.brand-logo {
  height: 36px;
  width: auto;
  max-height: 36px;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

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

/* Pick your work */
table.library.pick { min-width: 780px; }
table.library.pick th.col-check,
table.library.pick td.col-check {
  width: 36px;
  text-align: center;
  vertical-align: middle;
}
.pw-check { accent-color: var(--teal-dark); width: 16px; height: 16px; }
.pw-qty {
  font: inherit;
  font-size: 13.5px;
  width: 88px;
  padding: 6px 8px;
  border: 1.5px solid #d9e0e8;
  border-radius: 8px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pw-qty:disabled { background: #f4f6f8; color: #9aa3ad; }
.pw-qty:focus {
  outline: 2px solid rgba(14, 124, 102, 0.28);
  border-color: var(--teal);
}
tr.pw-placeholder td,
.lib-card.pw-placeholder { background: #fafafb; color: var(--muted); }
.pw-card-select {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.pw-card-select h3 { margin: 0; flex: 1; }
.pick-summary { margin-top: 16px; }
.pick-summary h3 { margin: 0 0 10px; font-size: 18px; }
.pick-summary ul { margin: 0; padding-left: 1.15em; color: var(--muted); }
.pick-summary li + li { margin-top: 6px; }
.pick-summary li strong { color: var(--ink); font-weight: 650; }

.pick-total {
  position: sticky;
  bottom: 12px;
  z-index: 25;
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(22, 27, 45, 0.1);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.pick-total.has-selection { border-color: #cfe4dc; background: #f7fbf9; }
.pick-total-figure { display: flex; flex-direction: column; gap: 2px; }
.pick-total-figure span { color: var(--muted); font-size: 13px; font-weight: 650; }
.pick-total-figure strong {
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--teal-deeper);
  font-variant-numeric: tabular-nums;
}
.pick-total-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 560px;
  line-height: 1.45;
}
.pick-total-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 880px) {
  .pick-total { bottom: 8px; padding: 14px; }
  .pick-total-figure strong { font-size: 24px; }
  .pick-total-actions { width: 100%; }
  .pick-total-actions .btn { flex: 1; }
  .brand-logo { max-width: 40px; }
  #pick-work .lib-card .pw-qty { width: 110px; }
}

/* Partners drop-down */
.nav-drop { position: relative; }
.nav-drop-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--nav);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-drop-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}
.nav-drop-btn:hover,
.nav-drop.open .nav-drop-btn,
.nav-drop:hover .nav-drop-btn,
.nav-drop:focus-within .nav-drop-btn { color: var(--ink); }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}
.nav-drop-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.nav-drop-menu a:hover { background: var(--bg); color: var(--ink); }
.nav-drop-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
@media (min-width: 881px) {
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu,
  .nav-drop.open .nav-drop-menu { display: block; }
}
@media (max-width: 880px) {
  .nav-drop { width: 100%; }
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
  }
  .nav-drop-menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 6px 8px;
    background: transparent;
  }
  .nav-drop.open .nav-drop-menu { display: block; }
}

#related-reading .grid-2 a {
  display: block;
  font-weight: 650;
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
}
#related-reading .grid-2 a:hover { text-decoration: underline; }
