:root {
  --gp-green: #4d7f53;
  --gp-green-dark: #287058;
  --gp-red: #e80707;
  --gp-red-dark: #d60707;
  --gp-red-logo: #e83838;
  --gp-orange: #f89800;
  --gp-blue: #0b72bd;
  --gp-purple: #673594;
  --gp-text: #5e6662;
  --gp-heading: #24312b;
  --gp-surface: #f6f8f5;
  --gp-border: #d9e0d7;
  --gp-white: #ffffff;
  --shadow: 0 18px 45px rgba(31, 49, 38, 0.12);
  --font-base: "Open Sans", Arial, sans-serif;
  --font-display: "Allan", cursive;
  --font-nav: "Roboto", "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--gp-text);
  background: var(--gp-white);
  line-height: 1.5;
}

body.locked {
  overflow: hidden;
}

body.unlocked .password-gate,
.password-gate[hidden] {
  display: none !important;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(77, 127, 83, 0.18);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  color: var(--gp-heading);
  font-weight: 800;
}

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

.brand span {
  max-width: 190px;
  line-height: 1.15;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 700;
  color: var(--gp-green);
  text-transform: uppercase;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--gp-red);
  color: var(--gp-red-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 10vw, 110px) clamp(22px, 7vw, 92px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 44%, rgba(255, 255, 255, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(246, 248, 245, 0.68));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gp-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--gp-heading);
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: #38433d;
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 23px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.button.primary {
  color: var(--gp-white);
  background: linear-gradient(180deg, var(--gp-red), var(--gp-red-dark));
}

.button.secondary {
  color: var(--gp-green-dark);
  border: 1px solid rgba(77, 127, 83, 0.45);
  background: rgba(255, 255, 255, 0.78);
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(36, 49, 43, 0.92), rgba(77, 127, 83, 0.88)),
    url("assets/roadmap-digital-primavera.png") center / cover no-repeat;
}

.password-card {
  width: min(100%, 480px);
  padding: clamp(26px, 5vw, 42px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.password-card img {
  width: 128px;
  margin-bottom: 18px;
}

.password-card h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 5vw, 40px);
}

.password-card label {
  display: block;
  margin: 22px 0 8px;
  color: var(--gp-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.password-row input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--gp-border);
  border-radius: 3px;
  color: var(--gp-heading);
  font: inherit;
}

.password-row input:focus {
  outline: 3px solid rgba(77, 127, 83, 0.2);
  border-color: var(--gp-green);
}

.gate-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--gp-red-dark);
  font-size: 14px;
  font-weight: 700;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gp-border);
  border-top: 1px solid var(--gp-border);
  border-bottom: 1px solid var(--gp-border);
}

.intro-item {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: var(--gp-white);
}

.intro-item strong {
  color: var(--gp-red);
  font-size: 42px;
  line-height: 1;
}

.intro-item span {
  max-width: 150px;
  color: var(--gp-heading);
  font-weight: 700;
}

.method-section {
  padding: clamp(64px, 9vw, 110px) clamp(22px, 6vw, 82px);
  background: #24312b;
}

.method-intro {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.method-intro h2,
.method-intro p,
.method-panel h3,
.method-output h3,
.method-output p {
  color: var(--gp-white);
}

.method-intro .eyebrow {
  color: #9dba60;
}

.method-intro p {
  font-size: 18px;
}

.method-figure {
  max-width: 980px;
  margin: 0 auto 34px;
}

.method-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.method-figure figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto 28px;
}

.method-flow article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--gp-green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.method-flow article:nth-child(2) {
  border-top-color: var(--gp-red);
}

.method-flow article:nth-child(3) {
  border-top-color: var(--gp-orange);
}

.method-flow article:nth-child(4) {
  border-top-color: var(--gp-blue);
}

.method-flow span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--gp-white);
  background: var(--gp-green);
  font-weight: 800;
}

.method-flow h3 {
  color: var(--gp-white);
  font-size: 19px;
}

.method-flow p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto 18px;
}

.method-panel,
.method-output {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.method-panel ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
}

.method-panel li + li {
  margin-top: 9px;
}

.method-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: var(--gp-white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.method-link:hover,
.method-link:focus-visible {
  border-color: var(--gp-white);
  background: rgba(255, 255, 255, 0.1);
}

.method-output {
  max-width: 1240px;
  margin: 0 auto;
  border-left: 5px solid var(--gp-red);
}

.method-output p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.section,
.roadmap-section,
.mvp-section {
  padding: clamp(64px, 9vw, 110px) clamp(22px, 6vw, 82px);
}

.section-tight {
  padding-bottom: clamp(50px, 7vw, 82px);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 16px;
  color: var(--gp-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.mvp-section p {
  color: var(--gp-text);
  font-size: 18px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--gp-border);
  border-top: 5px solid var(--gp-green);
  border-radius: 8px;
  background: var(--gp-white);
  box-shadow: var(--shadow);
}

.platform-link {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.platform-link:hover,
.platform-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(31, 49, 38, 0.16);
}

.platform-card h3 {
  min-height: 58px;
  margin-bottom: 12px;
  color: var(--gp-heading);
  font-size: 19px;
  line-height: 1.2;
}

.platform-card p {
  min-height: 72px;
  color: var(--gp-text);
  font-size: 14px;
}

.platform-card ul {
  flex: 1;
  margin: 0;
  padding-left: 18px;
  color: #303b35;
  font-size: 14px;
}

.platform-card li + li {
  margin-top: 7px;
}

.card-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  color: var(--gp-green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-cta::after {
  content: ">";
  margin-left: 8px;
  color: var(--gp-red);
}

.platform-top {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.platform-top img {
  max-height: 108px;
  width: auto;
  object-fit: contain;
}

.platform-top .number {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gp-white);
  background: var(--gp-green);
  font-size: 18px;
  font-weight: 800;
}

.accent-work {
  border-top-color: var(--gp-green);
}

.accent-crm {
  border-top-color: var(--gp-blue);
}

.accent-crm .number {
  background: var(--gp-blue);
}

.accent-learning {
  border-top-color: var(--gp-orange);
}

.accent-learning .number {
  background: var(--gp-orange);
}

.accent-hub {
  border-top-color: var(--gp-purple);
}

.accent-hub .number {
  background: var(--gp-purple);
}

.roadmap-section {
  background: var(--gp-surface);
}

.waves {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 36px;
}

.waves article {
  padding: 24px;
  border-left: 5px solid var(--gp-green);
  background: var(--gp-white);
}

.waves article:nth-child(2) {
  border-color: var(--gp-blue);
}

.waves article:nth-child(3) {
  border-color: var(--gp-purple);
}

.waves span {
  color: var(--gp-green);
  font-weight: 800;
  text-transform: uppercase;
}

.waves article:nth-child(2) span {
  color: var(--gp-blue);
}

.waves article:nth-child(3) span {
  color: var(--gp-purple);
}

.waves h3 {
  margin: 8px 0;
  color: var(--gp-heading);
  font-size: 24px;
}

.roadmap-figure {
  max-width: 1240px;
  margin: 0 auto;
  border: 1px solid rgba(77, 127, 83, 0.18);
  background: var(--gp-white);
  box-shadow: var(--shadow);
}

.roadmap-figure img {
  width: 100%;
  height: auto;
}

.impact-section {
  background: var(--gp-white);
}

.impact-list {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.impact-list span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(77, 127, 83, 0.22);
  border-radius: 8px;
  color: var(--gp-heading);
  background: #f8fbf7;
  font-weight: 700;
}

.mvp-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  background: #24312b;
}

.mvp-section h2,
.mvp-section p {
  color: var(--gp-white);
}

.mvp-section .eyebrow {
  color: #9dba60;
}

.mvp-steps {
  display: grid;
  gap: 12px;
}

.mvp-steps span {
  display: block;
  padding: 16px 18px;
  border-left: 4px solid var(--gp-red);
  color: var(--gp-white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px clamp(22px, 6vw, 82px);
  color: var(--gp-text);
  background: var(--gp-white);
  border-top: 1px solid var(--gp-border);
}

.site-footer img {
  width: 82px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.detail-main {
  background: var(--gp-white);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(22px, 6vw, 82px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
}

.detail-hero h1 {
  max-width: 860px;
  font-family: var(--font-base);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
}

.detail-hero p {
  max-width: 760px;
  color: #38433d;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

.detail-visual {
  display: grid;
  place-items: center;
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(77, 127, 83, 0.18);
  border-radius: 8px;
  background: var(--gp-white);
  box-shadow: var(--shadow);
}

.detail-visual img {
  max-height: 240px;
  width: auto;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.detail-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(77, 127, 83, 0.24);
  border-radius: 999px;
  color: var(--gp-green-dark);
  background: rgba(77, 127, 83, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.detail-section {
  padding: clamp(46px, 7vw, 76px) clamp(22px, 6vw, 82px);
}

.detail-section.alt {
  background: var(--gp-surface);
}

.detail-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 58px);
}

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

.detail-panel {
  padding: 24px;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  background: var(--gp-white);
}

.detail-panel h2,
.detail-panel h3 {
  color: var(--gp-heading);
}

.detail-panel h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.detail-panel h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

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

.detail-panel ul,
.detail-list {
  margin: 0;
  padding-left: 20px;
}

.detail-panel li + li,
.detail-list li + li {
  margin-top: 9px;
}

.challenge-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.challenge-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--gp-red);
  background: var(--gp-white);
  color: var(--gp-heading);
  font-weight: 700;
}

.scope-table {
  display: grid;
  gap: 12px;
}

.scope-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gp-border);
}

.scope-row strong {
  color: var(--gp-heading);
}

.related-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.related-nav a {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  color: var(--gp-heading);
  background: var(--gp-white);
  font-size: 13px;
  font-weight: 800;
}

.related-nav a:hover,
.related-nav a:focus-visible {
  border-color: var(--gp-green);
  color: var(--gp-green-dark);
}

@media (max-width: 1180px) {
  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 680px;
    align-items: flex-end;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.98) 62%),
      rgba(255, 255, 255, 0.4);
  }

  .hero-bg {
    height: 48%;
    object-position: center top;
  }

  .intro-band,
  .method-flow,
  .method-grid,
  .waves,
  .impact-list,
  .mvp-section,
  .detail-hero,
  .detail-grid,
  .detail-grid.three,
  .related-nav {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: none;
  }

  .hero {
    min-height: 640px;
    padding-top: 36px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .password-row .button {
    width: 100%;
  }

  .password-row {
    grid-template-columns: 1fr;
  }

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

  .platform-card h3,
  .platform-card p {
    min-height: 0;
  }

  .intro-item {
    justify-content: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .scope-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
