:root {
  --primary: #a4de04;
  --primary-hover: #8fc404;
  --primary-pressed: #76a003;
  --primary-soft: #f1fecd;
  --primary-pale: #f9ffeb;
  --text: #102018;
  --deep: #1d3846;
  --muted: #4e5b48;
  --bg: #fafcf6;
  --surface: #ffffff;
  --surface-alt: #f4f9e7;
  --border: #dce6ce;
  --blue: #1d9bc9;
  --warning: #f5b700;
  --error: #d64545;
  --shadow-sm: 0 6px 12px rgba(16, 32, 24, 0.07);
  --shadow-md: 0 12px 24px rgba(16, 32, 24, 0.08);
  --max: 1180px;
  --radius: 14px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: clamp(2.5rem, 6vw, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(164, 222, 4, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg), #f7fbe9 52%, var(--bg));
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-kerning: normal;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--primary-pale);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 28px), var(--max));
  margin: 12px auto 0;
  padding: 10px 12px 10px 14px;
  background: rgba(250, 252, 246, 0.88);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-logo {
  display: block;
  width: clamp(116px, 11vw, 148px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--primary-soft);
  color: var(--text);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.btn.primary {
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
}

.header-cta:hover,
.btn.primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 7px 14px rgba(118, 160, 3, 0.15);
  transform: translateY(-1px);
}

.header-cta:active,
.btn.primary:active {
  background: var(--primary-pressed);
  transform: translateY(0);
}

.btn.secondary {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(220, 230, 206, 0.82);
}

.btn.secondary:hover {
  background: var(--primary-pale);
}

.btn.secondary:active {
  background: var(--primary-soft);
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

h1[tabindex="-1"]:focus {
  outline: none;
}

.page {
  display: none;
  scroll-margin-top: 104px;
}

.page.active {
  display: block;
}

.hero,
.page-hero,
.section,
.statement-band,
.site-footer {
  width: min(calc(100% - 28px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: min(640px, calc(100vh - 130px));
  margin-top: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--text), var(--deep) 58%, #153021);
  color: var(--primary-pale);
  overflow: hidden;
}

.hero h1,
.page-hero h1,
.section h2,
.statement-band p {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 4.15vw, 4.25rem);
}

.page-hero h1 {
  max-width: 790px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.section h2,
.statement-band p {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.hero p,
.page-hero p,
.section p,
.site-footer p,
article p,
.form-note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.hero p {
  color: #e4ead8;
}

.hero-copy > p:not(.kicker),
.page-hero > p,
.section-heading p {
  max-width: 68ch;
  font-size: 1.08rem;
}

.kicker,
.section-label,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-label,
.panel-label {
  color: var(--deep);
}

.kicker::before,
.section-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

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

.hero-system {
  display: grid;
  gap: 18px;
}

.system-panel,
.signal-grid > div,
.cycle-orbit,
.phone-mock,
.contact-form,
.contact-options article {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 14px;
}

.panel-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.panel-main strong {
  display: block;
  margin-top: 4px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.55rem;
}

.status-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.cycle-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}

.cycle-orbit span {
  flex: 1 1 120px;
  padding: 12px 10px;
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--deep);
  font-weight: 800;
  text-align: center;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.signal-grid > div {
  padding: 16px;
}

.signal-grid span,
.solution-board span,
.contact-options span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.signal-grid strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.1rem;
}

.statement-band {
  margin-block: 22px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 18px;
  background: var(--primary);
}

.statement-band p {
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.section {
  margin-block: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 18px;
}

.soft-section,
.system-section,
.readiness-section,
.process-section {
  background: var(--surface-alt);
}

.split-section,
.whatsapp-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 850px;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.flow-list {
  display: grid;
  gap: 16px;
}

.flow-list article {
  display: grid;
  grid-template-columns: 78px 1fr;
  grid-template-areas:
    "badge title"
    "badge copy";
  column-gap: 16px;
  row-gap: 8px;
  padding-block: 18px;
}

.flow-list span,
.process-timeline span {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--text);
  font-weight: 800;
}

.flow-list span {
  grid-area: badge;
  width: 78px;
  padding-inline: 10px;
  font-size: 0.8rem;
}

.flow-list article h3 {
  grid-area: title;
}

.flow-list article p {
  grid-area: copy;
}

.process-timeline span {
  grid-area: step;
  width: 44px;
}

.process-timeline article h3 {
  grid-area: title;
}

.process-timeline article p {
  grid-area: copy;
}

article h3 {
  margin: 0 0 8px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

article p {
  margin: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.bento-grid article,
.solution-board article,
.maturity-lane article,
.readiness-grid article,
.principle-grid article {
  padding: 24px;
  border-radius: 14px;
  background: var(--surface);
}

.bento-wide {
  grid-row: span 2;
  background: linear-gradient(135deg, var(--surface), var(--primary-pale)) !important;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-top: 28px;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 18px;
  background: var(--primary-pale);
}

.dark-hero {
  background: linear-gradient(135deg, var(--text), var(--deep));
  color: var(--primary-pale);
}

.dark-hero p:not(.kicker) {
  color: #e4ead8;
}

.solution-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dark-callout,
.capital-note {
  background: var(--text);
  color: var(--primary-pale);
}

.dark-callout p,
.capital-note p,
.dark-callout .section-label,
.capital-note .section-label {
  color: #e4ead8;
}

.maturity-lane,
.readiness-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.check-list {
  display: grid;
  gap: 14px;
}

.check-list p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.process-timeline {
  display: grid;
  gap: 14px;
}

.process-timeline article {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "step title"
    "step copy";
  column-gap: 18px;
  row-gap: 8px;
  padding: 22px;
  border-radius: 14px;
  background: var(--surface);
}

.whatsapp-section {
  background: var(--primary-pale);
  align-items: center;
}

.phone-mock {
  max-width: 360px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.phone-bar {
  width: 70px;
  height: 6px;
  margin: 2px auto 22px;
  border-radius: 999px;
  background: var(--border);
}

.bubble {
  width: fit-content;
  max-width: 86%;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text) !important;
  font-size: 0.95rem !important;
}

.bubble.user {
  margin-left: auto;
  background: var(--primary);
}

.bubble.system {
  background: var(--surface-alt);
}

.bubble.insight {
  background: var(--deep);
  color: var(--primary-pale) !important;
}

.contact-layout {
  background: var(--surface-alt);
}

.contact-options {
  display: grid;
  gap: 16px;
}

.contact-options article,
.contact-form {
  padding: 24px;
}

.contact-options h2,
.contact-form h2 {
  margin: 0 0 10px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.45rem;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5d6956;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-block: 28px 18px;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 18px;
  background: var(--text);
  color: var(--primary-pale);
}

.site-footer p {
  max-width: 36ch;
  color: #dfe8d0;
}

.site-footer .brand {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--primary-pale);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.site-footer nav a {
  color: #dfe8d0;
  font-weight: 750;
}

@media (hover: hover) and (pointer: fine) {
  .bento-grid article,
  .solution-board article,
  .maturity-lane article,
  .readiness-grid article,
  .principle-grid article,
  .contact-options article {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  }

  .bento-grid article:hover,
  .solution-board article:hover,
  .maturity-lane article:hover,
  .readiness-grid article:hover,
  .principle-grid article:hover,
  .contact-options article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .page-hero,
  .split-section,
  .whatsapp-section,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hero,
  .page-hero,
  .section,
  .statement-band,
  .site-footer {
    width: min(calc(100% - 20px), var(--max));
    border-radius: 18px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 1.35rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-home .hero-mobile-hidden {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 2.9rem);
  }

  .section h2 {
    font-size: clamp(1.85rem, 10vw, 2.7rem);
  }

  .hero-copy > p:not(.kicker),
  .page-hero > p,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-system {
    display: none;
  }

  .signal-grid,
  .bento-grid,
  .solution-board,
  .maturity-lane,
  .readiness-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-row: auto;
  }

  .flow-list article,
  .process-timeline article {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .flow-list article {
    grid-template-areas:
      "badge"
      "title"
      "copy";
  }

  .process-timeline article {
    grid-template-areas:
      "step"
      "title"
      "copy";
  }

  .phone-mock {
    max-width: none;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: min(calc(100% - 16px), var(--max));
    top: 8px;
  }

  .actions {
    flex-direction: column;
  }

  .btn,
  .actions .btn {
    width: 100%;
  }

  .cycle-orbit span {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
