:root {
  --ink: #171a22;
  --ink-soft: #46505f;
  --muted: #687383;
  --line: #dfe5ed;
  --line-strong: #c9d3df;
  --paper: #ffffff;
  --paper-soft: #f5f7fb;
  --paper-blue: #ecf5f3;
  --blue: #134b42;
  --blue-deep: #0b2f2b;
  --blue-soft: #e5f2ee;
  --green: #e33b4a;
  --green-deep: #b51e32;
  --mint: #fff1f3;
  --gold: #1f72ce;
  --gold-soft: #eaf4ff;
  --shadow-sm: 0 10px 24px rgba(9, 32, 50, 0.08);
  --shadow-md: 0 22px 54px rgba(9, 32, 50, 0.13);
  --shadow-lg: 0 34px 90px rgba(20, 35, 54, 0.22);
  --radius: 8px;
  --font-display: "Avenir Next", "Segoe UI", Verdana, sans-serif;
  --font-body: "Aptos", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f4f6fa;
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: #fff;
  background: var(--blue);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.28);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue-deep);
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
  padding: 0.8rem max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(220, 232, 239, 0.82);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.26);
  font-weight: 900;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
  font-weight: 900;
}

.brand em {
  color: var(--green-deep);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 1.45rem;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 750;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--blue);
}

.nav a[aria-current="true"]::after {
  background: var(--blue);
}

.header-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #f6b83f 54%, var(--blue));
  box-shadow: 0 16px 32px rgba(255, 122, 0, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(255, 122, 0, 0.34);
}

.btn-light {
  border-color: var(--line-strong);
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 8px 18px rgba(9, 32, 50, 0.05);
}

.btn-light:hover {
  border-color: rgba(27, 77, 62, 0.36);
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.7rem 0 1.4rem;
  background:
    linear-gradient(90deg, rgba(255, 122, 0, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(27, 77, 62, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #fff8f0 0, #fff 100%);
  background-size: 64px 64px, 64px 64px, auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 3.2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 1.15rem;
  font-size: 4.45rem;
  font-weight: 900;
  line-height: 0.97;
}

h2 {
  max-width: 900px;
  margin-bottom: 0.9rem;
  font-size: 3.05rem;
  font-weight: 900;
  line-height: 1.03;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.22;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.lead-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(170px, 0.82fr);
  gap: 0.65rem;
  max-width: 620px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.field {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 45px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper-soft);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}

.field input {
  padding: 0 0.85rem;
}

.field select {
  padding: 0 0.75rem;
}

.field input::placeholder {
  color: #8ca0ad;
}

.btn-submit {
  grid-column: 1 / -1;
  min-height: 52px;
  align-self: stretch;
  padding-inline: 1.3rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.65rem 0 1rem;
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.store-downloads {
  display: grid;
  gap: 0.65rem;
  margin: 0.2rem 0 1.15rem;
}

.store-downloads > span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.store-downloads-center {
  justify-items: center;
  margin: 1.2rem 0 0.4rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.store-badge {
  display: grid;
  min-width: 154px;
  min-height: 52px;
  justify-content: start;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(27, 77, 62, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #17120d, #1b4d3e);
  box-shadow: 0 12px 28px rgba(23, 18, 13, 0.16);
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.05;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 750;
}

.store-badge strong {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-proof span,
.check-list span,
.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 122, 0, 0.18);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(223, 249, 239, 0.72);
  font-size: 0.86rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27, 77, 62, 0.16);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-video-stage {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background:
    linear-gradient(135deg, rgba(27, 77, 62, 0.14), rgba(255, 122, 0, 0.08)),
    #fff8f0;
}

.landing-video {
  display: block;
  width: 100%;
  height: auto;
  background: #fff8f0;
}

.hero-video {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.25rem;
  max-width: 440px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(18, 54, 41, 0.78);
  box-shadow: 0 18px 46px rgba(18, 54, 41, 0.28);
  backdrop-filter: blur(16px);
}

.hero-video-overlay span,
.video-card-body span {
  color: #ffe0bd;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-video-overlay strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-video-overlay small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.hero-video-stats {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.hero-video-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(27, 77, 62, 0.12);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-video-stats strong {
  color: var(--green-deep);
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #a8bfd0;
}

.window-topbar span:first-child {
  background: #ff7777;
}

.window-topbar span:nth-child(2) {
  background: var(--gold);
}

.window-topbar span:nth-child(3) {
  background: var(--green);
}

.window-topbar strong {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-preview {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 575px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.08), transparent 45%),
    var(--paper-soft);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1rem 0.8rem;
  border-right: 1px solid var(--line);
  background: #fff;
}

.preview-sidebar span {
  padding: 0.58rem 0.65rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.preview-sidebar .active {
  color: #fff;
  background: var(--blue);
}

.valuation-panel {
  min-width: 0;
  padding: 1rem 1rem 9.5rem;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.panel-heading span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 850;
}

.panel-heading strong {
  color: var(--green-deep);
  font-size: 0.92rem;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.score-grid div,
.pipeline-card,
.ticket-list article,
.floating-card,
.benefit-card,
.module-card,
.workflow-preview,
.founder-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.score-grid div {
  padding: 1rem;
}

.score-grid span {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.score-grid small {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 800;
}

.pipeline-card {
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.pipeline-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pipeline-title span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.pipeline-title strong {
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1;
}

.bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.65rem;
  height: 150px;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.bars span {
  display: block;
  height: var(--h);
  min-height: 32px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.ticket-list {
  display: grid;
  gap: 0.75rem;
}

.ticket-list article {
  padding: 0.95rem;
}

.ticket-list strong,
.ticket-list small {
  display: block;
}

.ticket-list strong {
  margin-top: 0.4rem;
  color: var(--ink);
}

.ticket-list small {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.status-pill-orange {
  color: var(--green-deep);
  background: var(--mint);
}

.status-pill-blue {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.floating-card {
  position: absolute;
  width: 245px;
  padding: 1rem;
}

.floating-card span,
.module-card span,
.benefit-card span,
.workflow-header span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card small {
  margin-top: 0.45rem;
  color: var(--muted);
}

.owner-card {
  right: 1rem;
  bottom: 1rem;
}

.ai-card {
  right: 2.2rem;
  bottom: 7.75rem;
  border-color: rgba(255, 122, 0, 0.28);
  background: linear-gradient(180deg, #fff, #fff8f0);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 1.2rem;
  margin-bottom: 5.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.trust-strip div {
  min-height: 132px;
  padding: 1.2rem;
  background: #fff;
}

.trust-strip strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

.trust-strip span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 750;
}

.video-section {
  padding: 5.2rem 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.93fr 0.93fr;
  gap: 1rem;
  align-items: stretch;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 77, 62, 0.32);
  box-shadow: var(--shadow-md);
}

.video-card-featured {
  background:
    linear-gradient(180deg, #fff, #fff8f0),
    #fff;
}

.video-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff8f0;
}

.video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.video-media .landing-video {
  height: 100%;
  object-fit: cover;
}

.video-card-body {
  padding: 1.1rem;
}

.video-card-body span {
  color: var(--green-deep);
}

.video-card-body h3 {
  margin-bottom: 0.55rem;
}

.video-card-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.platform-section,
.modules-section,
.final-cta {
  padding: 5.2rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-card {
  min-height: 265px;
  padding: 1.35rem;
}

.benefit-card span {
  color: var(--green-deep);
}

.benefit-card p,
.module-card p,
.tools-copy p,
.workflow-copy p,
.enterprise-copy p,
.founder-card p {
  color: var(--ink-soft);
}

.tools-section {
  padding: 5.2rem 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(27, 77, 62, 0.06)),
    #f7fbff;
}

.tools-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: start;
}

.tools-copy {
  position: sticky;
  top: 110px;
}

.tool-stack {
  display: grid;
  gap: 0.9rem;
}

.tool-stack article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tool-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
}

.tool-stack p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.module-card {
  min-height: 215px;
  padding: 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 77, 62, 0.32);
  box-shadow: var(--shadow-md);
}

.module-card-strong {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 54%, var(--green));
  box-shadow: 0 18px 44px rgba(27, 77, 62, 0.22);
}

.module-card-strong span,
.module-card-strong h3,
.module-card-strong p {
  color: #fff;
}

.module-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.workflow-section {
  padding: 5.2rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.22), transparent 42%),
    linear-gradient(145deg, #111814, var(--blue-deep) 58%, #07395e);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
}

.workflow-section h2,
.workflow-section h3 {
  color: #fff;
}

.workflow-section .eyebrow {
  color: #8ef1d0;
}

.workflow-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.workflow-preview {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.workflow-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.workflow-header span {
  color: #8ef1d0;
  margin-bottom: 0;
}

.workflow-header strong {
  color: #fff;
}

.workflow-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  padding: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-steps li:last-child {
  border-bottom: 0;
}

.workflow-steps span {
  display: grid;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--blue-deep);
  background: #fff;
  font-weight: 900;
}

.workflow-steps strong,
.workflow-steps small {
  display: block;
  grid-column: 2;
}

.workflow-steps strong {
  color: #fff;
}

.workflow-steps small {
  color: rgba(255, 255, 255, 0.68);
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.enterprise-section {
  padding: 5.2rem 0;
  background:
    linear-gradient(180deg, #fff, #f7fbff);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1rem;
  align-items: stretch;
}

.enterprise-copy {
  min-height: 430px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 1.2rem;
  padding: 1rem;
}

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

.founder-card-compact {
  grid-template-columns: 1fr;
  align-content: start;
}

.founder-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: var(--paper-blue);
}

.founder-card-compact img {
  height: 270px;
  min-height: 270px;
}

.founder-card > div {
  align-self: center;
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.founder-card-compact > div {
  align-self: start;
  padding: 0.25rem;
}

.founder-kicker {
  margin-bottom: 0.35rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.founder-card h3 {
  margin-bottom: 0.75rem;
  font-size: 2.15rem;
}

.founder-card-compact h3 {
  min-height: 2.7em;
  font-size: 1.72rem;
}

.founder-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 0.3rem;
  color: var(--blue);
  font-weight: 900;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.final-cta .cta-row {
  justify-content: center;
  margin-top: 1.4rem;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #f7fbff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

/* Legal pages (privacy policy, terms) */
.legal-page {
  background: #f4f6fa;
}

.legal-header {
  justify-content: space-between;
}

.legal-main {
  padding: 2.5rem 0 4rem;
}

.legal-document {
  max-width: 820px;
  padding: 2.4rem 2.2rem 3rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.legal-hero h1 {
  margin: 0.4rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--blue-deep);
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-meta code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: var(--paper-soft);
  font-size: 0.85em;
}

.legal-toc {
  margin: 2rem 0 2.4rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.legal-toc h2 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
}

.legal-toc a {
  color: var(--blue);
  font-weight: 700;
}

.legal-document section {
  margin-top: 2rem;
}

.legal-document h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-deep);
}

.legal-document h3 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
}

.legal-document ul {
  padding-left: 1.2rem;
}

.legal-document a {
  color: var(--blue);
  font-weight: 700;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--paper-soft);
  color: var(--ink);
  font-weight: 800;
}

.legal-table td {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .legal-document {
    padding: 1.6rem 1.2rem 2.2rem;
  }

  .legal-toc ol {
    columns: 1;
  }

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

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

/* Portal refresh inspired by high-volume property search pages. */
.portal-header {
  min-height: 72px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.portal-header .brand-mark {
  background: var(--green);
  box-shadow: 0 10px 24px rgba(227, 59, 74, 0.26);
}

.portal-header .brand em {
  color: var(--blue);
}

.portal-header .nav {
  justify-content: flex-start;
  margin-left: 1.6rem;
}

.portal-header .nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #293341;
}

.portal-header .btn-primary {
  background: var(--green);
  box-shadow: 0 14px 26px rgba(227, 59, 74, 0.25);
}

.portal-hero {
  padding: 4.3rem 0 2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(227, 59, 74, 0.96), rgba(181, 30, 50, 0.92) 38%, rgba(12, 47, 43, 0.96)),
    #b51e32;
}

.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.38;
}

.portal-hero-shell {
  position: relative;
  z-index: 1;
}

.portal-hero-copy {
  max-width: 960px;
  margin: 0 auto 1.65rem;
  text-align: center;
}

.portal-hero h1,
.portal-hero h2,
.portal-hero h3 {
  color: #fff;
}

.portal-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.portal-hero h1 {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  line-height: 0.95;
}

.portal-hero .hero-lead {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
}

.portal-search-panel {
  max-width: 930px;
  margin: 0 auto 2rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(5, 12, 22, 0.26);
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.72rem;
}

.portal-tabs a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink-soft);
  background: #f1f4f8;
  font-weight: 900;
}

.portal-tabs a.active,
.portal-tabs a:hover {
  color: #fff;
  background: var(--green);
}

.portal-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 0.65rem;
  align-items: end;
}

.portal-search-field {
  display: grid;
  gap: 0.35rem;
}

.portal-search-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.portal-search-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 850;
}

.portal-search-button {
  min-height: 58px;
  background: var(--green);
  box-shadow: none;
}

.portal-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.72rem;
}

.portal-filter-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  color: #344054;
  background: #f8fafc;
  font-size: 0.82rem;
  font-weight: 850;
}

.portal-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(460px, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.demo-card,
.portal-video-card .product-window {
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(5, 12, 22, 0.22);
}

.demo-card {
  display: grid;
  align-content: start;
  padding: 1.05rem;
  color: var(--ink);
  background: #fff;
}

.demo-card-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.demo-card-heading span {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-card-heading strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.demo-card .lead-form {
  grid-template-columns: 1fr;
  max-width: none;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.demo-card .field input,
.demo-card .field select {
  background: #f5f7fb;
}

.demo-card .hero-proof {
  margin-top: 0.4rem;
}

.portal-video-card .product-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.portal-video-card .hero-video-stage,
.portal-video-card .hero-video {
  min-height: 420px;
}

.portal-strip {
  margin-top: -0.4rem;
  margin-bottom: 1rem;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.portal-strip strong {
  color: var(--green-deep);
  font-size: 1.85rem;
}

.portal-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4.6rem;
}

.portal-action-grid article {
  display: grid;
  min-height: 215px;
  align-content: start;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.portal-action-grid span {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-action-grid h3 {
  margin-top: 0.5rem;
}

.portal-action-grid p {
  color: var(--ink-soft);
}

.portal-action-grid a {
  align-self: end;
  color: var(--blue);
  font-weight: 950;
}

.video-section,
.platform-section,
.modules-section,
.enterprise-section {
  background: #fff;
}

.section-heading {
  display: grid;
  gap: 0.3rem;
}

.section-heading .eyebrow {
  color: var(--green-deep);
}

.benefit-card,
.module-card,
.video-card,
.tool-stack article,
.enterprise-copy,
.founder-card,
.workflow-preview {
  border-radius: 10px;
}

.benefit-card,
.module-card {
  border-top: 4px solid rgba(227, 59, 74, 0.82);
}

.module-card-strong {
  border-top-color: transparent;
  background: linear-gradient(135deg, #0b2f2b, #134b42 58%, #e33b4a);
}

.tools-section {
  background:
    linear-gradient(180deg, #f5f7fb, #eef4f4);
}

.workflow-section {
  background:
    linear-gradient(135deg, #0b2f2b, #173d50 58%, #b51e32);
}

.final-cta {
  margin-block: 4.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(227, 59, 74, 0.08), rgba(19, 75, 66, 0.08)),
    #fff;
  box-shadow: var(--shadow-md);
}

.site-footer {
  background: #17202c;
}

.site-footer,
.site-footer .footer-inner p,
.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand strong,
.site-footer .brand em {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.55rem;
  }

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

  .hero-visual {
    max-width: 760px;
  }

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

  .tools-copy {
    position: static;
  }

  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    gap: 0.8rem;
    padding-inline: 20px;
  }

  .nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 3rem;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    min-height: 50px;
  }

  .trust-strip,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .dashboard-preview {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-video-stage,
  .hero-video {
    min-height: 390px;
  }

  .hero-video-stats {
    left: 1rem;
    right: auto;
  }

  .preview-sidebar {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .valuation-panel {
    padding-bottom: 1rem;
  }

  .floating-card {
    position: static;
    width: auto;
    margin: 0 1rem 1rem;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

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

  .founder-card img {
    max-height: 360px;
  }

  .founder-card-compact h3 {
    min-height: 0;
  }

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

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .header-actions .btn-light {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-lead,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-grid {
    gap: 1.6rem;
  }

  .trust-strip,
  .benefit-grid,
  .module-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-bottom: 3rem;
  }

  .trust-strip div {
    min-height: 104px;
  }

  .platform-section,
  .modules-section,
  .video-section,
  .tools-section,
  .workflow-section,
  .enterprise-section,
  .final-cta {
    padding: 3.4rem 0;
  }

  .panel-heading,
  .workflow-header {
    display: grid;
  }

  .bars {
    height: 112px;
  }

  .hero-video-stage,
  .hero-video {
    min-height: 310px;
  }

  .hero-video-overlay {
    position: static;
    max-width: none;
    margin: -1px;
    border-radius: 0;
  }

  .hero-video-stats {
    top: 0.7rem;
    left: 0.7rem;
    flex-wrap: wrap;
  }

  .hero-video-stats span {
    min-height: 30px;
    font-size: 0.72rem;
  }
}

@media (max-width: 1040px) {
  .portal-hero-grid {
    grid-template-columns: 1fr;
  }

  .demo-card {
    order: 2;
  }

  .portal-video-card {
    order: 1;
  }

  .portal-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portal-header {
    min-height: auto;
  }

  .portal-hero {
    padding-top: 3rem;
  }

  .portal-tabs,
  .portal-search-row {
    grid-template-columns: 1fr;
  }

  .portal-tabs a {
    min-height: 40px;
  }

  .portal-search-field input {
    min-height: 54px;
    font-size: 0.92rem;
  }

  .portal-search-button {
    width: 100%;
  }

  .portal-hero h1 {
    font-size: 2.55rem;
  }

  .portal-video-card .hero-video-stage,
  .portal-video-card .hero-video {
    min-height: 310px;
  }
}
