:root {
  color-scheme: dark;
  --header-height: 74px;
  --anchor-offset: calc(var(--header-height) + 18px);
  --bg: #0b0907;
  --surface: #18140f;
  --ink: #fff7e6;
  --muted: #d3c4a6;
  --line: rgba(247, 223, 158, 0.18);
  --brand: #f7df9e;
  --brand-dark: #050505;
  --brand-soft: rgba(217, 154, 30, 0.18);
  --accent: #d99a1e;
  --accent-soft: #f7df9e;
  --warm-panel: #1f1a12;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
form[id],
article[id],
.section-heading,
.cta-grid > div:first-child {
  scroll-margin-top: var(--anchor-offset);
}

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

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 62px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 9, 7, 0.9);
  border-bottom: 1px solid rgba(247, 223, 158, 0.16);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(21, 19, 15, 0.12);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--accent-soft);
}

.nav-menu a:not(.button) {
  position: relative;
}

.nav-menu a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu a.is-active:not(.button) {
  color: var(--accent-soft);
  font-weight: 800;
}

.nav-menu a.is-active:not(.button)::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-menu a:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible,
.demo-dots button:focus-visible {
  outline: 3px solid rgba(207, 143, 46, 0.36);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7df9e 0%, #d99a1e 100%);
  color: #191612;
  padding: 0 18px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(217, 154, 30, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: linear-gradient(180deg, #ffe7a8 0%, #c98512 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(21, 19, 15, 0.22);
}

.site-header .nav-menu .button {
  background: linear-gradient(180deg, #ffdc78 0%, #d9940a 100%);
  color: #19120a;
  box-shadow: 0 10px 26px rgba(217, 148, 10, 0.32);
}

.site-header .nav-menu .button:hover {
  background: linear-gradient(180deg, #ffe69c 0%, #c98205 100%);
  box-shadow: 0 14px 32px rgba(217, 148, 10, 0.4);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(247, 223, 158, 0.14);
  border-color: rgba(217, 154, 30, 0.34);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
}

.hero {
  padding-top: 56px;
  padding-bottom: 54px;
  background:
    radial-gradient(circle at top left, rgba(217, 154, 30, 0.24), transparent 38%),
    linear-gradient(180deg, #1a1610 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.principle {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 20, 15, 0.9);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-panel:hover {
  border-color: rgba(217, 154, 30, 0.32);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
}

.hero-panel::before {
  content: "";
  display: block;
  height: 10px;
  margin: -8px 0 18px;
  background:
    radial-gradient(circle, rgba(247, 223, 158, 0.62) 0 4px, transparent 4.5px) 0 50% / 18px 10px no-repeat,
    radial-gradient(circle, rgba(247, 223, 158, 0.38) 0 4px, transparent 4.5px) 18px 50% / 18px 10px no-repeat,
    radial-gradient(circle, rgba(247, 223, 158, 0.22) 0 4px, transparent 4.5px) 36px 50% / 18px 10px no-repeat;
}

.panel-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top strong {
  font-size: 1.12rem;
}

.panel-top span,
.workflow-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.demo-stage {
  position: relative;
  min-height: 390px;
}

.demo-step {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

.demo-step.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.case-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 10px;
  font-weight: 800;
}

.status-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 99px;
  background: var(--accent);
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  transition: width 0.8s ease;
}

.workflow-card {
  margin: 18px 0;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247, 223, 158, 0.16) 0%, rgba(217, 154, 30, 0.1) 100%);
}

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

.audit-list {
  display: grid;
  gap: 10px;
}

.audit-list div,
.benefit-grid article,
.flow article,
.use-grid article,
.control-grid article,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.audit-list div {
  display: flex;
  align-items: center;
  padding: 12px;
  color: var(--muted);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.audit-list span {
  margin-right: 10px;
  color: var(--brand);
  font-weight: 800;
}

.demo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.demo-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #cbd6df;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.demo-dots button:hover,
.demo-dots button.is-active {
  width: 24px;
  background: var(--brand);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow),
.security p,
.cta-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.compact {
  max-width: 680px;
}

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

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

.benefit-grid article,
.control-grid article {
  position: relative;
  padding: 20px;
  padding-left: 46px;
  font-weight: 700;
}

.benefit-grid article,
.flow article,
.use-grid article,
.control-grid article,
.plan-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.benefit-grid article:hover,
.flow article:hover,
.use-grid article:hover,
.control-grid article:hover,
.plan-card:hover {
  border-color: rgba(217, 154, 30, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.plan-card:hover {
  background:
    linear-gradient(180deg, rgba(38, 31, 22, 1) 0%, rgba(28, 23, 17, 1) 100%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
}

.plan-card:hover .plan-icon {
  border-color: rgba(217, 154, 30, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(217, 154, 30, 0.22);
}

.benefit-grid article::before,
.control-grid article::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.benefits,
.security {
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 154, 30, 0.12), transparent 28%),
    linear-gradient(180deg, #100d0a 0%, #0b0907 100%);
  border-block: 1px solid var(--line);
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(138px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow article {
  position: relative;
  min-height: 152px;
  padding: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -10px;
  z-index: 2;
  width: 18px;
  height: 2px;
  background: var(--brand);
}

.flow span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(217, 154, 30, 0.28);
}

.plans {
  background:
    radial-gradient(circle at 14% 10%, rgba(217, 154, 30, 0.24), transparent 32%),
    linear-gradient(180deg, #1b160f 0%, #0d0b08 100%);
  padding-top: 50px;
  padding-bottom: 66px;
}

.pricing-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.55rem;
}

.ai-addon {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  scroll-margin-top: var(--anchor-offset);
  margin-top: 26px;
  padding: 28px;
  border: 1px solid rgba(247, 223, 158, 0.2);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(247, 223, 158, 0.1) 0%, rgba(217, 154, 30, 0.05) 100%);
}

.ai-addon h3 {
  margin: 2px 0 10px;
  color: #fff4d7;
  font-size: 1.45rem;
}

.ai-addon p {
  margin: 0;
  color: #d3c4a6;
}

.ai-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ai-prices span {
  display: grid;
  gap: 3px;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1px solid rgba(247, 223, 158, 0.14);
  background: rgba(8, 7, 5, 0.34);
  color: var(--accent-soft);
  font-size: 0.88rem;
  text-align: center;
}

.ai-prices strong {
  color: #f8edcf;
  font-size: 0.75rem;
}

.ai-prices small {
  grid-column: 1 / -1;
  color: #cdbf9f;
  line-height: 1.45;
}

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

.plans .section-heading h2 {
  max-width: 760px;
}

.plans .eyebrow {
  color: var(--accent-soft);
}

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

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin-inline: auto;
  gap: 22px;
}

.pricing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.pricing-heading > div:first-child {
  max-width: 760px;
}

.billing-toggle button:focus-visible {
  outline: 3px solid rgba(247, 223, 158, 0.4);
  outline-offset: 2px;
}

.billing-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgba(247, 223, 158, 0.14);
  border-radius: 999px;
  background: rgba(8, 7, 5, 0.24);
}

.billing-toggle button {
  min-height: 34px;
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d3c4a6;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.billing-toggle button.is-active {
  background: rgba(217, 154, 30, 0.2);
  color: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(247, 223, 158, 0.18);
}

.annual-saving {
  min-height: 1.35em;
  margin: 6px 0 0;
  color: #b9f3d5;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  visibility: hidden;
}

.annual-saving.is-visible {
  visibility: visible;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(247, 223, 158, 0.18);
  background:
    linear-gradient(180deg, rgba(28, 23, 17, 0.98) 0%, rgba(18, 15, 11, 0.98) 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.pricing-card.featured {
  border-color: rgba(247, 223, 158, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(217, 154, 30, 0.08);
}

.price {
  margin: 8px 0 0;
  color: #fff4d7;
  font-size: 0.88rem;
}

.price [data-price] {
  font-size: clamp(1.4rem, 1.7vw, 1.72rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.price-prefix {
  color: #d3c4a6;
  font-size: 0.82rem;
  font-weight: 700;
}

.price small {
  color: #d3c4a6;
}

.tax-note {
  margin: 4px 0 0;
  color: #b9f3d5;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card .plan-list {
  margin-top: 8px;
  border-top: 0;
  padding-top: 0;
}

.plan-list-label {
  margin: 18px 0 0;
  color: #b9a985;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.plan-capacity-label {
  margin-top: 16px;
  border-top: 1px solid rgba(247, 223, 158, 0.14);
  padding-top: 14px;
}

.use-cases-note {
  max-width: 900px;
  margin: 22px auto 0;
  padding: 4px 20px 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.65;
  text-align: center;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.plan-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 38%;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 24%,
    rgba(255, 238, 170, 0.95) 50%,
    rgba(217, 154, 30, 0.3) 76%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(247, 223, 158, 0.34);
  opacity: 0.78;
  transform: translateX(-110%);
  animation: planGlowSweep 5s linear infinite;
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

@keyframes planGlowSweep {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(270%);
  }
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin-bottom: 10px;
  text-align: center;
}

.plan-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.38rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.plan-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(217, 154, 30, 0.35);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247, 223, 158, 0.18) 0%, rgba(217, 154, 30, 0.16) 100%);
  color: var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(217, 154, 30, 0.16);
}

.plan-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-subtitle {
  max-width: 260px;
  margin: 0 auto 18px;
  color: #d3c4a6;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.plan-status {
  align-self: center;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid rgba(247, 223, 158, 0.28);
  border-radius: 999px;
  background: rgba(247, 223, 158, 0.1);
  color: #eadbbd;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.plan-status.is-available {
  border-color: rgba(80, 200, 148, 0.45);
  background: rgba(80, 200, 148, 0.12);
  color: #b9f3d5;
}

.plan-availability-note {
  min-height: 40px;
  margin: 0 auto 18px;
  color: #cdbf9f;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.plan-availability-note.is-available {
  color: #b9f3d5;
}

.plan-details {
  margin-top: auto;
  border-top: 1px solid rgba(247, 223, 158, 0.14);
  padding-top: 18px;
}

.plan-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(217, 154, 30, 0.34);
  border-radius: 8px;
  background: rgba(217, 154, 30, 0.11);
  color: var(--accent-soft);
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.plan-details summary:hover {
  border-color: rgba(247, 223, 158, 0.5);
  background: rgba(217, 154, 30, 0.18);
}

.plan-details summary:focus-visible {
  outline: 3px solid rgba(217, 154, 30, 0.34);
  outline-offset: 3px;
}

.detail-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: rgba(247, 223, 158, 0.14);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.plan-details[open] .detail-icon {
  transform: rotate(45deg);
}

.plan-details-content {
  padding-bottom: 2px;
}

.plan-note {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(247, 223, 158, 0.12);
  color: #eadbbd;
  font-size: 0.84rem;
  line-height: 1.5;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid rgba(247, 223, 158, 0.14);
  padding-top: 18px;
  color: #eee0c4;
  font-size: 0.96rem;
  line-height: 1.5;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 30px;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  top: 0.05em;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(217, 154, 30, 0.18);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.plans-cta {
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
}

.plans-cta p {
  margin-bottom: 14px;
  color: var(--muted);
}

.use-grid article {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.use-grid strong {
  text-align: center;
}

.use-grid span {
  color: var(--muted);
}

.security {
  padding-block: 56px;
}

.control-grid article {
  background: linear-gradient(180deg, #1b160f 0%, #14100c 100%);
  padding-block: 16px;
}

.cta {
  background:
    radial-gradient(circle at top left, rgba(217, 154, 30, 0.2), transparent 32%),
    linear-gradient(135deg, #050505 0%, #1f1a12 100%);
  color: #fff;
  padding-block: 46px 58px;
}

.cta .eyebrow,
.cta h2 {
  color: #fff;
}

.cta-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.next-steps-card {
  max-width: 560px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
}

.next-steps-card h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.08rem;
}

.next-steps-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-steps-card li {
  position: relative;
  min-height: 42px;
  padding-left: 42px;
}

.next-steps-card li::before {
  content: counter(list-item);
  position: absolute;
  top: 1px;
  left: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.next-steps-card strong,
.next-steps-card span {
  display: block;
}

.next-steps-card strong {
  color: #fff;
  font-size: 0.95rem;
}

.next-steps-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.quick-contact {
  max-width: 560px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
}

.quick-contact h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.08rem;
}

.quick-contact p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.quick-contact .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff7e6;
}

.quick-contact .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: 34px;
  align-items: start;
}

.cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-form {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(217, 154, 30, 0.13), transparent 34%),
    linear-gradient(180deg, #2b251c 0%, #1c1812 100%);
  color: var(--ink);
  padding: 18px;
  border: 1px solid rgba(247, 223, 158, 0.24);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #eadbbd;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(217, 154, 30, 0.28);
  border-radius: 8px;
  background: #f1e7d2;
  color: #241d14;
  padding: 10px 12px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #675d4d;
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(217, 154, 30, 0.38);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.whatsapp-control {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(217, 154, 30, 0.28);
  border-radius: 8px;
  background: #f1e7d2;
  color: #241d14;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-control:hover,
.whatsapp-control:focus-within {
  border-color: rgba(217, 154, 30, 0.48);
}

.whatsapp-control:focus-within {
  box-shadow: 0 0 0 3px rgba(217, 154, 30, 0.12);
}

.whatsapp-control:has(input.is-invalid) {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.whatsapp-prefix {
  flex: 0 0 auto;
  padding-left: 12px;
  color: #493f31;
  font-weight: 800;
}

.whatsapp-control input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding-left: 8px;
  box-shadow: none;
}

.whatsapp-control input:hover,
.whatsapp-control input:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: #f3e7cf;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-note.is-error {
  color: #ffb4aa;
}

.form-consent {
  margin: 2px 0 0;
  color: #cdbf9f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-consent a {
  color: var(--accent-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.legal-page main {
  background: var(--bg);
}

.legal-shell {
  max-width: 860px;
}

.legal-hero {
  padding-bottom: 54px;
  background:
    radial-gradient(circle at 14% 8%, rgba(217, 154, 30, 0.2), transparent 34%),
    linear-gradient(180deg, #18130d 0%, var(--bg) 100%);
}

.legal-hero h1 {
  max-width: 780px;
}

.legal-hero > .legal-shell > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.04rem;
}

.text-link {
  color: var(--accent-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-content {
  padding-top: 18px;
  background: var(--surface);
}

.legal-document {
  display: grid;
  gap: 18px;
}

.legal-document article {
  scroll-margin-top: var(--anchor-offset);
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--warm-panel);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.legal-document h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-document article > p:not(.legal-kicker) {
  margin: 10px 0 0;
  color: var(--muted);
}

.legal-document article .text-link,
.legal-document article .button {
  display: inline-flex;
  margin-top: 18px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legal-footer-grid {
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(170px, 1fr));
}

.legal-updated {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer {
  padding: 46px 0 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 154, 30, 0.16), transparent 30%),
    linear-gradient(180deg, #191612 0%, #080706 100%);
  color: #f7ecd2;
  border-top: 1px solid rgba(217, 154, 30, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(170px, 1fr));
  gap: 34px;
  align-items: start;
}

.footer p {
  margin: 6px 0 0;
  color: #cfc1a4;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-size: 0.92rem;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.footer-brand strong {
  color: #fff7e6;
  font-size: 1.05rem;
  line-height: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #cfc1a4;
  font-size: 0.94rem;
}

.footer-column a,
.footer-column span {
  color: #cfc1a4;
}

.footer-column a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid rgba(247, 223, 158, 0.18);
  padding-top: 18px;
  color: #b9a985;
  font-size: 0.88rem;
  font-weight: 700;
}

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (max-width: 920px) {
  .ai-addon {
    grid-template-columns: 1fr;
  }

  .pricing-heading {
    align-items: start;
    flex-direction: column;
  }
  :root {
    --anchor-offset: calc(var(--header-height) + 18px);
  }

  .section {
    padding: 54px 0;
  }

  .plans {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    inset: 74px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #15110d;
    padding: 18px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 4px 0;
  }

  .nav-menu a:not(.button)::after {
    bottom: -2px;
    width: 34px;
    right: auto;
  }

  .hero-grid,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

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

  .pricing-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 9px);
  }

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

  .flow article {
    min-height: auto;
    padding: 18px 18px 18px 70px;
  }

  .flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 36px;
    width: 2px;
    height: 14px;
  }

  .flow span {
    position: absolute;
    top: 16px;
    left: 18px;
    margin-bottom: 0;
  }

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

}

@media (max-width: 620px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .ai-addon {
    padding: 22px;
  }

  .ai-prices {
    grid-template-columns: 1fr;
  }

  .ai-prices small {
    grid-column: auto;
  }

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

  :root {
    --anchor-offset: calc(var(--header-height) + 16px);
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 48px 0;
  }

  h1 {
    font-size: 2.16rem;
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .plans {
    padding-top: 42px;
  }

  .hero-grid,
  .split,
  .cta-grid {
    gap: 28px;
  }

  .hero-lead {
    line-height: 1.58;
  }

  .principle {
    font-size: 0.92rem;
  }

  .workflow-card {
    margin: 14px 0;
  }

  .audit-list {
    gap: 8px;
  }

  .demo-stage {
    min-height: 470px;
  }

  .hero-panel,
  .contact-form,
  .plan-card {
    padding: 18px;
  }

  .legal-document article {
    padding: 22px 20px;
  }

  .benefit-grid,
  .plan-grid,
  .use-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

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

  .case-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-grid {
    gap: 30px;
  }

  .cta {
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 26px;
  }

  .footer {
    padding-top: 38px;
  }
}

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

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

  .demo-step {
    transform: none;
  }

  .plan-card::after {
    animation: none;
    opacity: 0;
  }

  .reveal-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}
