:root {
  --bg: #f6f1e8;
  --bg-strong: #efe4d3;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #171513;
  --muted: #645b52;
  --line: rgba(23, 21, 19, 0.1);
  --accent: #0e77d8;
  --accent-strong: #095bb0;
  --warm: #e05a2c;
  --warm-deep: #b93f1d;
  --success: #0f7b58;
  --shadow: 0 18px 50px rgba(38, 24, 11, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(14, 119, 216, 0.16), transparent 24rem),
    radial-gradient(circle at 10% 20%, rgba(224, 90, 44, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
  font-family: "Avenir Next", "SF Pro Rounded", "Trebuchet MS", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(24px);
}

.site-shell::before {
  top: -4rem;
  right: -2rem;
  width: 18rem;
  height: 18rem;
  background: rgba(14, 119, 216, 0.12);
}

.site-shell::after {
  bottom: -5rem;
  left: -4rem;
  width: 20rem;
  height: 20rem;
  background: rgba(224, 90, 44, 0.12);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 232, 0.72);
  border-bottom: 1px solid rgba(23, 21, 19, 0.06);
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, var(--warm) 0%, var(--accent) 100%);
  box-shadow: 0 10px 24px rgba(14, 119, 216, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.02rem;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 22px rgba(14, 119, 216, 0.24);
}

.button:hover,
.button:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 21, 19, 0.08);
}

.hero {
  padding: 4rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 119, 216, 0.08);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1,
.page-header h1 {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 21, 19, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(224, 90, 44, 0.12), rgba(14, 119, 216, 0.12));
}

.hero-card h2 {
  margin: 0;
  font-size: 1.55rem;
}

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

.mini-workout {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.mini-step {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 21, 19, 0.07);
}

.mini-step strong {
  display: block;
}

.mini-step span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 1.25rem 0 3.4rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

.panel {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
}

.panel h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.feature-badge {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(224, 90, 44, 0.08);
  color: var(--warm-deep);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.callout {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(14, 119, 216, 0.12), rgba(224, 90, 44, 0.12));
  border: 1px solid rgba(23, 21, 19, 0.07);
}

.callout h2,
.callout h3 {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.page-header {
  padding: 4.25rem 0 1.5rem;
}

.page-header .lead {
  max-width: 48rem;
}

.content-stack {
  display: grid;
  gap: 1rem;
  padding-bottom: 3.5rem;
}

.content-stack .panel,
.faq-item {
  background: var(--surface-strong);
}

.content-stack h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.content-stack h3 {
  margin-bottom: 0.45rem;
}

.content-stack p:last-child,
.content-stack ul:last-child {
  margin-bottom: 0;
}

.highlight {
  display: inline-block;
  padding: 0.16rem 0.45rem;
  border-radius: 0.5rem;
  background: rgba(14, 119, 216, 0.08);
  color: var(--accent-strong);
  font-weight: 600;
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--warm);
  border-radius: 1rem;
  background: rgba(224, 90, 44, 0.08);
}

.muted-list {
  color: var(--muted);
}

.footer {
  padding: 2.4rem 0 3.4rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(23, 21, 19, 0.08);
}

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    padding: 0.8rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero h1,
  .page-header h1 {
    font-size: clamp(2.3rem, 13vw, 3.6rem);
  }

  .hero-copy,
  .hero-card,
  .panel,
  .callout {
    padding: 1.15rem;
  }
}
