/* The Passive CEO — v1 site styles.
   Design language from the demo: Bodoni Moda + DM Sans,
   cream #f5f4ef / ink #11110f / acid #d8ff3e, light/dark mode. */

:root {
  color-scheme: light dark;
  --page: #f5f4ef;
  --paper: #ffffff;
  --ink: #11110f;
  --muted: #575750;
  --line: #d3d2ca;
  --soft: #e9e7df;
  --acid: #d8ff3e;
  --acid-ink: #172000;
  --hot: #ff6a3d;
  --shadow: 0 18px 50px rgba(17, 17, 15, .09);
  --card-shadow: 6px 6px 0 var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #11110f;
    --paper: #1a1a17;
    --ink: #f6f4ec;
    --muted: #bcbab0;
    --line: #383830;
    --soft: #24241f;
    --acid: #c9f53c;
    --acid-ink: #172000;
    --hot: #ff7550;
    --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ink);
}
.brand-name {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 2px;
}
.main-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .26;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 96px 0 80px; max-width: 860px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 700;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 9px;
  background: var(--acid);
  border: 1px solid var(--ink);
}
.hero h1 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .95;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}
.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
.btn-primary { background: var(--acid); color: var(--acid-ink); }
.btn-secondary { background: var(--paper); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.arrow { font-size: 1.2em; line-height: 1; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
.section-head { margin-bottom: 40px; max-width: 800px; }
.section-head h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- Featured Muse card ---------- */
.featured-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--ink);
  background: var(--acid);
  color: var(--acid-ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.featured-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .55);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.featured-card h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.featured-card p { margin: 0 0 8px; font-size: 17px; color: #334000; max-width: 560px; }
.referral-code {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px dashed var(--acid-ink);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .06em;
}
.featured-card .btn {
  border-color: var(--acid-ink);
  background: var(--acid-ink);
  color: var(--acid);
  white-space: nowrap;
}
.featured-card .btn:hover { box-shadow: 5px 5px 0 rgba(23, 32, 0, .35); }

/* ---------- Disclosure strip ---------- */
.disclosure-strip {
  background: var(--ink);
  color: var(--page);
  padding: 22px 0;
  font-size: 14px;
}
.disclosure-strip p { margin: 0; max-width: 900px; color: color-mix(in srgb, var(--page) 85%, transparent); }
.disclosure-strip strong { color: var(--acid); }

/* ---------- Product cards ---------- */
.category-block { padding: 64px 0; }
.category-block + .category-block { border-top: 1px solid var(--line); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.card-no { font-size: 13px; font-weight: 700; color: var(--muted); }
.card-tag {
  padding: 6px 9px;
  border-radius: 2px;
  background: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card h3 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.card p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}
.card-link:hover { color: var(--hot); }
.risk-note {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 2px;
  font-size: 14px;
  color: var(--muted);
}
.risk-note strong { color: var(--ink); }

/* ---------- Social ---------- */
.social-list { border-top: 1px solid var(--ink); margin-top: 30px; }
.social-link {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .16s ease, background .16s ease;
}
.social-link:hover { padding-left: 12px; background: var(--soft); }
.social-link:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
.social-link b { font-size: 14px; }
.social-link span { color: var(--muted); }
.social-link i { font-style: normal; font-size: 20px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 max(40px, env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.footer-logo { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ink); }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy p { margin: 0 0 10px; max-width: 760px; }
.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--page);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 0;
}
.cookie-inner p { margin: 0; flex: 1 1 280px; font-size: 14px; color: color-mix(in srgb, var(--page) 85%, transparent); }
.cookie-inner p a { color: var(--acid); text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-accept { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.btn-decline { background: transparent; color: var(--page); border-color: var(--line); }
.btn-decline:hover { box-shadow: 4px 4px 0 rgba(255, 255, 255, .25); }

/* ---------- Privacy note ---------- */
.privacy-note {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  padding: 26px 28px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.privacy-note h3 { color: var(--ink); font-size: 18px; margin-bottom: 10px; }
.privacy-note p { margin: 0 0 10px; }
.privacy-note[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .main-nav ul { gap: 4px 12px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { flex-wrap: wrap; }
  .main-nav { margin-left: 0; width: 100%; }
  .main-nav ul { gap: 2px 14px; }
  .hero-inner { padding: 64px 0 56px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  section.block { padding: 60px 0; }
  .category-block { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
  .social-link { grid-template-columns: 88px 1fr auto; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
