/* =========================================================================
   AprumaZap landing and public pages
   ========================================================================= */

:root {
  --az-primary: #4DB8A3;
  --az-primary-hover: #3FA38F;
  --az-primary-pressed: #2F7D6E;
  --az-primary-light: #B4F3E3;
  --az-lavender: #B0AFFF;
  --az-peach: #FBD5B0;
  --az-pink: #FFCDF3;
  --az-background: #FFFFFF;
  --az-surface: #F7F8FC;
  --az-border: #E8EAF2;
  --az-text: #12121C;
  --az-text-secondary: rgba(18, 18, 28, 0.72);
  --az-text-muted: rgba(18, 18, 28, 0.56);
  --az-lavender-text: #5E5BCB;
  --az-peach-text: #8A4B16;
  --az-shadow-sm: 0 4px 12px rgba(18, 18, 28, 0.04);
  --az-shadow-md: 0 8px 24px rgba(18, 18, 28, 0.06);
  --az-shadow-lg: 0 16px 40px rgba(18, 18, 28, 0.08);
  --surface-raised: var(--az-surface);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--az-background);
  color: var(--az-text-secondary);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

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

::selection {
  background: var(--az-primary-light);
  color: var(--az-text);
}

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Shared controls ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--az-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.btn-primary {
  background: var(--az-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--az-primary-hover);
}

.btn-primary:active {
  background: var(--az-primary-pressed);
  transform: none;
}

.btn-secondary {
  background: var(--az-surface);
  border-color: var(--az-border);
  color: var(--az-text);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(77, 184, 163, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--az-text-secondary);
}

.btn-lg {
  min-height: 50px;
  padding: 13px 20px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(77, 184, 163, 0.22);
  border-radius: 999px;
  background: rgba(77, 184, 163, 0.10);
  color: var(--az-primary-pressed);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--az-primary);
}

.pill,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.pill.mint {
  background: rgba(77, 184, 163, 0.14);
  color: var(--az-primary-pressed);
}

.pill.lavender {
  background: rgba(176, 175, 255, 0.18);
  color: var(--az-lavender-text);
}

.pill.peach {
  background: rgba(251, 213, 176, 0.55);
  color: var(--az-peach-text);
}

.badge {
  background: var(--az-pink);
  color: var(--az-text);
  min-width: 28px;
  padding: 4px 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--az-border);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--az-text);
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(18, 18, 28, 0.08);
}

.brand-name {
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.main-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.main-links a {
  color: var(--az-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.main-links a:hover {
  color: var(--az-text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 248, 252, 0.88), rgba(255, 255, 255, 0.94) 62%, #fff),
    var(--az-background);
  border-bottom: 1px solid var(--az-border);
}

.hero-product {
  position: absolute;
  inset: 76px 0 0;
  pointer-events: none;
}

.hero-product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.22) 62%, rgba(255, 255, 255, 0.72) 100%);
}

.product-shell {
  position: absolute;
  right: -24px;
  top: 6px;
  width: 860px;
  min-height: 560px;
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--az-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--az-shadow-lg);
  transform: rotate(-1deg);
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 16px;
  border-right: 1px solid var(--az-border);
  background: #fff;
}

.product-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--az-text);
  font-weight: 800;
}

.product-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.product-nav {
  display: block;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--az-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.product-nav.active {
  background: rgba(77, 184, 163, 0.12);
  color: var(--az-primary-pressed);
}

.product-main {
  padding: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--az-surface) 100%);
}

.product-top,
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-top strong,
.dash-head strong {
  display: block;
  color: var(--az-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.product-kicker,
.dash-head span:first-child,
.mini-metric span,
.metric-card span,
.score-panel span,
.saldo-panel > span {
  display: block;
  color: var(--az-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.metric-card {
  min-height: 116px;
  border: 1px solid var(--az-border);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--az-shadow-sm);
}

.metric-card strong {
  display: block;
  color: var(--az-text);
  font-size: 30px;
  line-height: 1.1;
  margin: 12px 0 6px;
}

.metric-card em {
  display: block;
  color: var(--az-primary-pressed);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.metric-card.lavender {
  border-color: rgba(176, 175, 255, 0.42);
}

.metric-card.peach {
  border-color: rgba(251, 213, 176, 0.78);
}

.conversation-preview {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  margin-top: 14px;
}

.conversation-list,
.chat-pane,
.dashboard-card,
.inbox-card,
.chart-card,
.saldo-panel,
.closing-inner {
  border: 1px solid var(--az-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--az-shadow-sm);
}

.conversation-list {
  min-height: 252px;
  padding: 12px;
}

.tab {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--az-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.tab.active {
  background: rgba(77, 184, 163, 0.14);
  color: var(--az-primary-pressed);
}

.lead-row {
  display: block;
  border-top: 1px solid var(--az-border);
  padding: 13px 8px;
  color: var(--az-text);
}

.lead-row.on {
  margin-top: 8px;
  border-top: 0;
  border-radius: 12px;
  background: var(--az-surface);
}

.lead-row b,
.inbox-item b {
  display: block;
  color: var(--az-text);
  font-size: 14px;
}

.lead-row small,
.inbox-item span {
  display: block;
  color: var(--az-text-muted);
  font-size: 12px;
}

.chat-pane {
  min-height: 252px;
  padding: 16px;
  background: var(--az-surface);
}

.bubble {
  width: fit-content;
  max-width: 78%;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.bubble.them {
  background: #fff;
  border: 1px solid var(--az-border);
  color: var(--az-text-secondary);
}

.bubble.ia {
  margin: 10px 0 10px auto;
  background: var(--az-primary);
  color: #fff;
}

.score-panel {
  margin-top: 14px;
  border: 1px solid rgba(77, 184, 163, 0.24);
  border-radius: 14px;
  background: rgba(180, 243, 227, 0.34);
  padding: 14px;
}

.score-panel strong {
  display: block;
  margin: 6px 0 3px;
  color: var(--az-text);
  font-size: 24px;
  line-height: 1;
}

.score-panel small {
  color: var(--az-text-muted);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 112px;
  padding-bottom: 84px;
}

.hero h1 {
  max-width: 560px;
  margin: 22px 0 16px;
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 545px;
  margin: 0 0 30px;
  color: var(--az-text-secondary);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-proof span {
  border: 1px solid var(--az-border);
  border-radius: 999px;
  background: #fff;
  padding: 7px 11px;
  color: var(--az-text-secondary);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--az-shadow-sm);
}

/* ---------- Metrics hint ---------- */
.metrics-band {
  padding: 24px 0 0;
  background: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mini-metric {
  min-height: 118px;
  border: 1px solid var(--az-border);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--az-shadow-sm);
}

.mini-metric strong {
  display: block;
  margin: 8px 0 3px;
  color: var(--az-text);
  font-size: 28px;
  line-height: 1.15;
}

.mini-metric em {
  color: var(--az-primary-pressed);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  background: #fff;
}

.section-soft {
  border-top: 1px solid var(--az-border);
  border-bottom: 1px solid var(--az-border);
  background: var(--az-surface);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2,
.saldo h2,
.closing-inner h2 {
  margin: 0;
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0;
}

.section-head p,
.saldo p,
.closing-inner p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--az-text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.step,
.plan {
  border: 1px solid var(--az-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--az-shadow-sm);
}

.feature-card {
  min-height: 238px;
  padding: 24px;
}

.feature-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.feature-ico svg {
  width: 22px;
  height: 22px;
}

.feature-ico.lavender {
  background: rgba(176, 175, 255, 0.18);
  color: var(--az-lavender-text);
}

.feature-ico.mint {
  background: rgba(77, 184, 163, 0.14);
  color: var(--az-primary-pressed);
}

.feature-ico.peach {
  background: rgba(251, 213, 176, 0.55);
  color: var(--az-peach-text);
}

.feature-ico.pink {
  background: rgba(255, 205, 243, 0.58);
  color: var(--az-text);
}

.feature-card h3,
.step h3,
.card-item h3 {
  margin: 0 0 10px;
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0;
}

.feature-card p,
.step p,
.card-item p {
  margin: 0;
  color: var(--az-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  min-height: 228px;
  padding: 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 28px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(77, 184, 163, 0.12);
  color: var(--az-primary-pressed);
  font-size: 12px;
  font-weight: 800;
}

/* ---------- Product showcase ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.dashboard-card,
.inbox-card {
  min-height: 420px;
  padding: 24px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 14px;
}

.dash-metrics span {
  display: block;
  border-radius: 14px;
  background: var(--az-surface);
  padding: 14px;
  color: var(--az-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.dash-metrics b {
  display: block;
  color: var(--az-text);
  font-size: 24px;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.chart-card {
  min-height: 230px;
  padding: 18px;
}

.chart-card > span {
  color: var(--az-text);
  font-size: 14px;
  font-weight: 800;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  height: 160px;
  margin-top: 22px;
  border-bottom: 1px solid var(--az-border);
}

.chart-bars i {
  display: block;
  min-height: 18px;
  border-radius: 999px 999px 0 0;
  background: var(--az-lavender);
}

.chart-bars i:nth-child(4),
.chart-bars i:nth-child(6) {
  background: var(--az-primary);
}

.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.funnel i {
  display: block;
  height: 32px;
  border-radius: 999px;
  background: var(--az-primary-light);
}

.funnel i:nth-child(1) {
  width: 100%;
}

.funnel i:nth-child(2) {
  width: 78%;
  background: var(--az-lavender);
}

.funnel i:nth-child(3) {
  width: 52%;
  background: var(--az-peach);
}

.funnel i:nth-child(4) {
  width: 34%;
  background: var(--az-primary);
}

.inbox-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.inbox-item {
  position: relative;
  border: 1px solid var(--az-border);
  border-radius: 14px;
  background: var(--az-surface);
  padding: 14px 48px 14px 14px;
}

.inbox-item.active {
  border-color: rgba(77, 184, 163, 0.34);
  background: rgba(180, 243, 227, 0.24);
}

.inbox-item em {
  position: absolute;
  right: 14px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--az-primary-pressed);
  font-style: normal;
  font-weight: 800;
}

.automation-note {
  margin-top: 18px;
  border-radius: 14px;
  background: rgba(251, 213, 176, 0.28);
  padding: 16px;
}

.automation-note p {
  margin: 10px 0 0;
  color: var(--az-text-secondary);
  font-size: 14px;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 28px;
}

.plan.featured {
  border-color: rgba(77, 184, 163, 0.56);
  box-shadow: 0 8px 24px rgba(77, 184, 163, 0.13);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  border-radius: 999px;
  background: var(--az-primary);
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pname {
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.plan p {
  min-height: 50px;
  margin: 8px 0 0;
  color: var(--az-text-secondary);
  font-size: 14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 18px 0 20px;
}

.price span,
.price em {
  color: var(--az-text-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.price strong {
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--az-border);
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 22px;
  color: var(--az-text-secondary);
  font-size: 14px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--az-primary);
}

.pricing-foot {
  margin: 26px auto 0;
  color: var(--az-text-secondary);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Saldo ---------- */
.saldo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.saldo .eyebrow {
  margin-bottom: 18px;
}

.saldo p {
  margin-left: 0;
  margin-right: 0;
}

.saldo-panel {
  padding: 26px;
}

.saldo-panel strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--az-text);
  font-size: 42px;
  line-height: 1;
}

.saldo-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--az-border);
}

.saldo-bar i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: 999px;
  background: var(--az-primary);
}

.saldo-row,
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--az-text-secondary);
  font-size: 13px;
}

.saldo-row b {
  color: var(--az-text);
}

.toggle-row {
  justify-content: flex-start;
  margin-top: 18px;
  font-weight: 700;
}

.toggle {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--az-border);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 18, 28, 0.16);
}

.toggle.on {
  background: var(--az-primary);
}

.toggle.on::after {
  left: 17px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--az-border);
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  border: 0;
  background: transparent;
  padding: 22px 4px;
  color: var(--az-text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0;
}

.faq-q .chev {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--az-text-muted);
  transition: transform 180ms ease;
}

.faq-item.open .chev {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-a-inner {
  max-width: 660px;
  padding: 0 4px 22px;
  color: var(--az-text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Closing CTA ---------- */
.closing-cta {
  padding: 88px 0;
  background: #fff;
}

.closing-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;
}

.closing-inner img {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
}

.closing-inner .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--az-border);
  background: var(--az-surface);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 34px;
}

.footer-grid p {
  max-width: 310px;
  margin: 14px 0 0;
  color: var(--az-text-secondary);
  font-size: 14px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--az-text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 8px;
  color: var(--az-text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--az-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--az-border);
  padding-top: 22px;
  color: var(--az-text-muted);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Public internal pages ---------- */
.page-hero {
  padding: 86px 0 44px;
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 700px;
  margin: 0 auto 16px;
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--az-text-secondary);
  font-size: 17px;
}

.page-body {
  padding: 0 0 84px;
}

.page-body .container {
  max-width: 800px;
}

.section-block,
.policy-section {
  margin-bottom: 38px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--az-border);
}

.section-block:last-child,
.policy-section:last-child {
  border-bottom: 0;
}

.section-block h2,
.policy-section h2 {
  margin: 0 0 12px;
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.policy-section h3 {
  margin: 22px 0 8px;
  color: var(--az-text);
  font-size: 15px;
  font-weight: 800;
}

.section-block p,
.policy-section p {
  margin: 0 0 12px;
  color: var(--az-text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.section-block ul,
.policy-section ul {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.section-block li,
.policy-section li {
  position: relative;
  padding-left: 20px;
  color: var(--az-text-secondary);
  line-height: 1.7;
}

.section-block li::before,
.policy-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--az-primary);
}

.section-block a,
.policy-section a {
  color: var(--az-primary-pressed);
  font-weight: 700;
  text-decoration: none;
}

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

.card-item,
.cta-strip,
.update-badge {
  border: 1px solid var(--az-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--az-shadow-sm);
}

.card-item {
  padding: 22px;
}

.cta-strip {
  margin-top: 42px;
  padding: 36px;
  text-align: center;
}

.cta-strip h2 {
  margin: 0 0 10px;
  color: var(--az-text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
}

.cta-strip p {
  margin: 0 auto 22px;
  color: var(--az-text-secondary);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.update-badge {
  display: inline-flex;
  margin-bottom: 36px;
  padding: 8px 14px;
  color: var(--az-text-muted);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero {
    min-height: 700px;
  }

  .hero-product {
    inset: 74px 0 0;
  }

  .hero-product::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 44%, rgba(255, 255, 255, 0.34) 76%, rgba(255, 255, 255, 0.78) 100%);
  }

  .product-shell {
    right: -220px;
    top: 24px;
    width: 720px;
    min-height: 500px;
  }

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

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

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

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

  .product-showcase,
  .saldo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    padding: 0 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-product {
    display: none;
  }

  .site-header {
    height: auto;
  }

  .nav {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-links {
    order: 3;
    width: 100%;
    flex: none;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-content {
    padding-top: 64px;
  }

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

  .hero p {
    font-size: 18px;
  }

  .conversation-preview,
  .chart-grid,
  .dash-metrics,
  .pricing,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .conversation-list {
    display: none;
  }

  .metrics-grid,
  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .section,
  .closing-cta {
    padding: 72px 0;
  }

  .section-head h2,
  .saldo h2,
  .closing-inner h2 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

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

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .nav {
    align-items: center;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-cta {
    display: none;
  }

  .main-links {
    gap: 18px;
  }

  .main-links a {
    font-size: 13px;
  }

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

  .btn {
    white-space: normal;
    text-align: center;
  }

  .hero-content {
    padding-top: 52px;
  }

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

  .hero p {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: 16px;
  }

  .hero-actions,
  .btn-group {
    align-items: stretch;
    flex-direction: column;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-actions .btn,
  .btn-group .btn {
    width: 100%;
    max-width: 100%;
  }

  .mini-metric,
  .feature-card,
  .step,
  .plan,
  .dashboard-card,
  .inbox-card,
  .saldo-panel,
  .closing-inner,
  .cta-strip {
    border-radius: 14px;
  }

  .closing-inner,
  .cta-strip {
    padding: 28px;
  }
}
