/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --ivory:  #FAF7F2;
  --ink:    #1C1C1E;
  --sage:   #8FA68B;
  --sage-dark: #6d8869;
  --blush:  #E8C4B8;
  --gold:   #C9A96E;
  --stone:  #9E9C97;
  --stone-light: #e8e6e1;

  --font-serif:      'Playfair Display', Georgia, serif;
  --font-sans:       'Inter', system-ui, sans-serif;
  --font-handwritten:'Caveat', cursive;

  --max-w: 1100px;
  --radius: 12px;
  --radius-sm: 8px;

  --shadow-card: 0 2px 20px rgba(28, 28, 30, 0.07);
  --shadow-lift: 0 8px 32px rgba(28, 28, 30, 0.12);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--sage-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ─────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.handwritten {
  font-family: var(--font-handwritten);
  font-size: 1.15rem;
  display: block;
}

.handwritten--small {
  font-size: 0.95rem;
  color: var(--stone);
}

.handwritten--body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.handwritten--sig {
  font-size: 1.3rem;
  font-weight: 600;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--stone);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--sage);
  color: #fff;
  letter-spacing: 0.01em;
}

.btn--primary:hover {
  background-color: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(143, 166, 139, 0.35);
  text-decoration: none;
}

.btn--nav {
  background-color: var(--sage);
  color: #fff;
  padding: 9px 20px;
  font-size: 0.875rem;
}

.btn--nav:hover {
  background-color: var(--sage-dark);
  text-decoration: none;
}

.btn--full {
  width: 100%;
  text-align: center;
}

.btn--lg {
  font-size: 1rem;
  padding: 16px 36px;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--stone-light);
  padding: 16px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.nav__links a:hover {
  opacity: 1;
  text-decoration: none;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero__sub {
  font-size: 1.1rem;
  color: #444;
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__cta-group {
  margin-bottom: 24px;
}

.hero__trust {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 10px;
}

.hero__social-proof {
  font-size: 0.85rem;
  color: var(--stone);
  padding-top: 24px;
  border-top: 1px solid var(--stone-light);
  margin-top: 8px;
}

/* Card mockup */
.hero__card-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.card-mockup {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  filter: drop-shadow(0 12px 40px rgba(28, 28, 30, 0.12));
}

.card-mockup__envelope {
  background-color: #f0ece4;
  border: 1px solid #ddd9d0;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-mockup__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background-color: #e8e2d8;
  border-bottom: 1px solid #ddd9d0;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.card-mockup__address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-mockup__stamp {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 32px;
  height: 40px;
  background-color: var(--blush);
  border: 1px solid #d8b0a4;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--stone);
}

.card-mockup__card {
  background-color: #fff;
  border: 1px solid var(--stone-light);
  border-radius: var(--radius-sm);
  padding: 28px 28px 32px;
  line-height: 1.8;
}

.hero__card-label {
  font-size: 0.8rem;
  color: var(--stone);
  font-style: italic;
}

/* ─────────────────────────────────────────────
   PROBLEM
───────────────────────────────────────────── */
.problem {
  background-color: var(--ink);
  color: var(--ivory);
  padding: 80px 0;
}

.problem__inner {
  display: flex;
  justify-content: center;
}

.problem__quote {
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  font-style: italic;
  opacity: 0.85;
}

.problem__resolution {
  font-style: normal !important;
  opacity: 1 !important;
  color: var(--sage);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem) !important;
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   HANDWRITING STYLES
───────────────────────────────────────────── */
.styles {
  background-color: #f2ede6;
  padding: 96px 0;
}

.section-headline--left {
  text-align: left;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
.how {
  padding: 96px 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background-color: #fff;
  border: 1px solid var(--stone-light);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
}

.step__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blush);
  line-height: 1;
  min-width: 52px;
}

.step__content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.step__divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  color: var(--stone);
}

.step__divider span {
  font-size: 1.1rem;
}

/* ─────────────────────────────────────────────
   TRUST / TESTIMONIALS
───────────────────────────────────────────── */
.trust {
  background-color: #f2ede6;
  padding: 96px 0;
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust__quote-card {
  background-color: var(--ivory);
  border: 1px solid var(--stone-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.trust__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
}

.trust__attribution {
  font-size: 0.8rem;
  color: var(--stone);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   PRICING
───────────────────────────────────────────── */
.pricing {
  padding: 96px 0;
}

.pricing__per-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

/* Flat rate display */
.pricing__flat {
  background-color: #fff;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  gap: 12px;
}

.pricing__flat-rate {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing__flat-sub {
  font-size: 0.9rem;
  color: var(--stone);
  font-style: italic;
}

.pricing__per {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--stone);
}

/* What's included panel */
.pricing__what-included {
  background-color: #fff;
  border: 1px solid var(--stone-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing__what-included h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

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

.pricing__features li {
  font-size: 0.9rem;
  color: #555;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.pricing__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone);
  margin-top: 40px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__note a {
  color: var(--sage-dark);
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq {
  background-color: #f2ede6;
  padding: 96px 0;
}

.faq__inner {
  max-width: 680px;
  margin: 0 auto;
}

.faq__inner .section-headline {
  margin-bottom: 48px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-top: 1px solid var(--stone-light);
  padding: 20px 0;
}

.faq__item:last-child {
  border-bottom: 1px solid var(--stone-light);
}

.faq__item summary {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--stone);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  padding-top: 14px;
}

/* ─────────────────────────────────────────────
   ORDER / CTA
───────────────────────────────────────────── */
.order {
  padding: 96px 0 112px;
}

.order__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.order__inner .section-headline,
.order__inner .section-sub {
  text-align: center;
}

.order__form {
  background-color: #fff;
  border: 1px solid var(--stone-light);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-lift);
  margin-top: 8px;
  text-align: left;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__group label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--stone);
}

.form__group input,
.form__group select {
  background-color: var(--ivory);
  border: 1px solid #ddd9d0;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form__group input:focus,
.form__group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 166, 139, 0.2);
}

.form__group input::placeholder {
  color: var(--stone);
}

.order__form .btn {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}

.form__trust {
  font-size: 0.78rem;
  color: var(--stone);
  text-align: center;
  margin-top: 12px;
}

.order__success {
  background-color: #fff;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow-lift);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* `hidden` must win over `display: flex` above (same specificity, stylesheet order loses) */
.order__success[hidden] {
  display: none !important;
}

.order__success-icon {
  font-size: 1.8rem;
  color: var(--gold);
}

.order__success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.order__success p {
  font-size: 0.95rem;
  color: #555;
  max-width: 380px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background-color: var(--ink);
  color: var(--ivory);
  padding: 56px 0 40px;
}

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

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ivory);
  text-decoration: none;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.55;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.footer__nav a {
  font-size: 0.85rem;
  color: var(--ivory);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer__nav a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer__legal {
  font-size: 0.75rem;
  color: var(--ivory);
  opacity: 0.35;
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__card-preview {
    order: -1;
  }

  .section-headline--left {
    text-align: center;
  }

  .trust__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing__per-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav__links a:not(.btn) {
    display: none;
  }

  .order__form {
    padding: 28px 24px;
  }

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

  .styles {
    padding: 64px 0;
  }

  .how, .trust, .pricing, .faq, .order {
    padding: 64px 0;
  }
}
