/* Freelance Client Close Kit — sales page (premium calm redesign) */
:root {
  --bg: #f4f2ed;
  --bg-soft: #ebe8e1;
  --surface: #ffffff;
  --ink: #1c1b19;
  --ink-soft: #2e2c28;
  --muted: #5f5c56;
  --muted-soft: #7a766e;
  --border: #e2ddd4;
  --border-strong: #d4cec3;
  --accent: #1e4a38;
  --accent-hover: #163829;
  --accent-soft: #e6f0eb;
  --accent-mid: #2d6b52;
  --warn-bg: #faf6ee;
  --warn-border: #e0d4b8;
  --warn-ink: #5a4a2e;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(28, 27, 25, 0.04), 0 8px 28px rgba(28, 27, 25, 0.06);
  --shadow-sm: 0 1px 2px rgba(28, 27, 25, 0.04), 0 4px 12px rgba(28, 27, 25, 0.04);
  --max: 960px;
  --narrow: 640px;
  --font: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 74, 56, 0.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 0.12em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

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

.wrap--narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Top disclaimer bar */
.banner {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  padding: 0.7rem 0;
  font-size: 0.875rem;
  color: var(--warn-ink);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--warn-bg) 92%, transparent);
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
  .banner { background: var(--warn-bg); }
}

.banner strong { font-weight: 600; }

/* Header / hero */
.hero {
  padding: clamp(3rem, 6vw, 4.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.hero-inner {
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin: 0 0 1.35rem;
}

h1 {
  font-family: var(--font);
  font-size: clamp(1.85rem, 4.8vw, 2.65rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  color: var(--ink);
  text-wrap: balance;
}

.subhead {
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.85rem;
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(30, 74, 56, 0.22);
}

.cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(30, 74, 56, 0.28);
}

.cta:active {
  transform: translateY(1px);
}

.cta:focus-visible {
  outline: 3px solid #8bb9a4;
  outline-offset: 3px;
}

.cta--lg {
  font-size: 1.05rem;
  padding: 1.05rem 1.65rem;
}

.cta-note {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  color: var(--muted-soft);
}

.cta-note--spaced {
  margin-top: 1.25rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-pills li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  box-shadow: var(--shadow-sm);
}

.placeholder-note {
  margin: 1.15rem auto 0;
  font-size: 0.8rem;
  color: var(--warn-ink);
  background: var(--warn-bg);
  border: 1px dashed var(--warn-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  display: inline-block;
  max-width: 28rem;
  line-height: 1.5;
}

/* Sections */
section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

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

.section-intro {
  margin-bottom: 1.75rem;
}

.section-intro--center {
  text-align: center;
}

.section-lede {
  margin: 0.5rem 0 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

h2 {
  font-family: var(--font);
  font-size: clamp(1.4rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.card h2 { margin-bottom: 1rem; }

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.two-col {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .two-col {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.card.muted-card {
  background: #faf9f6;
  box-shadow: var(--shadow-sm);
}

.card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 5px;
}

.card-label--yes {
  color: var(--accent);
  background: var(--accent-soft);
}

.card-label--no {
  color: var(--muted);
  background: var(--bg-soft);
}

ul.check, ol.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.check li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

ul.check li:last-child { margin-bottom: 0; }

ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

ul.check.check--muted li::before {
  background: var(--muted-soft);
  box-shadow: 0 0 0 3px var(--bg-soft);
}

/* Feature grid — What's inside */
.feature-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.feature-card strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.feature-card > span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* How it works — numbered steps */
ol.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  ol.steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

ol.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

ol.steps li strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}

ol.steps li > span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq details:last-child { margin-bottom: 0; }

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  color: var(--ink);
  transition: background 0.12s ease;
}

.faq summary:hover {
  background: #faf9f6;
}

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

.faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted-soft);
  border-bottom: 2px solid var(--muted-soft);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.18s ease;
  margin-top: -0.2rem;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq details p {
  margin: 0;
  padding: 1rem 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Price block */
#checkout {
  border-top: none;
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.price-block {
  text-align: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem) 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.price-block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-mid), transparent);
  opacity: 0.55;
}

.price-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.price-block .amount {
  font-family: var(--font);
  font-size: clamp(2.5rem, 6vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: var(--ink);
  line-height: 1.1;
}

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

.price-block .tagline {
  color: var(--muted);
  margin: 0 0 1.65rem;
  font-size: 1.02rem;
}

/* Fine print / footer */
.fine-print {
  font-size: 0.875rem;
  color: var(--muted-soft);
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.fine-print p { margin: 0.4rem 0; }

footer {
  padding: 2rem 0 2.75rem;
  border-top: 1px solid var(--border);
  background: #f0ede7;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 560px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand p,
.footer-meta p {
  margin: 0.25rem 0;
}

.footer-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 0.15rem !important;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

@media (min-width: 560px) {
  .footer-meta {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent) !important;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.footer-cta:hover {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Small phones */
@media (max-width: 379px) {
  .wrap { width: min(100% - 1.25rem, var(--max)); }
  .cta { padding: 0.9rem 1.15rem; font-size: 0.95rem; }
  ol.steps li { padding-left: 3.75rem; }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .feature-card, .faq summary, .faq summary::after {
    transition: none;
  }
}
