:root {
  --content: 1180px;
  --radius: 16px;
  --shadow: 0 18px 55px rgba(13, 45, 31, .09);
}

html {
  scroll-padding-top: 94px;
}

body {
  padding-top: 74px;
  text-rendering: optimizeLegibility;
}

button,
a {
  transition: .2s ease;
}

.container {
  width: min(var(--content), calc(100% - 48px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
}

.site-nav,
.btn,
.status,
.tags span,
.tool > a {
  font-size: 14px;
}

.site-nav .nav-main {
  border-width: 2px;
  border-color: rgba(87, 227, 137, .42);
}

.brand small {
  font-size: 14px;
}

.eyebrow,
.kicker,
.hero-banner-label {
  font-size: 12px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #57e389;
  color: #082216;
  font-weight: 800;
  transform: translateY(-160%);
}

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

.hero {
  padding: clamp(76px, 9vw, 126px) 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(48px, 7vw, 92px);
}

.actions {
  margin-bottom: 0;
}

.btn {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 10px;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 12px;
  color: #b8c8bf;
  font-size: 14px;
  font-weight: 750;
}

.hero-secondary:hover {
  color: #57e389;
}

.share-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #071510;
}

.share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}

.share-row > strong {
  flex: 0 0 auto;
  color: #9fe9b9;
  font-size: 14px;
  font-weight: 850;
}

.share-links {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.share-links a,
.share-links button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(87, 227, 137, .28);
  border-radius: 8px;
  color: #eafff0;
  background: rgba(255, 255, 255, .04);
  font: 750 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.share-links a:hover,
.share-links button:hover {
  border-color: #57e389;
  color: #071510;
  background: #57e389;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(87, 227, 137, .28);
  border-radius: 22px;
  background: linear-gradient(145deg, #132f23, #091b14);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .35);
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(87, 227, 137, .1);
}

.hero-banner > * {
  position: relative;
}

.hero-banner-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 20px;
  background: rgba(87, 227, 137, .1);
  color: #57e389;
  font-weight: 850;
  letter-spacing: .1em;
}

.hero-banner h2 {
  max-width: 420px;
  margin: 18px 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.hero-banner > p {
  max-width: 440px;
  margin: 0;
  color: #aebfb5;
  font-size: 16px;
}

.result-preview {
  margin-top: 24px;
}

.result-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.result-score {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(#57e389 0 62%, #294036 62%);
}

.result-score::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #10271e;
}

.result-score strong {
  position: relative;
  z-index: 1;
  font-size: 21px;
}

.result-copy span {
  display: block;
  color: #9fb1a7;
  font-size: 12px;
}

.result-copy strong {
  display: block;
  margin: 2px 0;
  color: #fff;
  font-size: 18px;
}

.result-copy small {
  color: #57e389;
  font-size: 12px;
}

.result-bars {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.result-row {
  display: grid;
  grid-template-columns: 92px 1fr 38px;
  gap: 9px;
  align-items: center;
  color: #d9e6de;
  font-size: 12px;
}

.result-track {
  height: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: #294036;
}

.result-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #57e389;
}

.result-track .bar-42 { width: 42%; }
.result-track .bar-31 { width: 31%; }
.result-track .bar-17 { width: 17%; }
.result-track .bar-10 { width: 10%; }

.section {
  padding: clamp(54px, 6vw, 72px) 0;
}

.section-head {
  margin-bottom: 34px;
}

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

.tool {
  min-height: 310px;
  padding: 28px;
  border-radius: var(--radius);
}

.tool:hover {
  transform: translateY(-4px);
  border-color: #aad5b9;
  box-shadow: var(--shadow);
}

.tool h4 {
  margin: 22px 0 6px;
  font-size: 18px;
}

.tool-group + .tool-group {
  margin-top: 44px;
}

.tool-group-title {
  margin: 0 0 18px;
  font-size: 22px;
}

.tool-group-title span {
  display: block;
  margin-bottom: 4px;
  color: #168641;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tool-group.portfolio .tools,
.tool-group.planning .tools {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-cases {
  background: #eaf1ec;
}

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

.case {
  display: block;
  padding: 26px;
  border: 1px solid #d3ded6;
  border-radius: 15px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.case:hover {
  transform: translateY(-3px);
  border-color: #77cf96;
  box-shadow: 0 14px 34px rgba(13, 45, 31, .08);
}

.case b {
  display: block;
  margin-bottom: 10px;
  color: #199448;
  font-size: 12px;
}

.case h3 {
  margin: 0 0 8px;
}

.case p {
  margin: 0;
  color: #68786f;
  font-size: 16px;
}

.case-action {
  display: block;
  margin-top: 18px;
  color: #168641;
  font-size: 14px;
  font-weight: 800;
}

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

.audience-card {
  padding: 26px;
  border: 1px solid #d8e3db;
  border-radius: 15px;
  background: #f6f9f7;
}

.audience-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.audience-card p {
  margin: 0;
  color: #68786f;
  font-size: 16px;
}

.principles {
  background: #fff;
}

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

.principle {
  padding: 22px;
  border-top: 3px solid #57e389;
  background: #f6f9f7;
}

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

.principle p {
  margin: 0;
  color: #69786f;
  font-size: 14px;
}

.docs-section {
  background: #f7faf7;
}

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

.docs-simple a {
  padding: 28px;
  border: 1px solid #d8e3db;
  border-radius: 15px;
  background: #fff;
}

.docs-simple h3 {
  margin: 8px 0;
}

.docs-simple p {
  color: #69786f;
  font-size: 16px;
}

.docs-action {
  color: #168641;
  font-size: 14px;
  font-weight: 800;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid #d8e3db;
}

.faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 8px;
  color: #199448;
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 42px 20px 0;
  color: #68786f;
  font-size: 16px;
}

.cta .kicker {
  color: #176e36;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  border-radius: 6px;
  outline: 3px solid #57e389;
  outline-offset: 4px;
}

.section a:focus-visible,
.cta a:focus-visible {
  outline-color: #0b6b34;
}

/* Tablet: 851–1100px */
@media (max-width: 1100px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .hero-copy,
  .hero-banner {
    width: 100%;
    min-width: 0;
  }

  .tool-group.portfolio .tools,
  .tool-group.planning .tools,
  .tool-group .tools,
  .case-grid,
  .principle-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool {
    min-height: 0;
  }
}

/* Phone: up to 850px */
@media (max-width: 850px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    padding-top: 68px;
    font-size: 17px;
    line-height: 1.7;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .container,
  main .container {
    width: calc(100% - 32px);
    min-width: 0;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
    gap: 4px;
    padding: 14px 16px 20px;
    font-size: 16px;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 10px;
  }

  .brand strong { font-size: 18px; }
  .brand small { font-size: 14px; }

  .menu-btn {
    min-width: 48px;
    min-height: 48px;
    margin-right: -10px;
    padding: 10px;
  }

  .menu-btn i {
    width: 24px;
    height: 3px;
    margin: 5px auto;
  }

  .hero {
    padding: 42px 0 54px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(32px, 11vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  .hero-copy > p {
    font-size: 18px;
    line-height: 1.65;
  }

  .eyebrow {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: .1em;
  }

  .actions {
    margin: 24px 0 0;
  }

  .actions .btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    font-size: 16px;
    text-align: center;
    white-space: normal;
  }

  .hero-secondary {
    min-height: 44px;
    margin-top: 12px;
    font-size: 15px;
  }

  .share-section {
    padding: 16px 0;
  }

  .share-row {
    justify-content: flex-start;
    gap: 10px;
  }

  .share-links {
    flex: 1 1 auto;
  }

  .hero-banner {
    width: 100%;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .hero-banner-label {
    display: flex;
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .07em;
    white-space: normal;
  }

  .hero-banner h2 {
    margin-top: 16px;
    font-size: 29px;
    line-height: 1.15;
  }

  .hero-banner > p {
    font-size: 16px;
    line-height: 1.65;
  }

  .result-summary {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    padding: 16px;
  }

  .result-score {
    width: 92px;
    height: 92px;
  }

  .result-score strong { font-size: 23px; }
  .result-copy span,
  .result-copy small { font-size: 14px; }
  .result-copy strong { font-size: 20px; line-height: 1.35; }

  .result-bars {
    gap: 14px;
    margin-top: 20px;
  }

  .result-row {
    grid-template-columns: minmax(76px, 96px) minmax(0, 1fr) 40px;
    gap: 10px;
    font-size: 14px;
  }

  .result-track { height: 9px; }

  .section {
    padding: 44px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 32px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .section-head p {
    max-width: none;
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
  }

  .kicker {
    font-size: 13px;
    letter-spacing: .1em;
  }

  .tool-group.portfolio .tools,
  .tool-group.planning .tools,
  .tool-group .tools,
  .case-grid,
  .principle-grid,
  .audience-grid,
  .docs-simple,
  .steps,
  .global-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-group + .tool-group {
    margin-top: 52px;
  }

  .tool-group-title {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.3;
  }

  .tool-group-title span {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .tool,
  .case,
  .principle,
  .audience-card,
  .docs-simple a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .tool {
    padding: 24px 22px;
  }

  .tool .status {
    position: static;
    display: inline-flex;
    align-self: flex-start;
    margin: 16px 0 0;
    padding: 6px 9px;
    font-size: 12px;
  }

  .tool h3,
  .tool h4 {
    margin: 18px 0 8px;
    padding-right: 0;
    font-size: 21px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .tool p,
  .case p,
  .principle p,
  .docs-simple p,
  .audience-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .tags {
    flex-wrap: wrap;
  }

  .tags span {
    max-width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .tool > a {
    min-height: 44px;
    padding-top: 20px;
    font-size: 15px;
  }

  .case,
  .docs-simple a,
  .audience-card {
    padding: 24px 22px;
  }

  .case b { font-size: 13px; }

  .case h3,
  .docs-simple h3,
  .audience-card h3 {
    font-size: 21px;
    line-height: 1.35;
  }

  .case-action {
    min-height: 44px;
    font-size: 15px;
  }

  .principle {
    padding: 22px;
  }

  .principle h3 {
    font-size: 19px;
    line-height: 1.35;
  }

  .faq-list summary {
    padding: 22px 42px 22px 0;
    font-size: 17px;
    line-height: 1.5;
  }

  .faq-list details p {
    padding-bottom: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .step {
    padding: 22px 0;
  }

  .step + .step {
    padding-left: 0;
  }

  .step h3 { font-size: 21px; }
  .step p { font-size: 16px; line-height: 1.65; }

  .cta {
    padding: 50px 0;
  }

  .cta .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cta h2 {
    font-size: 32px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .cta p {
    font-size: 16px;
    line-height: 1.65;
  }

  .cta .btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    text-align: center;
  }
}

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