/* Josh Radford site styles
   Feel: bright, airy, premium (Bevel-inspired). White canvas, pale blue cards,
   near-black type, pill buttons, sky-to-cream hero. */

:root {
  --paper: #ffffff;
  --cloud: #ebf0f8;
  --cloud-2: #f4f7fc;
  --ink: #222326;
  --charcoal: #1f2025;
  --gray: #747679;
  --line: #dde3ee;
  --blue: #5b7fe8;      /* from the Fat Loss Playbook cover */
  --navy: #141b33;
  --gold: #a8843f;      /* from the Mini Cut cover */
  --hero: linear-gradient(180deg, #d2e5ff 0%, #fff9ee 100%);
  --radius-card: 28px;
  --radius-tile: 18px;
  --shadow-float: 0 24px 48px -20px rgba(20, 27, 51, 0.35);
  --shadow-soft: 0 2px 16px rgba(0, 0, 0, 0.08);
  --max: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.center { text-align: center; }
.muted { color: var(--gray); }

/* Type */
.display { font-size: clamp(40px, 7vw, 80px); line-height: 1; letter-spacing: -0.03em; }
.h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--gray); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray);
}

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 50;
  margin: 12px auto 0; max-width: calc(var(--max) - 2 * var(--gutter));
  width: calc(100% - 2 * 12px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 32px; box-shadow: var(--shadow-soft);
}
.brand { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--gray); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  font-family: inherit; font-weight: 500; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--charcoal); color: var(--cloud); }
.btn-dark:hover { background: #000; }
.btn-light { background: rgba(255,255,255,.9); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* Hero */
.hero { padding: 12px 12px 0; margin-top: -76px; }
.hero-field {
  background: var(--hero); border-radius: 36px; overflow: hidden;
  padding: 150px var(--gutter) 0; text-align: center; position: relative;
}
.hero-field .lead { max-width: 620px; margin: 22px auto 32px; }
.hero-visual {
  position: relative; max-width: 900px; margin: 56px auto 0; height: 520px;
}
.hero-visual .josh {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 100%; width: auto; max-width: none;
}
.hero-visual .cover {
  position: absolute; width: 230px; border-radius: 14px; box-shadow: var(--shadow-float);
}
.hero-visual .cover.left { left: 4%; bottom: 70px; transform: rotate(-6deg); }
.hero-visual .cover.right { right: 4%; bottom: 40px; transform: rotate(5deg); }
.page-hero .hero-field { padding-bottom: 88px; }

/* Cards */
.card {
  background: var(--cloud); border-radius: var(--radius-card); padding: 32px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Product cards */
.product { display: flex; flex-direction: column; gap: 24px; }
.product-cover {
  background: var(--paper); border-radius: 22px; padding: 28px;
  display: flex; justify-content: center;
}
.product-cover img { width: 62%; border-radius: 10px; box-shadow: var(--shadow-float); }
.product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.price small { font-size: 15px; font-weight: 500; color: var(--gray); }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--paper); color: var(--ink);
}
.tag.blue { color: var(--blue); }
.tag.gold { color: var(--gold); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-size: 17px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%23ebf0f8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.ticks.cross li::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.2 6.2l5.6 5.6M11.8 6.2l-5.6 5.6' fill='none' stroke='%23747679' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.fine { font-size: 14px; color: var(--gray); line-height: 1.45; }

/* Forms */
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 15px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--gray); font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-family: inherit; font-weight: 400; font-size: 16px; line-height: 1.4;
  appearance: none; -webkit-appearance: none;
}
textarea.input { min-height: 110px; resize: vertical; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23747679' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; padding-right: 44px;
}
.input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray); line-height: 1.45; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--charcoal); flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: all .12s ease;
}
.choice input:checked + span { background: var(--charcoal); color: var(--cloud); border-color: var(--charcoal); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-note { display: none; padding: 12px 16px; border-radius: 14px; background: #fff6e0; font-size: 14px; color: #6b5212; }
.form-note.show { display: block; }

/* System grid (Mini Cut moves) */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.move { background: var(--cloud-2); border-radius: 22px; padding: 24px; }
.move .num { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }
.move h4 { font-size: 20px; margin: 10px 0 6px; letter-spacing: -0.01em; }
.move p { font-size: 15px; color: var(--gray); line-height: 1.45; }

/* Page strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strip figure { margin: 0; }
.strip img { border-radius: var(--radius-tile); box-shadow: 0 0 16px -6px rgba(0,0,0,.25); background: #fff; }
.strip figcaption { font-size: 14px; color: var(--gray); margin-top: 12px; }

/* About */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about img { border-radius: var(--radius-card); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; }
.about .lead + .lead { margin-top: 16px; }
.quote { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }

/* Dark band */
.band {
  background: var(--navy); color: #fff; border-radius: 36px; padding: 72px 56px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.band h2 { color: #fff; }
.band .lead { color: #aab3cc; }
.band .btn-light { box-shadow: none; }

/* Steps */
.steps { counter-reset: s; }
.step .n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; font-weight: 600; font-size: 16px; margin-bottom: 20px;
}
.step h3 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 16px; }

/* Feature card text */
.feature h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.15; }
.feature p { color: var(--gray); font-size: 16px; }

/* Price panel */
.price-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.big-price { font-size: clamp(48px, 7vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  list-style: none; cursor: pointer; font-size: 19px; font-weight: 500;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--gray); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--gray); margin-top: 12px; font-size: 17px; }

/* Footer */
.footer { padding: 56px 0 48px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--gray); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--ink); }

/* Thank-you pages */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 120px 12px 40px; }
.thanks .hero-field { padding: 80px var(--gutter); max-width: 860px; width: 100%; }
.thanks .lead { max-width: 560px; margin: 20px auto 32px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--charcoal); color: var(--cloud); padding: 14px 20px; border-radius: 999px;
  font-size: 15px; transition: transform .25s ease; z-index: 100; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4, .moves { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; padding: 48px 28px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about img { aspect-ratio: 1/1; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .nav { padding-left: 18px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .hero-field { padding-top: 120px; border-radius: 28px; }
  .hero-visual { height: 380px; margin-top: 40px; }
  .hero-visual .cover { width: 120px; }
  .hero-visual .cover.left { left: 0; bottom: 40px; }
  .hero-visual .cover.right { right: 0; bottom: 20px; }
  .grid-2, .grid-3, .grid-4, .moves, .strip, .price-panel, .row-2 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .product-cover img { width: 70%; }
  .strip { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .strip figure { scroll-snap-align: start; }
  .band { border-radius: 28px; }
}

/* Keep anchor targets clear of the sticky nav */
[id] { scroll-margin-top: 96px; }
@media (max-width: 720px) { .display br, .h2 br { display: none; } }

/* Privacy / long-form text */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin: 48px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 6px; }
.prose p { color: var(--gray); font-size: 17px; line-height: 1.6; margin-top: 10px; }
.prose p.lead { font-size: clamp(18px, 2.2vw, 22px); margin-top: 20px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .ticks { margin-top: 14px; }
.check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Mini Cut page: cover in the hero */
.product-hero-cover { display: block; width: 280px; max-width: 70%; margin: 48px auto 0; border-radius: 12px; box-shadow: var(--shadow-float); transform: rotate(-3deg); }
.strip-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 720px) { .product-hero-cover { width: 200px; margin-top: 36px; } .strip-2 { grid-template-columns: 1fr; } }
