:root {
  --paper: #f3f7f6;
  --paper-bright: #ffffff;
  --paper-deep: #dfe9e7;
  --ink: #0d2931;
  --ink-soft: #28434a;
  --night: #071f27;
  --night-soft: #10313a;
  --acid: #48b8a8;
  --acid-soft: #b9e5df;
  --terracotta: #ec7f5d;
  --sage: #708b88;
  --line: rgba(13, 41, 49, 0.16);
  --line-dark: rgba(245, 250, 249, 0.16);
  --shadow: 0 24px 80px rgba(7, 31, 39, 0.16);
  --display: "Mark", "Mark Pro", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --sans: "Mark", "Mark Pro", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font: 400 16px/1.6 var(--sans);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  transform: translateY(-140%);
  border: 1px solid var(--ink);
  padding: 12px 16px;
  background: var(--paper-bright);
  color: var(--ink);
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section-shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.launch-ribbon {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 20px;
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 12px;
  font-weight: 700;
}

.launch-ribbon p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.launch-ribbon a {
  border-bottom: 1px solid currentColor;
  color: var(--acid);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(72, 184, 168, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(243, 247, 246, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, background 220ms ease;
}

.site-header.is-elevated,
.site-header.is-menu-open {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-shell {
  width: min(1280px, calc(100% - 64px));
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.brand {
  width: max-content;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.brand img {
  width: 220px;
  height: auto;
  display: block;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  display: block;
  background: var(--ink);
}

.nav-toggle span + span {
  margin-top: -12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

.nav-links .login-link {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.nav-links .nav-cta {
  min-height: 48px;
  border: 1px solid var(--ink);
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper-bright);
}

.nav-links .nav-cta::after {
  display: none;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  padding: 0 24px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.button-acid {
  background: var(--acid);
  box-shadow: 7px 7px 0 var(--ink);
}

.button-acid:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.button-ink {
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: 5px 5px 0 var(--terracotta);
}

.button-outline {
  background: rgba(255, 255, 255, 0.55);
}

.button-light,
.button-outline-light {
  border-color: var(--paper-bright);
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--terracotta);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 54px 0 0;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 82% 42%, transparent 0 15%, rgba(72, 184, 168, 0.12) 15.2% 15.45%, transparent 15.7% 23%, rgba(13, 41, 49, 0.07) 23.2% 23.45%, transparent 23.7% 31%),
    linear-gradient(124deg, transparent 0 64%, rgba(72, 184, 168, 0.055) 64% 71%, transparent 71%),
    radial-gradient(circle at 12% 18%, rgba(13, 41, 49, 0.045), transparent 28%);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero-orbit-one {
  top: 260px;
  right: 12%;
  width: 76px;
  height: 20px;
  border: 1px solid rgba(72, 184, 168, 0.65);
  border-radius: 999px;
  background: rgba(72, 184, 168, 0.06);
  transform: rotate(-24deg);
}

.hero-orbit-two {
  top: 190px;
  right: 7%;
  width: 16px;
  height: 16px;
  border: 1px solid var(--terracotta);
  background: rgba(236, 127, 93, 0.1);
  transform: rotate(45deg);
}

.hero-inner {
  display: grid;
  gap: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #626c69;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--terracotta);
}

.eyebrow-light {
  color: #c6d5d1;
}

.hero h1,
.section-heading h2,
.product-copy h2,
.flow-copy h2,
.proposal-inner h2,
.footer-hero h2,
.faq-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero h1 {
  max-width: 1120px;
  font-size: clamp(50px, 7vw, 92px);
}

.hero-support {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  align-items: end;
  gap: 60px;
  margin-top: 24px;
}

.hero-support > p {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.proposal-actions,
.configuration-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-proof {
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-proof p {
  margin: 0;
  color: #57635f;
  font-size: 13px;
}

.hero-proof strong {
  color: var(--ink);
}

.proof-stack {
  display: flex;
  flex-shrink: 0;
}

.proof-stack span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-left: -9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 11px;
  font-weight: 900;
}

.proof-stack span:first-child {
  margin-left: 0;
}

.proof-stack span:nth-child(2) {
  background: var(--terracotta);
}

.proof-stack span:last-child {
  background: var(--sage);
}

.dashboard-wrap {
  position: relative;
  padding: 0 22px;
}

.product-dashboard {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 226, 0.12);
  background: var(--night);
  color: #f4f0e2;
  box-shadow: 0 38px 100px rgba(7, 31, 39, 0.28), 0 0 0 1px rgba(13, 41, 49, 0.5);
}

.dashboard-wrap::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 12%;
  bottom: -18px;
  z-index: -1;
  height: 74%;
  background: var(--terracotta);
}

.dashboard-wrap::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -38px;
  z-index: -2;
  width: 58%;
  height: 55%;
  background: var(--acid);
}

.dashboard-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  padding: 13px 16px;
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.dashboard-note-top {
  top: -35px;
  right: 8%;
}

.note-icon {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  font-size: 10px;
  font-weight: 900;
}

.dashboard-note div {
  display: grid;
  gap: 3px;
}

.dashboard-note strong {
  font-size: 12px;
}

.dashboard-note small {
  color: #5c6b67;
  font-size: 10px;
}

.dashboard-topbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line-dark);
}

.dashboard-brand,
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-brand-mark,
.mini-brand-mark {
  width: 26px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(245, 250, 249, 0.4);
  background: var(--acid);
  color: var(--night);
}

.dashboard-brand-mark::after,
.mini-brand-mark::after {
  content: "DM";
  font-size: 7px;
  font-weight: 900;
}

.dashboard-search {
  width: min(470px, 100%);
  justify-self: center;
  border: 1px solid var(--line-dark);
  padding: 11px 14px;
  color: #a6b1ad;
  font-size: 11px;
}

.dashboard-user {
  justify-self: end;
  color: #bfc3b6;
  font-size: 11px;
}

.currency-chip {
  border: 1px solid rgba(72, 184, 168, 0.4);
  padding: 6px 8px;
  background: rgba(72, 184, 168, 0.1);
  color: #84d9cd;
  font-size: 10px;
  font-weight: 900;
}

.user-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-weight: 900;
}

.module-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-dark);
}

.module-switcher button {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  color: #a1aaa6;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.module-switcher button:last-child {
  border-right: 0;
}

.module-switcher button span {
  color: #6e7874;
  font-size: 10px;
}

.module-switcher button::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 3px;
  background: var(--acid);
  transition: left 180ms ease, right 180ms ease;
}

.module-switcher button:hover,
.module-switcher button.is-active {
  background: rgba(255, 255, 255, 0.025);
  color: #f4f0e2;
}

.module-switcher button.is-active::after {
  left: 0;
  right: 0;
}

.dashboard-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  border-right: 1px solid var(--line-dark);
}

.dashboard-sidebar p {
  margin: 0 0 14px;
  padding: 0 10px;
  color: #7f8985;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-sidebar button {
  min-height: 44px;
  border: 0;
  padding: 12px 10px;
  background: transparent;
  color: #a1aaa6;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}

.dashboard-sidebar button:hover,
.dashboard-sidebar button.is-current {
  background: rgba(72, 184, 168, 0.1);
  color: #f4f0e2;
}

.sidebar-help {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  border: 1px solid var(--line-dark);
  padding: 12px;
}

.sidebar-help > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.sidebar-help strong {
  display: block;
  font-size: 10px;
}

.sidebar-help small {
  color: #9ba5a1;
  font-size: 9px;
}

.dashboard-main {
  min-width: 0;
  padding: 34px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-heading p {
  margin: 0 0 7px;
  color: #9aa5a1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.dashboard-heading > button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: #b9c4c0;
  cursor: pointer;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(210px, 0.8fr);
  gap: 14px;
}

.dashboard-grid article {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
}

.metric-panel-large {
  grid-row: span 2;
  min-height: 348px;
  padding: 24px;
}

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

.metric-panel-head span {
  color: #a4afab;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-panel-head strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.metric-change {
  border: 1px solid rgba(72, 184, 168, 0.28);
  padding: 6px 8px;
  background: rgba(72, 184, 168, 0.1);
  color: var(--acid) !important;
}

.bar-chart {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: clamp(5px, 1.2vw, 12px);
  margin-top: 29px;
  border-bottom: 1px solid var(--line-dark);
  background-image: linear-gradient(to top, transparent 24%, var(--line-dark) 25%, transparent 26%, transparent 49%, var(--line-dark) 50%, transparent 51%, transparent 74%, var(--line-dark) 75%, transparent 76%);
}

.bar-chart span {
  width: 100%;
  height: var(--bar-height);
  min-height: 6px;
  display: block;
  background: linear-gradient(to top, rgba(72, 184, 168, 0.12), var(--acid));
  animation: grow-bar 520ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes grow-bar {
  from { height: 0; }
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  color: #929c98;
  font-size: 10px;
  text-transform: uppercase;
}

.intelligence-panel,
.mini-metric {
  padding: 22px;
}

.intelligence-panel {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(140deg, rgba(72, 184, 168, 0.12), rgba(236, 127, 93, 0.08)) !important;
}

.intelligence-title {
  color: var(--acid);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intelligence-panel p {
  margin: 18px 0 22px;
  font-size: 22px;
  line-height: 1.2;
}

.intelligence-panel a {
  width: max-content;
  margin-top: auto;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
}

.mini-metric {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.mini-metric > span {
  color: #a4afab;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-metric strong {
  font-size: 28px;
  line-height: 1;
}

.mini-metric small {
  color: #a4afab;
  font-size: 11px;
}

.company-strip {
  padding: 96px 0 84px;
}

.company-strip-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

.company-strip-inner > p {
  margin: 0;
  color: #596662;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-track {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.logo-track span {
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.section {
  padding: 128px 0;
}

.ownership-section,
.product-section,
.commercial-section {
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.module-section,
.deployment-section {
  background: var(--night);
  color: var(--paper-bright);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

.section-heading h2,
.product-copy h2,
.flow-copy h2,
.faq-heading h2,
.proposal-inner h2,
.footer-hero h2 {
  font-size: clamp(44px, 6vw, 92px);
}

.section-heading > p:last-child,
.product-copy > p,
.flow-copy > p,
.faq-heading > p {
  margin: 0;
  color: #5b6965;
  font-size: 16px;
  line-height: 1.65;
}

.module-section .section-heading > p,
.deployment-section .flow-copy > p {
  color: #b8c7c3;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 10px 10px 0 var(--ink);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 24px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:last-child {
  background: rgba(72, 184, 168, 0.1);
}

.foundation-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line-dark);
  padding: 26px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.foundation-icon,
.module-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(72, 184, 168, 0.45);
  background: rgba(72, 184, 168, 0.12);
  color: var(--acid);
}

.foundation-bar span,
.panel-label,
.module-number {
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foundation-bar h3,
.foundation-bar p {
  margin: 0;
}

.foundation-bar h3 {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.25;
}

.foundation-bar p {
  color: #b8c7c3;
  font-size: 13px;
}

.module-builder {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.configuration-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line-dark);
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.configuration-panel h3 {
  margin: 14px 0 8px;
  font-size: 30px;
  line-height: 1.08;
}

.configuration-panel > p {
  color: #b8c7c3;
}

.preset-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 24px 0;
}

.preset-buttons button,
.text-button {
  min-height: 44px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--paper-bright);
  cursor: pointer;
  font-weight: 900;
}

.preset-buttons button.is-active {
  background: var(--acid);
  color: var(--ink);
}

.dependency-note {
  font-size: 13px;
}

.configuration-actions {
  margin-top: 24px;
}

.text-button {
  padding: 0 14px;
}

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

.module-card {
  min-height: 260px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  border: 1px solid var(--line-dark);
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper-bright);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(72, 184, 168, 0.65);
}

.module-card[aria-pressed="true"] {
  background: rgba(72, 184, 168, 0.12);
}

.module-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.module-card small {
  color: #c2d0cc;
  font-size: 13px;
  line-height: 1.55;
}

.module-toggle {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-dark);
  padding-top: 12px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
}

.module-toggle i {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
}

.module-card[aria-pressed="true"] .module-toggle i {
  background: currentColor;
  box-shadow: inset 0 0 0 4px var(--night);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: center;
}

.product-copy h2 {
  margin-bottom: 24px;
}

.product-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  border: 1px solid var(--line);
  padding: 6px;
  background: var(--paper);
}

.product-tabs button {
  min-height: 44px;
  border: 0;
  padding: 0 18px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.product-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper-bright);
}

.product-window {
  position: relative;
  border: 14px solid var(--night);
  background: var(--night);
  box-shadow: var(--shadow);
  overflow: visible;
}

.product-window figure {
  position: relative;
  margin: 0;
}

.product-window img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper);
}

.screenshot-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 41, 49, 0.14);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(13, 41, 49, 0.14);
}

.mini-brand-mark {
  width: 24px;
  height: 20px;
  background: var(--acid);
}

.product-window figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  background: rgba(13, 41, 49, 0.86);
  color: var(--paper-bright);
  font-size: 12px;
  font-weight: 900;
}

.flow-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 74px;
  align-items: center;
}

.flow-copy h2 {
  margin-bottom: 24px;
}

.flow-copy .button {
  margin-top: 26px;
}

.flow-diagram {
  border: 1px solid var(--line-dark);
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.flow-step {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line-dark);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.flow-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.flow-step small {
  color: var(--acid);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.flow-step strong,
.flow-step p {
  display: block;
  margin: 4px 0 0;
}

.flow-step p {
  color: #b8c7c3;
  font-size: 13px;
}

.flow-connector {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 18px 0;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-connector i {
  width: 1px;
  height: 18px;
  background: var(--line-dark);
}

.flow-results {
  display: grid;
  gap: 12px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 10px 10px 0 var(--ink);
}

.promise-grid article {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.promise-grid article:last-child {
  border-right: 0;
}

.promise-value {
  display: block;
  color: var(--terracotta);
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.promise-grid h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.promise-grid p {
  margin: 0;
  color: #5b6965;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-heading p a {
  border-bottom: 1px solid currentColor;
  color: var(--terracotta);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 900;
}

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

.faq-list summary span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.faq-list details[open] summary span {
  background: var(--acid);
  color: var(--ink);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: #5b6965;
}

.proposal-section {
  padding: 120px 0;
  background: var(--night);
  color: var(--paper-bright);
}

.proposal-inner {
  text-align: center;
}

.proposal-inner .eyebrow {
  justify-content: center;
}

.proposal-inner h2 {
  max-width: 960px;
  margin: 0 auto;
}

.proposal-summary {
  max-width: 760px;
  margin: 30px auto 0;
  color: #c6d5d1;
  font-size: 18px;
}

.proposal-actions {
  justify-content: center;
  margin-top: 34px;
}

.proposal-note {
  max-width: 760px;
  margin: 24px auto 0;
  color: #9fb0ab;
  font-size: 12px;
}

.site-footer {
  padding: 96px 0 32px;
  background: var(--ink);
  color: var(--paper-bright);
}

.footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-hero .brand {
  grid-column: 1 / -1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  color: #bdcbc7;
  font-size: 13px;
}

.footer-bottom p {
  max-width: 560px;
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-bottom a {
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

@media (max-width: 1120px) {
  .nav-toggle {
    display: grid;
  }

  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-links {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--ink);
    padding: 12px;
    background: var(--paper-bright);
    box-shadow: 8px 8px 0 var(--ink);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 48px;
    padding: 0 12px;
  }

  .nav-links .login-link {
    border-left: 0;
    padding-left: 12px;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero-support,
  .section-heading,
  .product-layout,
  .flow-layout,
  .faq-layout,
  .footer-hero {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .module-builder {
    grid-template-columns: 1fr;
  }

  .configuration-panel {
    position: static;
  }

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

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

  .promise-grid article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 32px, 1280px);
  }

  .launch-ribbon {
    text-align: center;
  }

  .brand {
    min-height: 48px;
  }

  .brand img {
    width: 208px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 0.98;
  }

  .hero-support {
    gap: 20px;
    margin-top: 22px;
  }

  .hero-actions,
  .proposal-actions,
  .configuration-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .dashboard-wrap {
    padding: 0;
  }

  .dashboard-note {
    display: none;
  }

  .dashboard-topbar,
  .dashboard-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar {
    gap: 12px;
    padding: 18px;
  }

  .dashboard-search,
  .dashboard-user {
    justify-self: stretch;
  }

  .dashboard-sidebar {
    display: none;
  }

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

  .dashboard-main {
    padding: 20px;
  }

  .company-strip {
    padding: 72px 0 56px;
  }

  .company-strip-inner,
  .foundation-bar {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 44px;
  }

  .section-heading h2,
  .product-copy h2,
  .flow-copy h2,
  .faq-heading h2,
  .proposal-inner h2,
  .footer-hero h2 {
    font-size: clamp(38px, 12vw, 58px);
    line-height: 1;
  }

  .module-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-grid article:last-child {
    border-bottom: 0;
  }

  .product-window {
    border-width: 8px;
  }

  .screenshot-logo {
    top: 10px;
    right: 10px;
    font-size: 11px;
  }

  .product-window figcaption {
    position: static;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .module-switcher {
    grid-template-columns: 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 18px;
  }

  .hero h1 {
    font-size: 43px;
  }
}
