/* mCONFIDENCE — Apple-clean consumer site
   Guideline: 00-sam-website-design-cbros.md */

:root {
  --black: #1d1d1f;
  --gray: #86868b;
  --gray-2: #6e6e73;
  --line: #d2d2d7;
  --bg: #f5f5f7;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-hover: #a84a1c;
  --radius: 18px;
  --pad: clamp(1.5rem, 4.5vw, 3.25rem);
  --max: 980px;
  --chrome: 52px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.47;
  font-size: 17px;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  color: var(--black);
}
.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}
.brand-icon-lg { width: 42px; height: 42px; }
.brand-icon.on-dark {
  filter: invert(1) brightness(1.15);
}
.wordmark {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.wordmark .m {
  font-weight: 700;
}
.wordmark .conf {
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--chrome);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: var(--pad);
  max-width: 1200px;
  margin-inline: auto;
}
.nav-links {
  display: none;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.75rem;
  color: var(--gray-2);
}
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--black); }
@media (min-width: 820px) { .nav-links { display: flex; } }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--accent-hover); text-decoration: none !important; }
.nav-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}
@media (min-width: 820px) { .nav-toggle { display: none; } }
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--chrome);
  left: 0; right: 0;
  background: var(--white);
  padding: 1rem var(--pad);
  border-bottom: 1px solid var(--line);
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 400;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: scale(1.02); }
.btn-primary { background: var(--accent); color: var(--white) !important; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent); padding-inline: 0.5rem; }
.btn-ghost:hover { text-decoration: underline !important; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero — full-bleed media */
.hero {
  position: relative;
  height: calc(100vh - var(--chrome));
  min-height: 560px;
  max-height: 920px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  color: #fff;
}
.hero-bleed .hero-media {
  position: absolute;
  inset: 0;
}
.hero-bleed .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  animation: heroZoom 12s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 29, 31, 0.25) 0%, rgba(29, 29, 31, 0.55) 45%, rgba(29, 29, 31, 0.82) 100%),
    linear-gradient(90deg, rgba(29, 29, 31, 0.55) 0%, transparent 55%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 3.75rem;
  max-width: 38rem;
  margin-left: var(--pad);
  margin-right: auto;
  width: min(1100px, calc(100% - (var(--pad) * 2)));
}
.hero-brand {
  margin-bottom: 0.85rem;
  animation: rise 0.7s var(--ease) both;
  color: #fff;
}
.hero-brand .wordmark { font-size: clamp(2rem, 4.5vw, 3rem); color: #fff; }
.hero-brand .wordmark .conf { color: rgba(255,255,255,0.92); }
.hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 16ch;
  margin-bottom: 0.85rem;
  color: #fff;
  animation: rise 0.7s var(--ease) 0.08s both;
}
.hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 36ch;
  line-height: 1.4;
  animation: rise 0.7s var(--ease) 0.14s both;
}
.hero .cta-row { animation: rise 0.7s var(--ease) 0.2s both; }
.btn-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 980px;
  font-size: 1.05rem;
  color: #fff !important;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none !important;
}
.btn-on-dark:hover { background: rgba(255,255,255,0.2); text-decoration: none !important; }

.strip-poc {
  padding: 1.1rem 0;
  background: #1d1d1f;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
}
.strip-poc strong { color: #fff; }

.benefit-grid {
  display: grid;
  gap: 1.5rem 2rem;
  margin-top: 0.5rem;
}
@media (min-width: 720px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .benefit-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.benefit-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.benefit-block p {
  font-size: 0.95rem;
  color: var(--gray-2);
  line-height: 1.45;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* legacy hero-visual kept for inner pages if needed */
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(145deg, #2a211c 0%, #1d1d1f 55%, #3a2a22 100%);
  color: var(--white);
  padding: 1.75rem;
}
.benefit-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.benefit-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}
.benefit-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.score-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.score-note strong { color: #fff; font-weight: 600; }

/* Sections */
section { padding: 4.25rem 0; }
.section-bg { background: var(--bg); }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}
.sub {
  font-size: 1.1rem;
  color: var(--gray-2);
  max-width: 40rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.grid-2, .grid-3 {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.tile {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}
.section-bg .tile { background: var(--white); }
.tile h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.tile p {
  font-size: 0.95rem;
  color: var(--gray-2);
  line-height: 1.45;
}

.arc {
  display: grid;
  gap: 0;
}
.arc-item {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.arc-item:last-child { border-bottom: 1px solid var(--line); }
.arc-num {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 600;
}
.arc-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.2rem; }
.arc-item p { margin: 0; font-size: 0.95rem; color: var(--gray-2); }

.session {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.session:last-of-type { border-bottom: 1px solid var(--line); }
.session .meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.session h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.session p { color: var(--gray-2); max-width: 52rem; }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(29, 29, 31, 0.08);
}
.price {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.price small { font-size: 0.95rem; font-weight: 400; color: var(--gray); }
.price-card ul {
  list-style: none;
  margin: 0.5rem 0 1rem;
  flex: 1;
}
.price-card li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--gray-2);
}
.price-card li:first-child { border-top: 0; }

.form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid rgba(196, 92, 38, 0.3);
  border-color: var(--accent);
}
.hint { font-size: 0.85rem; color: var(--gray); margin-top: 0.75rem; }

.page-hero { padding: 3rem 0 1.5rem; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 0.65rem;
}
.page-hero p { color: var(--gray-2); max-width: 40ch; font-size: 1.1rem; }

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer a {
  color: var(--gray-2);
  text-decoration: none;
  margin-right: 1rem;
  font-size: 0.9rem;
}
.footer p { font-size: 0.9rem; color: var(--gray); }

@media (max-width: 899px) {
  .hero { height: min(92vh, 720px); max-height: none; min-height: 480px; }
  .hero-copy { padding-bottom: 2.5rem; }
}
