/* Perfect Cents Accounting: one-page site. Colors and the turtle come from
   Renee's logo. Plum carries headings and buttons; teal carries labels and
   links. Both pass WCAG AA as text on white and on the mint panels. */
:root {
  --plum: #7e1a5a;
  --plum-tint: #fbf0f5;
  --plum-soft: #f8e9f2;
  --pink-line: #c2448a;
  --teal: #0e7c7b;
  --teal-bright: #1fa89e;
  --mint: #eef8f7;
  --mint-border: #d3eae8;
  --field-border: #588f8a;
  --ink: #2b2530;
  --ink-2: #3a3540;
  --muted: #4f4a56;
  --white: #fff;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-display: "DM Serif Display", georgia, serif;
  --font-script: "Allura", cursive;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--teal); }
a:hover { color: var(--plum); }

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

input, textarea, button { font: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

h1, h2 { color: var(--plum); }

h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; }

h3 { color: var(--ink); font-size: 24px; line-height: 1.2; }

p { margin: 0; }

svg { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: absolute;
  top: 8px;
  left: -9999px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--plum);
  color: var(--white);
  font-weight: 700;
}

.skip:focus { left: 8px; color: var(--white); }

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

.script { font-family: var(--font-script); color: var(--plum); }

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.stack-lg { display: flex; flex-direction: column; gap: 40px; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

.section-head p:last-child:not(.eyebrow) { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-sm { min-height: 44px; padding: 0 22px; }

.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: #63134a; color: var(--white); }

.btn-outline { border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--mint); color: var(--teal); }

.btn-light { background: var(--white); color: var(--plum); }
.btn-light:hover { background: var(--plum-soft); color: var(--plum); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header: sticky on every width. Two actions only (Tim, 2026-11-19): Meet
   Renee and Let's talk, both visible at every width; no menu button. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e3f0ef;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(8px);
  overflow-x: clip;
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(43 37 48 / 10%); }

section[id] { scroll-margin-top: 96px; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}

.brand {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 60px; height: 44px; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-text .script { font-size: 36px; }

.brand-sub {
  margin-top: 2px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
}

.main-nav { display: flex; font-size: 16px; font-weight: 700; }

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--plum); }

/* The consultation button: the one thing on the page we want clicked. */
.btn-cta {
  position: relative;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px 0 26px;
  background: var(--plum);
  box-shadow: 0 6px 18px rgb(126 26 90 / 35%);
  color: var(--white);
  font-size: 16px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-cta svg { stroke: currentcolor; stroke-width: 2.5; transition: transform 0.15s ease; }

.btn-cta::after {
  position: absolute;
  inset: -4px;
  border: 3px solid var(--pink-line);
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: cta-ring 3.2s ease-out 1.2s infinite;
}

.btn-cta:hover, .btn-cta:focus-visible {
  background: #63134a;
  box-shadow: 0 10px 26px rgb(126 26 90 / 45%);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-cta:hover svg, .btn-cta:focus-visible svg { transform: translateX(4px); }

@keyframes cta-ring {
  0% { opacity: 0.9; transform: scale(1); }
  45%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta::after { animation: none; }
  .btn-cta, .btn-cta svg { transition: none; }
}

@media (width <= 860px) {
  section[id] { scroll-margin-top: 80px; }
  .header-row { gap: 12px; padding: 10px 16px; }
  .brand { gap: 8px; }
  .brand img { width: 44px; height: 32px; }
  .brand-text .script { font-size: 27px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.28em; }
  .header-actions { gap: 18px; }
  .btn-cta { min-height: 46px; padding: 0 16px 0 18px; font-size: 15px; gap: 6px; }
}

/* Phones: a compact logo (the script name alone) so both actions fit. */
@media (width <= 480px) {
  .header-row { gap: 10px; padding: 10px 14px; }
  .brand img, .brand-sub { display: none; }
  .brand-text .script { font-size: 25px; }
  .header-actions { gap: 14px; }
  .main-nav { font-size: 15px; }
  .btn-cta svg { display: none; }
  .btn-cta { padding: 0 18px; }
}

@media (width <= 359px) {
  .header-row { gap: 8px; padding: 10px 12px; }
  .brand-text .script { font-size: 22px; }
  .header-actions { gap: 10px; }
  .main-nav { font-size: 14px; }
  .btn-cta { min-height: 44px; padding: 0 14px; font-size: 14px; }
}

/* Hero */
.hero { padding: 64px 24px 40px; }

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; }

.lede { max-width: 560px; color: var(--muted); font-size: 19px; }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 6px 0 0;
  padding: 0;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { stroke: var(--teal); stroke-width: 2.5; }

.hero-art {
  display: flex;
  flex: 1 1 380px;
  justify-content: center;
  min-width: 0;
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0;
}

.portrait::before {
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 2px solid var(--pink-line);
  border-radius: 50%;
  content: "";
}

.portrait > img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgb(126 26 90 / 18%);
  object-fit: cover;
}

.portrait-badge {
  position: absolute;
  bottom: 6%;
  left: 2%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 3px solid var(--mint-border);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 20px rgb(14 124 123 / 18%);
}

.portrait-badge img { width: 56px; height: auto; mix-blend-mode: multiply; }

.reassure {
  max-width: 520px;
  padding-left: 14px;
  border-left: 3px solid var(--teal-bright);
  color: var(--ink-2);
  font-weight: 600;
}

.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.not-sure { color: var(--ink-2); font-size: 18px; font-weight: 600; }
.not-sure a { font-weight: 800; }

.optional { color: var(--muted); font-weight: 600; }
.hint { color: var(--muted); font-size: 15px; }

/* Waves */
.wave { display: block; width: 100%; height: 70px; }
.wave-foot { height: 60px; }
.wave-fill { fill: var(--mint); }
.wave-line { stroke: var(--teal-bright); stroke-width: 3; }
.wave-line-pink { stroke: var(--pink-line); stroke-width: 3; }

/* Services */
.services { padding: 56px 24px 88px; background: var(--mint); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--mint-border);
  border-radius: 18px;
  background: var(--white);
}

.card p { color: var(--muted); font-size: 16px; }

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--plum-tint);
}

.icon svg { stroke: var(--plum); stroke-width: 2; }

/* How it works */
.how { padding: 88px 24px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 3px solid var(--teal-bright);
}

.steps h3 { font-size: 26px; }
.steps p { color: var(--muted); font-size: 16px; }
.step-num { font-size: 64px; line-height: 0.9; }

/* About: the short introduction on the home page */
.about { padding: 88px 24px; background: var(--plum-tint); }

.about-intro { display: flex; flex-direction: column; gap: 18px; }

.about-intro > * { max-width: 720px; }

.about-intro > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: 18px;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.more-link svg { stroke: currentcolor; stroke-width: 2.5; transition: transform 0.15s ease; }
.more-link:hover svg { transform: translateX(3px); }

/* About page */
.about-page { padding: 64px 24px 88px; }

.about-page-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px;
  max-width: 1100px;
}

.about-photo {
  display: flex;
  flex: 1 1 300px;
  justify-content: center;
  max-width: 380px;
  padding: 14px 14px 0 0;
}

.about-page-copy {
  display: flex;
  flex: 1 1 460px;
  flex-direction: column;
  gap: 20px;
  max-width: 660px;
  min-width: 0;
}

.about-page-copy h1 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1.05; }

.about-tagline {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.25;
}

.about-page-copy > p:not(.eyebrow, .about-tagline, .signature) {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}

.signature { margin-top: 4px; font-size: 44px; line-height: 1; }

@media (width >= 900px) {
  .about-photo { position: sticky; top: 120px; }
}

.about-cta { padding: 72px 24px 88px; background: var(--mint); }

.about-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  text-align: center;
}

.about-cta-inner > p { color: var(--ink-2); font-size: 18px; }

/* The About page's footer wave sits under the mint call to action. */
.wave-on-mint { background: var(--mint); }

.btn-primary svg { margin-left: 10px; stroke: currentcolor; stroke-width: 2.5; }

/* Contact */
.contact { padding: 88px 24px; }

.contact-row { display: flex; flex-wrap: wrap; gap: 56px; }

.contact-copy {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.contact-copy > p:not(.eyebrow) { color: var(--muted); }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  font-weight: 600;
  list-style: none;
}

.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--plum); }

.wrap-anywhere { overflow-wrap: anywhere; }

.icon-sm {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
}

.icon-sm svg { stroke: var(--teal); stroke-width: 2; }

.contact-form {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 32px;
  border-radius: 22px;
  background: var(--mint);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; }

.field input, .field textarea {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}

.field textarea { resize: vertical; }

.contact-form .btn { align-self: flex-start; font-size: 17px; }

.form-note {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

/* Footer */
.site-footer { padding: 28px 24px 40px; background: var(--mint); }

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

.footer-row p { color: var(--muted); font-size: 14px; }

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand img {
  width: 48px;
  height: 35px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.footer-brand .script { font-size: 30px; line-height: 1; }

@media (width <= 640px) {
  .hero { padding-top: 40px; }
  .portrait { max-width: 280px; }
  .portrait-badge { width: 68px; height: 68px; }
  .portrait-badge img { width: 44px; }
  .about-photo { max-width: 260px; margin: 0 auto; }
  .about-page { padding-top: 40px; }
  .how, .about, .contact { padding-top: 64px; padding-bottom: 64px; }
  .contact-form { padding: 22px; }
}
