:root {
  --bg: #f6efe5;
  --bg-soft: #fffaf2;
  --surface: #ffffff;
  --surface-strong: #1a140f;
  --text: #1d1915;
  --text-muted: #5f564d;
  --brand: #f77103;
  --brand-dark: #c55300;
  --brand-soft: #ffdfc2;
  --accent: #0f766e;
  --border: rgba(31, 24, 17, 0.12);
  --shadow: 0 14px 50px rgba(37, 23, 11, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1120px, calc(100% - 2.5rem));
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 7%, rgba(247, 113, 3, 0.19), transparent 25%),
    radial-gradient(circle at 88% 16%, rgba(15, 118, 110, 0.17), transparent 30%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 45%, #f9f4ee 100%);
  line-height: 1.5;
  min-height: 100vh;
}

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

.bg-blob {
  position: fixed;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.bg-blob-one {
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: rgba(247, 113, 3, 0.2);
}

.bg-blob-two {
  left: -150px;
  top: 45%;
  width: 380px;
  height: 380px;
  background: rgba(15, 118, 110, 0.18);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(252, 247, 240, 0.84);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(252, 247, 240, 0.93);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(65, 31, 2, 0.24);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.section {
  padding: 5.2rem 0;
}

.legal-main {
  padding: 2.2rem 0 4rem;
}

.legal-shell {
  display: grid;
  gap: 1rem;
}

.legal-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(31, 24, 17, 0.09);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.legal-meta {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
}

.legal-doc {
  display: grid;
  gap: 1.1rem;
}

.legal-doc section {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 24, 17, 0.09);
  background: rgba(255, 255, 255, 0.8);
  padding: clamp(0.95rem, 2vw, 1.35rem);
}

.legal-doc h2 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.legal-doc p {
  margin: 0.66rem 0 0;
  color: var(--text-muted);
}

.legal-doc ul {
  margin: 0.66rem 0 0;
  color: var(--text-muted);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.6rem;
  min-height: calc(100vh - 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--brand-dark);
  background: rgba(247, 113, 3, 0.12);
  border: 1px solid rgba(247, 113, 3, 0.27);
  border-radius: 999px;
  padding: 0.42rem 0.88rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  margin: 1.2rem 0 0;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.6vw, 1.17rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, #ff8a24 95%);
  box-shadow: 0 14px 28px rgba(247, 113, 3, 0.31);
}

.btn-primary:hover {
  box-shadow: 0 18px 32px rgba(247, 113, 3, 0.4);
}

.btn-outline,
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: #fff;
}

.btn-small {
  padding: 0.56rem 0.95rem;
  font-size: 0.93rem;
}

.mini-stats {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.mini-stats li {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
}

.mini-stats .value {
  font-weight: 800;
  font-size: 0.99rem;
}

.mini-stats .label {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(460px, 100%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.9)),
    linear-gradient(140deg, rgba(247, 113, 3, 0.2), rgba(15, 118, 110, 0.15));
  box-shadow: var(--shadow);
  padding: 1rem;
  animation: floaty 6s ease-in-out infinite;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  background: var(--surface-strong);
  color: #fff;
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
}

.phone-header span {
  opacity: 0.75;
  font-size: 0.85rem;
}

.post-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30, 23, 17, 0.11);
  padding: 0.9rem;
  box-shadow: 0 8px 22px rgba(37, 23, 11, 0.08);
}

.post-card + .post-card {
  margin-top: 0.76rem;
}

.post-card-accent {
  background: linear-gradient(120deg, #fff6ec 0%, #fff 100%);
}

.post-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.avatar-gradient {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f77103, #f59e0b);
}

.avatar-gradient-alt {
  background: linear-gradient(135deg, #0f766e, #2dd4bf);
}

.post-top h3 {
  margin: 0;
  font-size: 0.95rem;
}

.post-top p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.79rem;
}

.post-body {
  margin: 0.72rem 0;
  color: #3c322a;
  font-size: 0.92rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.post-tags span {
  border-radius: 999px;
  background: #f6efe5;
  color: #6f5f4f;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
}

.float-pill {
  position: absolute;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.79rem;
  font-weight: 750;
  color: #fff;
  box-shadow: 0 10px 20px rgba(30, 23, 17, 0.2);
  animation: bob 5s ease-in-out infinite;
}

.pill-one {
  top: 8%;
  left: 0;
  background: linear-gradient(130deg, #0f766e, #14b8a6);
}

.pill-two {
  top: 45%;
  right: 2%;
  background: linear-gradient(130deg, #f59e0b, #f77103);
  animation-delay: 0.6s;
}

.pill-three {
  bottom: 8%;
  left: 6%;
  background: linear-gradient(130deg, #1f2937, #475569);
  animation-delay: 1.1s;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-top: 0.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  padding: 1.2rem;
  box-shadow: 0 8px 22px rgba(31, 24, 17, 0.06);
}

.feature-card p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
}

.section-soft {
  background:
    radial-gradient(circle at 82% 18%, rgba(247, 113, 3, 0.12), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.66));
  border-top: 1px solid rgba(30, 23, 17, 0.07);
  border-bottom: 1px solid rgba(30, 23, 17, 0.07);
}

.community-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: center;
}

.community-layout p {
  color: var(--text-muted);
}

.journey-steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.journey-steps div {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
}

.journey-steps span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: #7f3700;
  font-weight: 800;
}

.journey-steps p {
  margin: 0;
  color: #4a4038;
}

.quote-panel {
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
}

.quote-name {
  margin: 0.6rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quote-panel img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(30, 23, 17, 0.08);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.77);
  padding: 0.95rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 0.62rem 0 0;
  color: var(--text-muted);
}

.cta-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 4vw, 2.6rem);
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(135deg, #1f2937, #0f172a);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.34);
  text-align: center;
}

.cta-panel .eyebrow {
  background: rgba(247, 113, 3, 0.21);
  color: #ffd8b2;
  border-color: rgba(247, 113, 3, 0.36);
}

.cta-panel p {
  margin: 0.9rem auto 1.45rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  border-top: 1px solid rgba(30, 23, 17, 0.08);
  padding: 1.4rem 0 1.9rem;
  color: #6a5f56;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  font-weight: 700;
  color: #4b4139;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

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

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .community-layout {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 70px;
  }

  .btn-small {
    display: none;
  }

  .section {
    padding: 3.9rem 0;
  }

  .phone-shell {
    border-radius: 24px;
  }

  .float-pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .phone-shell,
  .float-pill,
  .btn {
    transition: none;
    animation: none;
    transform: none;
  }
}
