/* FitzLab — site styles */
:root {
  --ink: #0E1A2B;
  --ink-2: #16253A;
  --ink-3: #22344E;
  --amber: #F2B544;
  --amber-deep: #C98A1E;
  --paper: #F7F4EE;
  --paper-2: #EFEAE0;
  --white: #FFFFFF;
  --slate: #5B6676;
  --line: #E2DCD0;
  --signal: #2BB673;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 12px 32px -12px rgba(14, 26, 43, .18);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 40em; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 1rem;
}
.dark .eyebrow { color: var(--amber); }
.serif-accent { font-style: italic; color: var(--amber-deep); font-weight: 500; }
.dark .serif-accent { color: var(--amber); }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .lead, .dark p.muted { color: #B8C0CC; }
.tint { background: var(--paper-2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .86); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; }
.brand span b { color: var(--amber-deep); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink); opacity: .82; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a.btn-primary { color: var(--paper); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-3); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { box-shadow: 0 10px 24px -10px rgba(242, 181, 68, .8); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-media { position: relative; }
.hero-media .photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.float-card {
  position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 16px; font-size: .88rem; display: flex; gap: 12px; align-items: flex-start; max-width: 290px;
}
.float-card .dot { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; }
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--slate); }
.fc-1 { left: -36px; bottom: 64px; animation: rise .8s .3s both; }
.fc-2 { right: -24px; top: 40px; animation: rise .8s .6s both; }
.dot-signal { background: rgba(43, 182, 115, .14); }
.dot-amber { background: rgba(242, 181, 68, .2); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .9rem; color: var(--slate); }
.trust-row span::before { content: "✓"; color: var(--signal); font-weight: 700; margin-right: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.stat { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.stat b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--amber); line-height: 1; margin-bottom: 10px; }
.stat span { color: #B8C0CC; font-size: .97rem; }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230E1A2B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--amber-deep);
  display: block; margin-bottom: 18px;
}
.step p { color: var(--slate); margin: 0; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
.product { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 32px; transition: border-color .2s, transform .2s; }
.product:hover { border-color: rgba(242, 181, 68, .5); transform: translateY(-2px); }
.product .tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.product h3 { font-size: 1.8rem; margin: 8px 0 10px; }
.product p { color: #B8C0CC; margin: 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 24px 48px -20px rgba(14, 26, 43, .55); position: relative; }
.plan.featured .badge {
  position: absolute; top: -13px; left: 30px; background: var(--amber); color: var(--ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan .name { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.plan .for { color: var(--slate); font-size: .95rem; min-height: 3em; }
.plan.featured .for, .plan.featured .setup { color: #B8C0CC; }
.plan .price { font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1; margin: 18px 0 4px; }
.plan .price small { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--slate); }
.plan.featured .price small { color: #B8C0CC; }
.plan .setup { font-size: .88rem; color: var(--slate); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.plan.featured li { border-top-color: var(--ink-3); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--signal); font-weight: 700; }
.plan li.plus { font-weight: 600; }
.plan li.plus::before { content: "+"; color: var(--amber-deep); }
.plan.featured li.plus::before { color: var(--amber); }
.guarantee { margin-top: 32px; text-align: center; color: var(--slate); font-size: .95rem; }
.guarantee b { color: var(--ink); }

/* ---------- Table ---------- */
.compare { width: 100%; border-collapse: collapse; margin-top: 40px; background: var(--white); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.compare .yes { color: var(--signal); font-weight: 700; }
.compare .no { color: #B9B2A5; }
.table-scroll { overflow-x: auto; }

/* ---------- ROI calculator ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); margin-top: 48px; }
.roi-inputs { padding: 40px; }
.roi-out { padding: 40px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 24px; }
.field label { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.field label output { font-family: var(--serif); color: var(--amber-deep); font-size: 1.15rem; }
input[type=range] { width: 100%; accent-color: var(--amber-deep); }
.roi-out .big { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 600; color: var(--amber); line-height: 1; margin: 8px 0 14px; }
.roi-out p { color: #B8C0CC; font-size: .95rem; }
.roi-out .small { font-size: .8rem; opacity: .75; margin-top: 18px; }

/* ---------- Video ---------- */
.video-frame { border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); margin-top: 40px; background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonial / quote ---------- */
.quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: .95rem; }
.quote-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.note-pill { display: inline-block; margin-top: 18px; font-size: .78rem; color: var(--slate); background: var(--paper-2); padding: 4px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--amber-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 181, 68, .35), transparent 70%); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #B8C0CC; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; position: relative; z-index: 1; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .98rem; background: var(--paper);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--amber-deep); background: var(--white); }
.consent { font-size: .8rem; color: var(--slate); display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 4px; }
.form-success { display: none; padding: 18px; border-radius: 12px; background: rgba(43, 182, 115, .12); color: #17784A; font-weight: 600; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B8C0CC; padding: 64px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand span { color: var(--paper); }
.site-footer .brand span b { color: var(--amber); }
.site-footer h4 { color: var(--paper); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid var(--ink-3); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal p, .legal li { color: #2E3A4B; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }

/* ---------- 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; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .roi, .cta-band { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .steps, .plans, .stats { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .fc-1 { left: 12px; bottom: 16px; }
  .fc-2 { right: 12px; top: 16px; }
  .hero-media .photo { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { max-width: 230px; font-size: .8rem; }
}
