:root {
  --ink: #102016;
  --deep: #0f1f10;
  --surface: #ffffff;
  --ground: #f6f7f4;
  --soft: #e8ede4;
  --muted: #5e675f;
  --faint: #778078;
  --lime: #c6f19d;
  --lime-ink: #17351b;
  --blue: #1d5fbf;
  --line: #e4e8e2;
  --app-ground: #f8f9f7;
  --app-text: #171a17;
  --app-muted: #5d665e;
  --app-border: #e1e5df;
  --positive: #1f6f43;
  --negative: #9a3023;
  --amber: #fff8df;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(14, 31, 16, 0.16);
  font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--deep);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-shell {
  background: var(--deep);
  overflow: hidden;
}

.site-nav {
  height: 82px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.brand {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.04em;
  font-size: 20px;
}

.brand small {
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.64;
  margin-left: 2px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.site-nav nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: #d3d9d2;
}

.site-nav nav a {
  transition: color 0.18s;
}

.site-nav nav a:hover {
  color: #ffffff;
}

.nav-cta, .text-link {
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta span {
  margin-left: 8px;
}

.hero {
  position: relative;
  min-height: 730px;
  padding: clamp(60px, 10vw, 150px) clamp(22px, 9vw, 145px) 100px;
  display: grid;
  grid-template-columns: minmax(290px, 0.93fr) minmax(430px, 1.07fr);
  gap: 6vw;
  align-items: center;
  color: #ffffff;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(3.35rem, 6.2vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 500;
  margin: 0;
  max-width: 710px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.5;
  max-width: 510px;
  color: #d4dcd4;
  margin: 34px 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 47px;
  padding: 0 18px;
  font-weight: 600;
  border-radius: 4px;
  font-size: 14px;
  transition: transform 0.18s ease, background 0.18s ease;
}

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

.button--lime {
  background: var(--lime);
  color: var(--lime-ink);
}

.button--dark {
  background: var(--deep);
  color: #ffffff;
}

.fineprint {
  font-size: 12px;
  color: #aab4aa;
  margin-top: 32px;
  line-height: 1.5;
}

.hero-image {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
}

.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep) 0%, rgba(15, 31, 16, 0) 24%, rgba(15, 31, 16, 0.05) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  display: block;
  filter: saturate(0.72) contrast(0.94);
}

.hero-image figcaption {
  position: absolute;
  bottom: 17px;
  right: 18px;
  z-index: 1;
  max-width: 260px;
  text-align: right;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
}

.hero-image figcaption a, .photo-rhythm figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #ffffff;
}

.contribution-tool {
  position: absolute;
  bottom: 48px;
  left: clamp(22px, 9vw, 145px);
  z-index: 2;
  width: min(520px, calc(100% - 44px));
  background: #f6f8f2;
  color: var(--ink);
  padding: 21px 22px;
  border-radius: var(--radius);
}

.tool-top, .tool-output {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tool-top span, .tool-output span {
  font-size: 13px;
  color: var(--muted);
}

.tool-top output {
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.contribution-tool input {
  width: 100%;
  accent-color: #2c7048;
  margin: 18px 0 6px;
}

.tool-limits {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--faint);
  margin-bottom: 14px;
}

.tool-output strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.contribution-tool p {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.4;
}

.section-light {
  background: #f6f7f4;
  color: var(--ink);
}

.lead-grid {
  padding: clamp(90px, 11vw, 170px) clamp(22px, 9vw, 145px);
}

.lead-grid h2 {
  max-width: 920px;
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 0 0 50px;
}

.lead-intro {
  max-width: 1020px;
  font-size: clamp(1.3rem, 2.15vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fact-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: #e4ebe0;
  color: var(--positive);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.facts h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.facts p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Embedded Comparison Matrix in Lead Grid */
.comparison-block {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #dce1db;
}

.comparison-header h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  font-weight: 600;
}

.comparison-header p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 760px;
  line-height: 1.5;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #dce1db;
  background: #ffffff;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 680px;
}

.editorial-table th, .editorial-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf0ec;
}

.editorial-table thead th {
  background: #f8faf7;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.editorial-table .col-highlight {
  background: #f1f8ee;
  color: var(--ink);
  font-weight: 600;
}

.badge-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-tag.green {
  background: #dff4e4;
  color: #144c28;
}

.badge-tag.red {
  background: #fee2e2;
  color: #991b1b;
}

/* Photo Rhythm Section */
.photo-rhythm {
  padding: 0 clamp(22px, 9vw, 145px) clamp(90px, 11vw, 165px);
  display: grid;
  grid-template-columns: 1.08fr 0.84fr 1.08fr;
  gap: 18px;
  align-items: end;
}

.photo-rhythm figure {
  margin: 0;
  min-width: 0;
}

.photo-rhythm figure:nth-child(2) {
  transform: translateY(58px);
}

.photo-rhythm img {
  width: 100%;
  height: clamp(260px, 34vw, 500px);
  display: block;
  object-fit: cover;
  filter: saturate(0.62) contrast(0.95);
}

.photo-rhythm figure:nth-child(2) img {
  height: clamp(310px, 42vw, 610px);
}

.photo-rhythm figcaption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  padding-top: 12px;
  max-width: 270px;
}

.process-section {
  background: #ffffff;
  padding: clamp(90px, 11vw, 175px) clamp(22px, 9vw, 145px);
  color: var(--ink);
}

.section-heading {
  display: block;
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
  margin: 0;
  font-weight: 500;
  max-width: 920px;
}

.allocation-stage {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: 4vw;
  background: var(--deep);
  color: #ffffff;
  padding: clamp(28px, 5vw, 72px);
}

.allocation-copy h3 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 0 0 15px;
}

.allocation-copy > p {
  max-width: 470px;
  line-height: 1.5;
  color: #c7d0c7;
}

.allocation-copy dl {
  margin: 42px 0 0;
}

.allocation-copy dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.allocation-copy dt {
  font-size: 25px;
  font-weight: 600;
  color: var(--lime);
}

.allocation-copy dd {
  margin: 0;
  color: #c7d0c7;
  line-height: 1.4;
  font-size: 14px;
}

.allocation-copy dd strong {
  display: block;
  color: #ffffff;
}

.allocation-copy dd small {
  display: block;
  font-size: 11px;
  color: #9cb09e;
  margin-top: 3px;
}

.allocation-visual {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  justify-items: center;
}

.ring {
  aspect-ratio: 1;
  min-width: 150px;
  width: min(15vw, 220px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ring--world {
  background: conic-gradient(var(--lime) 0 70%, rgba(255, 255, 255, 0.12) 70%);
}

.ring--bond {
  background: conic-gradient(#789b7d 0 30%, rgba(255, 255, 255, 0.12) 30%);
}

.ring span {
  font-size: clamp(2rem, 3.8vw, 4.5rem);
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: #ffffff;
}

.ring small {
  font-size: 12px;
  color: #d5ded4;
  margin-top: 10px;
}

.allocation-visual p {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #b6c2b6;
  max-width: 380px;
  text-align: center;
  line-height: 1.5;
  margin: 20px 0 0;
}

.transition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.transition-grid article {
  padding: 29px 0;
}

.transition-grid span {
  font-size: 13px;
  color: var(--muted);
}

.transition-grid h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 20px 0 12px;
  font-weight: 500;
  max-width: 410px;
}

.transition-grid p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 450px;
}

.product-performs {
  padding: clamp(90px, 12vw, 170px) clamp(22px, 9vw, 145px);
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 6vw;
  align-items: center;
  background: #dfe5da;
  color: var(--ink);
}

.product-text h2 {
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 0 0 24px;
}

.product-text p {
  font-size: 17px;
  color: #475348;
  line-height: 1.5;
  max-width: 420px;
  margin-bottom: 32px;
}

.portal-peek {
  background: #ffffff;
  border: 1px solid #d3d8d0;
  padding: 0;
  min-width: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.18s ease;
}

.portal-peek:hover {
  transform: translateY(-3px);
}

.peek-nav {
  height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e8e2;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: #667067;
}

.peek-nav .brand {
  font-size: 16px;
  color: var(--ink);
  margin-right: auto;
}

.peek-nav .brand-mark {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.peek-live-badge {
  font-size: 10px;
  font-weight: 700;
  background: #e3faea;
  color: var(--positive);
  padding: 2px 6px;
  border-radius: 4px;
}

.peek-content {
  padding: clamp(22px, 3vw, 38px);
}

.peek-content p {
  font-size: 13px;
  color: #687169;
  margin: 0 0 8px;
}

.peek-content strong {
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  letter-spacing: -0.06em;
  display: block;
}

.positive {
  color: var(--positive) !important;
}

.peek-content > span {
  font-size: 12px;
  display: block;
  margin-top: 9px;
}

.peek-content svg {
  color: var(--blue);
  width: 100%;
  margin-top: 25px;
  height: auto;
}

.peek-bottom {
  border-top: 1px solid #e5e8e2;
  padding: 16px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  color: #637064;
}

.peek-bottom b {
  color: var(--ink);
  margin-left: 5px;
}

.peek-tax-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--positive);
  margin-left: auto;
  margin-right: 12px;
}

.peek-bottom button {
  border: 0;
  background: var(--ink);
  color: #ffffff;
  border-radius: 4px;
  padding: 9px 14px;
}

.cost-section {
  padding: clamp(90px, 12vw, 160px) clamp(22px, 9vw, 145px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}

.cost-section h2, .partner-section h2, .faq-section h2, .closing h2 {
  font-size: clamp(2.45rem, 4.5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 0 0 25px;
}

.cost-section p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 570px;
  margin-bottom: 20px;
}

.cost-feature-note {
  font-size: 13px;
  line-height: 1.5;
  color: #384539;
  background: #eef2ea;
  border-left: 3px solid var(--positive);
  padding: 12px 14px;
  border-radius: 4px;
}

.cost-table {
  margin: 0;
}

.cost-table div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid #dce1db;
  gap: 20px;
}

.cost-table dt {
  font-size: 16px;
}

.cost-table dd {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.cost-table .cost-total {
  border-top: 2px solid var(--ink);
}

.cost-total dd {
  font-size: 38px;
  color: var(--positive);
}

.cost-cap-row {
  border-bottom: 1px solid #dce1db;
}

.cost-cap-row dt {
  font-size: 13px;
  color: var(--muted);
}

.cost-cap-row dd {
  font-size: 18px;
  color: var(--muted);
}

.partner-section {
  background: var(--deep);
  padding: clamp(90px, 12vw, 170px) clamp(22px, 9vw, 145px);
  color: #ffffff;
}

.partner-section > div:first-child {
  display: block;
  margin-bottom: 70px;
}

.partner-section > div:first-child h2 {
  max-width: 920px;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
}

.partner-list article {
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
}

.partner-list article:hover {
  transform: translateY(-5px);
}

.partner-list span {
  color: var(--lime);
  font-size: 14px;
}

.partner-list h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.6rem);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1;
  margin: 32px 0 15px;
}

.partner-list p {
  font-size: 15px;
  color: #bdc6bd;
  line-height: 1.5;
  max-width: 320px;
}

.faq-section {
  padding: clamp(90px, 12vw, 160px) clamp(22px, 9vw, 145px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
}

.faq-section > div:first-child {
  max-width: 760px;
}

.faq {
  align-self: start;
}

.faq-item {
  border: 0;
  background: transparent;
  border-top: 1px solid #dce1db;
  width: 100%;
  padding: 19px 0;
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 20px;
  text-align: left;
  font-size: 18px;
  line-height: 1.2;
  color: #59615a;
  transition: color 0.18s;
}

.faq-item b {
  font-size: 22px;
  font-weight: 400;
}

.faq-item.is-active {
  color: var(--ink);
  font-weight: 600;
}

.faq-answer {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  padding: 26px 0;
  color: var(--ink);
}

.closing {
  background: var(--lime);
  padding: clamp(90px, 12vw, 180px) clamp(22px, 9vw, 145px);
  color: var(--lime-ink);
}

.closing h2 {
  max-width: 840px;
}

.closing p {
  font-size: 18px;
  max-width: 590px;
  line-height: 1.5;
  margin: 0 0 34px;
}

.closing .button {
  background: var(--deep);
  color: #ffffff;
}

.site-footer {
  padding: 26px clamp(22px, 4vw, 64px);
  color: #b6c0b5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.site-footer a {
  color: #ffffff;
}

/* App Shell (Demo Portal) */
.app-shell {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--app-ground);
  color: var(--app-text);
  grid-template-columns: 240px 1fr;
  font-family: Archivo, Arial, sans-serif;
}

.app-shell.is-open {
  display: grid;
}

.app-sidebar {
  background: #f1f3ee;
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-right: 1px solid var(--app-border);
  position: relative;
}

.app-brand {
  color: var(--app-text);
  padding: 0 8px;
}

.scope {
  font-size: 11px;
  color: var(--app-muted);
  padding: 16px 8px 8px;
  margin: 0;
  text-transform: uppercase;
}

.sidebar-limit-card {
  background: #e6eae4;
  border-radius: 7px;
  padding: 10px 12px;
  margin: 0 4px 16px;
}

.limit-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}

.limit-mini-bar {
  height: 5px;
  background: #d4dad2;
  border-radius: 10px;
  overflow: hidden;
  margin: 6px 0;
}

.limit-mini-bar span {
  display: block;
  height: 100%;
  background: var(--positive);
}

.limit-card-sub {
  font-size: 10px;
  color: var(--app-muted);
}

.app-nav {
  display: grid;
  gap: 3px;
}

.nav-item {
  border: 0;
  background: transparent;
  padding: 9px 12px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #485048;
  font-size: 14px;
}

.nav-item:hover, .nav-item.is-active {
  background: #e2e5df;
  color: var(--app-text);
}

.nav-item span {
  font-size: 17px;
  line-height: 1;
  width: 14px;
}

.nav-item em {
  font-style: normal;
  font-size: 11px;
  margin-left: auto;
  background: #d7ded5;
  border-radius: 12px;
  padding: 2px 6px;
}

.side-foot {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d5e9f8;
  color: #16456e;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}

.side-foot strong, .side-foot small {
  display: block;
  font-size: 12px;
}

.side-foot small {
  color: var(--app-muted);
  margin-top: 3px;
  font-size: 11px;
}

.app-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 27px;
  color: #647064;
}

.app-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.app-topbar {
  height: 50px;
  border-bottom: 1px solid var(--app-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  background: var(--app-ground);
  position: sticky;
  top: 0;
  z-index: 2;
}

.app-title {
  font-size: 14px;
  font-weight: 600;
}

.app-topbar > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.demo-badge {
  font-size: 11px;
  padding: 4px 7px;
  background: #fdf3cc;
  color: #72570a;
  border-radius: 4px;
}

.plain-button, .text-button, .small-button {
  border: 0;
  background: transparent;
  color: var(--app-text);
  font-size: 13px;
  padding: 6px 0;
}

.text-button {
  color: #285f97;
}

.small-button {
  border: 1px solid #d7dcd5;
  padding: 5px 8px;
  border-radius: 5px;
}

.app-canvas {
  padding: 36px 40px 70px;
  max-width: 1320px;
  margin: 0 auto;
}

.app-view {
  display: none;
}

.app-view.is-active {
  display: block;
}

.view-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.view-title h1 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 6px;
}

.view-title p {
  margin: 0;
  font-size: 14px;
  color: var(--app-muted);
}

.button--app {
  background: #1c201c;
  color: #ffffff;
  min-height: 34px;
  padding: 0 13px;
  font-size: 13px;
  gap: 12px;
}

.notice {
  font-size: 12px;
  line-height: 1.5;
  color: #354036;
  background: #eef4eb;
  border: 1px solid #d9e3d4;
  border-radius: 7px;
  padding: 11px 13px;
  margin-bottom: 16px;
}

.notice--amber {
  background: var(--amber);
  border-color: #ecda99;
  color: #735c12;
}

.kpi-strip {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.kpi-strip > div {
  padding: 17px 20px;
}

.kpi-strip > div + div {
  border-left: 1px solid var(--app-border);
}

.kpi-strip span, .kpi-strip small {
  display: block;
  font-size: 12px;
  color: var(--app-muted);
}

.kpi-strip strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  align-items: start;
}

.app-panel {
  background: #ffffff;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  padding: 20px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.panel-head h2 {
  font-size: 16px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.panel-head p, .panel-note {
  font-size: 12px;
  color: var(--app-muted);
  line-height: 1.45;
  margin: 0;
}

.value-panel {
  min-height: 330px;
}

.chart-wrap {
  margin-top: 23px;
}

.portfolio-chart {
  width: 100%;
  overflow: visible;
}

.chart-grid path {
  stroke: #e5e8e4;
  stroke-width: 1;
}

.chart-grid .axis {
  stroke: #cbd2ca;
}

.chart-labels {
  fill: #6b746c;
  font-size: 11px;
}

.chart-line {
  stroke: var(--blue);
  stroke-width: 3;
  fill: none;
}

.chart-dot {
  fill: var(--blue);
}

.chart-caption {
  font-size: 11px;
  color: var(--app-muted);
  margin: 7px 0 0;
}

.chart-key {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 6px;
}

.allocation-panel {
  min-height: 330px;
}

.allocation-list {
  margin-top: 35px;
  display: grid;
  gap: 18px;
}

.allocation-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.allocation-list > div > div {
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 9px;
}

.allocation-dot {
  grid-row: span 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 3px;
}

.world-dot {
  background: var(--blue);
}

.bond-dot {
  background: #99a59a;
}

.allocation-list strong {
  font-size: 13px;
}

.allocation-list small {
  font-size: 11px;
  color: var(--app-muted);
  margin-top: 3px;
}

.allocation-list b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.allocation-bar {
  height: 11px;
  background: #e6eae5;
  border-radius: 50px;
  overflow: hidden;
  margin: 31px 0 12px;
}

.allocation-bar span {
  display: block;
  width: 70.4%;
  height: 100%;
  background: var(--blue);
  border-radius: 50px;
}

.allocation-panel > p {
  font-size: 12px;
  color: var(--app-muted);
}

.payment-panel, .activity-panel {
  min-height: 156px;
}

.payment-panel > strong {
  font-size: 29px;
  letter-spacing: -0.04em;
  display: block;
  margin: 23px 0 3px;
}

.payment-panel > p {
  margin: 0 0 15px;
  font-size: 12px;
  color: var(--app-muted);
}

.activity-panel {
  grid-column: 1 / -1;
}

.activity-panel ul {
  list-style: none;
  padding: 0;
  margin: 13px 0 0;
}

.activity-panel li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #eff1ee;
}

.activity-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf1ec;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.activity-panel li strong, .activity-panel li small {
  display: block;
  font-size: 12px;
}

.activity-panel li small {
  color: var(--app-muted);
  margin-top: 3px;
}

.activity-panel li > b, .row-action {
  font-size: 12px;
  background: transparent;
  border: 0;
  font-weight: 500;
}

.row-action {
  color: #1d5fbf;
  cursor: pointer;
}

.onboarding-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 650px);
  gap: 16px;
}

.setup-steps {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-top: 12px;
}

.setup-step {
  font-size: 13px;
  color: #8a918a;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}

.setup-step:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.setup-step.is-done, .setup-step.is-active {
  color: var(--app-text);
}

.setup-step.is-done:before {
  background: #5f7661;
  border-color: #5f7661;
}

.setup-step.is-active:before {
  background: #ffffff;
  border: 3px solid var(--blue);
}

.investor-form {
  display: grid;
  gap: 19px;
}

.investor-form label:not(.radio):not(.checkbox) {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.investor-form select, .order-dialog select, .order-dialog input {
  height: 40px;
  border: 1px solid #cdd4cc;
  border-radius: 6px;
  padding: 0 11px;
  background: #ffffff;
  color: var(--app-text);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

legend {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.radio, .checkbox {
  font-size: 13px;
  color: #3e473f;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.35;
}

.form-status {
  font-size: 13px;
  margin: 0;
  color: var(--positive);
  min-height: 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.target-panel {
  grid-column: 1 / -1;
}

.status-pill {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 4px;
}

.status-pill.success {
  background: #dff4e4;
  color: #144c28;
}

.status-pill.warning {
  background: #fdf3cc;
  color: #72570a;
}

.trajectory {
  display: grid;
  grid-template-columns: 1.1fr 2fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  margin: 42px 0 25px;
}

.trajectory strong, .trajectory small {
  display: block;
}

.trajectory strong {
  font-size: 14px;
}

.trajectory small {
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.trajectory-now strong {
  color: var(--blue);
}

.trajectory-line {
  height: 2px;
  background: #dce1dc;
  position: relative;
}

.trajectory-line:before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
}

.trajectory-line span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--blue);
}

.target-panel > p {
  font-size: 13px;
  color: var(--app-muted);
  max-width: 650px;
  line-height: 1.5;
}

.holding {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #edf0ec;
  margin-top: 16px;
}

.holding strong, .holding small, .holding b {
  display: block;
}

.holding strong {
  font-size: 13px;
}

.holding small {
  font-size: 11px;
  color: var(--app-muted);
  margin-top: 4px;
}

.holding > div:last-child {
  text-align: right;
}

.holding b {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.documents-panel {
  grid-column: 1 / -1;
}

.document-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 20px;
  gap: 12px;
  text-align: left;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #edf0ec;
  background: transparent;
  color: var(--app-text);
  font-size: 13px;
  cursor: pointer;
}

.document-row small {
  font-size: 11px;
  color: var(--app-muted);
}

.orders-panel {
  padding: 0;
}

.orders-panel > .panel-head {
  padding: 20px 20px 12px;
}

.orders-table {
  width: 100%;
}

.orders-head, .order-row {
  display: grid;
  grid-template-columns: minmax(185px, 2.2fr) 1fr 1fr 1fr 1fr 70px;
  gap: 10px;
  align-items: center;
  padding: 0 20px;
}

.orders-head {
  height: 38px;
  font-size: 11px;
  color: var(--app-muted);
}

.order-row {
  min-height: 58px;
  border-top: 1px solid #edf0ec;
  font-size: 13px;
}

.order-row > span:not(.status-pill), .order-row > div > strong, .order-row > div > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-row > div > strong, .order-row > div > small {
  display: block;
}

.order-row > div > small {
  font-size: 11px;
  color: var(--app-muted);
  margin-top: 3px;
}

.order-row .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cancel-order {
  border: 0;
  background: transparent;
  color: #8e3a2e;
  font-size: 12px;
  padding: 5px;
}

.order-empty {
  padding: 22px 20px;
  font-size: 13px;
  color: var(--app-muted);
  border-top: 1px solid #edf0ec;
}

.order-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.27);
}

.order-dialog::backdrop {
  background: rgba(11, 18, 12, 0.6);
}

.order-dialog form {
  padding: 34px;
  position: relative;
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: #657064;
}

.order-dialog h2 {
  font-size: 30px;
  letter-spacing: -0.05em;
  margin: 0 0 10px;
}

.dialog-lead {
  font-size: 14px;
  line-height: 1.5;
  color: var(--app-muted);
  margin: 0 0 24px;
}

.order-dialog label:not(.checkbox) {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  margin: 17px 0;
  position: relative;
}

.order-dialog label > span {
  position: absolute;
  right: 13px;
  bottom: 11px;
  font-size: 13px;
  color: var(--app-muted);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #1c281d;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 6px;
  transform: translateY(110px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 15;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu, .mobile-nav {
  display: none;
}

.mobile-menu {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 0 !important;
}

@media (max-width: 930px) {
  .site-nav nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 250px;
    gap: 40px;
  }
  .hero-image {
    min-height: 380px;
    max-height: 520px;
  }
  .contribution-tool {
    bottom: 45px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 42px;
  }
  .photo-rhythm {
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 110px;
  }
  .photo-rhythm figure:nth-child(2) {
    transform: translateY(35px);
  }
  .allocation-stage, .product-performs, .cost-section, .faq-section {
    grid-template-columns: 1fr;
  }
  .allocation-visual {
    margin-top: 25px;
  }
  .product-text {
    max-width: 600px;
  }
  .partner-list {
    gap: 24px;
  }
  .app-shell {
    grid-template-columns: 205px 1fr;
  }
  .app-canvas {
    padding: 28px 24px 60px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .activity-panel {
    grid-column: auto;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .target-panel, .documents-panel {
    grid-column: auto;
  }
  .onboarding-layout {
    grid-template-columns: 1fr;
  }
  .setup-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .setup-step {
    font-size: 11px;
    display: block;
  }
  .setup-step:before {
    display: inline-block;
    margin-right: 5px;
  }
  .orders-head, .order-row {
    grid-template-columns: minmax(160px, 2fr) 1fr 1fr 1fr 1fr 60px;
    padding: 0 14px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: 70px;
    padding: 0 18px;
  }
  .site-nav .brand {
    font-size: 18px;
  }
  .nav-cta {
    font-size: 12px;
  }
  .hero {
    min-height: auto;
    padding: 58px 18px 246px;
  }
  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
    max-width: 390px;
  }
  .hero-lead {
    font-size: 16px;
    margin: 25px 0;
  }
  .hero-actions {
    display: grid;
    justify-items: start;
    gap: 14px;
  }
  .hero-image {
    min-height: 305px;
    margin: 0 -18px;
  }
  .hero-image:after {
    background: linear-gradient(90deg, rgba(15, 31, 16, 0.7), rgba(15, 31, 16, 0.08));
  }
  .contribution-tool {
    left: 18px;
    bottom: 33px;
    width: calc(100% - 36px);
    padding: 17px;
  }
  .lead-grid, .process-section, .product-performs, .cost-section, .partner-section, .faq-section, .closing {
    padding-left: 18px;
    padding-right: 18px;
  }
  .lead-grid h2, .section-heading h2, .product-text h2, .cost-section h2, .partner-section h2, .faq-section h2, .closing h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .lead-intro {
    font-size: 22px;
    margin-bottom: 48px;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .photo-rhythm {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px 85px;
    gap: 12px;
  }
  .photo-rhythm figure:nth-child(2) {
    transform: none;
  }
  .photo-rhythm figure:nth-child(3) {
    grid-column: 1 / -1;
  }
  .photo-rhythm img, .photo-rhythm figure:nth-child(2) img {
    height: 260px;
  }
  .photo-rhythm figure:nth-child(3) img {
    height: 220px;
  }
  .photo-rhythm figcaption {
    font-size: 11px;
    padding-top: 8px;
  }
  .allocation-stage {
    padding: 25px 20px;
    margin: 0 -18px;
  }
  .allocation-copy dl {
    margin-top: 30px;
  }
  .allocation-copy dl div {
    grid-template-columns: 62px 1fr;
  }
  .allocation-visual {
    grid-template-columns: 1fr 1fr;
  }
  .ring {
    min-width: 0;
    width: 125px;
  }
  .transition-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .product-performs {
    gap: 45px;
  }
  .portal-peek {
    margin-right: -9px;
  }
  .peek-nav {
    gap: 12px;
  }
  .peek-nav > span:not(.brand) {
    display: none;
  }
  .peek-content strong {
    font-size: 33px;
  }
  .peek-bottom {
    gap: 7px;
    font-size: 10px;
    padding: 13px;
  }
  .cost-section {
    gap: 38px;
  }
  .cost-table dd {
    font-size: 24px;
  }
  .partner-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .partner-list h3 {
    margin: 20px 0 10px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-item {
    font-size: 16px;
  }
  .site-footer {
    padding: 23px 18px;
    font-size: 11px;
  }
  .site-footer span:nth-child(2) {
    display: none;
  }
  .app-shell {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    display: none;
  }
  .app-main {
    padding-bottom: 59px;
  }
  .app-topbar {
    padding: 0 16px;
    height: 52px;
  }
  .mobile-menu {
    display: block;
    border: 0;
    background: transparent;
  }
  .app-title {
    display: none;
  }
  .app-topbar > div {
    gap: 8px;
  }
  .demo-badge {
    font-size: 10px;
  }
  .plain-button {
    font-size: 11px;
  }
  .app-canvas {
    padding: 24px 16px 42px;
  }
  .view-title {
    display: block;
    margin-bottom: 20px;
  }
  .view-title h1 {
    font-size: 24px;
  }
  .view-title .button, .view-title .plain-button {
    margin-top: 15px;
  }
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }
  .kpi-strip > div {
    padding: 14px;
  }
  .kpi-strip > div + div {
    border-left: 1px solid var(--app-border);
  }
  .kpi-strip > div:nth-child(3), .kpi-strip > div:nth-child(4) {
    border-top: 1px solid var(--app-border);
  }
  .kpi-strip strong {
    font-size: 22px;
  }
  .app-panel {
    padding: 16px;
  }
  .value-panel, .allocation-panel {
    min-height: 0;
  }
  .chart-wrap {
    margin-top: 17px;
  }
  .activity-panel li {
    grid-template-columns: 25px 1fr;
    gap: 8px;
  }
  .activity-panel li > b, .activity-panel li .row-action {
    grid-column: 2;
  }
  .setup-steps {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .setup-step {
    font-size: 12px;
  }
  .trajectory {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .trajectory-line {
    height: 55px;
    width: 2px;
    margin-left: 4px;
  }
  .trajectory-line span {
    width: 100%;
    height: 70%;
  }
  .trajectory-line:before {
    top: 0;
    transform: translate(-50%, 0);
  }
  .orders-panel {
    overflow: hidden;
  }
  .orders-head {
    display: none;
  }
  .order-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px;
    padding: 13px 16px;
  }
  .order-row > span:nth-child(2), .order-row > span:nth-child(3), .order-row > span:nth-child(4) {
    grid-column: 1;
  }
  .order-row > span:nth-child(2), .order-row > span:nth-child(4) {
    font-size: 11px;
    color: var(--app-muted);
  }
  .order-row .num {
    grid-row: 1;
    grid-column: 2;
  }
  .order-row .status-pill {
    grid-column: 2;
    grid-row: 2;
  }
  .cancel-order {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 59px;
    background: #ffffff;
    border-top: 1px solid var(--app-border);
    z-index: 3;
  }
  .mobile-nav button {
    flex: 1;
    border: 0;
    background: #ffffff;
    font-size: 11px;
    color: var(--app-muted);
  }
  .mobile-nav button.is-active {
    color: var(--app-text);
    font-weight: 600;
  }
  .order-dialog form {
    padding: 27px 21px;
  }
  .toast {
    left: 16px;
    right: 16px;
    bottom: 75px;
  }
  .app-shell .app-close {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: enter 0.7s both;
  }
  .hero-copy h1 {
    animation-delay: 0.1s;
  }
  .hero-copy .hero-lead {
    animation-delay: 0.17s;
  }
  .hero-copy .hero-actions {
    animation-delay: 0.23s;
  }
  .hero-image img {
    animation: slow-pan 13s ease-in-out infinite alternate;
  }
  .contribution-tool {
    animation: enter 0.8s 0.35s both;
  }
  .facts article, .transition-grid article, .partner-list article {
    transition: transform 0.2s ease;
  }
  .facts article:hover, .transition-grid article:hover, .partner-list article:hover {
    transform: translateY(-5px);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-pan {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
