:root {
  --ink: #10202c;
  --ink-2: #263b48;
  --muted: #647682;
  --frost: #f4fbf8;
  --snow: #ffffff;
  --mist: #e8f2ee;
  --glacier: #42b7c4;
  --glacier-dark: #087985;
  --evergreen: #0d6b5d;
  --pine: #0a453e;
  --sunrise: #ffb86b;
  --coral: #f36f56;
  --blue: #1c82f6;
  --line: rgba(16, 32, 44, 0.12);
  --shadow: 0 24px 80px rgba(17, 44, 53, 0.16);
  --shadow-soft: 0 18px 44px rgba(17, 44, 53, 0.11);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 10%, rgba(66, 183, 196, 0.22), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(255, 184, 107, 0.2), transparent 30%),
    linear-gradient(180deg, #f7fbf8 0%, #eff8f4 43%, #ffffff 100%);
  font-family: var(--font-body);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 44, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
  z-index: -2;
}

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

button,
input {
  font: inherit;
}

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

.site-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.scrolled {
  background: transparent;
  border-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 7px 20px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 54px rgba(16, 32, 44, 0.11);
  backdrop-filter: blur(20px);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pine);
  font-size: clamp(1.16rem, 1.7vw, 1.5rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-logo {
  display: block;
  width: 82px;
  height: 68px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 16px 22px rgba(8, 121, 133, 0.18));
}

.nav-capsule {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 56px rgba(16, 32, 44, 0.1);
  backdrop-filter: blur(20px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 800;
  font-size: 0.91rem;
}

.primary-nav a:hover {
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
}

.primary-nav a[aria-current="page"] {
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
}

.primary-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--pine), var(--evergreen));
  box-shadow: 0 10px 28px rgba(13, 107, 93, 0.22);
}

.primary-nav .nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #073b35, var(--evergreen));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  background: var(--mist);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--pine);
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 72px);
  padding-top: 168px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--glacier-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-eyebrow {
  gap: 11px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(13, 107, 93, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 34px rgba(16, 32, 44, 0.08);
  color: var(--pine);
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  letter-spacing: 0.07em;
  backdrop-filter: blur(16px);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sunrise);
  box-shadow: 0 0 0 7px rgba(255, 184, 107, 0.16);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 5.1vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(1.9rem, 3.45vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h3 {
  font-size: clamp(1.3rem, 1.9vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.052em;
}

p {
  line-height: 1.72;
}

.hero-lede {
  max-width: 650px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  margin: 24px 0 0;
}

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

.ai-proof-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin-top: 22px;
}

.ai-proof-row span {
  position: relative;
  padding: 11px 14px 11px 36px;
  border: 1px solid rgba(13, 107, 93, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--pine);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(16, 32, 44, 0.06);
}

.ai-proof-row span::before {
  content: "AI";
  position: absolute;
  left: 10px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pine), var(--glacier));
  font-size: 0.62rem;
  transform: translateY(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pine), var(--evergreen));
  box-shadow: 0 16px 34px rgba(13, 107, 93, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(16, 32, 44, 0.1);
  box-shadow: 0 12px 28px rgba(16, 32, 44, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(13, 107, 93, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.dashboard-mockup {
  position: relative;
  padding: 18px;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(234, 246, 241, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.dashboard-mockup::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 184, 107, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(8, 121, 133, 0.08), rgba(13, 107, 93, 0.05));
  z-index: 0;
}

.mockup-topbar,
.mockup-grid {
  position: relative;
  z-index: 1;
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}

.mockup-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9fc9c3;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 16px;
}

.metric-card,
.survey-card,
.phone-mockup {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  min-height: 150px;
  padding: 22px;
}

.metric-card small {
  display: block;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.metric-card strong {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.metric-card.dark {
  color: #fff;
  background: linear-gradient(145deg, var(--pine), #0f8b92);
}

.metric-card.dark small {
  color: rgba(255, 255, 255, 0.72);
}

.progress-line {
  height: 10px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(13, 107, 93, 0.12);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--glacier), var(--evergreen));
}

.sparkline {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 48px;
  margin-top: 20px;
}

.sparkline i {
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.sparkline i:nth-child(1) { height: 35%; }
.sparkline i:nth-child(2) { height: 62%; }
.sparkline i:nth-child(3) { height: 48%; }
.sparkline i:nth-child(4) { height: 76%; }
.sparkline i:nth-child(5) { height: 92%; }

.survey-card {
  grid-column: span 1;
  padding: 22px;
}

.survey-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(243, 111, 86, 0.12);
}

.score-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.score-row span {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 14px;
  background: rgba(16, 32, 44, 0.06);
  font-weight: 900;
}

.score-row .selected {
  color: #fff;
  background: var(--blue);
}

.phone-mockup {
  grid-row: span 2;
  padding: 14px;
  border-radius: 34px;
  background: #14242e;
}

.phone-screen {
  min-height: 420px;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #eff9f5, #ffffff);
}

.live-card-preview {
  padding: 18px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 32, 44, 0.12), transparent),
    linear-gradient(145deg, #0d6b5d, #44b8c4);
  box-shadow: 0 14px 30px rgba(8, 121, 133, 0.22);
}

.tag {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 900;
}

.chat-bubble {
  width: fit-content;
  max-width: 86%;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.88rem;
}

.chat-bubble.inbound {
  background: #eaf1ef;
}

.chat-bubble.outbound {
  margin-left: auto;
  color: #fff;
  background: var(--blue);
}

.orbit-card {
  position: absolute;
  z-index: 4;
  width: 150px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.orbit-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.orbit-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.orbit-card-one {
  top: 6%;
  right: 2%;
}

.orbit-card-two {
  left: -4%;
  bottom: 12%;
  animation-delay: 1s;
}

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

.trust-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-strip div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.trust-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 800;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.walkthrough-section {
  position: relative;
}

.demo-video-card {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding: 18px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 184, 107, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(233, 247, 243, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.demo-video-copy {
  padding: clamp(18px, 3vw, 30px);
  align-self: center;
}

.demo-video-copy h3 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.demo-video-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.demo-video-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.demo-video-points span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.demo-video-frame {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #10202c;
  background-size: 34px 34px;
  box-shadow: 0 24px 60px rgba(16, 32, 44, 0.22);
}

.demo-video-frame::before {
  content: "AppRainier admin walkthrough";
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 32, 44, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.demo-video-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  color: #fff;
  background: #10202c;
  text-decoration: none;
}

.demo-video-link img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.01);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.demo-video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(16, 32, 44, 0.04), rgba(16, 32, 44, 0.62));
}

.demo-video-link:hover img {
  opacity: 0.95;
  transform: scale(1.045);
}

.demo-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 9vw, 104px);
  height: clamp(72px, 9vw, 104px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 56px rgba(16, 32, 44, 0.32);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.demo-video-play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid var(--pine);
}

.demo-video-link:hover .demo-video-play {
  background: var(--pine);
  transform: translate(-50%, -50%) scale(1.06);
}

.demo-video-link:hover .demo-video-play span {
  border-left-color: #fff;
}

.demo-video-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: 999px;
  color: #10202c;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(16, 32, 44, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.demo-video-link:hover .demo-video-open {
  color: #fff;
  background: var(--pine);
  transform: translateY(-2px);
}

.walkthrough-player {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 14% 22%, rgba(66, 183, 196, 0.24), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 184, 107, 0.24), transparent 24%),
    rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.walkthrough-stage {
  padding: clamp(12px, 2vw, 24px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(13, 107, 93, 0.08), rgba(66, 183, 196, 0.12));
}

.walkthrough-browser {
  overflow: hidden;
  border-radius: 28px;
  background: #10202c;
  box-shadow: 0 28px 70px rgba(16, 32, 44, 0.24);
}

.walkthrough-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(16, 32, 44, 0.96);
  font-weight: 900;
}

.walkthrough-browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff8c7a;
}

.walkthrough-browser-bar span:nth-child(2) {
  background: #ffc865;
}

.walkthrough-browser-bar span:nth-child(3) {
  background: #65d69a;
}

.walkthrough-browser-bar strong {
  margin-left: 12px;
  font-size: 0.86rem;
}

.walkthrough-app-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 530px;
  background: #f4faf7;
}

.walkthrough-app-shell aside {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 22px;
  color: #dff7f1;
  background: linear-gradient(180deg, #073b35, #0d6b5d);
}

.walkthrough-app-shell aside b {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.walkthrough-app-shell aside span {
  padding: 11px 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 900;
}

.walkthrough-app-shell aside span.active {
  color: #073b35;
  background: #fff;
}

.walkthrough-screen {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(16, 32, 44, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 32, 44, 0.04) 1px, transparent 1px),
    #f7fcfa;
  background-size: 34px 34px;
}

.walkthrough-step {
  position: absolute;
  inset: clamp(22px, 4vw, 44px);
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
}

.walkthrough-step.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.tour-login-card,
.tour-editor {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.tour-login-card span,
.tour-chip {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
  font-weight: 900;
  font-size: 0.78rem;
}

.tour-login-card p,
.tour-editor p {
  color: var(--muted);
  line-height: 1.65;
}

.tour-form-line {
  height: 46px;
  margin-top: 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(16, 32, 44, 0.08), rgba(66, 183, 196, 0.18));
}

.tour-form-line.short {
  width: 72%;
}

.tour-login-card button,
.tour-announcement-preview button,
.tour-config-card button {
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  color: #fff;
  background: var(--evergreen);
  font-weight: 900;
}

.tour-survey-preview,
.tour-announcement-preview,
.tour-live-card,
.tour-flag-card,
.tour-chat-card,
.tour-config-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(244, 251, 248, 0.92);
  border: 1px solid rgba(16, 32, 44, 0.08);
}

.tour-survey-preview strong,
.tour-announcement-preview strong,
.tour-live-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.tour-survey-preview div {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.tour-survey-preview div span {
  flex: 1;
  height: 38px;
  border-radius: 14px;
  background: rgba(28, 130, 246, 0.12);
}

.tour-survey-preview div span:nth-child(4) {
  background: var(--blue);
}

.tour-announcement-preview {
  text-align: center;
}

.tour-announcement-preview i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 20px;
  color: var(--pine);
  background: rgba(66, 183, 196, 0.2);
  font-style: normal;
  font-weight: 900;
}

.tour-announcement-preview small,
.tour-live-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.tour-live-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
}

.tour-live-card div {
  grid-row: span 2;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 60% 35%, #fff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--sunrise), var(--coral));
}

.tour-flag-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tour-flag-card span {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.tour-flag-card b {
  color: var(--pine);
}

.tour-toggle {
  width: 60px;
  height: 34px;
  border-radius: 999px;
  background: var(--evergreen);
}

.tour-toggle::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 3px 3px 3px auto;
  border-radius: 50%;
  background: #fff;
}

.tour-chat-card p {
  width: fit-content;
  max-width: 80%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 18px;
  font-weight: 800;
}

.tour-chat-card .inbound {
  color: var(--ink-2);
  background: #fff;
}

.tour-chat-card .outbound {
  margin-left: auto;
  color: #fff;
  background: var(--evergreen);
}

.tour-config-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tour-config-card code {
  color: var(--pine);
  font-weight: 900;
}

.walkthrough-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 4px 4px;
}

.walkthrough-controls button {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  cursor: pointer;
}

.walkthrough-controls button.active,
.walkthrough-controls .tour-play-toggle {
  color: #fff;
  background: var(--pine);
}

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

.loop-card {
  position: relative;
  min-height: 280px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.loop-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(66, 183, 196, 0.18);
}

.loop-card span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--glacier-dark);
  font-family: var(--font-display);
  font-weight: 900;
}

.loop-card p,
.feature-list,
.tab-panel p,
.sdk-copy p,
.ai-panel p,
.plans-section p {
  color: var(--muted);
}

.feature-tabs {
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-carousel-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-carousel-meta span:first-child {
  color: var(--glacier-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tab-list {
  display: flex;
  gap: 8px;
  padding: 14px;
  overflow-x: auto;
  background: rgba(235, 246, 241, 0.64);
}

.tab-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink-2);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--pine), var(--evergreen));
  box-shadow: 0 12px 28px rgba(13, 107, 93, 0.2);
}

.feature-tabs.is-playing .tab-button.active {
  box-shadow: 0 12px 28px rgba(13, 107, 93, 0.2), 0 0 0 6px rgba(66, 183, 196, 0.1);
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 4vw, 54px);
}

.tab-panel.active {
  display: grid;
  animation: panelIn 260ms ease;
}

.feature-progress {
  height: 5px;
  background: rgba(16, 32, 44, 0.08);
}

.feature-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--glacier), var(--evergreen));
  animation: featureProgress 6.2s linear infinite;
}

.feature-progress span.paused,
.feature-tabs:not(.is-playing) .feature-progress span {
  animation-play-state: paused;
}

@keyframes featureProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

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

.feature-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--glacier-dark);
  font-weight: 900;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 28px;
  line-height: 1.55;
  font-weight: 800;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--glacier);
  box-shadow: 0 0 0 6px rgba(66, 183, 196, 0.12);
}

.product-visual {
  min-height: 430px;
  border-radius: 32px;
  padding: 24px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 184, 107, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(232, 242, 238, 0.88), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mini-modal,
.announcement-card,
.message-center-card,
.analytics-card {
  width: min(360px, 100%);
  margin: 18px auto;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.mini-modal h4,
.announcement-card h4,
.analytics-card h4 {
  font-size: 1.35rem;
  margin: 18px 0;
}

.step-pill {
  display: inline-flex;
  float: right;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(16, 32, 44, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-progress {
  clear: both;
  height: 6px;
  margin: 18px 0 22px;
  border-radius: 999px;
  background: rgba(16, 32, 44, 0.12);
}

.mini-progress span {
  display: block;
  width: 27%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.mini-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 15px;
  background: #f4f6f5;
  font-weight: 900;
}

.mini-modal label span {
  width: 18px;
  height: 18px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.mini-actions button {
  height: 48px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
}

.mini-actions button:first-child {
  background: #eef0f0;
}

.mini-actions button:last-child {
  color: #fff;
  background: var(--glacier-dark);
}

.cards-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.live-card {
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.live-card.large {
  min-height: 230px;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3), transparent 25%),
    linear-gradient(135deg, #10202c, #0d6b5d 58%, #42b7c4);
  overflow: hidden;
}

.carousel-stage {
  position: relative;
  height: 214px;
  border-radius: 24px;
  overflow: hidden;
  background: #d8f4f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.carousel-frame {
  position: relative;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(12px) scale(0.98);
  animation: carouselFade 9s infinite;
}

.carousel-slide.slide-one {
  opacity: 1;
  transform: translateX(0) scale(1);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.78), transparent 20%),
    linear-gradient(135deg, #15304c, #248ea0 52%, #b6efe4);
}

.carousel-slide.slide-two {
  animation-delay: 3s;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.64), transparent 18%),
    linear-gradient(135deg, #ffcf7e, #f36f56 48%, #0d6b5d);
}

.carousel-slide.slide-three {
  animation-delay: 6s;
  background:
    radial-gradient(circle at 76% 22%, rgba(66, 183, 196, 0.42), transparent 26%),
    linear-gradient(135deg, #10202c, #223f65 50%, #42b7c4);
}

@keyframes carouselFade {
  0%, 28% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  33%, 94% {
    opacity: 0;
    transform: translateX(-16px) scale(0.985);
  }

  95%, 100% {
    opacity: 0;
    transform: translateX(16px) scale(0.985);
  }
}

.scene-sky {
  position: absolute;
  left: 28px;
  top: 26px;
  width: 106px;
  height: 74px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.28);
}

.scene-phone {
  position: absolute;
  right: 42px;
  top: 28px;
  width: 82px;
  height: 154px;
  border-radius: 22px;
  background:
    linear-gradient(#ffffff 0 14%, transparent 14%),
    linear-gradient(180deg, #eef8ff, #ffffff);
  box-shadow: 0 18px 34px rgba(16, 32, 44, 0.26);
}

.scene-card {
  position: absolute;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(16, 32, 44, 0.16);
}

.scene-card.one {
  left: 46px;
  bottom: 34px;
  width: 142px;
  height: 66px;
}

.scene-card.two {
  right: 96px;
  bottom: 48px;
  width: 96px;
  height: 48px;
  background: rgba(255, 255, 255, 0.7);
}

.scene-bag {
  position: absolute;
  left: 56px;
  top: 50px;
  width: 118px;
  height: 112px;
  border-radius: 24px 24px 32px 32px;
  background:
    radial-gradient(circle at 50% 35%, #fff8da 0 24%, transparent 25%),
    linear-gradient(135deg, #fff, #ffe3b0);
  box-shadow: 0 22px 38px rgba(16, 32, 44, 0.2);
}

.scene-bag::before {
  content: "";
  position: absolute;
  left: 34px;
  top: -20px;
  width: 50px;
  height: 42px;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.scene-badge {
  position: absolute;
  right: 54px;
  top: 46px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: var(--pine);
  background: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 22px 38px rgba(16, 32, 44, 0.22);
}

.scene-ribbon {
  position: absolute;
  right: 36px;
  bottom: 36px;
  width: 156px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.scene-dashboard {
  position: absolute;
  left: 34px;
  top: 38px;
  width: 188px;
  height: 132px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 38px rgba(16, 32, 44, 0.24);
}

.scene-dashboard::before,
.scene-dashboard::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 12px;
  border-radius: 999px;
  background: rgba(16, 32, 44, 0.1);
}

.scene-dashboard::before {
  top: 26px;
}

.scene-dashboard::after {
  top: 52px;
  right: 58px;
}

.scene-chart {
  position: absolute;
  right: 44px;
  top: 52px;
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: conic-gradient(#42b7c4 0 42%, #ffb86b 42% 68%, #0d6b5d 68% 100%);
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, 0.92), 0 20px 34px rgba(16, 32, 44, 0.24);
}

.scene-spark {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: 72px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 20px rgba(16, 32, 44, 0.18);
  transform: translateY(-50%);
}

.carousel-arrow.left {
  left: 12px;
}

.carousel-arrow.right {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
}

.carousel-dots span:first-child {
  width: 20px;
  border-radius: 999px;
  background: #fff;
}

.carousel-copy {
  padding: 20px 8px 8px;
}

.carousel-copy span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 900;
}

.carousel-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.14;
  letter-spacing: -0.06em;
}

.carousel-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  line-height: 1.5;
}

.live-card.tile {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(16, 32, 44, 0.08);
}

.gift-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #ffcf7e 0 18%, transparent 19%),
    linear-gradient(135deg, var(--sunrise), var(--coral));
}

.announcement-card {
  position: relative;
  text-align: center;
  background: #e9f7f3;
}

.announcement-card > button {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.alert-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 28px auto 20px;
  color: #fff;
  border-radius: 28px;
  background: var(--glacier-dark);
  font-size: 2rem;
  font-weight: 900;
}

.announcement-card ul {
  padding: 18px 18px 18px 34px;
  border: 1px solid rgba(16, 32, 44, 0.11);
  border-radius: 24px;
  text-align: left;
  color: var(--ink-2);
  line-height: 1.65;
}

.flag-card,
.experiment-card {
  width: min(360px, 100%);
  margin: 26px auto;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.status {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
}

.status.on {
  color: var(--evergreen);
  background: rgba(13, 107, 93, 0.1);
}

.toggle {
  width: 62px;
  height: 34px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(16, 32, 44, 0.12);
}

.toggle::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 14px rgba(16, 32, 44, 0.16);
  transform: translateX(28px);
}

.toggle.on {
  background: var(--glacier-dark);
}

.experiment-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 110px;
  margin-top: 24px;
}

.bar-chart i {
  flex: 1;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--glacier), var(--evergreen));
}

.bar-chart i:nth-child(1) { height: 54%; }
.bar-chart i:nth-child(2) { height: 86%; }
.bar-chart i:nth-child(3) { height: 68%; }

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: #edf5f2;
  font-weight: 900;
  font-size: 0.86rem;
}

.segmented span:first-child {
  padding: 12px;
  border-radius: 15px;
  color: #fff;
  background: var(--evergreen);
}

.segmented span:last-child {
  padding: 12px;
  text-align: center;
}

.thread {
  position: relative;
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #f5f8f7;
}

.thread.unread {
  border: 1px solid rgba(28, 130, 246, 0.22);
  background: rgba(28, 130, 246, 0.08);
}

.thread p {
  margin: 6px 0 0;
}

.thread b {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 0.78rem;
}

.analytics-card {
  text-align: center;
}

.donut {
  width: 150px;
  height: 150px;
  margin: 18px auto;
  border-radius: 50%;
  background: conic-gradient(var(--evergreen) 0 52%, var(--glacier) 52% 78%, var(--sunrise) 78% 100%);
  box-shadow: inset 0 0 0 34px #fff;
}

.insight-line {
  height: 12px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(16, 32, 44, 0.1);
}

.insight-line.short {
  width: 68%;
  margin-left: auto;
  margin-right: auto;
}

.sdk-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 42px;
}

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

.sdk-grid span {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--pine);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 242, 238, 0.72));
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-weight: 900;
  text-align: center;
}

.sdk-grid span:nth-child(5) {
  grid-column: span 2;
}

.roi-calculator {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  padding: 18px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow);
}

.roi-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.roi-form label {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background: #f8fbfa;
  border: 1px solid rgba(16, 32, 44, 0.08);
}

.roi-form span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.roi-form input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.4rem;
  font-weight: 900;
}

.roi-results {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(66, 183, 196, 0.34), transparent 36%),
    linear-gradient(145deg, var(--pine), #10202c);
}

.roi-results div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
}

.roi-results span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.roi-results strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.1vw, 2.55rem);
  letter-spacing: -0.06em;
}

.roi-results .total-impact {
  background: rgba(66, 183, 196, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.roi-results p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.roi-breakdown {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.roi-breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.roi-breakdown span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.roi-breakdown b {
  color: #fff;
  font-size: 0.96rem;
}

.ai-panel,
.implementation-card,
.final-cta {
  border-radius: 40px;
  padding: clamp(28px, 5vw, 62px);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 184, 107, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(232, 242, 238, 0.7));
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow);
}

.ai-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 36px;
}

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

.ai-grid article {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 32, 44, 0.07);
}

.ai-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--glacier-dark);
  font-weight: 900;
}

.ai-grid h3 {
  font-size: 1.18rem;
}

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

.plan-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.plan-card.featured {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 184, 107, 0.26), transparent 30%),
    linear-gradient(145deg, var(--pine), var(--glacier-dark));
  transform: translateY(-10px);
}

.plan-card span {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--evergreen);
  background: rgba(13, 107, 93, 0.09);
  font-weight: 900;
}

.plan-card.featured span {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.82);
}

.plan-card h3 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.plan-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  margin-top: 10px;
  line-height: 1.5;
  font-weight: 800;
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.implementation-card {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 34px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: #fff;
  background: var(--pine);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 800;
}

.final-cta {
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(16, 32, 44, 0.1);
}

.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 14px;
  color: var(--ink-2);
  font-weight: 900;
}

.footer-name {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.contact-modal,
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal.open,
.success-modal.open {
  display: flex;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 32, 44, 0.58);
  backdrop-filter: blur(12px);
}

.contact-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 980px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(66, 183, 196, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 247, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(16, 32, 44, 0.32);
}

.contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(16, 32, 44, 0.08);
  font-size: 1.35rem;
  cursor: pointer;
}

.contact-intro {
  max-width: 680px;
  margin-bottom: 24px;
}

.contact-intro h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.contact-intro p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.contact-form label,
.feature-fieldset,
.full-field {
  display: grid;
  gap: 8px;
}

.contact-form label > span,
.feature-fieldset legend {
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 32, 44, 0.12);
  border-radius: 16px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  padding: 13px 14px;
  font-size: 1rem;
  min-height: 52px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--pine) 50%),
    linear-gradient(135deg, var(--pine) 50%, transparent 50%),
    linear-gradient(to right, rgba(16, 32, 44, 0.08), rgba(16, 32, 44, 0.08));
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    calc(100% - 42px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 28px;
  background-repeat: no-repeat;
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(154px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.phone-field select,
.phone-field input {
  min-height: 52px;
}

.phone-field select {
  padding-left: 12px;
  font-weight: 900;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(8, 121, 133, 0.58);
  box-shadow: 0 0 0 4px rgba(66, 183, 196, 0.16);
  background: #fff;
}

.feature-fieldset {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(16, 32, 44, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
}

.feature-fieldset legend {
  padding: 0 8px;
}

.feature-fieldset label,
.consent-field {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-2);
  font-weight: 800;
  line-height: 1.35;
}

.feature-fieldset input,
.consent-field input {
  width: auto;
}

.feature-fieldset input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--evergreen);
}

.contact-form label.consent-field {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-form label.consent-field input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.contact-form label.consent-field span {
  display: inline;
}

.success-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(66, 183, 196, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(241, 250, 247, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(16, 32, 44, 0.32);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--pine), var(--glacier));
  box-shadow: 0 18px 34px rgba(8, 121, 133, 0.24);
  font-size: 2.1rem;
  font-weight: 900;
}

.success-dialog h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.success-dialog p:not(.eyebrow) {
  color: var(--muted);
}

.success-dialog .button {
  margin-top: 12px;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.contact-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--pine);
  font-weight: 900;
}

.contact-status.error {
  color: #b43b2d;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.docs-shell {
  overflow: visible;
}

.docs-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 180px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: 34px;
}

.docs-hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.docs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.docs-badges span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
  border: 1px solid rgba(13, 107, 93, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.docs-command-card {
  min-width: 0;
  padding: 18px;
  border-radius: 28px;
  background: rgba(16, 32, 44, 0.94);
  color: #fff;
  box-shadow: var(--shadow);
}

.docs-command-card > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--sunrise);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.docs-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 900;
}

.docs-sidebar a:hover {
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
}

.docs-content {
  min-width: 0;
  display: grid;
  gap: 22px;
  padding-bottom: 90px;
}

.docs-card {
  min-width: 0;
  scroll-margin-top: 128px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.docs-card h2 {
  margin-bottom: 14px;
}

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

.docs-steps,
.download-grid,
.reference-app-grid,
.reference-grid,
.troubleshooting-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.docs-steps article,
.reference-grid article,
.troubleshooting-list article,
.reference-app-grid a,
.download-grid a {
  padding: 18px;
  border-radius: 22px;
  background: rgba(244, 251, 248, 0.82);
  border: 1px solid rgba(16, 32, 44, 0.08);
}

.docs-steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--pine);
  font-weight: 900;
}

.download-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 900;
}

.reference-app-grid a {
  display: grid;
  gap: 7px;
  color: var(--ink);
}

.reference-app-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(16, 32, 44, 0.1);
}

.reference-app-grid a span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
  font-size: 0.75rem;
  font-weight: 900;
}

.reference-app-grid a strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.reference-app-grid a small {
  color: var(--muted);
  font-weight: 800;
}

.download-grid span,
.docs-download-link {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--evergreen);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
}

.docs-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  color: var(--ink-2);
  background: rgba(66, 183, 196, 0.12);
  border: 1px solid rgba(66, 183, 196, 0.22);
  line-height: 1.6;
}

.docs-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.docs-list {
  color: var(--muted);
  line-height: 1.8;
}

.docs-card pre,
.docs-command-card pre {
  position: relative;
  max-width: 100%;
  overflow: auto;
  margin: 18px 0 0;
  padding: 20px;
  border-radius: 20px;
  background: #10202c;
  color: #e9fbf7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.docs-command-card pre {
  margin: 0;
  padding: 0;
  box-shadow: none;
}

.docs-card code,
.docs-command-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre;
}

.docs-card p code,
.docs-card li code,
.docs-note code {
  padding: 2px 6px;
  border-radius: 8px;
  color: var(--pine);
  background: rgba(13, 107, 93, 0.08);
  white-space: normal;
}

.copy-code {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.api-table {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.api-table div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(244, 251, 248, 0.82);
}

.api-table strong {
  color: var(--pine);
}

.api-table span {
  color: var(--muted);
}

.docs-checklist {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.docs-checklist label {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  color: var(--ink-2);
  background: rgba(244, 251, 248, 0.82);
  border: 1px solid rgba(16, 32, 44, 0.08);
  font-weight: 800;
  line-height: 1.5;
}

.docs-checklist label span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--pine);
}

.docs-checklist label span::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

@media (max-width: 980px) {
  .docs-hero,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .docs-hero {
    padding-top: 142px;
  }

  .docs-steps,
  .download-grid,
  .reference-app-grid,
  .reference-grid,
  .troubleshooting-list,
  .docs-sidebar,
  .api-table div {
    grid-template-columns: 1fr;
  }

  .docs-section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 230ms; }
.reveal-delay-4 { transition-delay: 300ms; }

@media (max-width: 1080px) {
  .hero,
  .sdk-section,
  .ai-panel,
  .implementation-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 144px;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .plans-grid .plan-card:last-child {
    grid-column: span 2;
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

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

  .walkthrough-app-shell aside {
    padding: 18px 14px;
  }

  .demo-video-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 10px;
    gap: 10px;
    margin-top: 0;
  }

  .brand {
    min-height: 62px;
    padding: 6px 12px 6px 6px;
    font-size: 1rem;
  }

  .brand-logo {
    width: 62px;
    height: 52px;
  }

  .nav-capsule {
    flex: 0 0 auto;
    min-height: 62px;
    padding: 9px;
    border-radius: 22px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: calc(100vw - 22px);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 16px;
    text-align: center;
    font-size: 0.98rem;
  }

  .primary-nav .nav-cta {
    margin-top: 4px;
  }

  .section-pad {
    padding: 68px 0;
  }

  .hero.section-pad {
    padding-top: 112px;
  }

  .hero {
    gap: 34px;
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
    width: 100%;
    margin-bottom: 18px;
    padding: 9px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.055em;
  }

  h1 {
    max-width: 11ch;
    margin: 0 auto;
    font-size: clamp(2.3rem, 10vw, 3.35rem);
    line-height: 1.03;
    letter-spacing: -0.07em;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  .hero-lede {
    max-width: 36rem;
    margin: 20px auto 0;
    font-size: 0.98rem;
    line-height: 1.64;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .button {
    min-height: 50px;
  }

  .ai-proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    text-align: left;
  }

  .ai-proof-row span {
    padding: 10px 10px 10px 34px;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .hero-proof {
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
  }

  .hero-proof span {
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .hero-visual {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .dashboard-mockup {
    padding: 12px;
    border-radius: 28px;
    transform: none;
  }

  .dashboard-mockup::before {
    inset: 12px;
    border-radius: 22px;
  }

  .mockup-topbar {
    padding: 10px 12px;
  }

  .mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-card,
  .survey-card {
    min-height: 118px;
    padding: 14px;
    border-radius: 18px;
  }

  .metric-card small {
    font-size: 0.58rem;
  }

  .metric-card strong {
    margin-top: 12px;
    font-size: 1rem;
  }

  .progress-line {
    height: 8px;
    margin-top: 16px;
  }

  .sparkline {
    height: 34px;
    gap: 5px;
    margin-top: 12px;
  }

  .survey-card p {
    margin: 8px 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .score-row {
    gap: 5px;
    margin-top: 10px;
  }

  .score-row span {
    height: 31px;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .phone-mockup {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 10px;
    border-radius: 24px;
  }

  .phone-screen {
    min-height: 250px;
    padding: 14px;
    border-radius: 20px;
  }

  .live-card-preview {
    padding: 14px;
    border-radius: 18px;
  }

  .tag {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .chat-bubble {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .trust-strip,
  .loop-grid,
  .plans-grid,
  .roi-calculator,
  .roi-form,
  .contact-grid,
  .feature-fieldset,
  .ai-grid {
    grid-template-columns: 1fr;
  }

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

  .walkthrough-app-shell aside {
    display: none;
  }

  .walkthrough-browser-bar strong {
    font-size: 0.76rem;
  }

  .demo-video-card {
    border-radius: 28px;
    padding: 12px;
  }

  .demo-video-frame,
  .demo-video-link,
  .demo-video-link img {
    min-height: 240px;
  }

  .walkthrough-screen {
    min-height: 520px;
    padding: 18px;
  }

  .walkthrough-step {
    inset: 18px;
  }

  .tour-live-card,
  .tour-config-card,
  .tour-flag-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .tour-live-card div {
    grid-row: auto;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-dialog {
    max-height: 92vh;
    border-radius: 26px;
  }

  .contact-actions {
    flex-direction: column-reverse;
  }

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

  .plans-grid .plan-card:last-child,
  .sdk-grid span:nth-child(5) {
    grid-column: auto;
  }

  .plan-card.featured {
    transform: none;
  }

  .orbit-card {
    display: none;
  }

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

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 520px) {
  .section-pad,
  .trust-strip,
  .site-footer,
  .site-header {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    gap: 8px;
    min-height: 58px;
    padding-right: 14px;
  }

  .brand-logo {
    width: 54px;
    height: 46px;
  }

  .nav-capsule {
    min-height: 58px;
    padding: 7px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .hero.section-pad {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(2.18rem, 10.8vw, 3.05rem);
  }

  .hero-lede {
    font-size: 0.95rem;
  }

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

  .dashboard-mockup {
    margin-inline: -2px;
  }

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

  .tab-list {
    padding: 10px;
  }

  .feature-carousel-meta {
    flex-direction: column;
    padding: 14px 16px 0;
  }

  .tab-panel {
    padding: 20px;
  }

  .product-visual {
    min-height: 360px;
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
