:root {
  --navy: #052a55;
  --navy-deep: #06325f;
  --navy-soft: #0a3d73;
  --ink: #102033;
  --muted: #5a6b7d;
  --line: #d5dee8;
  --bg: #eef2f7;
  --bg-warm: #f5f7fa;
  --white: #ffffff;
  --accent: #1a6fb5;
  --section-space: 80px;
  --font-display: "Libre Franklin", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(5, 42, 85, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(5, 42, 85, 0.14);
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px 6vw;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 120px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

nav a {
  position: relative;
  transition: color 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav a:hover {
  color: var(--navy-soft);
}

nav a:hover::after {
  transform: scaleX(1);
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.profile-link::after {
  display: none;
}

.profile-link:hover {
  background: var(--bg);
  border-color: var(--navy);
  color: var(--navy);
}

.profile-link svg {
  display: block;
}

.profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 30;
}

.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.profile-dropdown a::after {
  display: none;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: var(--bg);
}

/* Hero — full-bleed brand plane */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 56px 6vw 64px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(26, 111, 181, 0.18) 100%),
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.035) 79px,
      rgba(255, 255, 255, 0.035) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.035) 79px,
      rgba(255, 255, 255, 0.035) 80px
    );
  pointer-events: none;
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-drift {
  from { opacity: 0.85; transform: scale(1); }
  to { opacity: 1; transform: scale(1.03); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 18px;
  padding-bottom: 0;
  border-bottom: none;
  max-width: none;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.brand-line-sep {
  width: 1px;
  height: 16px;
  align-self: center;
  background: rgba(255, 255, 255, 0.4);
}

.brand-line span:last-child {
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero .lead {
  margin: 0 0 36px;
  max-width: 34ch;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.button.primary:hover {
  background: #eef3f8;
}

.button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

button {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

button:hover {
  background: var(--navy-soft);
}

/* Cycle timeline */
.cycle-bar {
  padding: 20px 6vw;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.cycle-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
}

.cycle-heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 640px;
  justify-content: space-between;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line);
}

.timeline-step {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  min-width: 96px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--navy);
}

.timeline-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline-date {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: 0;
}

/* Sections */
.section {
  padding: var(--section-space) 6vw;
  max-width: 1220px;
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}

h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.section-lead {
  margin: 0 0 28px;
  max-width: 820px;
  font-size: 18px;
  color: var(--muted);
}

.section-lead + .section-lead {
  margin-top: -20px;
}

.section-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.subhead {
  margin: 48px 0 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-soft);
  font-family: var(--font-body);
}

/* Mission */
.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
}

.intro-copy {
  max-width: 560px;
}

.intro-copy .eyebrow {
  color: var(--accent);
}

.intro-copy h2 {
  margin-bottom: 22px;
}

.intro-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.principles {
  display: grid;
  gap: 0;
  align-content: start;
  padding-top: 78px;
}

.principles-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.principles > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.principles > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.principles > div > span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.4;
}

.principles strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Who We Are / Team */
.team {
  max-width: none;
  padding: var(--section-space) max(6vw, calc((100vw - 1220px) / 2 + 6vw));
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.team-grid {
  display: grid;
  gap: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-warm);
}

.team-card-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.team-role {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.team-card-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-photo {
    margin: 0 auto;
  }
}

/* Panels & grids */
.grid {
  display: grid;
  gap: 20px;
}

.two {
  grid-template-columns: repeat(2, 1fr);
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.spaced {
  margin-top: 28px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.panel p {
  margin: 0 0 12px;
  color: var(--muted);
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel.full {
  grid-column: 1 / -1;
}

.small p {
  font-size: 15px;
}

ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 8px 4px;
}

th {
  color: var(--navy);
  font-weight: 700;
}

/* Pillars */
.pillar-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar-list div {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pillar-list span {
  grid-row: 1 / 3;
  align-self: start;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.pillar-list strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.pillar-list p {
  grid-column: 2;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Methodology structure */
.methodology {
  --method-gap: 40px;
}

.method-focus {
  margin-top: var(--method-gap);
  padding: 0;
  border-top: none;
}

.method-focus-intro {
  margin-bottom: 8px;
}

.method-focus-intro .subhead {
  margin: 0 0 8px;
}

.method-focus-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.method-support {
  margin-top: var(--method-gap);
}

.method-framework {
  margin-top: var(--method-gap);
  padding-top: 0;
}

.method-framework .subhead {
  margin-top: 0;
  margin-bottom: 18px;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.framework-grid .panel {
  height: 100%;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.framework-grid .panel:hover {
  border-color: rgba(5, 42, 85, 0.22);
  box-shadow: 0 8px 24px rgba(5, 42, 85, 0.06);
}

.framework-grid .panel h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.star-heading-icon {
  margin-right: 8px;
  color: #d9a300;
  font-size: 1.05em;
}

.framework-grid .panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.framework-grid .panel table {
  font-size: 12px;
  margin: 0;
}

.framework-grid .panel th,
.framework-grid .panel td {
  padding: 5px 2px;
}

.framework-grid .asset-chips {
  margin-top: 4px;
  gap: 6px;
}

.framework-grid .asset-chips li {
  padding: 8px 6px;
  font-size: 12px;
}

.matrix-snippet {
  margin-top: var(--method-gap);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.matrix-snippet-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.matrix-snippet-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.matrix-snippet-meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.matrix-snippet-wrap {
  overflow-x: auto;
}

.matrix-snippet-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 900px;
}

.matrix-snippet-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 10px 6px;
  text-align: center;
  white-space: normal;
  border: none;
  width: 9.5%;
  position: relative;
}

.matrix-snippet-table .dimension-th {
  padding-right: 16px;
}

.matrix-snippet-table .info-icon {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 10px;
  text-align: center;
  cursor: pointer;
  opacity: 0.8;
  user-select: none;
}

.matrix-snippet-table .info-icon:hover,
.matrix-snippet-table .info-icon:focus {
  opacity: 1;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.matrix-snippet-table .info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 130%;
  right: 0;
  width: 200px;
  max-width: 60vw;
  padding: 8px 10px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  font-family: var(--font-body);
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(5, 42, 85, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 30;
}

.matrix-snippet-table .info-icon:hover::after,
.matrix-snippet-table .info-icon:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.matrix-snippet-table th:first-child {
  width: 16%;
  text-align: left;
  padding-left: 12px;
}

.matrix-snippet-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
  text-align: center;
  width: 9.5%;
}

.matrix-snippet-table td:first-child {
  width: 16%;
  text-align: left;
  padding-left: 12px;
  font-weight: 400;
  color: var(--ink);
}

.snippet-sales {
  display: grid;
  gap: 3px;
  max-width: 150px;
}

.snippet-sales input,
.snippet-sales select {
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--muted);
  font-size: 11px;
  opacity: 1;
}

.matrix-snippet .slider-box {
  display: grid;
  gap: 5px;
  justify-items: center;
}

.matrix-snippet .score {
  font-size: 12px;
  font-weight: 900;
  color: var(--navy);
}

.matrix-snippet .rating {
  width: 100%;
  max-width: 78px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  cursor: default;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  --fill-color: var(--navy);
  --fill-percent: 50%;
}

.matrix-snippet .rating::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--fill-color) 0%, var(--fill-color) var(--fill-percent), var(--line) var(--fill-percent), var(--line) 100%);
}

.matrix-snippet .rating::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--fill-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(16, 32, 51, 0.18);
}

.matrix-snippet .rating::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--fill-color) 0%, var(--fill-color) var(--fill-percent), var(--line) var(--fill-percent), var(--line) 100%);
}

.matrix-snippet .rating::-moz-range-progress {
  background: transparent;
  height: 4px;
  border-radius: 2px;
}

.matrix-snippet .rating::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fill-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(16, 32, 51, 0.18);
}

.matrix-snippet-table tr:last-child td {
  border-bottom: none;
}

.matrix-snippet-table .star-cell {
  color: #b9c2cf;
  font-size: 16px;
}

.matrix-snippet-table .star-cell.selected {
  color: #d9a300;
}

.method-rules {
  margin-top: var(--method-gap);
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.method-rules .subhead {
  margin: 0 0 28px;
}

.rules-group {
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.rules-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.rules-group-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 36px;
}

.rules-list article {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rules-list article:nth-last-child(-n + 2):nth-child(odd),
.rules-list article:last-child {
  border-bottom: none;
}

.rules-list article:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.rules-group .rules-list article:nth-last-child(-n + 2) {
  border-bottom: none;
  padding-bottom: 0;
}

.rules-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.rules-list p,
.rules-list ul {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.rules-list p:last-child,
.rules-list ul:last-child {
  margin-bottom: 0;
}

.rules-list ul {
  padding-left: 18px;
}

.method-secondary {
  margin-top: var(--method-gap);
  padding-top: 0;
  opacity: 1;
}

.method-secondary .subhead {
  color: var(--muted);
}

.method-secondary .panel h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.method-secondary .panel p {
  font-size: 14px;
  line-height: 1.5;
}

.asset-chips {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.asset-chips li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

/* Participate */
.participate {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  max-width: none;
  padding: var(--section-space) max(6vw, calc((100vw - 1220px) / 2 + 6vw));
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.participate-copy {
  max-width: 480px;
  position: sticky;
  top: 100px;
}

.participate-copy p {
  color: var(--muted);
}

.form-stack {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 18px;
  max-width: 920px;
}

.contact-form {
  display: grid;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.compact-form {
  align-self: start;
}

label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

input,
textarea,
select {
  width: 100%;
  display: block;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
}

.contact-form input,
.contact-form select {
  height: 32px;
  padding: 0 10px;
}

.contact-form button {
  height: 40px;
  margin-top: 8px;
  padding: 0 16px;
  font-size: 13px;
}

.forgot-password-link {
  justify-self: end;
  margin-top: -6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.forgot-password-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.contact-form textarea {
  height: auto;
  padding: 10px 11px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.field-hint {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

legend {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  padding: 0 6px;
}

.privacy-options label,
fieldset label {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 10px;
  align-items: start;
  margin: 8px 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
}

.privacy-options input[type="radio"],
fieldset input[type="radio"] {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
}

.verification-options {
  margin-bottom: 2px;
}

.verification-options label {
  font-size: 12px;
}

.verification-options label strong {
  font-weight: 700;
}

.verification-note {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.verification-input {
  margin: 4px 0 10px 26px;
  width: calc(100% - 26px);
}

.legal-page {
  max-width: 760px;
}

.legal-page p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.legal-page .section-lead {
  margin: 0 0 28px;
  font-size: 14px;
}

select {
  color: var(--muted);
  font-weight: 500;
}

select:invalid {
  font-weight: 400;
  font-size: 13px;
}

select:valid {
  color: var(--ink);
}

select option {
  color: var(--ink);
}

/* Results */
.results-table-wrap {
  width: 100%;
  overflow: visible;
}

.results-table {
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.results-table th,
.results-table td {
  padding: 12px 10px;
  vertical-align: top;
  border-right: 1px solid var(--line);
}

.results-table th:first-child,
.results-table td:first-child {
  width: 28%;
  font-weight: 700;
  color: var(--navy);
}

.results-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.results-table td {
  color: var(--muted);
}

.results-table tr:nth-child(even) td {
  background: var(--bg);
}

/* Results */
.results {
  max-width: none;
  padding: var(--section-space) max(6vw, calc((100vw - 1220px) / 2 + 6vw));
  background: var(--bg);
  border-block: 1px solid var(--line);
}

/* Contact */
.contact {
  text-align: center;
  scroll-margin-top: 96px;
}

.contact p {
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

#contactLead {
  max-width: none;
  white-space: nowrap;
}

.email {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.email:hover {
  color: var(--navy-soft);
  border-bottom-color: rgba(5, 42, 85, 0.35);
}

/* Footer */
footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 28px;
  padding: 40px 6vw 44px;
  border-top: none;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--navy);
}

.copyright {
  white-space: nowrap;
}

/* Profile page */
.profile-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 28px 72px;
}

.profile-hero {
  text-align: center;
  margin-bottom: 28px;
}

.profile-hero h1 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.profile-hero p {
  color: var(--muted);
  margin: 0;
}

.profile-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  scroll-margin-top: 96px;
}

.profile-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-section-header h2 {
  margin: 0;
  font-size: 22px;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--bg);
  box-sizing: border-box;
}

.profile-detail span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.profile-detail span .optional {
  font-style: normal;
}

.profile-detail strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-detail .status-pill {
  flex-shrink: 0;
}

.profile-detail input,
.profile-detail select {
  margin-top: 0;
  height: 26px;
  padding: 0 8px;
  font-size: 13px;
  text-align: right;
}

.profile-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.profile-status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.profile-status-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  font-weight: 600;
  padding: 8px 14px;
}

.profile-status-table td {
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.profile-status-table th:last-child,
.profile-status-table td:last-child {
  text-align: right;
  width: 90px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 650;
}

.status-pill.pending {
  background: #fff4d8;
  color: #8a6200;
}

.status-pill.draft {
  background: #eaf1ff;
  color: #244f9e;
}

.status-pill.submitted {
  background: #e7f7ef;
  color: #167449;
}

.profile-primary-btn,
.profile-secondary-btn,
.table-edit-btn {
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 650;
}

.profile-primary-btn {
  background: var(--navy);
  color: var(--white);
  padding: 9px 15px;
}

.profile-secondary-btn,
.table-edit-btn {
  background: var(--bg);
  color: var(--navy);
  padding: 8px 13px;
}

/* Responsive */
@media (max-width: 1050px) {
  .form-stack {
    grid-template-columns: 1fr;
  }

  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-table {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .intro,
  .participate,
  .two,
  .three,
  .method-support,
  .framework-grid,
  .rules-list {
    grid-template-columns: 1fr;
  }

  .rules-list article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }

  .rules-group .rules-list article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }

  .rules-list article:last-child,
  .rules-group .rules-list article:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .method-rules {
    padding: 24px 18px;
  }

  .principles {
    padding-top: 12px;
  }

  .participate-copy {
    position: static;
  }

  .section {
    padding: 64px 5vw;
  }

  .methodology,
  .participate,
  .contact {
    padding: 64px 5vw;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .brand img {
    width: 110px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .results-table-wrap {
    overflow-x: auto;
  }

  .results-table {
    min-width: 720px;
  }

  .cycle-bar {
    padding: 18px 5vw;
  }

  .cycle-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cycle-heading {
    white-space: normal;
  }

  .timeline {
    width: 100%;
    max-width: none;
  }

  .timeline::before {
    top: 20px;
    bottom: 20px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .timeline {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .timeline-step {
    grid-template-columns: 12px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    justify-items: start;
    text-align: left;
    padding: 10px 0;
    min-width: 0;
  }

  .timeline-dot {
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 3px;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding: 44px 5vw 52px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .profile-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-details-grid {
    grid-template-columns: 1fr;
  }

  #contactLead {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
