:root {
  --ink: #10131d;
  --ink-soft: #283041;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #dbe3ea;
  --teal: #1c9a92;
  --teal-dark: #10736e;
  --green: #6aaa3b;
  --coral: #e9634f;
  --gold: #d49b31;
  --claim-primary: #f97316;
  --policy-primary: #8b5cf6;
  --ledger-primary: #10b981;
  --shadow: 0 22px 70px rgba(16, 19, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

.site-header {
  align-items: center;
  background: rgba(247, 249, 251, 0.86);
  border-bottom: 1px solid rgba(219, 227, 234, 0.72);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 160ms ease, box-shadow 160ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px rgba(16, 19, 29, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand-icon {
  border-radius: 8px;
  height: 34px;
  width: 34px;
}

.brand-mark {
  align-items: end;
  background: var(--ink);
  border-radius: 8px;
  display: inline-grid;
  gap: 2px;
  grid-template-columns: repeat(3, 1fr);
  height: 34px;
  padding: 7px;
  width: 34px;
}

.brand-mark span {
  background: var(--white);
  border-radius: 2px;
}

.brand-mark span:nth-child(1) {
  height: 9px;
}

.brand-mark span:nth-child(2) {
  background: var(--teal);
  height: 18px;
}

.brand-mark span:nth-child(3) {
  background: var(--coral);
  height: 13px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.5vw, 34px);
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.menu-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.menu-toggle svg {
  height: 23px;
  width: 23px;
}

.menu-toggle path,
.product-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  background: #dde8ea;
  isolation: isolate;
  min-height: 92vh;
  overflow: hidden;
  padding: 132px clamp(18px, 4vw, 56px) 88px;
  position: relative;
}

.hero-media {
  background: var(--ink);
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.hero-image {
  position: absolute;
}

.hero-image-product {
  filter: saturate(1.04) contrast(1.02);
  height: 100%;
  inset: 0;
  max-width: none;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.9;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.92) 36%, rgba(247, 249, 251, 0.46) 66%, rgba(247, 249, 251, 0.12) 100%),
    linear-gradient(180deg, rgba(247, 249, 251, 0.32) 0%, rgba(247, 249, 251, 0.12) 58%, rgba(247, 249, 251, 0.94) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  max-width: 690px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.label {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 7.6rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  max-width: 780px;
}

.hero-copy {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  margin: 28px 0 0;
  max-width: 630px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(16, 19, 29, 0.18);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.product-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-strip article {
  min-height: 176px;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 5vw, 64px);
}

.product-strip article:first-child {
  border-right: 1px solid var(--line);
}

.product-strip article:nth-child(2) {
  border-right: 1px solid var(--line);
}

.product-number,
.product-status {
  color: var(--coral);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.status-live {
  color: var(--teal-dark);
}

.status-soon {
  color: var(--gold);
}

.product-strip h2,
.product-strip p {
  margin: 0;
}

.product-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.product-strip p {
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 620px;
}

.section {
  padding: clamp(72px, 10vw, 126px) clamp(18px, 4vw, 56px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 790px;
}

.section h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.section-heading p,
.platform-layout p,
.contact-copy p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  margin: 0;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 480px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.product-card::after {
  bottom: 0;
  content: "";
  height: 9px;
  left: 0;
  position: absolute;
  right: 0;
}

.claim-card::after {
  background: var(--claim-primary);
}

.policy-card::after {
  background: var(--policy-primary);
}

.ledger-card::after {
  background: var(--ledger-primary);
}

.product-card-head {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.product-icon {
  align-items: center;
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.claim-card .product-icon {
  background: var(--teal-dark);
}

.policy-card .product-icon {
  background: var(--coral);
}

.ledger-card .product-icon {
  background: var(--green);
}

.product-card .product-icon-image {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.product-icon-image img {
  height: 58px;
  width: 58px;
}

.product-icon svg {
  height: 30px;
  width: 30px;
}

.product-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.product-card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
}

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

.feature-list li {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  padding-top: 16px;
}

.feature-list li::before {
  background: var(--green);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 9px;
  margin-right: 10px;
  width: 9px;
}

.screens-section {
  background: #eef4f3;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.screen-showcase {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.08fr);
}

.screen-copy {
  max-width: 530px;
}

.screen-copy h3 {
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.screen-copy p {
  color: var(--ink-soft);
  margin: 20px 0 0;
}

.preview-switch {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  padding: 6px;
  width: fit-content;
}

.preview-switch button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 12px;
}

.preview-switch button:hover,
.preview-switch button:focus-visible {
  color: var(--teal-dark);
}

.preview-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.screen-frame {
  background: var(--ink);
  border: 1px solid rgba(16, 19, 29, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.screen-frame img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}

.screen-frame figcaption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 13px 16px;
}

.platform-band {
  background: var(--ink);
  color: var(--white);
}

.platform-band .section-kicker,
.platform-band p {
  color: rgba(255, 255, 255, 0.74);
}

.platform-layout {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.platform-layout h2 {
  max-width: 720px;
}

.platform-layout p {
  margin-top: 24px;
  max-width: 620px;
}

.workflow {
  display: grid;
  gap: 12px;
}

.workflow div {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 92px;
  padding: 20px;
}

.workflow span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.outcome-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.outcome-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 235px;
  padding: 30px;
}

.outcome-grid h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.outcome-grid p {
  color: var(--ink-soft);
  margin: 0;
}

.contact-section {
  align-items: start;
  background: linear-gradient(180deg, #eef4f3 0%, #f7f9fb 100%);
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(34px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.78fr);
}

.contact-copy {
  max-width: 720px;
}

.contact-copy p {
  margin-top: 22px;
}

.contact-email {
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 900;
  margin-top: 22px;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--ink);
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 34px);
}

.contact-panel .contact-email {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
  margin-top: 0;
}

.contact-panel p:not(.label) {
  color: var(--ink-soft);
  margin: 0;
}

.contact-panel .button {
  justify-self: start;
  margin-top: 8px;
}

.form-status {
  color: var(--teal-dark);
  font-weight: 800;
  min-height: 24px;
  margin: 0;
}

.form-status[data-state="pending"] {
  color: var(--ink-soft);
}

.form-status[data-state="error"] {
  color: #b64236;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  font-weight: 900;
}

.site-footer p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.demo-page {
  background: var(--ink);
}

.demo-main {
  background: var(--ink);
}

.demo-gateway {
  min-height: 100vh;
  overflow: hidden;
  padding: 132px clamp(18px, 4vw, 56px) 84px;
  position: relative;
}

.demo-gateway::after {
  background:
    linear-gradient(90deg, rgba(16, 19, 29, 0.94) 0%, rgba(16, 19, 29, 0.84) 46%, rgba(16, 19, 29, 0.46) 100%),
    linear-gradient(180deg, rgba(16, 19, 29, 0.32) 0%, rgba(16, 19, 29, 0.88) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.demo-visual {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.demo-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.demo-shell {
  align-items: start;
  display: grid;
  gap: clamp(34px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.48fr);
  position: relative;
  z-index: 2;
}

.demo-intro {
  color: var(--white);
  max-width: 760px;
  min-width: 0;
}

.demo-intro .eyebrow {
  color: #8be0d9;
}

.demo-intro h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

.demo-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  margin: 24px 0 0;
  max-width: 650px;
}

.demo-assurance {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  max-width: 680px;
}

.demo-assurance div {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  padding: 18px;
}

.demo-assurance span {
  color: var(--gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.demo-assurance strong {
  color: var(--white);
  font-size: 1.08rem;
}

.demo-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.demo-form h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.demo-form label {
  display: grid;
  gap: 8px;
}

.demo-form span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.demo-form input,
.demo-form select {
  background: #fbfcfd;
  border: 1px solid #cfd9e1;
  border-radius: 8px;
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 11px 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.demo-form input:focus,
.demo-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(28, 154, 146, 0.14);
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    gap: 0;
    padding: 8px;
    position: absolute;
    right: 18px;
    top: 62px;
    width: min(270px, calc(100vw - 36px));
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-radius: 6px;
    padding: 13px 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: #eef4f3;
  }

  .hero {
    min-height: 86vh;
    padding-top: 118px;
  }

  .hero-image-product {
    object-position: 64% center;
    opacity: 0.48;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.78) 54%, rgba(247, 249, 251, 0.96) 100%),
      linear-gradient(90deg, rgba(247, 249, 251, 0.96) 0%, rgba(247, 249, 251, 0.42) 100%);
  }

  .product-strip,
  .section-heading,
  .product-grid,
  .screen-showcase,
  .platform-layout,
  .outcome-grid,
  .contact-section,
  .demo-shell,
  .demo-assurance {
    grid-template-columns: 1fr;
  }

  .product-strip article:first-child {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .product-strip article:nth-child(2) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .product-card {
    min-height: auto;
  }

  .screen-copy {
    max-width: none;
  }

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

  .demo-gateway {
    padding-top: 118px;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 66px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 84vh;
    padding-bottom: 62px;
  }

  .hero-image-product {
    object-position: 62% center;
    opacity: 0.38;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.35rem);
    max-width: 9ch;
  }

  .hero-copy {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .product-card-head {
    align-items: start;
  }

  .contact-section {
    gap: 28px;
  }

  .preview-switch {
    display: grid;
    width: 100%;
  }

  .preview-switch button {
    width: 100%;
  }

  .demo-intro h1 {
    font-size: clamp(2.55rem, 11vw, 3.1rem);
    max-width: 11ch;
  }

  .demo-intro p {
    font-size: 1rem;
    max-width: 100%;
  }

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