/* West Acre — static site styles. No framework, no build step. */

:root {
  /* Color */
  --color-ink: #131c25;
  --color-ink-soft: #3d4a5a;
  --color-ink-muted: #67728a;
  --color-bg: #faf8f4;
  --color-bg-alt: #f1ede4;
  --color-white: #ffffff;
  --color-surface: #ffffff;
  --color-primary: #1e463f;
  --color-primary-hover: #12302b;
  --color-primary-tint: #e7efec;
  --color-mint: #9fcbb8;
  --color-line: rgba(19, 28, 37, 0.10);
  --color-line-strong: rgba(19, 28, 37, 0.20);

  /* Type */
  --font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  /* Spacing */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Layout */
  --max-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(19, 28, 37, 0.05);
  --shadow-md: 0 12px 28px -12px rgba(19, 28, 37, 0.22);
  --shadow-lg: 0 24px 48px -16px rgba(19, 28, 37, 0.28);

  --section-py: clamp(64px, 9vw, 108px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

header.site-header a:focus-visible,
header.site-header button:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.price-card a:focus-visible,
.cta-band a:focus-visible {
  outline-color: var(--color-mint);
}

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

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

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 28, 37, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0;
  color: var(--color-ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--color-primary);
}

header.site-header .wordmark {
  color: var(--color-white);
}

header.site-header .wordmark span {
  color: var(--color-mint);
}

nav.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.nav-menu a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 0.94rem;
}

/* nav.nav-menu a above outranks .btn-invert's color for the CTA link
   nested inside it (higher specificity); restore the inverted ink text explicitly. */
nav.nav-menu a.btn-invert {
  color: var(--color-ink);
}

nav.nav-menu > a:not(.btn) {
  position: relative;
  padding-bottom: 3px;
}

nav.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--color-mint);
  transition: right 0.18s ease;
}

nav.nav-menu > a:not(.btn):hover {
  color: var(--color-white);
}

nav.nav-menu > a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--color-white);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line-strong);
}

.btn-secondary:hover {
  border-color: var(--color-ink);
  background: var(--color-surface);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-invert {
  background: var(--color-white);
  color: var(--color-ink);
}

.btn-invert:hover {
  background: #f0ede6;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-invert:active {
  transform: translateY(0);
}

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

section {
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--color-line);
}

section:last-of-type {
  border-bottom: none;
}

.section-alt {
  background: var(--color-bg-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid rgba(30, 70, 63, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 20px;
}

.eyebrow--dark {
  background: rgba(255, 255, 255, 0.08);
  color: #cfe3de;
  border-color: rgba(255, 255, 255, 0.16);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 18px;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.65rem);
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
}

#service h2,
#how-it-works h2,
#who-its-for h2 {
  max-width: 46ch;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.3;
}

p {
  color: var(--color-ink-soft);
  margin: 0 0 16px;
}

.lede {
  font-size: 1.18rem;
  color: var(--color-ink-soft);
  max-width: 640px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  padding: clamp(84px, 13vw, 140px) 0 clamp(72px, 9vw, 100px);
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at center, rgba(159, 203, 184, 0.14), rgba(159, 203, 184, 0) 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-mark {
  width: 44px;
  height: 3px;
  background: var(--color-mint);
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--color-white);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.78);
}

.hero .btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---- Grids / cards ---- */

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-line-strong);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* ---- Process (how it works) ---- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: 56px;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--color-line-strong);
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---- Panel (why outsource) ---- */

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ---- Fit cards (who it's for) ---- */

.fit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.fit-card--good {
  border-left-color: var(--color-primary);
}

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

.list-plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink-soft);
}

.list-plain li:last-child {
  border-bottom: none;
}

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

.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
  color: var(--color-ink-soft);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.x-list li::before {
  content: "\2013";
  color: var(--color-ink-muted);
}

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

.price-card {
  position: relative;
  background: var(--color-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-mint);
}

.price-card .panel-label {
  color: var(--color-mint);
}

.price-card p {
  color: rgba(255, 255, 255, 0.78);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.price-amount span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.price-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 24px 0;
}

.price-card .check-list li {
  color: rgba(255, 255, 255, 0.82);
}

.price-card .check-list li::before {
  color: var(--color-mint);
}

.price-card .btn {
  width: 100%;
}

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

details.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 22px 0;
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  color: var(--color-ink);
  transition: color 0.15s ease;
}

details.faq-item summary:hover {
  color: var(--color-primary);
}

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

details.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

details.faq-item[open] summary::after {
  content: "\2212";
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

details.faq-item p {
  margin-top: 14px;
  padding-right: 44px;
  font-size: 0.95rem;
}

/* ---- CTA band ---- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.07), transparent 60%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2,
.cta-band p {
  color: var(--color-white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

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

footer.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  padding: 48px 0 40px;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand .wordmark {
  font-size: 1.05rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.footer-links a {
  color: var(--color-ink-muted);
  text-decoration: none;
  margin-left: 18px;
}

.footer-links a:hover {
  color: var(--color-ink);
}

/* ---- Simple legal pages ---- */

.legal-content h2 {
  margin-top: 36px;
  font-size: 1.3rem;
}

.legal-content p, .legal-content li {
  color: var(--color-ink-soft);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-7);
  }

  .process::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  nav.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 18px;
    display: none;
  }

  nav.nav-menu[data-open="true"] {
    display: flex;
  }

  nav.nav-menu .btn {
    width: 100%;
    margin-top: 4px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .cta-band {
    padding: 44px 24px;
  }

  .price-card {
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}
