:root {
  --ink: #0b1f3a;
  --text: #17253b;
  --muted-text: #667287;
  --line: #ddd3c3;
  --surface: #ffffff;
  --surface-soft: #f7f1e8;
  --surface-deep: #eee4d4;
  --accent: #163d66;
  --accent-dark: #07182d;
  --gold: #b9915a;
  --blue: #2b6ca3;
  --danger: #a83f39;
  --shadow: 0 24px 80px rgba(11, 31, 58, 0.16);
  --radius: 8px;
  --scroll-progress: 0;
  --pointer-x: 0;
  --pointer-y: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface-soft);
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(221, 211, 195, 0.76);
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(16px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--blue));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
}

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

.brand-symbol {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(11, 31, 58, 0.12));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.brand-wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand:hover .brand-symbol {
  transform: rotate(-4deg) scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  color: var(--muted-text);
}

.nav-links a,
.footer a {
  position: relative;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a::after,
.footer a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--accent-dark);
}

.nav-links a:hover::after,
.footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta::after,
.button::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 36%, rgba(255, 255, 255, 0.34) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-36%);
  transition: opacity 180ms ease, transform 620ms ease;
}

.header-cta {
  background: var(--ink);
  color: #fff;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 32px rgba(22, 61, 102, 0.24);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button:hover,
.header-cta:hover {
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.18);
  transform: translateY(-2px);
}

.button:hover::after,
.header-cta:hover::after {
  opacity: 1;
  transform: translateX(36%);
}

.button.full {
  width: 100%;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 96px 0 72px;
  background: #faf7f1;
  --pointer-x: 0;
  --pointer-y: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 24, 45, 0.92), rgba(22, 61, 102, 0.62)),
    url("data:image/svg+xml,%3Csvg width='1600' height='1000' viewBox='0 0 1600 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1600' height='1000' fill='%23efe5d6'/%3E%3Cpath d='M0 720C180 660 270 810 440 760C640 700 700 470 920 500C1160 532 1210 740 1600 610V1000H0Z' fill='%23fbfaf7'/%3E%3Cpath d='M1180 110h240v320h-240z' fill='%23ffffff' opacity='.46'/%3E%3Cpath d='M240 160h420v28H240zm0 62h360v18H240zm0 44h300v18H240z' fill='%230b1f3a' opacity='.18'/%3E%3Cpath d='M1040 180h240v18h-240zm0 48h310v18h-310zm0 48h280v18h-280z' fill='%230b1f3a' opacity='.15'/%3E%3Cpath d='M980 620h410v52H980zm0 82h340v52H980z' fill='%232b6ca3' opacity='.2'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  transform: scale(1.02) translate3d(calc(var(--pointer-x) * -12px), calc(var(--pointer-y) * -10px), 0);
  animation: heroDrift 18s ease-in-out infinite alternate, ambientWash 9s ease-in-out infinite alternate;
  transition: transform 180ms ease-out;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 60px;
  align-items: center;
}

.hero-copy {
  color: #fff;
  animation: riseIn 700ms ease-out both;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-subtitle,
.hero-copy .hero-actions {
  animation: riseIn 680ms ease-out both;
}

.hero-copy .eyebrow {
  animation-delay: 80ms;
}

.hero-copy h1 {
  animation-delay: 160ms;
}

.hero-copy .hero-subtitle {
  animation-delay: 250ms;
}

.hero-copy .hero-actions {
  animation-delay: 340ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #e8ca8c;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.08rem;
}

.hero-subtitle {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  animation: softPop 560ms ease-out both;
}

.trust-row span:nth-child(2) {
  animation-delay: 120ms;
}

.trust-row span:nth-child(3) {
  animation-delay: 240ms;
}

.product-preview {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
  transform: translate3d(calc(var(--pointer-x) * 10px), calc(var(--pointer-y) * 8px), 0);
  transition: transform 180ms ease-out;
}

.phone-frame,
.dashboard-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.phone-frame::after,
.dashboard-card::after,
.price-card::after,
.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.36) 45%, transparent 68%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 240ms ease, transform 700ms ease;
}

.phone-frame:hover,
.dashboard-card:hover {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 34px 90px rgba(7, 24, 45, 0.24);
}

.phone-frame:hover::after,
.dashboard-card:hover::after,
.price-card:hover::after,
.step-card:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.phone-frame {
  width: min(100%, 360px);
  margin-left: auto;
  padding: 18px;
  animation: phoneEntrance 800ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both, phoneFloat 7s ease-in-out 1.1s infinite;
}

.phone-frame:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(-2deg);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(43, 108, 163, 0.45);
  animation: pulseDot 2.4s ease-out infinite;
}

.chat-list {
  display: grid;
  gap: 12px;
  padding: 20px 0 10px;
}

.chat-bubble {
  max-width: 88%;
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 0.92rem;
  animation: bubbleIn 520ms ease-out both;
}

.chat-bubble.assistant:last-child {
  animation: bubbleIn 520ms ease-out both, messageBreathe 4.8s ease-in-out 1.3s infinite;
}

.chat-bubble:nth-child(2) {
  animation-delay: 240ms;
}

.chat-bubble:nth-child(3) {
  animation-delay: 420ms;
}

.chat-bubble.assistant {
  background: var(--surface-deep);
  color: var(--ink);
}

.chat-bubble.user {
  justify-self: end;
  background: var(--accent);
  color: #fff;
}

.dashboard-card {
  position: absolute;
  right: 180px;
  bottom: 18px;
  width: 270px;
  padding: 18px;
  animation: dashboardEntrance 820ms cubic-bezier(0.2, 0.8, 0.2, 1) 420ms both, cardFloat 7.5s ease-in-out 1.3s infinite;
}

.dash-header strong {
  animation: softGlow 3.6s ease-in-out infinite;
}

.dashboard-card:hover {
  transform: translateY(-10px) rotateX(-1deg) rotateY(2deg);
}

.dash-header,
.dash-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-header {
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.dash-header strong {
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  background: var(--accent);
  font-size: 0.78rem;
}

.dash-metric {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted-text);
}

.dash-metric strong {
  color: var(--ink);
}

.dash-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-deep);
}

.dash-progress span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--blue);
  transform-origin: left;
  animation: progressFill 900ms ease-out 1.1s both;
}

.section {
  padding: 88px 0;
  background: var(--surface);
}

.section.muted,
.problem-section {
  background: var(--surface-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.split > p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted-text);
  font-size: 1.15rem;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted-text);
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
}

.steps-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.process-line {
  position: relative;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-line::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.step-card,
.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.step-card:hover,
.price-card:hover {
  border-color: rgba(22, 61, 102, 0.34);
  box-shadow: 0 22px 54px rgba(11, 31, 58, 0.12);
  transform: translateY(-6px);
}

.step-card:hover span,
.plan-badge {
  animation-play-state: running;
}

.step-card {
  padding: 30px 30px 12px 0;
}

.process-line .step-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.process-line .step-card::after {
  display: none;
}

.process-line .step-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-4px);
}

.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: -22px 0 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: var(--surface);
  font-weight: 900;
}

.process-line .step-card:hover span {
  border-color: rgba(43, 108, 163, 0.38);
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.1);
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
}

.step-card p,
.price-card p,
.faq-list p {
  color: var(--muted-text);
}

.command-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

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

.command-list button {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease, background 170ms ease;
}

.command-list button:hover,
.command-list button:focus-visible {
  border-color: var(--accent);
  background: #fffaf2;
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.09);
  transform: translateX(4px);
  outline: none;
}

.plans-section {
  background:
    linear-gradient(180deg, #fbf7ef 0%, #fffdf9 56%, #ffffff 100%);
}

.pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  max-width: 960px;
  align-items: end;
  gap: 42px;
  margin-bottom: 38px;
  text-align: left;
}

.pricing-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.pricing-heading > p {
  margin: 0 0 8px;
  color: var(--muted-text);
  font-size: 1.05rem;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
  gap: 18px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  border-color: rgba(221, 211, 195, 0.95);
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 247, 0.92));
}

.price-card.featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(247, 241, 232, 0.72) 100%);
  box-shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
}

.price-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-badge.subtle {
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(247, 241, 232, 0.86);
}

.plan-topline {
  display: flex;
  min-height: 76px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.plan-note {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.price {
  margin: 6px 0 16px;
  color: var(--ink);
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted-text);
  font-size: 1rem;
  font-weight: 700;
}

.plan-copy {
  min-height: 66px;
  max-width: 370px;
  margin-bottom: 8px;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 30px;
  border-top: 1px solid rgba(221, 211, 195, 0.78);
  padding: 22px 0 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.price-card li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue));
}

.price-card .button {
  margin-top: auto;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

details:hover {
  border-color: rgba(22, 61, 102, 0.34);
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.09);
  transform: translateY(-2px);
}

summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #faf7f1;
  color: var(--muted-text);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.94rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 900;
}

.footer-symbol {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer a {
  color: var(--ink);
  font-weight: 800;
}

.thanks-page {
  min-height: 100vh;
  background: var(--ink);
}

.thanks-page .site-header {
  background: rgba(250, 247, 241, 0.96);
}

.thanks-section {
  position: relative;
  min-height: calc(100vh - 137px);
  overflow: hidden;
  padding: 96px 0 72px;
  --pointer-x: 0;
  --pointer-y: 0;
}

.thanks-footer {
  position: relative;
  z-index: 1;
}

.thanks-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 56px;
  align-items: center;
}

.thanks-copy {
  color: #fff;
  animation: riseIn 700ms ease-out both;
}

.thanks-chat {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(250, 247, 241, 0.96);
  box-shadow: var(--shadow);
  transform: translate3d(calc(var(--pointer-x) * 8px), calc(var(--pointer-y) * 6px), 0);
  transition: transform 180ms ease-out, box-shadow 220ms ease;
  animation: dashboardEntrance 820ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both, cardFloat 8s ease-in-out 1.2s infinite;
}

.thanks-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  padding: 18px 20px;
  color: var(--ink);
}

.thanks-chat-header strong,
.thanks-chat-header span {
  display: block;
}

.thanks-chat-header strong {
  font-size: 1.05rem;
}

.thanks-chat-header span:not(.status-dot) {
  color: var(--muted-text);
  font-size: 0.88rem;
}

.thanks-chat-body {
  display: grid;
  gap: 12px;
  padding: 22px 20px;
}

.thanks-chat-body .chat-bubble {
  margin: 0;
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.09);
}

.thanks-chat-status {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
  padding: 14px 20px 16px;
  color: var(--muted-text);
}

.thanks-chat-status span {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.thanks-chat-status p {
  margin: 0;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-16px, 10px, 0);
  }
}

@keyframes ambientWash {
  from {
    filter: saturate(0.96) brightness(0.98);
  }
  to {
    filter: saturate(1.08) brightness(1.04);
  }
}

@keyframes phoneEntrance {
  from {
    opacity: 0;
    transform: translate3d(34px, 28px, 0) rotateY(-8deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0);
  }
}

@keyframes dashboardEntrance {
  from {
    opacity: 0;
    transform: translate3d(-22px, 36px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(-0.7deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 8px, 0);
  }
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes messageBreathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes softGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(22, 61, 102, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(22, 61, 102, 0.14);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 108, 163, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(43, 108, 163, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(43, 108, 163, 0);
  }
}

@keyframes progressFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

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

  .hero-grid,
  .split,
  .command-layout,
  .faq-layout,
  .thanks-layout {
    grid-template-columns: 1fr;
  }

  .product-preview {
    min-height: 420px;
  }

  .dashboard-card {
    right: auto;
    left: 0;
  }

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

  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .pricing-heading h2,
  .pricing-heading > p {
    margin-inline: auto;
  }

  .process-line {
    gap: 8px 26px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand-wordmark {
    display: none;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: auto;
    padding: 54px 0 44px;
  }

  .thanks-section {
    min-height: auto;
    padding: 54px 0 44px;
  }

  h1 {
    font-size: 3rem;
    line-height: 0.96;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .trust-row {
    display: grid;
  }

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

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

  .phone-frame {
    margin: 0;
  }

  .dashboard-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .section {
    padding: 58px 0;
  }

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

  .pricing-heading {
    margin-bottom: 28px;
  }

  .price-card {
    min-height: auto;
    padding: 26px;
  }

  .plan-topline {
    min-height: auto;
    flex-direction: column;
    gap: 8px;
  }

  .plan-note {
    border-left: 0;
    padding-left: 0;
  }

  .plan-copy {
    min-height: auto;
  }

  .price-card.featured::before {
    right: 26px;
    left: 26px;
  }

  .process-line {
    border-top: 0;
  }

  .process-line::before {
    display: none;
  }

  .process-line .step-card {
    border-top: 1px solid var(--line);
    padding: 22px 0 8px;
  }

  .step-card span {
    margin: 0 0 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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

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