/* ============================================================
   Orbit AI — microsite styles
   Bright, warm, orange theme. No dark mode.
   ============================================================ */

:root {
  --ink: #2a1c10;
  --ink-soft: #5f4a37;
  --muted: #8c795f;

  --cream: #fff9f1;
  --cream-deep: #fdf0dd;
  --surface: #ffffff;
  --surface-alt: #fff2e0;
  --line: rgba(42, 28, 16, 0.1);

  --accent: #c05621;
  --accent-hover: #9c4519;
  --accent-rgb: 192, 86, 33;
  --accent-light: #f2994a;
  --accent-lighter: #ffe4c7;
  --gold: #eaa63e;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Source Serif 4', Georgia, serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 8px 24px rgba(42, 28, 16, 0.08);
  --shadow: 0 20px 50px rgba(42, 28, 16, 0.12);
  --shadow-lg: 0 30px 80px rgba(42, 28, 16, 0.16);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

main {
  display: block;
  padding-top: 76px;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(var(--accent-rgb), 0.14), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 15%, rgba(234, 166, 62, 0.16), transparent 50%),
    linear-gradient(180deg, #fffaf3 0%, #fff6ea 40%, #fff9f1 100%);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.text-center-wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff9f1;
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 249, 241, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(42, 28, 16, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand .orbit-mark {
  width: 34px;
  height: 34px;
}

.brand span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  gap: 1.9rem;
}

.main-nav ul a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.15s ease;
}

.main-nav ul a:hover,
.main-nav ul a.active {
  color: var(--accent);
}

.main-nav ul a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-cta .btn-primary {
  padding: 0.85rem 2.3rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -8px;
}

.nav-toggle span::after {
  top: 8px;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 4.5rem 0 3rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy .lede {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Orbit visual */

.orbit-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(var(--accent-rgb), 0.25);
  border-radius: 50%;
}

.orbit-ring.ring-2 {
  inset: 12%;
  border-color: rgba(234, 166, 62, 0.35);
}

.orbit-ring.ring-3 {
  inset: 24%;
  border-color: rgba(var(--accent-rgb), 0.18);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent-light), var(--accent-hover));
  box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0.1), 0 20px 60px rgba(var(--accent-rgb), 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-core 4s ease-in-out infinite;
}

.orbit-core svg {
  width: 42%;
  height: 42%;
  color: #fff9f1;
}

.orbit-spin {
  position: absolute;
  inset: 0;
  animation: spin 26s linear infinite;
}

.orbit-spin.spin-reverse {
  animation-direction: reverse;
  animation-duration: 34s;
}

.orbit-node {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: unspin 26s linear infinite;
}

.orbit-spin.spin-reverse .orbit-node {
  animation-direction: reverse;
  animation-duration: 34s;
}

.orbit-node svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.node-1 {
  top: -2%;
  left: 50%;
  margin-left: -33px;
}

.node-2 {
  top: 50%;
  right: -6%;
  margin-top: -33px;
}

.spin-reverse .node-3 {
  bottom: -4%;
  left: 20%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes unspin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.spin-reverse {
  animation-direction: reverse;
}

@keyframes pulse-core {
  0%,
  100% {
    box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0.1), 0 20px 60px rgba(var(--accent-rgb), 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(var(--accent-rgb), 0.06), 0 20px 70px rgba(var(--accent-rgb), 0.5);
  }
}

/* ---------------- Sections ---------------- */

section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, var(--surface-alt) 12%, var(--surface-alt) 88%, transparent);
}

.section-head {
  max-width: 680px;
  margin: 0 0 3rem;
}

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

.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

.conversation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

/* ---------------- Problem / relate strip ---------------- */

.relate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.relate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.relate-card .relate-emoji {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

.relate-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.relate-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------------- Tool cards (home) ---------------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.tool-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-lighter), #ffd8a8);
  margin-bottom: 1.4rem;
}

.tool-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-hover);
}

.tool-card h3 {
  margin-bottom: 0.5rem;
}

.tool-card .tool-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.tool-card p {
  font-size: 0.97rem;
  flex-grow: 1;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 1rem;
  transition: gap 0.2s ease;
}

.tool-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.tool-card:hover .tool-link svg {
  transform: translateX(4px);
}

/* ---------------- Chat examples ---------------- */

.chat-mock {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 560px;
  border: 1px solid var(--line);
}

.chat-mock-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.chat-mock-head .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-mock-head .dot svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.chat-mock-head strong {
  display: block;
  font-size: 0.95rem;
}

.chat-mock-head small {
  color: var(--muted);
  font-size: 0.8rem;
}

.chat-bubble {
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
  max-width: 88%;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in 0.5s ease forwards;
}

.chat-bubble.user {
  background: var(--surface-alt);
  margin-left: auto;
  border-bottom-right-radius: 4px;
  color: var(--ink);
}

.chat-bubble.ai {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(234, 166, 62, 0.14));
  border-bottom-left-radius: 4px;
  color: var(--ink);
}

.chat-bubble strong {
  color: var(--accent-hover);
}

@keyframes bubble-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.prompt-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow .2s ease;
}

.prompt-pill:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.prompt-pill .quote-mark {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ---------------- How it works / steps ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 0;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.3);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.96rem;
}

/* ---------------- Feature list (tool pages) ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card .feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-hover);
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* ---------------- Pricing ---------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 2rem;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff9f1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(var(--accent-rgb), 0.35);
}

.pricing-badge.soon {
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pricing-card.upcoming {
  opacity: 0.92;
}

.pricing-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-card > p {
  font-size: 0.94rem;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.8rem 0 0.15rem;
  font-family: var(--display);
}

/* Info popover — a small tap/click-to-reveal bubble, used next to prices
   that need a short caveat without cluttering the card copy. */

.info-pop {
  position: relative;
  display: inline-flex;
  align-self: center;
}

.info-pop-trigger {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.info-pop-trigger:hover,
.info-pop-trigger:focus-visible {
  background: var(--accent);
  color: #fff9f1;
  outline: none;
}

.info-pop-bubble {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  width: min(280px, 84vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.1rem;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.info-pop.open .info-pop-bubble {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.info-pop-bubble::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.info-pop-bubble strong {
  display: block;
  font-family: var(--font);
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.info-pop-bubble p {
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
}

.info-pop-bubble ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.info-pop-bubble li {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.info-pop-bubble li:last-child {
  margin-bottom: 0;
}

.price-tag .price-amount {
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.price-tag .price-period {
  font-size: 0.92rem;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
}

.price-extra {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.4rem;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pricing-card-actions .btn {
  width: auto;
  flex: 1 1 140px;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-coffee svg {
  color: var(--gold);
}

.pricing-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-faq .feature-card h3 {
  font-size: 1.02rem;
}

.pricing-faq .feature-card.wide {
  grid-column: 1 / -1;
}

.widget-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.4rem;
  max-width: 680px;
  margin: 0 auto;
}

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

/* ---------------- Tool page hero ---------------- */

.tool-hero {
  padding: 3.5rem 0 2rem;
}

.tool-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.tool-badge .tool-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-badge .tool-badge-icon svg {
  width: 15px;
  height: 15px;
  color: #fff;
}

/* Mockup window */

.mockup {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

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

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(42, 28, 16, 0.15);
}

.mockup-bar span:nth-child(1) {
  background: #f2994a;
}

.mockup-body {
  padding: 1.4rem;
}

/* Kanban mockup (SalesMate) */

.mock-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.mock-col {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 0.7rem;
}

.mock-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.mock-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 2px 6px rgba(42, 28, 16, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-card small {
  display: block;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.2rem;
}

/* Page-builder mockup (SalesPage) */

.mock-page-blocks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mock-block {
  border-radius: 10px;
  background: var(--surface-alt);
  padding: 0.9rem 1rem;
}

.mock-block.hero {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(234, 166, 62, 0.2));
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.mock-bar-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), 0.35);
}

.mock-bar-line.w-60 {
  width: 60%;
}

.mock-bar-line.w-40 {
  width: 40%;
}

.mock-bar-line.w-80 {
  width: 80%;
}

.mock-block.text .mock-bar-line {
  background: rgba(42, 28, 16, 0.15);
  margin-bottom: 0.4rem;
}

.mock-block.cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-cta-btn {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
}

/* Inbox mockup (Mailbox) */

.mock-inbox {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-email-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: var(--surface-alt);
}

.mock-email-row.unread {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(234, 166, 62, 0.16));
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  flex-shrink: 0;
}

.mock-email-lines {
  flex-grow: 1;
}

.mock-email-lines .mock-bar-line {
  background: rgba(42, 28, 16, 0.14);
  margin-bottom: 0.3rem;
}

.mock-email-lines .mock-bar-line:last-child {
  margin-bottom: 0;
  background: rgba(42, 28, 16, 0.08);
  height: 6px;
}

/* ---------------- Cross-link band ---------------- */

.crosslink-band {
  background: linear-gradient(135deg, #2a1c10, #3a2413);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #fff9f1;
}

.crosslink-band h2,
.crosslink-band p {
  color: #fff9f1;
}

.crosslink-band .eyebrow {
  color: var(--gold);
}

.crosslink-band .eyebrow::before {
  background: var(--gold);
}

.crosslink-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.crosslink-card {
  background: rgba(255, 249, 241, 0.08);
  border: 1px solid rgba(255, 249, 241, 0.16);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.crosslink-card:hover {
  background: rgba(255, 249, 241, 0.14);
  transform: translateY(-3px);
}

.crosslink-card .tool-icon {
  background: rgba(255, 249, 241, 0.14);
  flex-shrink: 0;
}

.crosslink-card .tool-icon svg {
  color: #ffd8a8;
}

.crosslink-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #fff9f1;
}

.crosslink-card p {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255, 249, 241, 0.7);
}

/* ---------------- Final CTA ---------------- */

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

.final-cta-card {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-hover));
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  color: #fff9f1;
  position: relative;
  overflow: hidden;
}

.final-cta-card::before,
.final-cta-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(255, 249, 241, 0.25);
}

.final-cta-card::before {
  width: 340px;
  height: 340px;
  top: -160px;
  right: -100px;
}

.final-cta-card::after {
  width: 220px;
  height: 220px;
  bottom: -120px;
  left: -60px;
}

.final-cta-card h2 {
  color: #fff9f1;
  position: relative;
}

.final-cta-card p {
  color: rgba(255, 249, 241, 0.88);
  position: relative;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

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

.final-cta-card .btn-primary {
  background: #fff9f1;
  color: var(--accent-hover);
  box-shadow: 0 12px 28px rgba(42, 28, 16, 0.25);
}

.final-cta-card .btn-ghost {
  border-color: rgba(255, 249, 241, 0.5);
  color: #fff9f1;
}

.final-cta-card .btn-ghost:hover {
  border-color: #fff9f1;
  color: #fff9f1;
}

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand {
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------------- Scroll reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-stagger.in-view > * {
  animation: none;
}

/* ---------------- Responsive ---------------- */

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

  .hero-visual,
  .tool-hero .mockup-wrap {
    order: -1;
  }

  .relate-grid,
  .tool-grid,
  .feature-grid,
  .steps,
  .crosslink-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .main-nav a {
    font-size: 1.1rem;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle {
    display: block;
  }

  .relate-grid,
  .tool-grid,
  .feature-grid,
  .steps,
  .crosslink-grid,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 3.2rem 0;
  }

  .mock-kanban {
    grid-template-columns: 1fr;
  }
}

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