@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #11120f;
  --ink-2: #2e302a;
  --muted: #6d7067;
  --paper: #ffffff;
  --canvas: #f5f5f1;
  --soft: #ecece6;
  --line: #dcded5;
  --line-dark: rgba(255, 255, 255, 0.14);
  --green: #bdfc7a;
  --green-deep: #215c37;
  --green-soft: #edffe1;
  --amber: #ffd78a;
  --blue: #9fc8ff;
  --violet: #c9b9ff;
  --red: #f2a99b;
  --container: 1240px;
  --reading: 720px;
  --nav-height: 76px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --shadow-sm: 0 8px 24px rgba(17, 18, 15, 0.06);
  --shadow-lg: 0 34px 90px rgba(17, 18, 15, 0.13);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.reading {
  width: min(100%, var(--reading));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.display,
.h1,
.h2,
.h3,
.h4 {
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.display {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 7.2vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.073em;
}

.h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.06;
}

.h4 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.52;
}

.lead + .lead {
  margin-top: 14px;
}

.muted {
  color: var(--muted);
}

.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.marker {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.marker::after {
  position: absolute;
  right: -0.02em;
  bottom: 0.04em;
  left: -0.02em;
  z-index: -1;
  height: 0.22em;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: rotate(-1.5deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
}

.text-link::after {
  content: "↗";
  transition: transform 220ms var(--ease);
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

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

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

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

.btn.black {
  color: white;
  background: var(--ink);
}

.btn.black:hover {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.btn.white {
  color: var(--ink);
  background: white;
  border-color: white;
}

.btn.white:hover {
  background: var(--green);
  border-color: var(--green);
}

.icon-btn {
  width: 44px;
  min-height: 44px;
  padding: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(220, 222, 213, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav .container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: auto;
  height: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.65vw, 28px);
  color: #55584f;
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-links > a:not(.btn) {
  position: relative;
  white-space: nowrap;
}

.nav-links > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links .btn {
  min-height: 42px;
  padding-inline: 17px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  content: "";
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-toggle span {
  margin-block: 4px;
}

.mobile-toggle[aria-expanded="true"]::before {
  transform: translateY(5.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"]::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  display: none;
  overflow-y: auto;
  padding: 28px 24px 40px;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin-inline: auto;
}

.mobile-menu nav > a:not(.btn) {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
}

.mobile-menu .btn {
  margin-top: 20px;
}

.regulatory-bar {
  color: #20251d;
  background: var(--green-soft);
  border-bottom: 1px solid #d4e9c8;
}

.regulatory-bar .container {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 10px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.35;
}

.regulatory-bar a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #45a05d;
  box-shadow: 0 0 0 5px rgba(69, 160, 93, 0.13);
}

.hero {
  position: relative;
  padding: clamp(76px, 9vw, 126px) 0 clamp(86px, 10vw, 140px);
  overflow: clip;
}

.hero::before {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 252, 122, 0.23), rgba(189, 252, 122, 0) 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  align-items: center;
  gap: clamp(50px, 7vw, 96px);
}

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

.hero .display {
  font-size: clamp(3.5rem, 6.7vw, 6.8rem);
}

.hero-mini {
  position: relative;
  padding: clamp(76px, 10vw, 128px) 0 clamp(74px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  overflow: clip;
}

.hero-mini::after {
  position: absolute;
  right: -110px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.hero-mini .lead {
  position: relative;
  z-index: 1;
}

.hero-mini .actions {
  position: relative;
  z-index: 1;
}

.hero-aside {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 36px;
  width: 210px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-aside strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.section {
  padding: clamp(88px, 10vw, 144px) 0;
}

.section.compact {
  padding-block: clamp(68px, 8vw, 104px);
}

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

.section.dark {
  color: white;
  background: var(--ink);
}

.section.dark .eyebrow,
.section.dark .muted,
.section.dark .lead {
  color: #b8bbb1;
}

.section-head {
  max-width: 850px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-inline: auto;
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.feature.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature-copy > p:not(.eyebrow) {
  color: var(--ink-2);
}

.feature-copy {
  min-width: 0;
}

.feature-copy > p + p {
  margin-top: 14px;
}

.feature-list,
.checks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}

.feature-list li::before,
.checks li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green-soft);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 800;
}

.section.dark .feature-list li,
.section.dark .checks li {
  color: #d5d7d0;
}

.shot {
  position: relative;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--canvas);
  box-shadow: var(--shadow-lg);
}

.shot::before {
  position: absolute;
  inset: 12% auto auto -3%;
  z-index: -1;
  width: 44%;
  height: 58%;
  border-radius: 50%;
  background: var(--green);
  content: "";
  filter: blur(80px);
  opacity: 0.18;
}

.shot-frame {
  overflow: hidden;
  border: 1px solid #d7d9d0;
  border-radius: calc(var(--radius-lg) - 4px);
  background: white;
  box-shadow: var(--shadow-sm);
}

.shot img {
  width: 100%;
  height: auto;
}

.shot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shot-label span:last-child {
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
}

.browser-bar {
  display: flex;
  height: 43px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid #e1e2dc;
  background: #fafaf8;
}

.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8cac2;
}

.browser-address {
  width: 42%;
  height: 9px;
  margin-left: 7px;
  border-radius: 99px;
  background: #ebece7;
}

/* Auth */
.auth-shell { display: grid; min-height: 100svh; grid-template-columns: minmax(330px,.88fr) minmax(440px,1.12fr); }

.app-shell {
  display: grid;
  min-height: 460px;
  grid-template-columns: 132px 1fr;
  color: #252720;
  background: #f7f7f4;
  font-size: 12px;
}

.app-sidebar {
  padding: 20px 14px;
  color: #aeb1a8;
  background: #171915;
}

.app-logo {
  margin-bottom: 26px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  padding: 8px;
  border-radius: 8px;
}

.app-nav-item.active {
  color: white;
  background: #2d3029;
}

.app-nav-icon {
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.app-main {
  min-width: 0;
  padding: 23px;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.app-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.app-search {
  width: 40%;
  height: 30px;
  border: 1px solid #dfe0da;
  border-radius: 8px;
  background: white;
}

.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.app-kpi {
  padding: 13px;
  border: 1px solid #e1e2dc;
  border-radius: 11px;
  background: white;
}

.app-kpi b {
  display: block;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.app-kpi span {
  color: #7c7f75;
  font-size: 0.62rem;
}

.app-table {
  overflow: hidden;
  border: 1px solid #e1e2dc;
  border-radius: 11px;
  background: white;
}

.app-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.7fr;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border-bottom: 1px solid #ecece8;
}

.app-row:last-child {
  border-bottom: 0;
}

.app-row.header {
  min-height: 34px;
  color: #85887e;
  background: #fafaf8;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.person {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
}

.avatar {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: 0.58rem;
  font-weight: 700;
}

.ui-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #22603a;
  background: #e2f8df;
  font-size: 0.58rem;
  font-weight: 700;
}

.ui-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #47a765;
  content: "";
}

.ui-status.off {
  color: #8a3f34;
  background: #f9e3df;
}

.ui-status.off::before {
  background: #bf6557;
}

.ui-status.pending {
  color: #725215;
  background: #fff0c7;
}

.ui-status.pending::before {
  background: #c59332;
}

.form-preview {
  display: grid;
  min-height: 460px;
  grid-template-columns: 0.9fr 1.1fr;
}

.form-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  color: white;
  background: #1c201a;
}

.form-cover .mini-brand {
  font-size: 0.75rem;
  font-weight: 800;
}

.form-cover strong {
  max-width: 250px;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.form-cover small {
  color: #b9bdb3;
}

.form-fields {
  padding: 34px;
  background: white;
}

.mock-label {
  display: block;
  margin: 15px 0 6px;
  color: #686b62;
  font-size: 0.64rem;
  font-weight: 600;
}

.mock-input {
  height: 35px;
  border: 1px solid #dfe0da;
  border-radius: 8px;
  background: #fafaf8;
}

.mock-check {
  display: flex;
  gap: 9px;
  margin-top: 18px;
  color: #62655c;
  font-size: 0.64rem;
  line-height: 1.45;
}

.mock-check::before {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1.5px solid #20221e;
  border-radius: 4px;
  content: "";
}

.mock-submit {
  display: grid;
  height: 38px;
  margin-top: 22px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: #161713;
  font-size: 0.68rem;
  font-weight: 700;
}

.event-preview {
  min-height: 460px;
  padding: 30px;
  color: #e5e6e1;
  background: #151713;
}

.event-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.event-head strong {
  display: block;
  margin-bottom: 4px;
  color: white;
  font-size: 1.15rem;
}

.event-id {
  color: #92978b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.event-cell {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.event-cell span {
  display: block;
  margin-bottom: 8px;
  color: #92978b;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-cell b {
  color: white;
  font-size: 0.74rem;
}

.event-hash {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  color: #a9f06c;
  background: #0d0e0c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
  word-break: break-all;
}

.sync-preview {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  color: white;
  background: #171915;
}

.sync-preview::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}

.sync-flow {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.sync-node {
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.sync-node.primary {
  color: #151713;
  background: var(--green);
  border-color: var(--green);
}

.sync-node b,
.sync-node span {
  display: block;
}

.sync-node b {
  font-size: 0.82rem;
}

.sync-node span {
  margin-top: 5px;
  color: inherit;
  font-size: 0.58rem;
  opacity: 0.66;
}

.sync-arrow {
  color: #8f9488;
}

.timeline-preview {
  min-height: 460px;
  padding: 32px;
  background: white;
}

.schema-preview {
  display: grid;
  min-height: 460px;
  grid-template-columns: 0.92fr 1.08fr;
  background: #f7f7f4;
}

.schema-code {
  padding: 28px;
  color: #d8dcd2;
  background: #151713;
  font: 0.68rem/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.schema-code strong {
  display: block;
  margin-bottom: 24px;
  color: white;
  font: 700 0.88rem/1.2 "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

.schema-code .key {
  color: var(--blue);
}

.schema-code .value {
  color: var(--green);
}

.schema-record {
  min-width: 0;
  padding: 28px;
}

.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.record-head .person .avatar {
  width: 36px;
  height: 36px;
  background: var(--green);
}

.record-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.record-field {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1e2dc;
  border-radius: 10px;
  background: white;
}

.record-field span,
.record-field b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-field span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-field b {
  font-size: 0.7rem;
}

.record-section-title {
  margin: 22px 0 10px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.record-tags span {
  padding: 5px 7px;
  border-radius: 999px;
  color: #3c5141;
  background: var(--green-soft);
  font-size: 0.58rem;
  font-weight: 600;
}

.timeline-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e7e1;
}

.timeline-person .avatar {
  width: 38px;
  height: 38px;
  background: var(--violet);
}

.timeline-person b,
.timeline-person span {
  display: block;
}

.timeline-person span {
  color: var(--muted);
  font-size: 0.68rem;
}

.event-line {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 26px 0 0 12px;
  padding-left: 28px;
}

.event-line::before {
  position: absolute;
  top: 9px;
  bottom: 26px;
  left: 4px;
  width: 1px;
  background: #dcded5;
  content: "";
}

.event-line-item {
  position: relative;
  padding: 14px;
  border: 1px solid #e1e2dc;
  border-radius: 12px;
  background: #fafaf8;
}

.event-line-item::before {
  position: absolute;
  top: 18px;
  left: -29px;
  width: 11px;
  height: 11px;
  border: 3px solid white;
  border-radius: 50%;
  background: #66b578;
  box-shadow: 0 0 0 1px #b9bdb3;
  content: "";
}

.event-line-item.optout::before {
  background: #c67566;
}

.event-line-item b {
  display: block;
  font-size: 0.76rem;
}

.event-line-item span {
  color: var(--muted);
  font-size: 0.63rem;
}

.stat-strip {
  border-block: 1px solid var(--line);
  background: var(--canvas);
}

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

.stat-item {
  min-height: 176px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stat-item b {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

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

.cards-2,
.cards-3,
.cards-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.card.soft {
  background: var(--canvas);
}

.card.dark {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card.dark p {
  color: #b7bab1;
}

.card-num {
  display: block;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 14px;
  background: var(--soft);
  font-size: 1.05rem;
}

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

.card-icon.blue {
  background: var(--blue);
}

.card-icon.amber {
  background: var(--amber);
}

.card-icon.violet {
  background: var(--violet);
}

.flow-panel {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
}

.flow-step {
  text-align: center;
}

.flow-step span,
.flow-step b {
  display: block;
}

.flow-step span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.flow-step b {
  font-size: 0.94rem;
}

.flow-arrow {
  color: #a5a89f;
  font-size: 1.4rem;
}

.quote-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(50px, 7vw, 100px);
  padding: clamp(42px, 6vw, 76px);
  border-radius: var(--radius-xl);
  color: white;
  background: var(--ink);
}

.quote-panel blockquote {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 3.45rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.quote-panel p {
  margin: 0;
  color: #c2c5bc;
  font-size: 1.05rem;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.compare > article {
  padding: clamp(34px, 5vw, 58px);
  background: white;
}

.compare > article + article {
  border-left: 1px solid var(--line);
  background: var(--canvas);
}

.compare-label {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-block {
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid #2c2f29;
  border-radius: var(--radius-lg);
  color: #d8dcd2;
  background: #131512;
  box-shadow: var(--shadow-sm);
  font: 0.78rem/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre;
}

.code-key {
  color: var(--blue);
}

.code-value {
  color: var(--green);
}

.code-warn {
  color: var(--amber);
}

.step-list {
  position: relative;
  display: grid;
  max-width: 980px;
  margin-inline: auto;
}

.step-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(28px, 6vw, 78px);
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 0;
}

.step-num {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-content {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 30px;
}

.step-content p {
  margin: 0;
  color: var(--muted);
}

.deliverable {
  align-self: start;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  color: #315d3d;
  background: var(--green-soft);
  font-size: 0.82rem;
}

.deliverable strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.pill {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: white;
  font-size: 0.72rem;
  font-weight: 600;
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 40px;
  padding: clamp(42px, 7vw, 78px);
  border-radius: var(--radius-xl);
  color: white;
  background: var(--ink);
  overflow: hidden;
}

.cta-band::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  filter: blur(90px);
  opacity: 0.21;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.cta-side p {
  margin: 0 0 22px;
  color: #bfc2b9;
}

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

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.price-card.featured {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.price-card.featured .muted,
.price-card.featured .feature-list li {
  color: #c0c3ba;
}

.price-card.featured .feature-list li::before {
  color: var(--ink);
  background: var(--green);
}

.price-card .h3 {
  margin-top: 18px;
  font-size: 2rem;
}

.price-audience {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-setup {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.price-card.featured .price-setup {
  border-color: var(--line-dark);
  color: #aaaea4;
}

.price-setup strong {
  color: inherit;
  font-size: 0.9rem;
}

.price-amount {
  margin: 14px 0 26px;
  font-size: clamp(2.6rem, 4vw, 4.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.price-amount small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-card.featured .price-amount small {
  color: #aaaea4;
}

.price-card .feature-list {
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: white;
}

th,
td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  background: var(--canvas);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

th:not(:first-child),
td:not(:first-child) {
  text-align: center;
}

td {
  color: var(--ink-2);
  font-size: 0.92rem;
}

tr:last-child td {
  border-bottom: 0;
}

.yes {
  color: var(--green-deep);
  font-weight: 700;
}

.no {
  color: #a8aaa3;
}

.faq {
  max-width: 920px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

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

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 200ms ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 25px;
  color: var(--muted);
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.auth-page {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(360px, 0.86fr) minmax(440px, 1.14fr);
  background: var(--canvas);
}

.auth-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 72px);
  color: white;
  background: var(--ink);
}

.auth-panel .brand img {
  filter: invert(1);
}

.auth-panel-copy {
  max-width: 580px;
  margin-block: 80px;
}

.auth-panel-copy .h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
}

.auth-panel-copy .lead {
  color: #bec1b7;
}

.auth-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.auth-point {
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: #b7bab1;
  font-size: 0.78rem;
}

.auth-point strong {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-size: 0.86rem;
}

.auth-form-wrap {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 40px 24px;
}

.auth-form {
  width: min(100%, 430px);
}

.auth-form .h2 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
}

.field {
  margin-top: 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 18, 15, 0.09);
}

.password-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.password-row a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.auth-form .btn {
  width: 100%;
  margin-top: 24px;
}

.auth-help {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.legal-hero {
  padding: 74px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.legal-hero .h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.legal {
  max-width: 840px;
}

.legal h2 {
  margin: 52px 0 14px;
  font-size: 1.55rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.legal h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
}

.legal p,
.legal li {
  color: #55584f;
}

.legal a {
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.legal .notice {
  padding: 20px 22px;
  border: 1px solid #d8e7cf;
  border-radius: 16px;
  color: #34553d;
  background: var(--green-soft);
}

.footer {
  padding: 72px 0 38px;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand img {
  width: auto;
  height: 1.2rem;
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer h4 {
  margin: 2px 0 17px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #55584f;
  font-size: 0.88rem;
  list-style: none;
}

.footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-reveal] {
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-ready [data-reveal="left"] {
  transform: translateX(-28px);
}

.reveal-ready [data-reveal="right"] {
  transform: translateX(28px);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links > a:nth-child(5) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 46px;
  }

  .app-shell {
    grid-template-columns: 110px 1fr;
  }

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

  .price-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .hero-grid,
  .feature,
  .feature.reverse,
  .quote-panel,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

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

  .feature.reverse .feature-copy {
    order: 0;
  }

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

  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }

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

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .flow-panel {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .flow-step {
    padding: 8px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

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

  .hero-aside {
    display: none;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .reveal-ready [data-reveal="left"],
  .reveal-ready [data-reveal="right"] {
    transform: translateY(20px);
  }

  .auth-panel {
    min-height: 560px;
  }

  .auth-form-wrap {
    min-height: 680px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .display,
  .hero .display {
    font-size: clamp(3.05rem, 16vw, 4.7rem);
  }

  .h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .h2 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  .regulatory-bar .container {
    align-items: flex-start;
    text-align: left;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .pricing-grid,
  .compare {
    grid-template-columns: 1fr;
  }

  .price-card:last-child {
    grid-column: auto;
  }

  .compare > article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .stat-item,
  .stat-item:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .shot {
    margin-inline: -4px;
    padding: 9px;
    border-radius: 24px;
  }

  .shot-frame {
    border-radius: 18px;
  }

  .shot-label {
    display: grid;
    padding: 11px 6px 3px;
  }

  .shot-label span:last-child {
    text-align: left;
  }

  .app-shell {
    min-height: 380px;
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .app-main {
    padding: 16px;
  }

  .app-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .app-kpi:last-child {
    display: none;
  }

  .app-row {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .app-row > *:nth-child(3),
  .app-row > *:nth-child(4) {
    display: none;
  }

  .form-preview {
    min-height: 390px;
    grid-template-columns: 1fr;
  }

  .form-cover {
    min-height: 170px;
    padding: 25px;
  }

  .form-fields {
    padding: 25px;
  }

  .event-preview,
  .timeline-preview,
  .sync-preview {
    min-height: 390px;
    padding: 22px;
  }

  .schema-preview {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .schema-code,
  .schema-record {
    padding: 22px;
  }

  .sync-flow {
    grid-template-columns: 1fr;
  }

  .sync-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

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

  .event-cell:nth-child(n + 4) {
    display: none;
  }

  .step-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

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

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

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

  .auth-panel {
    min-height: auto;
    padding: 30px 22px 42px;
  }

  .auth-panel-copy {
    margin-block: 70px;
  }

  .auth-points {
    grid-template-columns: 1fr;
  }

  .auth-form-wrap {
    min-height: 620px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
