:root {
  --bg: #f4f5f7;
  --bg-strong: #e7e9ed;
  --ink: #1f242c;
  --muted: #4a5260;
  --accent: #3f4754;
  --accent-2: #c8ccd3;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(63, 71, 84, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  background: radial-gradient(80% 60% at 20% 15%, rgba(63, 71, 84, 0.12), transparent 60%),
    radial-gradient(70% 50% at 85% 0%, rgba(120, 136, 150, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', 'Work Sans', serif;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

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

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  position: relative;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border: 1px solid rgba(195, 180, 167, 0.6);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 91, 79, 0.08);
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(63, 71, 84, 0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-actions a.active {
  position: relative;
  background: rgba(63, 71, 84, 0.12);
  border-color: rgba(63, 71, 84, 0.35);
  color: var(--accent);
  box-shadow: 0 6px 18px rgba(63, 71, 84, 0.16);
}

.nav-actions a.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.8;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease,
    color 150ms ease;
}

.cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(63, 71, 84, 0.2);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(63, 71, 84, 0.25);
}

.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(63, 71, 84, 0.25);
}

.ghost:hover {
  background: rgba(63, 71, 84, 0.08);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: 22px;
  height: 22px;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

.ghost-inverse {
  background: var(--accent);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 36, 44, 0.2);
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  margin: 10px 0 14px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.chips:empty {
  display: none;
}

.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(63, 71, 84, 0.08);
  color: var(--accent);
  border-radius: 14px;
  font-weight: 600;
  font-size: 13px;
}

.hero-card {
  position: relative;
}

.card-inner {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(195, 180, 167, 0.7);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.muted {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.placeholder-note {
  font-size: 13px;
  color: #6f5f52;
  margin-top: 8px;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 15px;
}

.bullet-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.section {
  margin-top: 70px;
}

.section-header {
  max-width: 760px;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  color: #6f5f52;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  background: var(--card);
  border: 1px solid rgba(195, 180, 167, 0.7);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 91, 79, 0.08);
}

.card.soft {
  background: rgba(255, 255, 255, 0.75);
}

.card.hover {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card.hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 91, 79, 0.12);
}

.steps .card {
  position: relative;
}

.step-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(63, 71, 84, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.principles {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.05fr 0.95fr;
}

.card.deep {
  background: linear-gradient(135deg, #3f4754 0%, #2f343f 100%);
  color: #fff;
  border: none;
  box-shadow: 0 16px 40px rgba(47, 52, 63, 0.22);
}

.card.deep h2,
.card.deep .eyebrow {
  color: #fff;
}

.card.deep .chips span {
  background: rgba(255, 255, 255, 0.18);
  color: #f4fbf9;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card.faq {
  background: rgba(255, 255, 255, 0.9);
}

.faq-item + .faq-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(195, 180, 167, 0.6);
}

.cta-banner {
  margin-top: 70px;
  background: linear-gradient(120deg, #3f4754 0%, #2f343f 60%, #3f4754 100%);
  color: #f3f5f8;
  padding: 28px;
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 16px 40px rgba(15, 91, 79, 0.25);
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-banner .cta {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.cta-banner .ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #f3f5f8;
}

.cta-banner h1,
.cta-banner h2,
.cta-banner h3 {
  color: #ffffff;
}

.cta-banner .eyebrow {
  color: #d1d8e2;
}

.cta-banner .muted,
.cta-banner p {
  color: #dfe6ef;
}

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 36px rgba(63, 71, 84, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(63, 71, 84, 0.32);
}

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

.profile-figure {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  border: 1px dashed rgba(195, 180, 167, 0.9);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(233, 223, 211, 0.8));
  display: grid;
  place-items: center;
  color: #6f5f52;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

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

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

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

  .nav {
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 20px 16px 72px;
  }

  .nav {
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .brand-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 82vw);
    padding: 90px 18px 24px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    background: rgba(246, 241, 234, 0.98);
    border-left: 1px solid rgba(195, 180, 167, 0.6);
    box-shadow: -12px 0 30px rgba(15, 91, 79, 0.12);
    z-index: 20;
    gap: 12px;
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 180ms ease-out, opacity 180ms ease-out;
  }

  .nav-actions.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .center-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .center-mobile h1,
  .center-mobile p,
  .center-mobile .lead {
    text-align: center;
  }

  .center-mobile .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .center-mobile .hero-actions .cta,
  .center-mobile .hero-actions .ghost {
    width: 100%;
    max-width: 320px;
  }

  .hero-actions {
    justify-content: center;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 22px;
  }
}

@media (max-width: 540px) {
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    gap: 8px;
  }

  .cta,
  .ghost {
    width: 100%;
  }

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

@media (min-width: 1440px) {
  .page {
    max-width: 1380px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    gap: 32px;
  }
}
