:root {
  --forest-950: #042a18;
  --forest-900: #073f25;
  --forest-800: #0b5832;
  --forest-700: #1f7442;
  --forest-100: #e6f0e9;
  --lime: #b4ef4c;
  --lime-dark: #79aa1c;
  --gold: #f4c542;
  --ink: #152019;
  --muted: #5f6b63;
  --paper: #ffffff;
  --canvas: #f4f6f2;
  --line: #d5ddd6;
  --night: #171a18;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--forest-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--lime);
}

.site-header > .brand,
.site-header > nav {
  margin: 0;
}

.site-header > .brand {
  margin-right: 32px;
}

.site-header:not(.home-header) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-header:not(.home-header) nav {
  gap: 18px;
}

.home-page main {
  overflow: hidden;
}

.hero {
  color: #ffffff;
  background: #0a3522;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  height: calc(100svh - 108px);
  min-height: 650px;
  max-height: 760px;
  margin: 0 auto;
  padding: 56px 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--forest-700);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero-brand-logo {
  display: block;
  width: min(100%, 430px);
  margin: -42px 0 -4px -14px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

.hero-brand-logo img {
  width: 100%;
}

.hero-claim {
  max-width: 650px;
  margin: 0;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 750;
  line-height: 1.14;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

.store-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.app-store-badge,
.play-store-badge {
  display: inline-flex;
  width: 218px;
  max-width: 100%;
  min-height: 58px;
  padding: 7px 15px 7px 12px;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  background: #050505;
  border: 1px solid #6c6c6c;
  border-radius: 8px;
  text-decoration: none;
}

.app-store-badge:hover,
.play-store-badge:hover,
.app-store-badge:focus-visible,
.play-store-badge:focus-visible {
  background: #1e1e1e;
  border-color: #ffffff;
}

.store-brand-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
}

.store-brand-icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.store-brand-icon.play {
  width: 35px;
  height: 39px;
  flex-basis: 35px;
}

.store-brand-icon.play svg {
  width: 35px;
  height: 39px;
}

.play-blue {
  fill: #00a1ff;
}

.play-green {
  fill: #00e070;
}

.play-yellow {
  fill: #ffce00;
}

.play-red {
  fill: #ff4b55;
}

.app-store-badge small,
.app-store-badge strong,
.play-store-badge small,
.play-store-badge strong {
  display: block;
  white-space: nowrap;
}

.app-store-badge small,
.play-store-badge small {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.app-store-badge strong,
.play-store-badge strong {
  margin-top: 2px;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.08;
}

.play-store-badge small {
  font-size: 0.72rem;
}

.play-store-badge strong {
  font-size: 1.34rem;
}

.availability {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.hero-stage {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.hero-secondary-phone {
  position: absolute;
  z-index: 1;
  top: 12%;
  right: 1%;
  width: min(50%, 218px);
  padding: 8px;
  background: #0b0d0c;
  border: 2px solid rgba(180, 239, 76, 0.58);
  border-radius: 32px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
  transform: rotate(5deg);
}

.hero-secondary-phone img {
  width: 100%;
  aspect-ratio: 642 / 1389;
  object-fit: contain;
  border-radius: 24px;
}

.phone-frame {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 4%;
  width: min(66%, 286px);
  padding: 10px;
  background: #0b0d0c;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 38px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(-4deg);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 642 / 1389;
  object-fit: contain;
  border-radius: 29px;
}

.hero-status {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 7%;
  min-width: 220px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--forest-950);
  background: #ffffff;
  border: 1px solid rgba(180, 239, 76, 0.72);
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.hero-status > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: var(--forest-950);
  background: var(--lime);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

.hero-status p {
  margin: 0;
}

.hero-status strong,
.hero-status small {
  display: block;
}

.hero-status strong {
  font-size: 0.78rem;
}

.hero-status small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.68rem;
}

.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.quick-facts {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.quick-facts-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.quick-facts p {
  min-width: 0;
  margin: 0;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}

.quick-facts p:first-child {
  padding-left: 0;
}

.quick-facts p:last-child {
  padding-right: 0;
  border-right: 0;
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  color: var(--forest-800);
  font-size: 1rem;
}

.quick-facts span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2,
.feature-copy h2,
.advisor-copy h2,
.trust-brand h2,
.final-cta h2 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.08;
}

.section-heading > p:last-child,
.split-heading > p,
.feature-copy > p,
.advisor-copy > p,
.trust-details p {
  color: var(--muted);
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.workflow {
  background: var(--canvas);
}

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

.workflow-item {
  min-height: 265px;
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-item > span {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--forest-950);
  background: var(--lime);
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 900;
}

.workflow-item h3 {
  margin: 46px 0 10px;
  color: var(--forest-900);
  font-size: 1.35rem;
}

.workflow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.feature-band {
  color: #ffffff;
  background: var(--night);
}

.feature-band-inner {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: 80px;
}

.feature-copy > p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.03rem;
}

.feature-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-top: 13px;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 14px;
  height: 7px;
  border-bottom: 3px solid var(--lime);
  border-left: 3px solid var(--lime);
  transform: rotate(-45deg);
}

.feature-screens {
  position: relative;
  height: 650px;
}

.feature-phone {
  position: absolute;
  width: 270px;
  margin: 0;
  padding: 8px;
  background: #050605;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.feature-phone img {
  width: 100%;
  aspect-ratio: 642 / 1389;
  object-fit: contain;
  border-radius: 26px;
}

.feature-phone.rear {
  top: 58px;
  left: 0;
  transform: rotate(-6deg);
}

.feature-phone.front {
  right: 0;
  bottom: 44px;
  z-index: 2;
  transform: rotate(5deg);
}

.showcase {
  background: #ffffff;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin: 0 0 6px;
}

.screenshot-track {
  display: grid;
  grid-auto-columns: minmax(250px, 286px);
  grid-auto-flow: column;
  gap: 20px;
  padding: 6px 2px 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--forest-700) var(--forest-100);
}

.screenshot-item {
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 642 / 1389;
  object-fit: contain;
  background: var(--night);
  border: 8px solid var(--night);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(21, 32, 25, 0.18);
}

.screenshot-item figcaption {
  padding: 18px 4px 0;
}

.screenshot-item strong,
.screenshot-item span {
  display: block;
}

.screenshot-item strong {
  color: var(--forest-900);
  font-size: 1rem;
}

.screenshot-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.advisor-section {
  padding: 105px 0;
  color: #ffffff;
  background: var(--forest-900);
}

.advisor-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 68px;
}

.status-label {
  display: inline-flex;
  min-height: 34px;
  margin: 0 0 24px;
  padding: 0 12px;
  align-items: center;
  color: var(--forest-950);
  background: var(--gold);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.advisor-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.advisor-copy > .status-label {
  color: var(--forest-950);
}

.advisor-copy h2 {
  font-size: clamp(2.25rem, 3.25vw, 2.55rem);
}

.advisor-title-nowrap {
  white-space: nowrap;
}

.advisor-copy h2 + p {
  margin: 22px 0 0;
}

.advisor-note {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
}

.advisor-preview {
  padding: 8px;
  color: var(--ink);
  background: #dce4dc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(180, 239, 76, 0.34), 0 20px 42px rgba(2, 30, 17, 0.24);
  overflow: hidden;
}

.portal-preview-shell {
  min-height: 374px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  overflow: hidden;
  color: #1d2921;
  background: #eef1ed;
  border: 1px solid #c8d0c7;
  border-radius: 4px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.25;
}

.portal-preview-rail {
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #f4f7f3;
  background-color: #143b25;
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(166, 216, 59, 0.07) 10px 11px);
  border-right: 1px solid #0d2c1a;
}

.portal-preview-rail img {
  width: 100%;
  border-radius: 3px;
}

.portal-preview-rail strong {
  padding: 9px 0 0 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 2px solid var(--lime);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.portal-preview-workspace {
  min-width: 0;
}

.portal-preview-header {
  min-height: 55px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border-bottom: 1px solid #d4dbd2;
}

.portal-preview-header > span:first-child,
.portal-preview-panel-head span,
.portal-preview-client span,
.portal-preview-client-context > span:first-child,
.portal-preview-toolbar > span:first-child,
.portal-preview-item > span {
  min-width: 0;
  display: grid;
}

.portal-preview-header small,
.portal-preview-panel-head small,
.portal-preview-client-context small,
.portal-preview-toolbar small {
  color: #617066;
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.portal-preview-header > span > strong {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.05;
}

.portal-preview-header i {
  margin-top: 2px;
  overflow: hidden;
  color: #617066;
  font-size: 5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-preview-profile {
  min-width: 95px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #d4dbd2;
  border-radius: 3px;
  font-size: 6px;
}

.portal-preview-profile svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  fill: none;
  flex: 0 0 auto;
  color: #236438;
  background: #e6f0e7;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.portal-preview-content {
  padding: 10px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 8px;
}

.portal-preview-clients,
.portal-preview-detail {
  min-width: 0;
  padding: 9px;
  background: #ffffff;
  border: 1px solid #d4dbd2;
  border-radius: 3px;
}

.portal-preview-panel-head {
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 1px solid #d4dbd2;
}

.portal-preview-panel-head strong {
  margin-top: 2px;
  font-size: 9px;
}

.portal-preview-panel-head > b {
  padding: 4px 5px;
  color: #236438;
  background: #e6f0e7;
  border: 1px solid #c8dacb;
  border-radius: 2px;
  font-size: 5px;
  white-space: nowrap;
}

.portal-preview-client {
  margin-top: 6px;
  padding: 7px 5px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  background: #f6f8f5;
  border: 1px solid transparent;
  border-radius: 2px;
}

.portal-preview-client.selected {
  background: #e6f0e7;
  border-color: #b8cdbb;
  box-shadow: inset 2px 0 0 #236438;
}

.portal-preview-client > i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #236438;
  background: #dcebdc;
  border-radius: 2px;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.portal-preview-client strong {
  overflow: hidden;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-preview-client small {
  margin-top: 2px;
  overflow: hidden;
  color: #617066;
  font-size: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-preview-client-context {
  padding: 6px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #f6f8f5;
  border: 1px solid #d4dbd2;
  border-radius: 2px;
}

.portal-preview-client-context strong { margin-top: 1px; font-size: 8px; }
.portal-preview-client-context i { color: #617066; font-size: 5px; font-style: normal; }
.portal-preview-client-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.portal-preview-client-actions > b {
  min-height: 18px;
  padding: 4px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid #d4dbd2;
  border-radius: 2px;
  font-size: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portal-preview-export {
  color: #ffffff;
  background: #236438;
  border-color: #236438 !important;
}

.portal-preview-export svg {
  width: 6px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.portal-preview-access-scope {
  color: #617066;
  background: #f2f4f1;
}

.portal-preview-stats {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.portal-preview-stats > span {
  min-width: 0;
  padding: 5px;
  display: grid;
  gap: 2px;
  background: #f6f8f5;
  border: 1px solid #d4dbd2;
  border-radius: 2px;
}

.portal-preview-stats small { color: #617066; font-size: 5px; }
.portal-preview-stats strong { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.portal-preview-stats span:last-child strong { color: #9a5b13; }

.portal-preview-tabs {
  margin-top: 7px;
  display: flex;
  gap: 9px;
  border-bottom: 1px solid #d4dbd2;
  color: #617066;
  font-size: 6px;
}

.portal-preview-tabs > * { padding: 4px 1px; }
.portal-preview-tabs > strong { color: #236438; border-bottom: 2px solid #236438; }
.portal-preview-tabs b { padding: 1px 3px; background: #e6f0e7; border-radius: 999px; font-size: 5px; }

.portal-preview-toolbar {
  padding: 7px 0 5px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 6px;
}

.portal-preview-toolbar strong { margin-top: 1px; font-size: 8px; }
.portal-preview-actions { display: flex; gap: 3px; }
.portal-preview-actions i {
  padding: 4px 5px;
  color: #334239;
  background: #ffffff;
  border: 1px solid #b8c4b7;
  border-radius: 2px;
  font-size: 5px;
  font-style: normal;
  white-space: nowrap;
}

.portal-preview-table {
  overflow: hidden;
  border: 1px solid #d4dbd2;
  border-radius: 2px;
}

.portal-preview-table-head,
.portal-preview-item-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 41px 43px 40px;
  align-items: center;
  gap: 4px;
}

.portal-preview-table-head {
  padding: 5px 4px;
  color: #617066;
  background: #edf0ec;
  font-size: 4px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-preview-item-row {
  min-height: 35px;
  padding: 4px;
  border-top: 1px solid #d4dbd2;
  font-size: 5px;
}

.portal-preview-checkbox {
  width: 7px;
  height: 7px;
  border: 1px solid #849187;
  border-radius: 1px;
}

.portal-preview-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.portal-preview-item > b,
.portal-preview-item-row > b {
  padding: 3px;
  border-radius: 2px;
  font-size: 4px;
  text-align: center;
  white-space: nowrap;
}

.portal-preview-item > b { color: #236438; background: #e6f0e7; }
.portal-preview-item-row:nth-child(3) .portal-preview-item > b { color: #765711; background: #fff1c7; }
.portal-preview-item-row:nth-child(4) .portal-preview-item > b { color: #365f78; background: #e4f0f6; }
.portal-preview-item strong,
.portal-preview-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-preview-item strong { font-size: 5px; }
.portal-preview-item small { margin-top: 1px; color: #617066; font-size: 4px; }
.portal-preview-item-row > strong { font-size: 5px; text-align: right; white-space: nowrap; }
.portal-preview-item-row > span:not(.portal-preview-item) { color: #617066; font-size: 5px; }
.portal-preview-item-row > b.open { color: #8b5a18; background: #fff1d9; }
.portal-preview-item-row > b.declared { color: #236438; background: #e6f0e7; }

.portal-preview-bulk {
  margin-top: 5px;
  padding: 5px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #617066;
  background: #f6f8f5;
  border: 1px solid #d4dbd2;
  border-radius: 2px;
  font-size: 5px;
}

.portal-preview-bulk b {
  padding: 4px 7px;
  color: #858d85;
  background: #e2e6e1;
  border: 1px solid #cfd5ce;
  border-radius: 2px;
}

.trust-section {
  background: var(--canvas);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 80px;
}

.trust-brand {
  max-width: 520px;
}

.trust-brand h2 {
  font-size: 2.25rem;
}

.trust-details {
  display: grid;
  gap: 24px;
}

.trust-details > div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.trust-details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trust-details h3 {
  margin: 0 0 6px;
  color: var(--forest-900);
  font-size: 1.05rem;
}

.trust-details p {
  margin: 0;
}

.trust-details a {
  color: var(--forest-800);
  font-weight: 800;
}

.faq {
  margin-top: 74px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 52px 22px 0;
  color: var(--forest-950);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--forest-700);
  font-size: 1.45rem;
  transform: translateY(-50%);
}

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

.faq p {
  max-width: 800px;
  margin: -8px 0 22px;
  color: var(--muted);
}

.final-cta {
  color: #ffffff;
  background: var(--night);
}

.final-cta-inner {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta a {
  min-width: 190px;
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-950);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.final-cta a:hover,
.final-cta a:focus-visible {
  background: #c2f66a;
}

.site-footer {
  padding: 34px 24px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--forest-950);
}

.footer-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.site-footer p {
  margin: 5px 0 0;
  font-size: 0.8rem;
}

.site-footer > p {
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a,
.site-footer > p a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.site-footer > p a:hover,
.site-footer > p a:focus-visible {
  color: var(--lime);
}

/* Legal pages */
.legal-page {
  width: calc(100% - 48px);
  max-width: 920px;
  margin: 48px auto 72px;
  padding: 46px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-page h1 {
  margin: 0 0 30px;
  color: var(--forest-950);
  font-size: 3rem;
  line-height: 1.05;
}

.legal-page h2,
.legal-page h3,
.legal-page h4 {
  color: var(--forest-900);
  line-height: 1.25;
}

.legal-page h2 {
  margin: 34px 0 12px;
}

.legal-page h3 {
  margin: 26px 0 10px;
}

.legal-page h4 {
  margin: 20px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page a {
  color: var(--forest-700);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
    gap: 30px;
  }

  .hero-brand-logo {
    width: min(100%, 360px);
    margin-bottom: -4px;
  }

  .hero-claim {
    font-size: 1.85rem;
  }

  .app-store-badge,
  .play-store-badge {
    width: 200px;
  }

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

  .feature-band-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 44px;
  }

  .feature-phone {
    width: 240px;
  }

  .advisor-inner {
    gap: 48px;
  }

  .trust-grid {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  .home-header nav {
    display: none;
  }

  .hero-inner {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 62px;
    padding-bottom: 56px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-stage {
    width: min(100%, 520px);
    height: 560px;
    min-height: 0;
    margin: 0 auto;
  }

  .phone-frame {
    left: 12%;
    width: min(54%, 240px);
  }

  .hero-secondary-phone {
    top: 14%;
    right: 8%;
    width: min(44%, 190px);
  }

  .hero-status {
    right: 4%;
    bottom: 5%;
  }

  .quick-facts-grid {
    padding-top: 26px;
    padding-bottom: 26px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quick-facts p,
  .quick-facts p:first-child,
  .quick-facts p:last-child {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .advisor-copy h2,
  .final-cta h2 {
    font-size: 2.25rem;
  }

  .feature-band-inner,
  .advisor-inner,
  .trust-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .feature-band-inner {
    padding-top: 80px;
    padding-bottom: 50px;
    gap: 34px;
  }

  .feature-screens {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  .split-heading {
    gap: 20px;
  }

  .advisor-section {
    padding: 80px 0 96px;
  }

  .advisor-inner {
    gap: 48px;
  }

  .advisor-preview {
    box-shadow: 8px 8px 0 rgba(180, 239, 76, 0.3), 0 16px 34px rgba(2, 30, 17, 0.22);
  }

  .final-cta-inner {
    padding-top: 54px;
    padding-bottom: 54px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .header-inner {
    min-height: 64px;
  }

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

  .brand {
    font-size: 1.02rem;
  }

  .hero-inner {
    padding: 42px 18px 44px;
  }

  .hero-brand-logo {
    width: min(100%, 320px);
    margin: -30px 0 -4px -10px;
  }

  .hero-claim {
    font-size: 1.48rem;
  }

  .lead {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .store-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .app-store-badge,
  .play-store-badge {
    width: 100%;
    min-height: 52px;
    padding: 6px 8px;
    gap: 7px;
  }

  .store-brand-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .store-brand-icon svg {
    width: 26px;
    height: 26px;
  }

  .store-brand-icon.play {
    width: 28px;
    height: 32px;
    flex-basis: 28px;
  }

  .store-brand-icon.play svg {
    width: 28px;
    height: 32px;
  }

  .app-store-badge small,
  .play-store-badge small {
    font-size: 0.56rem;
  }

  .app-store-badge strong,
  .play-store-badge strong {
    font-size: 0.9rem;
  }

  .play-store-badge strong {
    font-size: 0.95rem;
  }

  .hero-stage {
    height: 320px;
  }

  .phone-frame {
    left: 15%;
    width: min(42%, 132px);
    padding: 7px;
    border-radius: 22px;
  }

  .phone-frame img {
    border-radius: 16px;
  }

  .hero-secondary-phone {
    top: 12%;
    right: 20%;
    width: min(35%, 110px);
    padding: 6px;
    border-radius: 20px;
  }

  .hero-secondary-phone img {
    border-radius: 14px;
  }

  .hero-status {
    right: 2%;
    bottom: 0;
    min-width: 0;
    padding: 8px 10px;
    gap: 8px;
  }

  .hero-status > span {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 0.72rem;
  }

  .hero-status strong {
    font-size: 0.68rem;
  }

  .hero-status small {
    display: none;
  }

  .section-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section {
    padding: 64px 0;
  }

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

  .section-heading h2,
  .feature-copy h2,
  .advisor-copy h2,
  .final-cta h2 {
    font-size: 1.95rem;
  }

  .advisor-copy h2 {
    font-size: clamp(1.55rem, 7.3vw, 1.95rem);
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-item {
    min-height: 0;
  }

  .workflow-item h3 {
    margin-top: 30px;
  }

  .feature-band-inner {
    padding-top: 64px;
    padding-bottom: 34px;
  }

  .feature-screens {
    height: 470px;
  }

  .feature-phone {
    width: 185px;
    padding: 6px;
    border-radius: 25px;
  }

  .feature-phone img {
    border-radius: 19px;
  }

  .feature-phone.rear {
    top: 40px;
  }

  .feature-phone.front {
    bottom: 28px;
  }

  .screenshot-track {
    grid-auto-columns: 78%;
  }

  .advisor-section {
    padding: 64px 0 80px;
  }

  .advisor-preview {
    padding: 5px;
    box-shadow: 5px 5px 0 rgba(180, 239, 76, 0.26), 0 12px 24px rgba(2, 30, 17, 0.2);
  }

  .portal-preview-shell {
    min-height: 360px;
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .portal-preview-rail {
    padding: 8px 6px;
    gap: 8px;
  }

  .portal-preview-rail strong { padding-left: 4px; font-size: 5px; }
  .portal-preview-header { min-height: 49px; padding: 7px; }
  .portal-preview-header i { display: none; }
  .portal-preview-profile { min-width: auto; padding: 3px; }
  .portal-preview-profile b { display: none; }
  .portal-preview-content { padding: 7px; grid-template-columns: minmax(0, 1fr); }
  .portal-preview-clients { display: none; }

  .trust-grid {
    gap: 44px;
  }

  .trust-brand h2 {
    font-size: 1.8rem;
  }

  .faq {
    margin-top: 52px;
  }

  .final-cta-inner {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    gap: 12px 16px;
  }

  .site-header:not(.home-header) {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header:not(.home-header) nav {
    width: 100%;
    gap: 8px 14px;
  }

  .site-header:not(.home-header) nav a {
    font-size: 0.78rem;
  }

  .legal-page {
    width: calc(100% - 28px);
    margin: 22px auto 46px;
    padding: 24px 20px;
  }

  .legal-page h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 400px) {
  .portal-preview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-preview-actions i:nth-child(2) { display: none; }
  .portal-preview-table-head,
  .portal-preview-item-row { grid-template-columns: 9px minmax(0, 1fr) 38px 36px; }
  .portal-preview-table-head > :nth-child(3),
  .portal-preview-item-row > :nth-child(3) { display: none; }
}

@media (orientation: landscape) {
  html.is-ipad .hero-inner {
    height: auto;
    min-height: 920px;
    max-height: none;
    padding-top: 48px;
    padding-bottom: 100px;
  }

  html.is-ipad .hero-stage {
    height: 720px;
    min-height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
