/* Cartly landing v2 — design language
   Cream paper #FAF4E8 · deep pine #0B3D2D · card green #083026 · darkest #062A20
   bright green accent #3FAE2A · Cartly orange #FD5500
   Editorial serif display (Fraunces) + geometric sans body (Archivo)
   Full-pill buttons everywhere. NO shadows — depth from colour blocking only. */

:root {
  --cream: #FAF4E8;
  --pine: #0B3D2D;
  --card-green: #083026;
  --darkest: #062A20;
  --bright-green: #3FAE2A;
  --wm-green: #023723;
  --orange: #FD5500;
  --orange-deep: #C04000;
  --ink: #16241D;
  --muted: #5E6E62;
  --line: #E7DCC6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--pine); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--darkest);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

/* ============ Header (slim cream, not sticky) ============ */

.site-header { background: var(--cream); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.wordmark {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--wm-green);
  text-decoration: none;
  line-height: 1;
}
.wordmark .y { color: var(--orange); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 861px) {
  .nav-links { display: flex; }
}

.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-support {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.header-support:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .header-support, .nav-links { display: none; }
  /* Header collapses to wordmark + hamburger on mobile */
  .header-shop { display: none; }
}

/* Hamburger + full-screen menu */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5.5px;
  padding: 0;
}
@media (max-width: 860px) { .hamburger { display: inline-flex; } }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--pine); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2.5rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-close {
  width: 52px; height: 52px; border-radius: 999px;
  border: 2px solid var(--pine); background: transparent; color: var(--pine);
  font-size: 1.5rem; font-weight: 700; cursor: pointer; line-height: 1;
}
.mm-links { list-style: none; margin-top: 3rem; display: grid; gap: 0.4rem; }
.mm-links a {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  color: var(--pine); text-decoration: none; line-height: 1.15;
}
.mm-links a:hover { color: var(--orange); }
.mm-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.5rem; }

/* ============ Buttons — all full pills ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--sans);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--card-green); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }

.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }

.btn-cream { background: #fff; color: var(--pine); }
.btn-cream:hover { background: var(--cream); }

.btn-outline-cream { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-cream:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* ============ Type ============ */

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 1.25rem;
}
.eyebrow.on-dark { color: #FFD9C2; }

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }

.display {
  font-family: var(--serif); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.0;
  font-size: clamp(3.5rem, 8.5vw, 6.9rem);
  color: var(--pine);
}
.display .accent { color: var(--orange); }

.section-title {
  font-family: var(--serif); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--pine);
  max-width: 20ch;
}
.on-dark .section-title { color: #fff; }

.lede {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 54ch;
  margin-top: 1.2rem;
}
.on-dark .lede { color: rgba(255,255,255,0.8); }

/* ============ Sections ============ */

section { padding: clamp(6.5rem, 12vw, 9.5rem) 0; }

/* ============ Hero ============ */

.hero {
  background: var(--cream);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.15rem; font-size: 0.92rem; color: var(--muted); font-weight: 600; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-caption { margin-top: 0.7rem; font-size: 0.82rem; color: var(--muted); }

/* Hero entrance */
@keyframes heroInLeft {
  from { opacity: 0; transform: translateX(-56px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroInRight {
  from { opacity: 0; transform: translateX(56px); }
  to { opacity: 1; transform: none; }
}
.hero-enter-left { animation: heroInLeft 0.9s ease-out both; }
.hero-enter-right { animation: heroInRight 0.9s ease-out 0.12s both; }

/* ============ CTA band (deep pine) ============ */

.cta-band {
  background: var(--pine);
  color: #fff;
}
.cta-band .band-head {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  max-width: 22ch;
}
.cta-band .lede { color: rgba(255,255,255,0.78); }

.cta-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 861px) {
  .cta-cards { grid-template-columns: repeat(3, 1fr); }
}

.cta-card {
  background: var(--card-green);
  border-radius: var(--radius);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.cta-card h3 { color: #fff; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; }
.cta-card p { color: rgba(255,255,255,0.72); font-size: 1rem; margin-bottom: 0.9rem; }
.cta-card .btn { margin-top: auto; }

.band-foot {
  margin-top: 2.75rem;
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
}
.band-foot a { color: #fff; font-weight: 700; }
.band-foot a:hover { color: var(--orange); }

/* ============ Stats band (darkest green) ============ */

.stats-band { background: var(--darkest); color: #fff; }

.stats-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 861px) {
  .stats-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.stats-head .section-title { color: #fff; }
.stats-head .btn { margin-top: 2.25rem; }

.stat-stage { text-align: center; }
@media (min-width: 861px) { .stat-stage { text-align: right; } }

.stat-number {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(4.5rem, 21vw, 12.5rem);
  max-width: 100%;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.stat-tabs {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}
@media (min-width: 861px) { .stat-tabs { justify-content: flex-end; } }
.stat-tab {
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.stat-tab[aria-selected="true"] { background: #fff; border-color: #fff; }
.stat-tab:hover { border-color: #fff; }

/* ============ Journal (stories carousel) ============ */

.journal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.journal-arrows { display: flex; gap: 0.8rem; flex: none; }
.arrow-btn {
  width: 58px; height: 58px;
  border-radius: 999px;
  border: 2px solid var(--pine);
  background: transparent;
  color: var(--pine);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.arrow-btn:hover { background: var(--pine); color: #fff; }
.arrow-btn:disabled { opacity: 0.35; cursor: default; }
.arrow-btn:disabled:hover { background: transparent; color: var(--pine); }

.journal-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.journal-card {
  flex: 0 0 min(400px, 86vw);
  scroll-snap-align: start;
  background: #FFFDF7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 300px;
  text-decoration: none;
}
.journal-card:hover { border-color: var(--pine); }
.journal-date {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.journal-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pine);
  line-height: 1.2;
}
.journal-card p { color: var(--muted); font-size: 1rem; }
.journal-card .j-more {
  margin-top: auto;
  font-weight: 700;
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============ How it works / features ============ */

.grid-3 { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 861px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #FFFDF7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem;
}
.card h3 { font-size: 1.35rem; font-weight: 700; margin: 1rem 0 0.6rem; color: var(--pine); letter-spacing: -0.01em; }
.card p { color: var(--muted); }

.step-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
}

.card-icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: #FFF1E2;
}
.card-icon.green { background: #E4F2DF; }

/* ============ The Gap story ============ */

.gap-card {
  background: var(--pine);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  margin-top: 3rem;
}
.gap-card .eyebrow.on-dark { color: #FFD9C2; }

.ladder { display: grid; gap: 1rem; margin-top: 2.6rem; max-width: 760px; }
.ladder-row { display: grid; grid-template-columns: 120px 1fr 84px; align-items: center; gap: 1rem; }
.ladder-store { font-weight: 700; font-size: 0.98rem; text-align: right; color: rgba(255,255,255,0.92); }
.ladder-plat { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ladder-bar { height: 46px; border-radius: 12px; background: rgba(255,255,255,0.2); min-width: 54px; }
.ladder-bar.low { background: var(--orange); }
.ladder-price { font-weight: 800; font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; }

.gap-callout { margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.2rem; }
.gap-callout .big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--orange); letter-spacing: -0.02em; line-height: 1;
}
.gap-callout .what { font-size: 1.15rem; font-weight: 700; color: #fff; max-width: 34ch; }

.disclosure { margin-top: 2rem; font-size: 0.85rem; color: rgba(255,255,255,0.62); max-width: 68ch; }

/* ============ FAQ ============ */

.faq-list { margin-top: 2.6rem; display: grid; gap: 0.9rem; max-width: 840px; }
.faq-item {
  background: #FFFDF7; border: 1px solid var(--line); border-radius: 20px;
  padding: 0.4rem 1.5rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.06rem; color: var(--pine);
  padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 700; color: var(--orange); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 0 1.25rem; color: var(--muted); max-width: 64ch; }
.faq-more { margin-top: 2rem; }

/* ============ Footer ============ */

.site-footer {
  background: var(--darkest);
  color: rgba(255,255,255,0.82);
  padding: 5rem 0 2.5rem;
}
.footer-grid { display: grid; gap: 2.75rem; }
@media (min-width: 861px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.site-footer .wordmark { color: #fff; }
.footer-blurb { margin-top: 1rem; max-width: 38ch; font-size: 0.98rem; color: rgba(255,255,255,0.72); }

.facc h4, .footer-col > h4 {
  color: #fff; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.1rem; font-weight: 800;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a, .facc a {
  color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.98rem;
}
.footer-col a:hover, .facc a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Footer accordions on mobile */
.facc { border: none; }
.facc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.facc summary::-webkit-details-marker { display: none; }
.facc summary::after { content: "+"; color: #fff; font-size: 1.4rem; font-weight: 700; display: none; }
.facc summary h4 { margin-bottom: 0; }
.facc .col-body { margin-top: 1.1rem; }
@media (max-width: 860px) {
  .facc summary::after { display: block; }
  .facc[open] summary::after { content: "–"; }
  .facc .col-body { display: none; }
  .facc[open] .col-body { display: block; }
}
@media (min-width: 861px) {
  .facc summary { pointer-events: none; cursor: default; }
  .facc .col-body { display: block !important; }
}

.social-row { display: flex; gap: 1rem; margin-top: 3rem; }
.social-row a {
  width: 52px; height: 52px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 0.85rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.social-row a:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.social-row a svg { width: 22px; height: 22px; display: block; }

.footer-legal {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  font-size: 0.88rem;
}
.footer-legal a { color: rgba(255,255,255,0.72); }
.footer-legal a:hover { color: #fff; }
.footer-fine {
  margin-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.55);
  display: grid; gap: 0.6rem; max-width: 100ch;
}

/* ============ Simple pages (page hero, prose, contact cards) ============ */

.page-hero {
  background: var(--cream);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 5vw, 4rem);
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em;
  font-size: clamp(2.9rem, 7vw, 5rem);
  color: var(--pine); line-height: 1.02;
  max-width: 16ch;
}
.page-hero .lede { margin-top: 1.2rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--pine); letter-spacing: -0.01em; margin: 2.6rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-bottom: 1rem; display: grid; gap: 0.45rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--pine); font-weight: 600; }

.contact-card {
  background: var(--pine); color: #fff; border-radius: var(--radius);
  padding: 2.4rem; margin-top: 2.5rem; max-width: 760px;
}
.contact-card h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.contact-card p { color: rgba(255,255,255,0.82); }
.contact-card a.mail {
  display: inline-block; margin-top: 0.8rem;
  font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 800; color: #fff;
  text-decoration: none; border-bottom: 3px solid var(--orange); word-break: break-all;
}
.contact-card a.mail:hover { color: #FFD9C2; }

.contact-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 861px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-tile {
  background: #FFFDF7; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: grid; gap: 0.6rem; align-content: start;
}
.contact-tile h3 { color: var(--pine); font-size: 1.25rem; }
.contact-tile p { color: var(--muted); font-size: 0.98rem; }
.contact-tile a.mail2 { font-weight: 800; color: var(--pine); font-size: 1.1rem; word-break: break-all; }

.band {
  background: var(--pine); color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  margin-top: 3rem;
}
.band h2 { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(2rem, 4.5vw, 3rem); }
.band p { color: rgba(255,255,255,0.78); margin-top: 1rem; max-width: 62ch; }
.band .btn { margin-top: 1.75rem; }

/* ============ 404 ============ */

.notfound { text-align: center; padding: clamp(6rem, 14vw, 10rem) 0; }
.notfound .big {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(7rem, 20vw, 12rem); color: var(--pine); line-height: 1;
}

/* ============ Scroll reveal ============ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ Mobile adjustments ============ */

@media (max-width: 860px) {
  .hero-grid { gap: 2.5rem; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .journal-head { flex-direction: column; align-items: flex-start; }
  .journal-arrows { align-self: flex-start; }
  .ladder-row { grid-template-columns: 96px 1fr 72px; gap: 0.75rem; }
  .cta-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }
  .cta-card { flex: 0 0 82vw; scroll-snap-align: start; }
  .stat-stage { text-align: center; }
  .stat-tabs { justify-content: center; }
  section { padding: clamp(5rem, 16vw, 7rem) 0; }
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-enter-left, .hero-enter-right { animation: none; }
  .btn, .arrow-btn, .stat-tab, .social-row a, .journal-card { transition: none; }
  .journal-track { scroll-snap-type: none; }
}
