@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cork: #ebd3b8;
  --cream: #fffcf5;
  --ink: #2e3a55;
  --ink-deep: #1b2338;
  --soft: #3d4861;
  --muted: #4f5a73;
  --rim: #d9c3a9;
  --rose: #b9506a;
  --rose-text: #a8445a;
  --sage-text: #4f6f55;
  --gold-text: #7a5a12;
  --sticky: #f6e7a6;
  --shadow: 90, 60, 35;
  --serif: "DM Serif Display", Georgia, serif;
  --accent: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--cork);
  background-image:
    radial-gradient(rgba(140, 95, 60, 0.22) 1px, transparent 1.4px),
    radial-gradient(rgba(255, 250, 240, 0.5) 1px, transparent 1.4px);
  background-size: 11px 11px, 17px 17px;
  background-position: 0 0, 5px 7px;
}
a { color: var(--rose-text); }
a:hover { color: #7e2f42; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }
.serif { font-family: var(--serif); font-weight: 400; }
.accent { font-family: var(--accent); font-style: italic; font-weight: 600; }
.soft { color: var(--soft); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 26px 10px; }
.wordmark {
  position: relative; display: inline-block; padding: 6px 20px 10px;
  background: var(--cream); color: var(--ink); text-decoration: none;
  font: 400 32px/1.1 var(--serif);
  transform: rotate(-2deg); box-shadow: 0 3px 8px rgba(var(--shadow), 0.22);
}
.wordmark:hover { color: var(--ink); }
.wordmark::before {
  content: ""; position: absolute; left: -16px; top: -8px; width: 46px; height: 18px;
  background: rgba(141, 170, 145, 0.85); transform: rotate(-24deg);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(var(--shadow), 0.25); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 24px; font-size: 15px; color: var(--soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer a { color: var(--ink); font-weight: 600; padding: 10px 0; }

/* Shared pieces */
.pin {
  position: absolute; left: 50%; top: -10px; width: 22px; height: 22px; margin-left: -11px;
  border-radius: 50%; background: var(--rose);
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.18), 0 3px 4px rgba(var(--shadow), 0.4);
}
.pill {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px;
  border-radius: 999px; background: var(--ink); color: var(--cream);
  font-weight: 600; text-decoration: none;
}
a.pill:hover { background: var(--ink-deep); color: var(--cream); }
.phone {
  width: 300px; max-width: 100%; border: 10px solid var(--ink-deep); border-radius: 46px;
  overflow: hidden; background: var(--ink-deep);
  box-shadow: 0 24px 48px rgba(var(--shadow), 0.38);
}
.phone img { display: block; width: 100%; height: auto; }
.tilt-r { transform: rotate(2deg); }
.tilt-l { transform: rotate(-2deg); }

/* Landing */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 48px 96px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero h1 { font: 400 clamp(3.2rem, 8vw, 6rem)/0.98 var(--serif); letter-spacing: -0.01em; margin-bottom: 22px; }
.hero .lede { font-size: 1.25rem; color: var(--soft); max-width: 28em; margin-bottom: 30px; }
.hero .fine { margin-top: 18px; font-size: 15px; color: var(--soft); }
.shot { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }

.features { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 56px; padding-bottom: 96px; }
.features .phone { width: 280px; border-radius: 44px; }
.feature-list { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.feature-list h2 { font-size: 2.1rem; line-height: 1.1; margin-bottom: 6px; }
.feature-list p { color: var(--soft); max-width: 30em; }

.note-section { padding-bottom: 96px; }
.note {
  position: relative; max-width: 760px; margin: 0 auto; background: var(--sticky);
  padding: 44px clamp(24px, 6vw, 56px) 40px; transform: rotate(-1deg);
  box-shadow: 0 12px 26px rgba(var(--shadow), 0.26);
}
.note h2 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; margin-bottom: 10px; }
.note p { font-size: 1.1rem; margin-bottom: 14px; }
.note a { color: var(--ink); font-weight: 600; display: inline-block; padding: 10px 0; }

.plans { padding-bottom: 104px; }
.plans > h2 { font-size: 2.6rem; line-height: 1.1; text-align: center; margin-bottom: 28px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--cream); border-radius: 22px; padding: 30px 30px 32px; box-shadow: 0 6px 16px rgba(var(--shadow), 0.18); }
.plan h3 { font-size: 1.8rem; margin-bottom: 4px; }
.plan .sub { color: var(--muted); margin-bottom: 16px; }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.plan.pro { background: var(--ink); color: var(--cream); box-shadow: 0 6px 16px rgba(var(--shadow), 0.28); }
.plan.pro .sub, .plan.pro .price { color: #d5dae6; }
.plan.pro .price { margin-top: 18px; font-size: 15px; }

/* Support */
.page { padding-block: 40px 96px; }
.page-title { font: 400 clamp(2.6rem, 6vw, 4rem)/1.02 var(--serif); margin-bottom: 8px; }
.page-lede { font-size: 1.2rem; color: var(--soft); max-width: 30em; margin-bottom: 40px; }
.support-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.faq { flex: 999 1 520px; min-width: 0; background: var(--cream); border-radius: 22px; padding: 16px clamp(22px, 5vw, 44px) 24px; box-shadow: 0 8px 22px rgba(var(--shadow), 0.2); }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--rim); }
.faq > div:last-child { border-bottom: 0; padding-bottom: 0; }
.faq h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.faq p { color: var(--muted); }
.contact-note {
  position: relative; flex: 1 1 260px; min-width: 0; max-width: 340px; margin-top: 12px;
  background: var(--sticky); padding: 36px 28px 30px; transform: rotate(1.6deg);
  box-shadow: 0 10px 20px rgba(var(--shadow), 0.26);
}
.contact-note h2 { font-size: 2rem; line-height: 1.05; margin-bottom: 8px; }
.contact-note p { margin-bottom: 20px; }
.contact-note .pill { min-height: 48px; padding: 0 22px; }

/* Legal pages */
.legal { max-width: 820px; }
.sheet { background: var(--cream); border-radius: 22px; padding: 52px clamp(22px, 6vw, 64px) 48px; box-shadow: 0 10px 26px rgba(var(--shadow), 0.2); }
.sheet h1 { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--serif); margin-bottom: 6px; }
.sheet .meta { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.sheet h2 { font: 400 1.7rem/1.2 var(--serif); margin-bottom: 8px; }
.sheet p, .sheet ul, .sheet .cards { margin-bottom: 32px; }
.sheet p.tight { margin-bottom: 16px; }
.sheet > :last-child { margin-bottom: 0; }
.sheet ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.short {
  background: var(--sticky); padding: 22px 26px; transform: rotate(-0.8deg);
  box-shadow: 0 6px 14px rgba(var(--shadow), 0.2); margin-bottom: 36px;
}
.short h2 { font: italic 600 1.7rem/1.1 var(--accent); margin-bottom: 6px; }
.short p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cards > div { border: 1px solid var(--rim); border-radius: 14px; padding: 18px; }
.cards h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.cards .who { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cards p { font-size: 15px; color: var(--muted); margin: 0; }
.rose { color: var(--rose-text); }
.sage { color: var(--sage-text); }
.gold { color: var(--gold-text); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
