/* Bissly — shared site styles */
:root {
  --green: #1D9E75;
  --green-dark: #177a5b;
  --green-light: #E1F5EE;
  --bg: #F1EFE8;
  --surface: #FFFFFF;
  --surface-2: #F8F7F3;
  --text: #2C2C2A;
  --text-2: #5F5E5A;
  --text-3: #888880;
  --border: #D4D2CB;
  --border-soft: #E4E2DB;

  --health: #1D9E75;
  --home: #3B82F6;
  --occupation: #F59E0B;
  --economy: #065F46;
  --feelings: #8B5CF6;
  --social: #EC4899;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(44,44,42,.04), 0 8px 28px rgba(44,44,42,.07);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lede { font-size: 1.2rem; color: var(--text-2); max-width: 34em; }
.muted { color: var(--text-3); }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ── Nav ─────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,239,232,.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }

/* ── Buttons ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--sans);
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(29,158,117,.28); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Sections ────────────────────── */
section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin: 14px 0 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

.card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ── Circle of Fulfillment ───────── */
.circle-wrap { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; }
.circle-wrap svg { width: 100%; height: 100%; overflow: visible; }
.radar-grid { fill: none; stroke: #D9D7CF; stroke-width: 1; }
.radar-axis { stroke: #D9D7CF; stroke-width: 1; }
.radar-shape { fill: rgba(29,158,117,.16); stroke: var(--green); stroke-width: 2.5; stroke-linejoin: round; transition: d .9s cubic-bezier(.3,.7,.2,1); }
.radar-shape.before { fill: rgba(136,136,128,.08); stroke: #A8A69E; stroke-dasharray: 5 6; stroke-width: 2; }
.radar-dot { transition: cx .9s cubic-bezier(.3,.7,.2,1), cy .9s cubic-bezier(.3,.7,.2,1); stroke: #fff; stroke-width: 2.5; }
.radar-label { font: 600 13px var(--sans); fill: var(--text-2); }

/* ── Domain chips ────────────────── */
.domain-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }

/* ── Forms ───────────────────────── */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--text); }
.field .hint { font-weight: 400; color: var(--text-3); }
input[type=text], input[type=email], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(29,158,117,.14); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235F5E5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); font-size: 14px; font-weight: 500; cursor: pointer; user-select: none;
  transition: all .15s;
}
.seg label:hover { border-color: var(--text-3); }
.seg input:checked + label { background: var(--text); border-color: var(--text); color: #fff; }
.seg input:focus-visible + label { box-shadow: 0 0 0 4px rgba(29,158,117,.25); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }

.form-msg { font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-msg.error { display: block; background: #FDECEC; color: #9B1C1C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ──────────────────────── */
.footer { padding: 48px 0 56px; border-top: 1px solid var(--border-soft); font-size: 14px; color: var(--text-3); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ── Reveal on scroll ────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar-shape, .radar-dot { transition: none; }
  html { scroll-behavior: auto; }
}
