/* Base styles carried over from the approved design */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Barlow', system-ui, sans-serif; background: #1C1C1C; }
img { max-width: 100%; }
a { color: #F15A24; text-decoration: none; }
a:hover { color: #ffffff; }
input::placeholder { color: #8A8A8A; }
.cc-btn { transition: opacity 0.15s ease; }
.cc-btn:hover { opacity: 0.88; }
.cc-col { max-width: 640px; margin: 0 auto; width: 100%; }
.cc-p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: #C9C6C0; }
.cc-transition { margin: 44px 0 14px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 20px; letter-spacing: 0.01em; color: #F9F7F3; }
.cc-callout { margin: 44px 0; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; text-align: center; line-height: 1.28; }
.cc-callout-lg { font-size: 34px; }
.cc-callout-md { font-size: 26px; }
.cc-white { color: #F9F7F3; }
.cc-accent { color: #F15A24; }
.cc-caption { margin: 10px 0 0; font-size: 13px; font-style: italic; color: #7A7772; text-align: center; }

/* Signup form helpers */
.cc-form { margin: 0; }
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-submit:disabled { opacity: 0.6; cursor: wait; }
.cc-input:focus-visible, .cc-submit:focus-visible, a:focus-visible { outline: 2px solid #F9F7F3; outline-offset: 2px; }
.cc-status { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; color: #F15A24; line-height: 1.4; }
#signup .cc-status, #follow .cc-status { color: #141414; }
.cc-status[data-state="error"] { text-transform: none; font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.cc-status[hidden] { display: none; }

/* Four problem/solution cards: 4 across on wide screens, 2x2 on laptops/tablets, stacked on phones */
.cc-cards > div { box-sizing: border-box; }
@media (min-width: 761px) and (max-width: 1339px) { .cc-cards > div { max-width: calc(50% - 16px) !important; flex-basis: calc(50% - 16px) !important; } }

/* ---------- Phone & small-screen layout ---------- */
@media (max-width: 760px) {
  [style*="px 64px"] { padding-left: 20px !important; padding-right: 20px !important; }
  [style*="88px 64px"], [style*="80px 64px"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  [style*="72px 64px"] { padding-top: 48px !important; padding-bottom: 48px !important; }
  [style*="gap: 64px"], [style*="gap: 56px"] { gap: 32px !important; }
  [style*="min-width"] { min-width: 0 !important; }

  .cc-nav { padding: 10px 16px !important; gap: 10px; }
  .cc-nav > a:first-child, .cc-nav > div:first-child { gap: 10px !important; min-width: 0; }
  .cc-logo { width: 56px !important; height: 56px !important; }
  .cc-brand { font-size: 15px !important; line-height: 1.15; }
  .cc-navbtn { font-size: 12px !important; padding: 10px 12px !important; white-space: nowrap; }

  h1 { font-size: 34px !important; line-height: 1.1 !important; }
  h1 br { display: none; }
  h2 { font-size: 26px !important; }
  .cc-callout-lg { font-size: 26px; }
  .cc-callout-md { font-size: 22px; }
  .cc-callout[style*="font-size: 48px"] { font-size: 40px !important; }
  .cc-p, p[style*="font-size: 19px"] { font-size: 17px !important; }
  p[style*="font-size: 28px"] { font-size: 23px !important; }

  /* Easy thumb targets; 16px text stops iPhones zooming in on the email box */
  .cc-form { flex-direction: column; }
  .cc-input { font-size: 16px !important; min-height: 50px; width: 100%; box-sizing: border-box; flex: 0 0 auto !important; }
  .cc-submit { width: 100%; min-height: 50px; flex: 0 0 auto !important; }
  [style*="max-width: 480px"][style*="flex-wrap"] { max-width: none !important; }
}
@media (max-width: 380px) {
  .cc-brand { font-size: 13px !important; }
  h1 { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) { .cc-btn { transition: none; } }

/* ================= v2: phone-first layout (desktop untouched) ================= */
.cc-mob { display: none; }
#signup-top { scroll-margin-top: 100px; }
.cc-status[data-state="ok"] { display: block; padding: 14px 16px; border: 1px solid currentColor; border-radius: 4px; max-width: 480px; }

@media (max-width: 760px) {
  .cc-desk { display: none !important; }
  .cc-mob { display: inline; }
  p.cc-mob { display: block; }

  /* Section order on phones: hero > benefits > Jacob > broader audience > signup */
  .cc-home > :nth-child(1) { order: 1; }
  .cc-home > :nth-child(2) { order: 2; }
  .cc-home > :nth-child(3) { order: 3; }
  .cc-home > :nth-child(4) { order: 4; }
  .cc-home > :nth-child(5) { order: 6; }
  .cc-home > :nth-child(6) { order: 5; }
  .cc-home > :nth-child(7) { order: 7; }
  .cc-home > :nth-child(8) { order: 8; }

  /* Announcement bar: one short line */
  .cc-annc { padding: 9px 16px !important; }
  .cc-annc { gap: 0 !important; }
  .cc-annc span { font-size: 12px !important; line-height: 1.3 !important; }
  .cc-annc-more { display: none; }

  /* Hero: headline > one sentence > rig photo > signup */
  .cc-hero { flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 14px !important; padding-top: 18px !important; padding-bottom: 30px !important; }
  .cc-hero-left { display: contents !important; }
  .cc-hero h1 { order: 1; margin: 0; font-size: 36px !important; line-height: 1.08 !important; }
  .cc-intro { order: 2; font-size: 18px !important; line-height: 1.5 !important; }
  .cc-hero-photo { order: 3; flex: none !important; width: 100%; margin: 2px 0 4px; }
  .cc-hero-frame { max-width: none !important; aspect-ratio: 3 / 2 !important; }
  .cc-hero .cc-form { order: 4; margin: 0; }
  .cc-hero .cc-status { order: 5; }
  .cc-hero .cc-hint { order: 6; font-size: 13px !important; }

  .cc-hero-frame > span { font-size: 10.5px !important; letter-spacing: 0.03em !important; padding: 5px 9px !important; top: 10px !important; left: 10px !important; max-width: calc(100% - 20px); }

  /* Benefits: compact cards, icon beside text */
  .cc-benefits { padding: 34px 16px 36px !important; gap: 20px !important; }
  .cc-benefits h2 { font-size: 22px !important; }
  .cc-cards { gap: 10px !important; }
  .cc-cards > div { display: grid !important; grid-template-columns: 30px 1fr; column-gap: 14px !important; row-gap: 4px !important; align-items: start; padding: 16px !important; max-width: none !important; flex: 1 1 100% !important; }
  .cc-cards > div > svg { grid-column: 1; grid-row: 1 / span 2; width: 28px !important; height: 28px !important; margin-top: 1px; }
  .cc-cards > div > h3 { grid-column: 2; font-size: 16px !important; line-height: 1.25; }
  .cc-cards > div > p { grid-column: 2; font-size: 14.5px !important; line-height: 1.5 !important; }
  .cc-dur { padding: 16px !important; gap: 14px !important; margin-top: 0 !important; }
  .cc-dur svg { width: 26px !important; height: 26px !important; }
  .cc-dur h3 { font-size: 15px !important; }
  .cc-dur p { font-size: 14px !important; line-height: 1.5 !important; }

  /* Jacob: shorter, higher on the page */
  .cc-founder { padding-top: 34px !important; padding-bottom: 36px !important; gap: 22px !important; }
  .cc-founder-frame { aspect-ratio: auto !important; max-width: none !important; display: flex; flex-direction: column; }
  .cc-founder-frame img { height: auto !important; aspect-ratio: 1 / 1; object-position: center 35%; }
  .cc-founder-frame > span { position: static !important; border: 0 !important; border-top: 1px solid #F15A24 !important; border-radius: 0 !important; background: #141414 !important; padding: 10px 12px !important; }
  .cc-founder p[style*="font-size: 28px"] { font-size: 22px !important; line-height: 1.3 !important; }
  .cc-founder p { font-size: 15.5px !important; }
  .cc-founder { gap: 14px !important; }
  .cc-founder > div { gap: 12px !important; }
  .cc-storylink { display: inline-block; padding: 10px 0; font-size: 15px !important; }

  /* Broader audience: tighter */
  .cc-audience { padding-top: 36px !important; padding-bottom: 40px !important; gap: 14px !important; }
  .cc-audience h2 { font-size: 24px !important; }
  .cc-audience p { font-size: 16px !important; line-height: 1.55 !important; }
  .cc-audience p[style*="font-size: 22px"] { font-size: 19px !important; margin-top: 8px !important; }

  /* Signup block */
  .cc-final { padding-top: 40px !important; padding-bottom: 44px !important; gap: 14px !important; }
  .cc-final h2 { font-size: 27px !important; }
  .cc-final p { font-size: 15.5px !important; }

  /* Thumb-friendly tap targets */
  .cc-submit { font-size: 16px !important; }
  .cc-navbtn { min-height: 40px; display: inline-flex !important; align-items: center; }
  a[href*="instagram.com"] { display: inline-block; padding: 12px 0; }
  a[href="index.html"][style*="font-size: 13px"] { padding: 12px 0; }
}
@media (max-width: 380px) {
  .cc-hero h1 { font-size: 32px !important; }
  .cc-navbtn { font-size: 11px !important; padding: 8px 10px !important; }
}

@media (max-width: 760px) {
  .cc-benefits-intro { margin: 0 auto !important; font-size: 15.5px !important; line-height: 1.5 !important; }
}
