/* TidyReturn — draft marketing page. Calm, practical, print-friendly. */

:root {
  --ink: #1c2a24;
  --muted: #5c6b64;
  --faint: #7a877f;
  --paper: #f7f3ec;
  --paper-deep: #efe8dc;
  --card: #fffdf8;
  --rule: #e2d9cc;
  --navy: #16352b;
  --accent: #1f6b4a;
  --accent-hover: #18553b;
  --amber: #f6e8cc;
  --amber-ink: #6b4a16;
  --focus: #1f6b4a;
  --shadow: 0 1px 2px rgba(22, 53, 43, 0.06), 0 8px 24px rgba(22, 53, 43, 0.06);
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 40rem;
  --wide: 68rem;
}

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

html {
  font-size: 112.5%; /* 18px */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--card);
  padding: 0.4rem 0.8rem;
  z-index: 10;
}

.skip:focus { top: 0.75rem; }

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

.narrow { width: min(100% - 2rem, 44rem); margin-inline: auto; }

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img { width: 2rem; height: 2rem; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 650;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

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

/* Hero */

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

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: var(--navy);
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero-note {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--card);
}

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

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule);
}

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

/* Deadline band */

.band {
  background: var(--navy);
  color: #e9f0ec;
  padding: 1rem 0;
  font-size: 0.98rem;
}

.band a { color: #c8e6d4; }

.band p { margin: 0; width: min(100% - 2rem, var(--wide)); margin-inline: auto; }

/* Sections */

section { padding: 3rem 0; }

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

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

li { margin: 0 0 0.4rem; }

.intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: var(--shadow);
  margin: 0;
}

.step-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.plan {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: #c5d8cc;
  background: linear-gradient(180deg, #fff 0%, #f4f8f5 100%);
}

.plan-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.15rem;
  line-height: 1;
}

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

.plan h3 { margin-top: 0.4rem; }

.plan ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 1.2rem;
  flex: 1;
}

.pay-placeholder {
  margin-top: auto;
  background: var(--paper);
  border: 1px dashed #c4b8a6;
  border-radius: 0.55rem;
  padding: 0.85rem 0.95rem;
}

.pay-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 0.3rem;
}

.pay-code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--navy);
  word-break: break-all;
}

.pay-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* How to send / caps */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 1.25rem 1.3rem;
}

.panel h3 { margin-top: 0; }

.email {
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}

/* Disclaimer */

.disclaimer {
  background: var(--paper-deep);
  border-left: 4px solid var(--navy);
  padding: 1.25rem 1.3rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.disclaimer h2 { font-size: 1.35rem; }

.sources {
  font-size: 0.95rem;
  color: var(--muted);
}

.sources li { margin-bottom: 0.35rem; }

/* Footer */

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

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p { margin: 0; }

.draft-flag {
  font-size: 0.85rem;
  color: var(--amber-ink);
}

/* Responsive */

@media (max-width: 800px) {
  .steps, .plans, .two-col { grid-template-columns: 1fr; }
  .hero { padding-top: 2.4rem; }
  .nav { display: none; }
}

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

@media print {
  .site-header, .hero-actions, .pay-placeholder, .skip { display: none; }
  body { background: #fff; font-size: 11pt; }
  section { padding: 1rem 0; break-inside: avoid; }
  .plan, .steps li, .panel, .disclaimer { box-shadow: none; }
  a { color: inherit; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
}

.pay-live { margin-top: 1.25rem; }
.pay-btn { display: inline-block; background: #1f4d3a; color: #fff; text-decoration: none; font-weight: 600; padding: 0.8rem 1.3rem; border-radius: 8px; }
.pay-btn:hover, .pay-btn:focus { background: #163829; color: #fff; }
.pay-live .pay-hint { font-size: 0.9rem; opacity: 0.8; margin-top: 0.5rem; }
