:root {
  --bg: #fffaf5;
  --bg-soft: #fffdf9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-muted: #fff2e8;
  --line: #f0d8c8;
  --line-strong: #e7c0a8;
  --text: #281714;
  --muted: #6f625a;
  --muted-strong: #544740;
  --navy: #111827;
  --brand: #f97316;
  --brand-deep: #ea580c;
  --brand-soft: #fff1e7;
  --accent: #ffb987;
  --success: #1f9d72;
  --shadow-lg: 0 20px 50px rgba(45, 20, 9, 0.08);
  --shadow-md: 0 12px 30px rgba(45, 20, 9, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.16), transparent 24%),
    radial-gradient(circle at left 25%, rgba(255, 188, 130, 0.18), transparent 20%),
    linear-gradient(180deg, #fffdfa 0%, #fff8f1 52%, #fffdfa 100%);
}

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

a:hover,
a:focus-visible {
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

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

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.topbar a {
  color: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.topbar-link {
  font-weight: 700;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 252, 248, 0.88);
  border-bottom: 1px solid rgba(240, 216, 200, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.brand span:last-child {
  display: grid;
  gap: 0.08rem;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #ff9a53 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.nav-cta {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.7rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}

.button:hover,
.button:focus-visible,
.related-card:hover,
.related-card:focus-visible,
.feature-card:hover,
.feature-card:focus-visible,
.quote-card:hover,
.quote-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(249, 115, 22, 0.05);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-deep) 0%, #ff8c3a 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(234, 88, 12, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

main {
  overflow: clip;
}

section {
  padding: 6rem 0;
}

.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: #fffcf8;
  border-bottom: 1px solid rgba(231, 192, 168, 0.2);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.06), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.04), transparent 40%);
  pointer-events: none;
}

.hero-simple {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-simple h1 {
  margin: 1rem auto 1.5rem;
}

.hero-simple .lede {
  margin: 0 auto 2rem;
}

.hero-simple .actions {
  justify-content: center;
  gap: 1.25rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(231, 192, 168, 0.2);
}

.hero-stats span {
  display: block;
  font-size: 0.94rem;
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--brand-deep);
  margin-bottom: 0.1rem;
}

.hero-grid,
.section-grid,
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.section-grid.reverse .section-copy {
  order: 2;
}

.section-grid.reverse .section-art {
  order: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(234, 88, 12, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-title,
h1 {
  margin: 1rem 0 1.25rem;
  max-width: 14ch;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.lede {
  max-width: 62ch;
  font-size: 1.14rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.supporting-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.hero-panel,
.panel,
.feature-card,
.quote-card,
.faq-card,
.related-card,
.metric-card,
.soft-card,
.cta-band,
.mock-card,
.comparison-table {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 245, 0.98));
  border: 1px solid rgba(240, 216, 200, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-panel,
.panel,
.soft-card,
.cta-band,
.mock-card,
.comparison-table {
  padding: 1.55rem;
}

.hero-panel {
  padding: 1.6rem;
  transition: transform 0.3s ease;
}

.hero-panel .mock-browser {
  transform: translateY(0.5rem);
  box-shadow: 0 40px 100px rgba(45, 20, 9, 0.12);
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

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

.panel-title {
  margin: 0;
  font-size: 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.mock-browser {
  overflow: hidden;
  border: 1px solid rgba(231, 192, 168, 0.9);
  border-radius: 22px;
  background: #fff;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(231, 192, 168, 0.3);
  background: #fff9f6;
}

.mock-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.mock-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f9c4a2;
}

.mock-body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.mock-card {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(231, 192, 168, 0.4);
  box-shadow: 0 4px 12px rgba(45, 20, 9, 0.04);
}

.mock-row,
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mock-row strong,
.detail-row strong {
  color: var(--text);
  font-size: 0.95rem;
}

.mock-row small,
.detail-row small {
  color: var(--muted);
  font-size: 0.84rem;
}

.mock-bar {
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0.6) 100%);
}

.mock-bar.alt {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.12) 0%, rgba(17, 24, 39, 0.28) 100%);
}

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

.mock-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(231, 192, 168, 0.5);
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.metric-strip {
  padding-top: 0.4rem;
}

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

.metric-card {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-lg);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--brand-deep);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.metric-card p {
  margin: 0;
  font-size: 0.94rem;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.section-kicker {
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-title {
  max-width: 12ch;
}

.section-number {
  position: absolute;
  top: -1rem;
  right: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(17, 24, 39, 0.03);
  pointer-events: none;
}

.section-copy {
  position: relative;
}

.section-copy p + p {
  margin-top: 0.4rem;
}

.metric-strip {
  padding: 5rem 0 3.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(240, 216, 200, 0.5);
}

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

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

.list-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 800;
}

.feature-grid,
.testimonial-grid,
.faq-grid,
.related-grid,
.split-card-grid {
  display: grid;
  gap: 1.25rem;
}

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

.feature-card,
.quote-card,
.faq-card,
.related-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.feature-kicker,
.related-label,
.quote-score {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-card p,
.faq-card p,
.related-card p,
.quote-card p {
  margin-bottom: 0;
}

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

.quote-card {
  position: relative;
  overflow: hidden;
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
}

.quote-card strong,
.quote-card small {
  display: block;
  position: relative;
  z-index: 1;
}

.quote-card strong {
  margin-top: 1rem;
}

.quote-card small {
  color: var(--muted);
}

.split-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soft-card {
  border-radius: var(--radius-lg);
}

.soft-card h3,
.soft-card p:last-child {
  margin-bottom: 0;
}

.comparison-table {
  display: grid;
  gap: 1rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(240, 216, 200, 0.8);
}

.comparison-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.comparison-row span:last-child {
  color: var(--brand-deep);
  font-weight: 800;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
}

.cta-band p,
.cta-band h2,
.cta-band .section-kicker {
  color: #fff;
}

.cta-band .button-primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 18px 35px rgba(99, 30, 0, 0.16);
}

.cta-band .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

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

.related-card {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(240, 216, 200, 0.76);
  background: rgba(255, 252, 248, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  max-width: 48ch;
}

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

.footer-grid h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

.footer-list a {
  color: var(--muted-strong);
  font-weight: 700;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.footer-badges span {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(240, 216, 200, 0.76);
}

.footer-meta p {
  margin: 0;
  font-size: 0.92rem;
}

.hero-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 241, 231, 0.6);
  border: 1px solid rgba(240, 216, 200, 0.6);
  backdrop-filter: blur(8px);
}

@media (max-width: 960px) {
  .hero-grid, .section-grid, .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .display-title, h1, .section-title, .lede {
    margin-left: auto;
    margin-right: auto;
  }
  
  .actions {
    justify-content: center;
  }
  
  .section-grid.reverse .section-copy,
  .section-grid.reverse .section-art {
    order: unset;
  }
  
  .feature-grid, .related-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid, .related-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .nav {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 0;
  }
  
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .nav-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-meta {
    flex-direction: column;
    text-align: center;
  }
  
  .topbar-inner {
    flex-direction: column;
    padding: 0.6rem 0;
    text-align: center;
    gap: 0.4rem;
  }
}

.inline-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 1.5rem;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.inline-stat strong {
  color: var(--brand-deep);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
}

/* Responsive refinements */
@media (max-width: 1024px) {
  .feature-grid,
  .testimonial-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 860px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
    text-align: center;
  }

  .hero-grid,
  .section-grid,
  .cta-grid,
  .footer-grid,
  .metric-grid,
  .split-card-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .display-title,
  h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .section-number {
    display: none;
  }

  .section-grid.reverse .section-copy {
    order: 0;
  }

  .section-grid.reverse .section-art {
    order: 1;
  }

  .actions {
    justify-content: center;
  }

  .footer-meta {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .topbar-inner {
    flex-direction: column;
    padding: 0.6rem 0;
    text-align: center;
    gap: 0.4rem;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .testimonial-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0.25rem;
  }

  .nav-cta {
    width: 100%;
    max-width: 280px;
  }

  .display-title,
  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .button {
    width: 100%;
  }

  .actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}
