:root {
  color-scheme: light;
  --ink: #231F20;
  --ink-soft: #5C5658;
  --ink-faint: #948D8F;
  --paper: #FAF9F7;
  --surface: #FFFFFF;
  --surface-2: #F3F1EC;
  --line: #E6E1DA;
  --line-soft: #EFEBE5;
  --accent: #FFBF2B;
  --accent-strong: #E6A812;
  --accent-ink: #8A5A00;
  --accent-soft: #FFF3D6;
  --on-accent: #231F20;
  --neutral-tag: #EFEBE5;
  --neutral-tag-ink: #6B6466;
  --good: #1B8A5A;
  --good-soft: #E4F5EC;
  --warn: #A15C00;
  --warn-soft: #FBF0DC;
  --shadow: 0 1px 2px rgba(35, 31, 32, 0.05), 0 8px 24px -12px rgba(35, 31, 32, 0.18);
  --radius: 14px;
  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F3F1ED;
    --ink-soft: #C6BFBA;
    --ink-faint: #8B8480;
    --paper: #18140F;
    --surface: #221D18;
    --surface-2: #2A241E;
    --line: #3B342C;
    --line-soft: #2E2822;
    --accent: #FFBF2B;
    --accent-strong: #E6A812;
    --accent-ink: #FFCF66;
    --accent-soft: #3A2C11;
    --on-accent: #231F20;
    --neutral-tag: #2E2822;
    --neutral-tag-ink: #B9B2AB;
    --good: #4FCB8F;
    --good-soft: #163629;
    --warn: #D98A3D;
    --warn-soft: #3A2E12;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

a {
  color: var(--accent);
}

p {
  margin: 0;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection {
  background: var(--accent-soft);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 5;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.wordmark .nuvem {
  color: var(--ink);
}

.wordmark .xp {
  color: var(--accent);
}

.topbar .meta {
  text-align: right;
}

.topbar .meta .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 600;
}

.topbar .meta .client {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.hero {
  padding: 48px 0 8px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.hero .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero .sub {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 60ch;
}

.hero-callout {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px 22px;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.hero-callout-head {
  margin-bottom: 18px;
}

.hero-callout-head .kicker {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-ink);
  margin-bottom: 8px;
}

.hero-callout-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink);
}

.hero-callout-head p {
  color: var(--ink-soft);
  font-size: 14px;
}

.tracker {
  margin: 36px 0 8px;
}

.tracker-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
}

.tracker-row {
  display: flex;
  gap: 0;
  min-width: 760px;
}

.phase {
  flex: 1;
  position: relative;
  padding: 14px 14px 14px 0;
  border-top: 3px solid var(--line);
}

.phase .num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 4px;
  display: block;
}

.phase .name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.phase.done {
  border-top-color: var(--good);
}

.phase.done .num {
  color: var(--good);
}

.phase.current {
  border-top-color: var(--accent);
}

.phase.current .num,
.phase.current .name {
  color: var(--accent-ink);
}

.phase.current .name {
  font-weight: 700;
}

section.block {
  padding: 52px 0;
  border-top: 1px solid var(--line-soft);
}

.block-head {
  margin-bottom: 28px;
  max-width: 64ch;
}

.block-head .kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-ink);
  margin-bottom: 8px;
}

.block-head h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.block-head p {
  color: var(--ink-soft);
  font-size: 15px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.tl-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  position: relative;
  padding-bottom: 26px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-marker .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-soft);
  flex: none;
}

.tl-item.current .circle {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent-soft);
}

.tl-marker .stem {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin-top: 4px;
}

.tl-item:last-child .stem {
  display: none;
}

.tl-body {
  padding-top: 3px;
}

.tl-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.tl-body p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
}

.glance-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.g-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 10px;
}

.g-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}

.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 7px 13px;
  border-radius: 100px;
}

@media (max-width: 640px) {
  .glance-grid {
    grid-template-columns: 1fr;
  }
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.progress-track {
  flex: 1;
  height: 6px;
  border-radius: 100px;
  background: var(--surface-2);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.check-item:hover {
  border-color: var(--accent);
}

.check-item input {
  display: none;
}

.check-item .box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  flex: none;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition: all 0.15s ease;
}

.check-item .box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
}

.check-item input:checked ~ .box {
  background: var(--good);
  border-color: var(--good);
}

.check-item input:checked ~ .box svg {
  opacity: 1;
  transform: scale(1);
}

.check-item input:checked ~ .txt .item-title {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1.5px;
}

.item-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.item-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.item-note a {
  color: var(--accent);
  font-weight: 600;
}

.nav-path {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 6px 11px;
  border-radius: 8px;
  margin-top: 8px;
}

.nav-path .seg + .seg::before {
  content: "›";
  margin-right: 6px;
  color: var(--ink-faint);
  font-weight: 400;
}

.field-spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.field-spec .fs-cell {
  background: var(--surface);
  padding: 9px 12px;
}

.field-spec .fs-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 3px;
}

.field-spec .fs-value {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
  .field-spec {
    grid-template-columns: 1fr;
  }
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 9px 14px;
  border-radius: 100px;
  margin-top: 18px;
  text-decoration: none;
}

.uat-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow);
}

.uat-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

button.dl {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--on-accent);
  background: var(--accent);
  border: none;
  border-radius: 100px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background 0.15s ease, transform 0.1s ease;
}

button.dl:hover {
  background: var(--accent-strong);
}

button.dl:active {
  transform: scale(0.98);
}

button.dl svg {
  width: 15px;
  height: 15px;
}

.dl-status {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.dl-status.err {
  color: var(--warn);
}

.dl-status.ok {
  color: var(--good);
}

.tiers {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tier-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
}

.tier-tag.req {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.tier-tag.nice {
  background: var(--neutral-tag);
  color: var(--neutral-tag-ink);
}

.tier-tag.post {
  background: var(--good-soft);
  color: var(--good);
}

.tier-head h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.tier ol,
.tier ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier li {
  font-size: 14px;
  color: var(--ink-soft);
}

.tier li b {
  color: var(--ink);
  font-weight: 600;
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 24px;
}

.callout .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.callout h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--accent-ink);
}

.callout p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.callout p + p {
  margin-top: 6px;
}

.support-strip {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.support-strip .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--accent-ink);
  flex: none;
}

.support-strip p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

footer {
  padding: 40px 0 60px;
}

footer .foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

footer .foot-row p {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.here-arrow {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-ink);
  margin-bottom: 4px;
  white-space: nowrap;
}

.phase .phase-date {
  display: block;
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 600;
  margin-top: 2px;
}

.glance-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.glance-logo-row img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
}

.glance-logo-row .glance-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

.stat-fields {
  grid-template-columns: repeat(4, 1fr) !important;
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .stat-fields {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
}

.team-grid .tg-cell {
  background: var(--surface);
  padding: 13px 15px;
}

.team-grid .tg-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 6px;
}

.team-grid .tg-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.team-grid .tg-name:first-of-type {
  margin-top: 0;
}

.team-grid .tg-email {
  display: block;
  font-size: 12px;
  margin-top: 1px;
  margin-bottom: 6px;
}

.team-grid .tg-email a {
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}

.contact-row {
  background: var(--surface);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-row .cr-who {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.contact-row .cr-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.contact-row .cr-role {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.contact-row .cr-email {
  font-size: 12px;
}

.contact-row .cr-email a {
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.subblock + .subblock {
  margin-top: 34px;
}

.subblock-head {
  margin-bottom: 14px;
}

.subblock-head h3 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.subblock-head p {
  font-size: 13px;
  color: var(--ink-soft);
}

.tl-body p + p {
  margin-top: 10px;
}

.ref-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ref-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.ref-item .txt {
  flex: 1;
}

.ref-item .item-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.ref-item .item-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.ref-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  background: var(--surface-2);
  border-radius: 100px;
  padding: 4px 10px;
  flex: none;
  align-self: flex-start;
  white-space: nowrap;
}