/* ---------------------------------------------------------------
   Tidy Sites brand tokens. Everything else on the page reads from
   these variables -- retint here, not in individual rules.
   ----------------------------------------------------------------*/
:root {
  --color-ink: #36064D;          /* headings, nav/footer text, dark surfaces */
  --color-body: #4A3B52;         /* body text */
  --color-muted: #7C6B82;        /* secondary text */
  --color-bg: #F7F6E5;           /* base background (warm cream) */
  --color-bg-alt: #EAF5F6;       /* alternating section background (pale teal wash) */
  --color-accent: #DA4848;       /* primary CTA color (coral) */
  --color-accent-ink: #ffffff;   /* text on accent (coral) surfaces */
  --color-secondary: #76D2DB;    /* secondary accent -- badges, featured highlight */
  --color-secondary-ink: #36064D;/* text on secondary-accent (teal) surfaces */
  --color-border: #E9E4D0;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --wrap-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.55;
}

h1, h2, h3 {
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(247, 246, 229, 0.92);
  backdrop-filter: saturate(180%) blur(6px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--color-ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-body);
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--color-ink); }

.nav-cta {
  background: var(--color-ink);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 0.95rem;
}

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

.btn-secondary {
  background: var(--color-ink);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hero-sub {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--color-muted);
}

/* ---------- pricing ---------- */

.pricing { padding: 80px 0; }

.section-sub { color: var(--color-muted); max-width: 620px; }

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

.plan-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-featured {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 24px rgba(54, 6, 77, 0.08);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--color-secondary);
  color: var(--color-secondary-ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 4px 0 0;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-muted);
}

.price-annual {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 4px 0 0;
}

.plan-tagline { color: var(--color-muted); margin-top: 10px; }

.plan-card ul { margin: 20px 0 28px; flex-grow: 1; }
.plan-card li { font-size: 0.94rem; }

.plan-card .btn { text-align: center; }

/* ---------- process ---------- */

.process { padding: 80px 0; background: var(--color-bg-alt); }

.process-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  margin: 36px 0;
}

.process-steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.process-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.process-steps strong { display: block; color: var(--color-ink); margin-bottom: 6px; }
.process-steps span { color: var(--color-muted); font-size: 0.92rem; }

.reassurance {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.reassurance strong { color: var(--color-ink); }

/* ---------- faq ---------- */

.faq { padding: 80px 0; }

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 32px;
}

.faq-item p { color: var(--color-muted); }

/* ---------- contact ---------- */

.contact {
  padding: 80px 0 96px;
  background: var(--color-ink);
  color: #fff;
  text-align: center;
}

.contact h2 { color: #fff; }
.contact p { color: rgba(255, 255, 255, 0.75); }

.contact-inner { max-width: 520px; margin: 0 auto; }

/* ---------- footer ---------- */

.site-footer {
  padding: 28px 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-inner p { margin: 0; }

.footer-inner a {
  color: var(--color-muted);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
}

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .process-steps,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .main-nav { gap: 14px; }
  .hero { padding: 56px 0 48px; }
}
