:root {
  --bg: #F7F4EF;
  --bg-alt: #F0EAE0;
  --bg-dark: #101A2B;
  --text: #1B1712;
  --text-on-dark: #F7F4EF;
  --text-muted: #6B6355;
  --text-muted-on-dark: #C9C0B0;
  --accent: #1E3A5F;
  --accent-dark: #14283F;
  --line: #E3DCCF;
  --line-on-dark: #253247;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

p { margin: 0 0 16px; color: var(--text); }

a { color: inherit; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-dark);
}

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

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

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  width: 100%;
}

.btn-outline:hover { background: var(--accent); color: var(--text-on-dark); }

.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* Hero */
.hero {
  padding: 96px 0 72px;
}

.hero-inner { max-width: 760px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin: 4px 0 28px;
  max-width: 540px;
}

.hero-stat-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-stat-text {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text);
}

.hero-stat-text strong {
  font-family: var(--serif);
  color: var(--accent-dark);
}

.hero-stat-link {
  display: inline-block;
  margin-left: 4px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
}

.hero-stat-link:hover { text-decoration: underline; }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section-dark h2, .section-dark p { color: var(--text-on-dark); }
.section-dark .eyebrow { color: #6E9BC7; }

.section-intro {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
}

.section-dark .section-intro { color: var(--text-muted-on-dark); }

.section-close {
  font-size: 1.05rem;
  font-family: var(--serif);
  margin-top: 32px;
  max-width: 680px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grids */
.grid { display: grid; gap: 22px; margin-top: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-plain {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card-num {
  display: block;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card-plain p { margin: 0; color: var(--text); }

/* Approach */
.approach-grid { align-items: start; }

.principle {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
}

.principle p {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--bg);
  margin: 0 0 12px;
}

.principle cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
}

/* Offer */
.offer-single {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  align-items: flex-start;
}

.offer-text { flex: 1.4; }

.offer-list {
  padding-left: 18px;
  margin: 20px 0 0;
}

.offer-list li { margin-bottom: 12px; color: var(--text-muted); }

.offer-panel {
  flex: 1;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.14);
  text-align: center;
}

.offer-duration {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.offer-panel-value {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.offer-panel .btn { width: 100%; }

/* Stats */
.stat-grid { margin-top: 40px; }
.stat {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: #6E9BC7;
}
.stat-label { color: var(--text-muted-on-dark); font-size: 0.92rem; }

/* Method */
.method-step { padding: 4px; }
.method-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-on-dark);
  font-family: var(--serif);
  margin-bottom: 16px;
}
.method-step p { color: var(--text-muted); margin: 0; }

/* About */
.about-grid p { color: var(--text-muted); }

/* FAQ */
.faq-list {
  margin-top: 32px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 1.3rem;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 14px 0 0;
  color: var(--text-muted);
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row > * { flex: 1; min-width: 0; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236B6355' stroke-width='1.6'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form select:invalid { color: var(--text-muted); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button { align-self: flex-start; }

@media (max-width: 560px) {
  .form-row { flex-direction: column; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner a { text-decoration: none; color: var(--text-muted); }
.footer-inner a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .offer-single { flex-direction: column; }
  .offer-panel { width: 100%; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 18px;
  }

  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 60px 0; }
}
