:root {
  --bg: #f7f1e8;
  --bg-soft: #fffaf4;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-strong: #fffdf9;
  --surface-dark: #17324d;
  --text: #17324d;
  --muted: #5f6d7c;
  --line: rgba(23, 50, 77, 0.14);
  --primary: #ff7a59;
  --primary-strong: #ed5d37;
  --secondary: #3aa6b9;
  --accent: #ffd166;
  --success: #2f855a;
  --shadow: 0 24px 60px rgba(23, 50, 77, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.52), transparent 24%),
    radial-gradient(circle at top right, rgba(58, 166, 185, 0.28), transparent 26%),
    linear-gradient(180deg, #fff7ed 0%, #f7f1e8 46%, #eef5f7 100%);
}

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

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.6;
}

.page-shell::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -90px;
  background: rgba(255, 122, 89, 0.22);
}

.page-shell::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: 10%;
  background: rgba(58, 166, 185, 0.16);
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 244, 0.75);
  border-bottom: 1px solid rgba(23, 50, 77, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--primary), #ffb563);
  color: white;
  box-shadow: 0 14px 30px rgba(255, 122, 89, 0.28);
}

.brand small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface-strong);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a,
.nav-dropdown-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: 180ms ease;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--text);
  background: rgba(23, 50, 77, 0.06);
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown-toggle {
  gap: 0.45rem;
}

.nav-dropdown-toggle::after {
  content: "v";
  font-size: 0.72rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 220px;
  padding: 0.55rem;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  z-index: 30;
}

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

.nav-dropdown-menu a {
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 28px rgba(237, 93, 55, 0.24);
}

.btn-secondary {
  background: rgba(23, 50, 77, 0.06);
  color: var(--text);
}

.btn-outline {
  border-color: rgba(23, 50, 77, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
}

.btn-block {
  width: 100%;
}

.hero,
.content-hero {
  padding: 4.4rem 0 2.6rem;
}

.hero-grid,
.two-column {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.28);
  color: #8a5a00;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.3rem;
}

.display-copy {
  margin: 1.1rem 0 1.6rem;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.stack-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.demo-banner,
.demo-card,
.demo-pill,
.empty-state {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.demo-banner,
.demo-card,
.empty-state {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.demo-banner {
  margin: 1.2rem auto 0;
  padding: 1rem 1.2rem;
}

.demo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-banner strong,
.demo-card strong {
  display: block;
}

.demo-banner p,
.demo-card p,
.empty-state p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-card {
  padding: 1.4rem;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.demo-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.empty-state {
  padding: 1.2rem;
}

.glass-card,
.panel,
.stat-card,
.feature-card,
.plan-card,
.faq-item,
.form-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel,
.form-card,
.plan-card,
.feature-card,
.faq-item {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.hero-visual {
  padding: 1.25rem;
  border-radius: 32px;
}

.mini-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.search-panel {
  margin-top: 1.5rem;
  border-radius: 32px;
  padding: 1.25rem;
}

.search-toolbar {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)) auto;
  gap: 0.8rem;
  align-items: center;
}

.field,
.search-input,
.toggle-card,
.chip,
.response-card,
.metric-row,
.timeline-step,
.settings-tile,
.info-strip,
.social-button,
.divider-line {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.field,
.search-input,
.toggle-card,
.response-card,
.metric-row,
.timeline-step,
.settings-tile,
.info-strip {
  border-radius: var(--radius-md);
}

.field,
.search-input {
  width: 100%;
  padding: 0.95rem 1rem;
  min-height: 56px;
  color: var(--text);
}

.field::placeholder,
.search-input::placeholder {
  color: #798799;
}

.chip-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.chip {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
}

.section {
  padding: 2.2rem 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-header p,
.muted {
  color: var(--muted);
}

.grid-3,
.grid-4,
.pricing-grid,
.settings-grid,
.faq-grid,
.metrics-grid {
  display: grid;
  gap: 1rem;
}

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

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

.feature-card p,
.plan-card p,
.faq-item p,
.settings-tile p,
.response-card p,
.timeline-step p,
.info-strip p,
.form-card p {
  color: var(--muted);
  line-height: 1.65;
}

.accent-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(58, 166, 185, 0.14);
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.response-stack,
.timeline {
  display: grid;
  gap: 0.9rem;
}

.response-card {
  padding: 1.1rem;
}

.social-stack {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 700;
}

.social-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(23, 50, 77, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}

.divider-line {
  position: relative;
  text-align: center;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  margin: 0.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.response-head,
.metric-row,
.price-tag {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.response-head strong,
.price-tag strong {
  font-size: 1rem;
}

.response-badges,
.pill-row,
.tag-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pill,
.tag,
.tiny-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.pill {
  background: rgba(58, 166, 185, 0.12);
  color: #0c7283;
}

.tag {
  background: rgba(255, 122, 89, 0.12);
  color: #b74422;
}

.tiny-badge {
  background: rgba(23, 50, 77, 0.08);
  color: var(--muted);
}

.highlight-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #17324d 0%, #245476 100%);
  color: white;
}

.highlight-card p,
.highlight-card .muted {
  color: rgba(255, 255, 255, 0.76);
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -24% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.14);
}

.plan-card.featured {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 89, 0.22);
}

.price {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.list {
  padding: 0;
  margin: 1rem 0 1.4rem;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.list li {
  display: flex;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
}

.list li::before {
  content: "+";
  color: var(--primary);
  font-weight: 700;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.checkbox-row,
.switch-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-row input,
.switch-row input {
  width: 18px;
  height: 18px;
}

.settings-tile {
  padding: 1.1rem;
}

.footer {
  padding: 2.5rem 0 4rem;
}

.footer-card {
  border-radius: 32px;
  padding: 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 700ms ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 120ms;
}

.fade-up.delay-2 {
  animation-delay: 220ms;
}

.fade-up.delay-3 {
  animation-delay: 320ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column,
  .grid-4,
  .settings-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .pricing-grid,
  .faq-grid,
  .footer-grid,
  .search-toolbar,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .search-toolbar .btn {
    width: 100%;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav-links,
  .nav-actions {
    display: none;
    width: 100%;
  }

  .topbar.open .nav-links,
  .topbar.open .nav-actions {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    margin-top: 0.35rem;
  }

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

  .hero,
  .content-hero {
    padding-top: 3rem;
  }

  .hero-grid,
  .two-column,
  .grid-4,
  .grid-3,
  .pricing-grid,
  .settings-grid,
  .faq-grid,
  .metrics-grid,
  .footer-grid,
  .form-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }
}
