/* Danny's Campfire. Adjust the hero image and its desktop/mobile crop here. */
:root {
  --portrait-photo: url('/manus-storage/Square_4365926e.jpg');
  --hero-photo: url('/manus-storage/SmilingCamperbytheMountainFire_ffee11aa.png');
  --hero-photo-size: cover;
  --hero-photo-position: 70% 60%;
  --hero-photo-position-mobile: 65% 100%;
  --background-top: #0E1424;
  --background-bottom: #07090F;
  --card: #121A2E;
  --border: #222C45;
  --orange: #E8673A;
  --orange-ink: #1A0E08;
  --amber: #F2A541;
  --link-hover: #FFD08A;
  --text: #F5EDE3;
  --secondary: #E7DDD1;
  --muted: #CFC5B9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: linear-gradient(180deg, var(--background-top) 0%, var(--background-bottom) 100%); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--amber); }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 4px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(100% - 64px, 1160px); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(2.05rem, 3.5vw, 3.15rem); line-height: 1.12; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.7; text-wrap: pretty; }

.hero { position: relative; isolation: isolate; min-height: min(760px, 92vh); overflow: hidden; background: #0E1424; }
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-photo { left: 50%; right: auto; width: 100%; max-width: 1920px; transform: translateX(-50%); background-image: var(--hero-photo); background-size: var(--hero-photo-size); background-position: var(--hero-photo-position); background-repeat: no-repeat; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(7,9,15,0.75) 0%, rgba(7,9,15,0.45) 45%, rgba(7,9,15,0) 70%), linear-gradient(180deg, rgba(7,9,15,0.55) 0%, rgba(7,9,15,0.30) 40%, rgba(7,9,15,0.70) 100%); }
.hero-inner { position: relative; }
.site-header { padding-top: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.23rem; letter-spacing: -.03em; }
.brand-icon { width: 28px; height: 28px; color: var(--amber); stroke-width: 1.5; }
.hero-copy { padding: 92px 0 82px; max-width: 740px; }
.hero h1 { font-size: clamp(3.5rem, 4.9vw, 4.25rem); line-height: 1.06; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--text); }
.hero-subhead { max-width: 640px; margin-top: 24px; color: var(--secondary); font-size: 1.05rem; line-height: 1.72; }
.hero h1, .hero-subhead { text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.signup { margin-top: 30px; max-width: 640px; scroll-margin-top: 32px; outline: none; }
.hero-note { display: flex; align-items: center; gap: 17px; margin-top: 22px; max-width: 720px; }
.hero-note p { flex: 1; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.day-badge { display: inline-flex; flex: none; align-items: center; min-height: 32px; padding: 7px 12px; border: 1px solid rgba(242,165,65,.28); border-radius: 999px; background: rgba(242,165,65,.10); color: var(--amber); font-size: .73rem; font-weight: 600; white-space: nowrap; }
.day-badge:empty { display: none; }
.embers { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ember { position: absolute; left: var(--x); bottom: var(--bottom); width: var(--size); height: var(--size); border-radius: 50%; background: #FFB45E; box-shadow: 0 0 8px 2px rgba(255,132,47,.66); opacity: 0; animation: ember-rise var(--duration) var(--delay) linear infinite; }
@keyframes ember-rise { 0% { opacity: 0; transform: translate3d(0, 20px, 0); } 15% { opacity: .8; } 65% { opacity: .55; } 100% { opacity: 0; transform: translate3d(var(--drift), -250px, 0); } }

.section-pad { padding: 108px 0; }
.benefits { padding-top: 100px; }
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading p { max-width: 650px; margin: 16px auto 0; color: var(--secondary); font-size: 1rem; }
.heading-mark { display: flex; align-items: center; justify-content: center; gap: 11px; color: var(--amber); margin-bottom: 19px; }
.heading-mark span { width: 27px; height: 1px; background: rgba(242,165,65,.45); }
.heading-mark svg { width: 20px; height: 20px; }
.benefit-grid, .how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-card { min-height: 218px; padding: 26px 27px 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.card-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 23px; border: 1px solid rgba(242,165,65,.15); border-radius: 12px; background: rgba(242,165,65,.075); color: var(--amber); }
.card-icon svg { width: 24px; height: 24px; }
.info-card h3 { margin-bottom: 10px; color: var(--text); font-size: 1.04rem; line-height: 1.3; font-weight: 600; }
.info-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.how { padding-top: 26px; }
.section-heading.compact { margin-bottom: 42px; }
.step-card { min-height: 210px; }

.challenge-section { padding: 0 0 20px; }
.challenge-card { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 56px 64px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.challenge-card::before { content: ''; position: absolute; z-index: -1; left: -130px; bottom: -200px; width: 410px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(232,103,58,.23), transparent 68%); pointer-events: none; }
.challenge-copy { max-width: 630px; }
.eyebrow { margin-bottom: 15px; color: var(--amber); font-size: .72rem; font-weight: 600; letter-spacing: .15em; line-height: 1.3; }
.challenge-copy h2 { margin-bottom: 19px; }
.challenge-copy > p:last-child { color: var(--secondary); font-size: .97rem; }
.tracker { display: grid; grid-template-columns: repeat(8, 15px); gap: 15px; flex: none; }
.tracker-dot { width: 15px; height: 15px; border: 1px solid var(--amber); border-radius: 50%; background: transparent; }
.tracker-dot.is-filled { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 12px rgba(232,103,58,.7); }

.about-section { padding: 110px 0 120px; }
.about-inner { max-width: 870px; display: flex; align-items: center; gap: 60px; }
.portrait-frame { width: 180px; height: 180px; flex: 0 0 180px; border: 3px solid var(--amber); border-radius: 50%; background-image: var(--portrait-photo); background-size: cover; background-position: center; box-shadow: 0 0 36px rgba(232,103,58,.12); }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--secondary); font-size: .97rem; }
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0 100px; text-align: center; }
.final-cta::before { content: ''; position: absolute; z-index: -1; bottom: -260px; left: 50%; width: 900px; height: 470px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(232,103,58,.22), transparent 68%); pointer-events: none; }
.final-cta h2 { margin-bottom: 31px; }
.cta-button { display: inline-flex; justify-content: center; align-items: center; width: min(100%, 390px); min-height: 54px; padding: 16px 24px; border: 0; border-radius: 12px; background: var(--orange); color: var(--orange-ink); font-size: 1.0625rem; font-weight: 600; cursor: pointer; animation: dcGlow 3.2s ease-in-out infinite; transition: background-color .3s ease; }
.cta-button:hover { background: #F0784E; }
.site-footer { border-top: 1px solid rgba(34,44,69,.8); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; color: var(--muted); font-size: .78rem; }
.footer-inner p { line-height: 1.5; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.instagram-link { justify-content: center; min-width: 44px; }
.instagram-link svg { width: 22px; height: 22px; }

/* The small privacy page uses the same brand system. */
.policy-shell { max-width: 760px; min-height: calc(100vh - 88px); }
.policy-header { padding: 34px 0 80px; }
.policy-header .brand { min-height: 44px; text-decoration: none; }
.policy-content { padding-bottom: 110px; }
.policy-content h1 { margin-bottom: 28px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; }
.policy-content h2 { margin: 36px 0 12px; font-size: 1.55rem; }
.policy-content p { color: var(--secondary); font-size: 1rem; }

@media (min-width: 768px) { .benefit-subhead span { display: block; } }
@media (max-width: 767px) { .hero-photo { background-position: var(--hero-photo-position-mobile); } }
@media (min-width: 901px) { .hero h1 span { white-space: nowrap; } }
@media (max-width: 900px) {
  .challenge-card { gap: 35px; padding: 48px 36px; }
  .tracker { grid-template-columns: repeat(8, 12px); gap: 11px; }
  .tracker-dot { width: 12px; height: 12px; }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 40px, 520px); }
  .hero { min-height: 0; }
  .site-header { padding-top: 24px; }
  .brand { font-size: 1.13rem; }
  .hero-copy { padding: 78px 0 70px; }
  .hero h1 { font-size: clamp(2.75rem, 11.5vw, 4rem); line-height: 1.07; letter-spacing: -.045em; }
  .hero h1 span { display: inline; }
  .hero-subhead { margin-top: 20px; font-size: .98rem; line-height: 1.68; }
  .signup { margin-top: 25px; }
  .hero-note { display: block; margin-top: 19px; }
  .hero-note p { margin-top: 11px; font-size: .75rem; }
  .section-pad { padding: 78px 0; }
  .benefits { padding-top: 75px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading p { font-size: .95rem; }
  .benefit-grid, .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-card, .step-card { min-height: 0; padding: 24px; }
  .card-icon { margin-bottom: 19px; }
  .how { padding-top: 8px; }
  .section-heading.compact { margin-bottom: 30px; }
  .challenge-card { display: block; padding: 38px 26px 40px; }
  .challenge-copy h2 { margin-bottom: 16px; }
  .challenge-copy > p:last-child { font-size: .94rem; }
  .tracker { width: max-content; grid-template-columns: repeat(8, 15px); gap: 13px; margin-top: 34px; }
  .tracker-dot { width: 15px; height: 15px; }
  .about-section { padding: 82px 0; }
  .about-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .about-copy p { font-size: .94rem; }
  .final-cta { padding: 80px 0 86px; }
  .final-cta h2 { max-width: 330px; margin: 0 auto 28px; }
  .footer-inner { align-items: flex-start; gap: 8px; padding: 24px 0; flex-direction: column; }
  .footer-links { margin-left: -10px; }
  .policy-header { padding-bottom: 60px; }
}
@media (max-width: 767px) {
  /* Keep the wide photo unobstructed above the mobile headline and form. */
  .hero { --hero-mobile-photo-top: 68px; --hero-mobile-photo-height: 49.775vw; }
  .hero-photo { top: var(--hero-mobile-photo-top); bottom: auto; height: var(--hero-mobile-photo-height); }
  .hero-shade { background: linear-gradient(180deg, rgba(7,9,15,.15) 0, rgba(7,9,15,.08) var(--hero-mobile-photo-top), rgba(7,9,15,.08) calc(var(--hero-mobile-photo-top) + var(--hero-mobile-photo-height) - 26px), #0E1424 calc(var(--hero-mobile-photo-top) + var(--hero-mobile-photo-height))); }
  .hero-copy { padding-top: calc(var(--hero-mobile-photo-top) + var(--hero-mobile-photo-height) - 52px + 22px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .embers { display: none; }
  .cta-button { animation: none; box-shadow: 0 0 24px 4px rgba(232,103,58,.4); }
  .formkit-form[data-uid="151eec877e"] .formkit-spinner > div { animation: none; }
}
