:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --bg-soft: #f2efe9;
  --panel: #fbfaf7;
  --border: rgba(40, 38, 34, 0.12);
  --text: #2c2a27;
  --muted: #6f6a63;
  --accent: #6c7c86;
  --accent-soft: rgba(108, 124, 134, 0.12);
  --accent-dark: #56626b;
  --gradient-start: #2c2a27;
  --gradient-end: #6c7c86;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1918;
  --bg-soft: #242321;
  --panel: #2a2928;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f0ede8;
  --muted: #9a9590;
  --accent: #8fa3b0;
  --accent-soft: rgba(143, 163, 176, 0.15);
  --accent-dark: #a8bcc8;
  --gradient-start: #f0ede8;
  --gradient-end: #8fa3b0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Merriweather", "Georgia", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
}

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

img,
svg {
  display: block;
}

ul {
  list-style: none;
}

h2,
h3,
h4 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

.container {
  width: min(1040px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(26, 25, 24, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.02em;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav a:hover::after {
  background: var(--accent);
}

.hero {
  padding: 90px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subhead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.email-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.email-line a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.email-line a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(44, 42, 39, 0.08);
  animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .hero-card {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

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

.hero-card h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-card ul {
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.btn:hover {
  color: var(--accent-dark);
}

.btn-primary {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: rgba(108, 124, 134, 0.3);
}

.btn-primary:hover {
  background: rgba(108, 124, 134, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: rgba(108, 124, 134, 0.4);
}

.btn-secondary:hover {
  background: rgba(108, 124, 134, 0.12);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(108, 124, 134, 0.4);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.85rem;
  background: transparent;
  border-color: rgba(108, 124, 134, 0.35);
  color: var(--accent-dark);
}

.section + .section {
  border-top: 1px solid rgba(40, 38, 34, 0.08);
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.fit-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 26px 0 24px;
}

.team-member {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border 0.2s ease, background 0.2s ease;
}

.team-member:hover {
  border-color: rgba(108, 124, 134, 0.4);
  background: #fffdf9;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(40, 38, 34, 0.1);
  background: #f6f2ec;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member .name {
  font-weight: 500;
  color: var(--text);
}

.team-bio {
  color: var(--muted);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.card h3,
.card h4 {
  margin-bottom: 10px;
}

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

.steps-grid .card p {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}

.examples-grid .card {
  background: #fdfbf7;
}

.examples-grid .card h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  transform: translateY(-1px);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(108, 124, 134, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.card ul {
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 52px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-size: 1.1rem;
}

.theme-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

:root:not([data-theme="dark"]) .theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(44, 42, 39, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(44, 42, 39, 0.35);
  color: var(--bg);
}

[data-theme="dark"] .floating-cta {
  background: var(--accent);
  color: #1a1918;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.floating-cta-icon {
  font-size: 1.1rem;
}

/* Card hover effects */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 42, 39, 0.1);
  border-color: rgba(108, 124, 134, 0.25);
}

[data-theme="dark"] .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Body transition for theme */
body {
  transition: background 0.3s ease, color 0.3s ease;
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 60px;
  }

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

  .hero-card {
    order: -1;
  }

  .fit-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }

}
