:root {
  color-scheme: light;
  --cream: #f6f1e8;
  --paper: #fffaf2;
  --ink: #24231f;
  --muted: #6f695f;
  --green: #143f2c;
  --green-2: #2f6b4b;
  --sage: #a8c89a;
  --gold: #bd8f3a;
  --line: rgba(36, 35, 31, 0.14);
  --soft-shadow: 0 28px 80px rgba(26, 19, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--cream);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 830px;
  overflow: hidden;
  color: #fffdf8;
  background: #111512;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("assets/clearpath-premium-hero.png") center / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 7, 0.91) 0%, rgba(9, 12, 9, 0.76) 28%, rgba(9, 12, 9, 0.18) 62%, rgba(9, 12, 9, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 9, 7, 0.62) 0%, rgba(7, 9, 7, 0.1) 44%, rgba(7, 9, 7, 0.56) 100%);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 28px clamp(22px, 7vw, 112px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1;
}

.brand img {
  width: 52px;
  height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  color: var(--sage);
}

.header-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 0 34px;
  color: #fff8ed;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #c59a4f, #a8782f);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.26);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(22px, 7vw, 112px) 72px;
}

.hero-copy {
  max-width: 850px;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 7.3vw, 7.25rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--sage);
}

.gold-rule {
  width: 48px;
  height: 3px;
  margin: 24px 0;
  background: var(--gold);
}

.hero-copy > p {
  max-width: 690px;
  margin-bottom: 36px;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.06rem, 1.55vw, 1.34rem);
  line-height: 1.55;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
}

.service-row article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 0 24px 0 0;
}

.service-row article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  padding-left: 24px;
}

.line-icon {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.service-row h2 {
  margin-bottom: 6px;
  color: #fffdf8;
  font-size: 0.96rem;
  font-weight: 800;
}

.service-row p {
  margin: 0;
  color: rgba(255, 253, 248, 0.8);
  font-size: 0.88rem;
  line-height: 1.5;
}

.consult-card {
  display: grid;
  gap: 13px;
  align-self: end;
  margin-top: 36px;
  border-radius: 6px;
  padding: 36px 38px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.micro-label {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.consult-card h2 {
  max-width: 320px;
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.02;
}

.consult-card > p:not(.micro-label) {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.consult-card label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.consult-card input,
.consult-card select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(36, 35, 31, 0.16);
  border-radius: 3px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  outline: 0;
}

.consult-card input:focus,
.consult-card select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(189, 143, 58, 0.15);
}

.consult-card button {
  min-height: 54px;
  border: 0;
  border-radius: 3px;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  background: linear-gradient(180deg, #1f563b, #123c2b);
}

.consult-card small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.testimonial-band,
.process-section,
.resource-section {
  padding: clamp(44px, 6vw, 76px) clamp(22px, 7vw, 112px);
  background:
    radial-gradient(circle at 20% 10%, rgba(189, 143, 58, 0.09), transparent 24rem),
    var(--paper);
}

.band-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.band-heading span {
  height: 1px;
  background: rgba(36, 35, 31, 0.18);
}

.band-heading p {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-align: center;
  text-transform: uppercase;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonials article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 10px 34px;
}

.testimonials article + article {
  border-left: 1px solid rgba(36, 35, 31, 0.16);
}

.avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  color: #f8ead0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    var(--green);
}

blockquote {
  margin-bottom: 14px;
  color: #524d45;
  line-height: 1.5;
}

.testimonials p {
  margin: 0;
  color: #5a544d;
  font-family: Georgia, "Times New Roman", serif;
}

.testimonials span {
  margin-left: 14px;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.process-section {
  border-top: 1px solid rgba(36, 35, 31, 0.12);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.process-track article {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
}

.process-track article + article::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 40px;
  height: 1px;
  background: rgba(36, 35, 31, 0.24);
}

.process-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  color: #f6e7c8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  background: radial-gradient(circle at 28% 18%, #2d704d, var(--green));
  box-shadow: 0 18px 36px rgba(20, 63, 44, 0.2);
}

.process-track h2 {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.process-track p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.resource-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid rgba(36, 35, 31, 0.1);
}

.resource-section h2,
.policy-page h1,
.interface-gallery-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
}

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

.resource-grid article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.46);
}

.resource-grid h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.resource-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(22px, 7vw, 112px);
  color: rgba(255, 253, 248, 0.76);
  background: #111512;
}

.site-footer strong,
.site-footer a {
  color: #fffdf8;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 5px;
  color: #fffdf8;
  background: var(--green);
  box-shadow: var(--soft-shadow);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.app-body {
  min-height: 100svh;
  color: #fffdf8;
  background:
    radial-gradient(circle at 14% 0%, rgba(189, 143, 58, 0.22), transparent 22rem),
    linear-gradient(180deg, #182018, #0d120f 60%, #080b09);
}

.app-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px calc(92px + env(safe-area-inset-bottom));
}

.app-topbar,
.app-brand,
.app-panel-heading,
.score-widget,
.app-tabbar {
  display: flex;
  align-items: center;
}

.app-topbar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.app-brand img {
  width: 38px;
  height: 38px;
}

.app-topbar button {
  min-height: 38px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 999px;
  padding: 0 15px;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.08);
}

.app-hero-card,
.app-panel,
.app-metrics article {
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.app-hero-card {
  padding: 24px;
  overflow: hidden;
}

.app-hero-card h1 {
  max-width: 360px;
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 12vw, 3.7rem);
  line-height: 0.95;
}

.app-hero-card p:not(.micro-label) {
  color: rgba(255, 253, 248, 0.74);
  line-height: 1.55;
}

.score-widget {
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.score-widget span,
.score-main > span {
  display: block;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.score-main > strong {
  display: block;
  margin-top: 4px;
  color: #f4d694;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
}

.score-tier {
  margin: 4px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.9rem;
}

.score-ring {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #182018 52%, transparent 53%),
    conic-gradient(#f4d694 0 var(--score-progress), rgba(255, 253, 248, 0.14) var(--score-progress) 100%);
  transition: background 220ms ease;
}

.score-ring span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #111512;
  font-size: 0.92rem;
  font-weight: 950;
  background: #f4d694;
  box-shadow: 0 0 0 8px rgba(244, 214, 148, 0.1);
}

.score-momentum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  border: 1px solid rgba(244, 214, 148, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: rgba(244, 214, 148, 0.08);
}

.score-momentum strong {
  display: block;
  margin-bottom: 4px;
  color: #fffdf8;
}

.score-momentum p {
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.score-momentum > span {
  min-width: max-content;
  border-radius: 999px;
  padding: 8px 10px;
  color: #111512;
  font-size: 0.78rem;
  font-weight: 950;
  background: #f4d694;
}

.score-momentum.pop,
.milestone-card.pop {
  animation: score-pop 520ms ease;
}

.score-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.score-switcher button {
  min-height: 38px;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.72);
  background: rgba(255, 253, 248, 0.08);
  font-weight: 900;
}

.score-switcher button.active {
  color: #111512;
  border-color: #f4d694;
  background: #f4d694;
}

@keyframes score-pop {
  0% {
    transform: scale(0.98);
  }

  45% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
  }
}

.app-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.app-metrics article {
  padding: 16px 12px;
}

.app-metrics span {
  display: block;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
}

.app-metrics strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.app-panel {
  margin-top: 12px;
  padding: 20px;
}

.app-panel-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.app-panel-heading h2 {
  margin: 0;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.app-panel-heading span {
  color: #f4d694;
  font-size: 0.8rem;
  font-weight: 900;
}

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

.timeline-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 13px;
}

.timeline-list li > span {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border: 2px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
}

.timeline-list li.done > span,
.timeline-list li.active > span {
  border-color: #f4d694;
  background: #f4d694;
}

.timeline-list strong {
  display: block;
  margin-bottom: 3px;
}

.timeline-list p {
  margin: 0;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.9rem;
  line-height: 1.45;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 13px;
  padding: 0 15px;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.09);
  text-align: left;
}

.task-list strong {
  color: #f4d694;
  font-size: 0.78rem;
}

.app-tabbar {
  position: fixed;
  right: 50%;
  bottom: 12px;
  z-index: 30;
  width: min(444px, calc(100% - 36px));
  justify-content: space-around;
  gap: 4px;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 20px;
  padding: 8px;
  background: rgba(17, 21, 18, 0.88);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  transform: translateX(50%);
  backdrop-filter: blur(18px);
}

.app-tabbar a,
.app-tabbar button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 0 13px;
  color: rgba(255, 253, 248, 0.7);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 800;
}

.app-tabbar .active {
  color: #111512;
  background: #f4d694;
}

.score-app-body {
  min-height: 100svh;
  color: #12231a;
  background:
    radial-gradient(circle at 50% 0%, rgba(189, 143, 58, 0.1), transparent 18rem),
    #fbf8f1;
}

.score-app-shell {
  width: min(100%, 460px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom));
}

.score-topbar,
.score-brand,
.score-intro,
.gain-pill,
.next-step-card,
.milestone-card,
.score-tabbar,
.score-preview {
  display: flex;
  align-items: center;
}

.score-topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.score-brand {
  gap: 12px;
  color: #0c3b26;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.score-brand img {
  width: 46px;
  height: 46px;
}

.bell-button {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  color: transparent;
  background:
    radial-gradient(circle at 72% 22%, #c79a32 0 5px, transparent 6px),
    linear-gradient(#3d3d3d, #3d3d3d) center 12px / 18px 19px no-repeat;
}

.score-hero-card {
  padding-top: 4px;
}

.score-intro {
  justify-content: space-between;
  gap: 16px;
}

.score-intro h1 {
  margin: 0 0 8px;
  color: #123d29;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 2.7rem);
  font-weight: 600;
  line-height: 1.06;
}

.score-intro p {
  margin: 0;
  color: #343a3d;
  font-size: 1.05rem;
}

.gain-pill {
  min-width: 118px;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(20, 63, 44, 0.18);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(20, 63, 44, 0.12);
}

.gain-pill > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #17783e;
}

.gain-pill > span::before {
  content: "";
  width: 18px;
  height: 14px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(-45deg);
}

.gain-pill strong,
.gain-pill small {
  display: block;
}

.gain-pill strong {
  color: #0e4d2c;
  font-size: 1.3rem;
}

.gain-pill small {
  color: #343a3d;
  font-size: 0.9rem;
}

.score-gauge {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
  margin-top: 20px;
}

.score-arc {
  position: absolute;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fbf8f1 0 59%, transparent 60%),
    conic-gradient(from 230deg, #d5483d 0 13%, #d59a35 13% 34%, #0f773f 34% var(--score-progress), rgba(15, 119, 63, 0.18) var(--score-progress) 72%, transparent 72% 100%);
  transform: rotate(0deg);
}

.score-marker {
  position: absolute;
  top: 17%;
  right: 16%;
  width: 32px;
  height: 32px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: #0f773f;
  box-shadow: 0 6px 18px rgba(20, 63, 44, 0.2);
}

.score-number {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin-top: 48px;
}

.score-number strong {
  color: #07351f;
  font-size: clamp(5rem, 23vw, 7.3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.score-number span {
  color: #ce3b34;
  font-size: 1.8rem;
  font-weight: 850;
}

.gauge-labels {
  position: absolute;
  right: 38px;
  bottom: 38px;
  left: 38px;
  display: flex;
  justify-content: space-between;
  color: #15191d;
  font-size: 1.1rem;
}

.gauge-labels span:first-child {
  color: #df3029;
}

.milestone-card,
.next-step-card,
.milestone-progress-card {
  border: 1px solid rgba(20, 63, 44, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(31, 26, 16, 0.1);
}

.milestone-card {
  position: relative;
  min-height: 102px;
  gap: 16px;
  overflow: hidden;
  padding: 18px 22px;
}

.milestone-icon,
.step-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 0.01px;
}

.milestone-icon {
  border: 2px solid #c49a34;
}

.milestone-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #c49a34;
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
}

.milestone-card h2 {
  margin: 0 0 4px;
  color: #0d3321;
  font-size: clamp(1.45rem, 7vw, 2.05rem);
  line-height: 1;
}

.milestone-card p {
  margin: 0;
  color: #08783e;
  font-size: clamp(1.25rem, 6vw, 1.8rem);
  line-height: 1.1;
}

.mountain {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 136px;
  height: 76px;
  background: linear-gradient(135deg, transparent 0 39%, #315c3c 40% 100%);
  clip-path: polygon(0 100%, 43% 22%, 62% 48%, 79% 8%, 100% 100%);
}

.mountain::before {
  content: "";
  position: absolute;
  right: 36px;
  top: 9px;
  width: 18px;
  height: 16px;
  background: #c49a34;
  clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%);
}

.mountain span {
  position: absolute;
  left: 42%;
  bottom: 0;
  width: 8px;
  height: 58px;
  border-radius: 999px;
  background: #f6f1e8;
  transform: rotate(28deg);
}

.next-step-card {
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
}

.step-icon {
  color: #fff;
  background: #113e29;
  font-size: 0.68rem;
  font-weight: 900;
}

.next-step-card p,
.next-step-card span {
  margin: 0;
  color: #4f5657;
}

.next-step-card h2 {
  margin: 5px 0 7px;
  color: #10221c;
  font-size: 1.28rem;
  line-height: 1.25;
}

.next-step-card button {
  min-width: 116px;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #074021, #052f1a);
  font-weight: 900;
}

.milestone-progress-card {
  margin-top: 18px;
  padding: 20px;
}

.milestone-card-heading,
.tier-labels,
.score-road {
  display: flex;
  align-items: center;
}

.milestone-card-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.milestone-card-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.milestone-card-heading button {
  border: 0;
  color: #0d5a32;
  background: transparent;
  font-weight: 850;
}

.tier-labels {
  justify-content: space-between;
  text-align: center;
}

.tier-labels strong,
.tier-labels span {
  display: block;
}

.tier-labels strong {
  color: #c8332d;
  font-size: 1rem;
}

.tier-labels div:nth-child(2) strong {
  color: #c89028;
}

.tier-labels div:nth-child(3) strong {
  color: #0f773f;
}

.tier-labels span {
  margin-top: 4px;
  color: #45494b;
  font-size: 0.92rem;
}

.score-road {
  position: relative;
  height: 34px;
  justify-content: space-between;
  margin: 14px 10px 6px;
}

.score-road::before,
.road-fill {
  content: "";
  position: absolute;
  right: 12px;
  left: 12px;
  height: 4px;
  border-radius: 999px;
  background: #e2e1dc;
}

.road-fill {
  right: auto;
  width: var(--road-fill, 45%);
  background: linear-gradient(90deg, #cf4238, #c79a32);
}

.road-dot {
  position: relative;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid #cfd6cf;
  border-radius: 50%;
  color: transparent;
  background: #fbf8f1;
}

.road-dot.done {
  border-color: #cf4238;
  background: #cf4238;
}

.road-dot.done::before {
  content: "";
  width: 9px;
  height: 5px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: rotate(-45deg);
}

.road-dot.next {
  border-color: #c49a34;
}

.road-dot.final {
  border-color: #0e4d2c;
}

.road-caption {
  width: max-content;
  max-width: 100%;
  margin: 8px auto 0;
  border-radius: 8px;
  padding: 8px 16px;
  color: #272a2b;
  background: #f1eee7;
}

.celebration-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 214, 148, 0.22), transparent 5rem),
    linear-gradient(135deg, #0b3924, #052d1b);
  box-shadow: 0 16px 36px rgba(5, 45, 27, 0.2);
}

.trophy {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 8px 8px 16px 16px;
  background: linear-gradient(135deg, #f1c052, #b98022);
}

.trophy::before,
.trophy::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 18px;
  height: 24px;
  border: 5px solid #c08d2a;
  border-radius: 50%;
}

.trophy::before {
  left: -15px;
}

.trophy::after {
  right: -15px;
}

.celebration-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.35rem;
}

.celebration-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.score-preview {
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.score-preview button {
  min-height: 34px;
  border: 1px solid rgba(20, 63, 44, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  color: #0d3321;
  background: rgba(255, 255, 255, 0.64);
  font-weight: 900;
}

.score-preview button.active {
  color: #fff;
  border-color: #0f773f;
  background: #0f773f;
}

.score-tabbar {
  position: fixed;
  right: 50%;
  bottom: 10px;
  z-index: 30;
  width: min(430px, calc(100% - 24px));
  justify-content: space-between;
  gap: 2px;
  border-top: 1px solid rgba(20, 63, 44, 0.1);
  border-radius: 22px;
  padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 -12px 30px rgba(31, 26, 16, 0.08);
  transform: translateX(50%);
  backdrop-filter: blur(16px);
}

.score-tabbar a,
.score-tabbar button {
  display: grid;
  min-width: 64px;
  min-height: 52px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #606466;
  background: transparent;
  font-size: 0.78rem;
}

.score-tabbar a::before,
.score-tabbar button::before {
  content: "";
  display: block;
  width: 24px;
  height: 22px;
  margin-bottom: 3px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.score-tabbar .active {
  color: #0f773f;
  font-weight: 900;
}

.policy-page,
.interface-gallery {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

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

.policy-page a,
.interface-gallery-header a {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green);
  font-weight: 900;
}

.policy-page h2,
.interface-grid h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.policy-page p,
.interface-gallery-header p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.interface-gallery-header {
  max-width: 880px;
  margin-bottom: 42px;
}

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

.interface-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.interface-grid article:first-child {
  grid-column: 1 / -1;
}

.interface-grid article div {
  padding: 18px 22px;
}

.interface-grid span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interface-grid img {
  display: block;
  width: 100%;
}

.app-concept-gallery {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 92px) 0;
}

.app-concept-header {
  max-width: 860px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.app-concept-header a {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green);
  font-weight: 900;
}

.app-concept-header h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6.4vw, 5.8rem);
  font-weight: 500;
  line-height: 1;
}

.app-concept-header p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.app-concept-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.app-concept-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.app-concept-grid article div {
  padding: 17px 18px;
}

.app-concept-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-concept-grid h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 500;
}

.app-concept-grid img {
  display: block;
  width: 100%;
  background: #ede8de;
}

.score-concept-grid article {
  border-color: rgba(189, 143, 58, 0.22);
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .resource-section {
    grid-template-columns: 1fr;
  }

  .consult-card {
    max-width: 480px;
  }

  .testimonials,
  .process-track,
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials article + article {
    border-left: 0;
  }

  .process-track article + article::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand span {
    max-width: 150px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero-grid {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .service-row,
  .testimonials,
  .process-track,
  .resource-grid,
  .interface-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-row article,
  .service-row article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding: 16px 0;
  }

  .consult-card {
    padding: 26px 22px;
  }

  .band-heading {
    grid-template-columns: 1fr;
  }

  .band-heading span {
    display: none;
  }

  .testimonials article {
    padding: 18px 0;
  }

  .interface-grid article:first-child {
    grid-column: auto;
  }

  .app-concept-grid {
    grid-template-columns: 1fr;
  }
}
