/* =========================================================================
   Refined — the house style.
   The look of your whole site lives here. Change a value once and it changes
   everywhere. Stay inside the seven color tokens below. Do not add new colors,
   gradients, or rounded corners larger than 12px. Whitespace is the design.
   ========================================================================= */

:root {
  /* Palette: seven roles, fixed values. Do not introduce colors outside this set. */
  --canvas:  #F4F3F2; /* primary body background, off-white */
  --section: #EDE8E2; /* alternating section background, light taupe */
  --surface: #FAF8F5; /* card fill, slightly warmer than canvas */
  --muted:   #A28F7F; /* secondary text, eyebrow labels, hairlines */
  --body:    #584D44; /* body text, deep warm brown */
  --ink:     #282623; /* H1, H2, CTA fill, primary ink */
  --border:  #D8D2C9; /* subtle warm hairline on cards and dividers */

  /* Type */
  --display: "Italiana", Georgia, "Times New Roman", serif; /* H1 and H2 only */
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --section-pad-y: clamp(56px, 9vw, 88px);
  --section-pad-x: clamp(24px, 4vw, 48px);
  --max-grid: 880px;
  --max-column: 660px;
  --radius: 12px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: 0.5px;
}

h2 {
  font-size: clamp(28px, 4.5vw, 38px);
  line-height: 1.1;
}

h3 {
  font-family: var(--text);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4em;
}

p { margin: 0 0 1em; max-width: 64ch; }

a { color: var(--ink); text-underline-offset: 3px; }

/* ---- Section rhythm ---- */
.section { padding: var(--section-pad-y) var(--section-pad-x); }
.section--canvas  { background: var(--canvas); }
.section--taupe   { background: var(--section); }

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

/* ---- Eyebrow label ---- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--muted);
  margin-top: 10px;
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card p { color: var(--body); font-size: 15px; margin-bottom: 0; }

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

/* Offer-stack number badge */
.badge {
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---- CTA ---- */
.cta {
  display: inline-block;
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 0 28px;
  min-height: 52px;
  line-height: 52px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.cta:hover { opacity: 0.9; }

.reassure {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---- Pricing ---- */
.pricing {
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}
.price {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 64px);
  color: var(--ink);
  line-height: 1;
  margin: 0;
}
.price-note {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin: 8px 0 0;
}

/* ---- FAQ accordion ---- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .answer { padding: 16px 20px; color: var(--body); font-size: 15px; }

/* ---- Simple site nav and footer ---- */
.nav {
  display: flex;
  gap: 24px;
  padding: 20px var(--section-pad-x);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.footer {
  padding: 40px var(--section-pad-x);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ---- Focus state: quiet but visible ---- */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
