:root {
  --bg: #FAF7F2;
  --ink: #18120E;
  --accent: #C4622D;
  --accent-light: #E8845A;
  --muted: #6B5E52;
  --rule: #DDD8D0;
  --card: #F2EDE6;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Epilogue', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* iOS Safari: ensure explicit background-color (custom props can fail on older WebKit) */
body {
  background-color: #FAF7F2; /* fallback for var(--bg) */
  background-color: var(--bg);
  color: #18120E;           /* fallback for var(--ink) */
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari: dynamic viewport height */
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,247,242,0) 60%, var(--bg) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 48px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-weight: 500;
}

/* ── FEATURES ─────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding: 120px 80px;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: 8px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.features-aside {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.8);
}

.aside-caption {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* ── PROCESS ──────────────────────────────────────── */
.process {
  padding: 120px 80px;
  background: var(--ink);
  color: var(--bg);
}

.process-header {
  margin-bottom: 72px;
}

.process-header h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  margin-bottom: 12px;
}

.process-header p {
  color: var(--accent-light);
  font-size: 16px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid rgba(250,247,242,0.1);
}

.step {
  padding: 0 40px 0 32px;
  border-right: 1px solid rgba(250,247,242,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  opacity: 0.7;
}

.step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.step p {
  font-size: 14px;
  color: rgba(250,247,242,0.6);
  line-height: 1.6;
}

/* ── MANIFESTO ────────────────────────────────────── */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.manifesto-inner {
  padding: 100px 64px 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.manifesto-quote blockquote {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 16px;
}

.manifesto-quote cite {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.05em;
  padding-left: 24px;
}

.manifesto-body h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.manifesto-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.manifesto-visual {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* ── CLOSING / CTA ──────────────────────────────── */
.closing-cta {
  padding: 120px 80px;
  border-top: 1px solid var(--rule);
  text-align: center;
  background: var(--card);
}

.closing-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}

.closing-cta h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cta-btn--primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.cta-btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.cta-btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.cta-btn--secondary:hover {
  border-color: var(--muted);
}

.cta-reassure {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── PRICING ─────────────────────────────────────── */
.pricing {
  padding: 120px 80px;
  border-top: 1px solid var(--rule);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.pricing-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.pricing-card--highlight {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.pricing-card--highlight .pricing-desc,
.pricing-card--highlight .pricing-features li {
  color: rgba(250,247,242,0.65);
}

.pricing-card--highlight .pricing-features li svg path {
  stroke: var(--accent-light);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-amount {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--muted);
}

.pricing-card--highlight .pricing-period {
  color: rgba(250,247,242,0.5);
}

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

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.pricing-card--highlight .pricing-features li {
  color: rgba(250,247,242,0.75);
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.pricing-cta:hover {
  background: var(--rule);
}

.pricing-cta--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.pricing-cta--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── SOCIAL PROOF ───────────────────────────────── */
.social-proof {
  padding: 120px 80px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}

.social-proof-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.social-proof h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  text-align: left;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial cite {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.05em;
}

.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.stat {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 24px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  padding: 64px 80px 40px;
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--ink);
}

.footer-link-text {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 12px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap { height: 45vw; }
  .hero-img-overlay { background: linear-gradient(to bottom, rgba(250,247,242,0) 40%, var(--bg) 100%); }
  .hero-content { padding: 48px 32px; }
  .features { grid-template-columns: 1fr; padding: 80px 32px; gap: 48px; }
  .features-aside { width: 100%; flex-direction: row; align-items: center; }
  .aside-img { width: 160px; }
  .pricing { padding: 80px 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .process { padding: 80px 32px; }
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .social-proof { padding: 80px 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .social-proof-stats { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-inner { padding: 80px 32px; }
  .manifesto-visual { height: 50vw; }
  .closing-cta { padding: 80px 32px; }
  footer { padding: 40px 32px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-btn { width: 100%; }
  .footer-nav { grid-template-columns: 1fr; }
}