/* Catchup Desk — site styles. No build step. */

@font-face {
  font-family: "Fraunces Display";
  src: url("fonts/fraunces-display-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces Display";
  src: url("fonts/fraunces-display.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces Display";
  src: url("fonts/fraunces-display-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces Text";
  src: url("fonts/fraunces-text.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f3eee6;
  --bg-elev: #faf7f1;
  --ink: #1c1713;
  --muted: #534c44;
  --line: #d4cdc1;
  --line-strong: #c4bbad;
  --accent: #8a3b2a;
  --accent-hover: #6f2e21;
  --accent-soft: #f3e4dc;
  --white: #fffdf9;
  --focus: #8a3b2a;
  --header-h: 4.25rem;
  --wrap: 72rem;
  --prose: 40rem;
  --radius: 0.2rem;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Fraunces Display", "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Fraunces Text", "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}

.skip:focus {
  transform: translateY(0.75rem);
  outline-color: var(--white);
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.prose {
  max-width: var(--prose);
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.wordmark {
  font-family: var(--font-text);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--ink);
}

.wordmark span {
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-left: auto;
}

.header-cta {
  flex: none;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.site-nav a:not(.btn):hover {
  color: var(--accent);
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.8em 1.25em;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-sm {
  padding: 0.5em 0.95em;
  font-size: 0.95rem;
}

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

.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent);
}

/* ----- Hero ----- */

.hero {
  padding: 4.75rem 0 4.25rem;
}

.kicker {
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.4rem;
  max-width: 11.4em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.35rem, 6.2vw, 4.85rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
}

.lede {
  margin: 0 0 1.85rem;
  max-width: 40.5rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}

.hero-cta .btn {
  font-size: 1.1rem;
  padding: 0.9em 1.35em;
}

.fine {
  margin: 0.9rem 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ----- Sections ----- */

.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.problem {
  padding: 1rem 0 4.75rem;
}

.problem p {
  margin: 0 0 1rem;
  max-width: 38rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.problem p:last-child {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  color: var(--ink);
}

/* ----- Steps ----- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem 1.15rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--accent);
}

.steps h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.steps p {
  margin: 0;
  color: var(--ink);
}

.steps p + p {
  margin-top: 0.7rem;
}

/* ----- Split: you get / we don't ----- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.split h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.split ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.35rem;
  border-top: 1px solid var(--line);
}

.split li:last-child {
  border-bottom: 1px solid var(--line);
}

.split .gets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 50%;
}

.split .donts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.6rem;
  height: 1.5px;
  background: var(--ink);
}

/* ----- Pricing ----- */

.pricing-note {
  margin: -0.4rem 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.plan {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan.featured {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink);
}

.plan-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.45rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.plan-tagline {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1rem;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.45;
}

.plan li:last-child {
  border-bottom: 1px solid var(--line);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.7;
}

.overage {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.pricing-cta {
  margin: 2rem 0 0;
}

/* ----- FAQ ----- */

.faq {
  max-width: 44rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.35;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 1.2rem;
  padding-right: 2rem;
  color: var(--ink);
}

/* ----- Contact ----- */

.contact h2 {
  margin-bottom: 0.75rem;
}

.contact-email {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact-email:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact .fine {
  margin: 0 0 1.5rem;
  max-width: none;
}

/* ----- Footer ----- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

/* ----- Legal pages ----- */

.legal {
  padding: 3.25rem 0 5rem;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal .updated {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.legal h2 {
  margin: 2.1rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  max-width: 40rem;
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li::marker {
  color: var(--accent);
}

.legal li {
  margin: 0.3rem 0;
}

/* ----- Wide screens ----- */

@media (min-width: 720px) {
  .wrap {
    width: min(100% - 4rem, var(--wrap));
  }

  .hero {
    padding: 6.25rem 0 5.5rem;
  }

  .steps {
    max-width: 46rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 0 3.5rem;
  }

  .split > div + div {
    padding-left: 3.5rem;
    border-left: 1px solid var(--line);
  }

  .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    align-items: stretch;
  }

  .plan {
    padding: 1.65rem 1.45rem 1.75rem;
  }

  .section {
    padding: 5.25rem 0;
  }
}

@media (max-width: 719px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.35rem;
    padding-block: 0.7rem;
  }

  .wordmark {
    grid-column: 1;
    grid-row: 1;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
    width: 100%;
    gap: 0.15rem 1.15rem;
  }

  .hero {
    padding: 3rem 0 3.25rem;
  }

  .problem {
    padding-bottom: 3.5rem;
  }

  .faq summary {
    padding: 1.15rem 0;
  }
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
