/* Hooked — Crochet & Knitting · shared styles */
:root {
  --brick: #8e4a3f;
  --brick-dark: #6f3830;
  --brick-light: #b06a5e;
  --ink: #241b18;
  --ink-soft: #5c4f4a;
  --cream: #faf7f2;
  --cream-deep: #f1ebe2;
  --card: #ffffff;
  --sage: #9caf88;
  --gold: #e8a33d;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(60, 35, 28, 0.10);
  --shadow-lg: 0 24px 60px rgba(60, 35, 28, 0.16);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brick); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(142, 74, 63, 0.12);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brick); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brick); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 26px; border-radius: 999px;
  transition: background .2s, transform .2s; border: none; cursor: pointer;
}
.btn:hover { background: var(--brick-dark); transform: translateY(-1px); }
.btn.small { padding: 9px 18px; font-size: 0.9rem; }
.btn.ghost { background: transparent; color: var(--brick); border: 2px solid var(--brick); }
.btn.ghost:hover { background: var(--brick); color: #fff; }
@media (max-width: 800px) { .nav-links li:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-deep); color: var(--brick);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h1 .accent { color: var(--brick); }
.hero p.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 20px 0 28px; max-width: 34em; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stars { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }
.stars .star-row { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img.main-shot {
  width: min(320px, 80%); border-radius: 28px; box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.hero-phone img.back-shot {
  position: absolute; width: min(260px, 62%); left: 4%; top: 10%;
  border-radius: 24px; box-shadow: var(--shadow); transform: rotate(-7deg); opacity: .95;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { margin-top: 12px; }
  .hero-phone img.back-shot { display: none; }
}

.store-badges { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* App Store badge */
.appstore-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; padding: 10px 22px; border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.appstore-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.appstore-badge svg { width: 26px; height: 26px; }
.appstore-badge .txt small { display: block; font-size: 0.68rem; opacity: .85; line-height: 1.2; }
.appstore-badge .txt strong { font-size: 1.15rem; line-height: 1.2; }

/* ---------- Proof strip ---------- */
.proof { background: var(--brick); color: #fff; padding: 26px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.proof-grid strong { display: block; font-size: 1.6rem; font-weight: 800; }
.proof-grid span { font-size: 0.88rem; opacity: .9; }
@media (max-width: 700px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head h2 .accent { color: var(--brick); }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.feature-card .icon { font-size: 1.9rem; margin-bottom: 14px; display: inline-block; background: var(--cream-deep); width: 56px; height: 56px; border-radius: 16px; text-align: center; line-height: 56px; }
.feature-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* Screenshots */
.shots { background: var(--cream-deep); }
.shots-scroller {
  display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots-scroller::-webkit-scrollbar { height: 8px; }
.shots-scroller::-webkit-scrollbar-thumb { background: var(--brick-light); border-radius: 4px; }
.shot { flex: 0 0 240px; scroll-snap-align: center; }
.shot img { border-radius: 22px; box-shadow: var(--shadow); }
.shot figcaption { text-align: center; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); margin-top: 12px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--brick); color: #fff;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Guides */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.guide-card .tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brick); }
.guide-card h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.guide-card p { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }
.guide-card .more { font-weight: 700; color: var(--brick); font-size: 0.9rem; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guides-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; font-weight: 800; font-size: 1.02rem; padding: 20px 24px;
  list-style: none; position: relative; padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brick); font-weight: 400; transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-item .answer a { font-weight: 700; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brick) 0%, var(--brick-dark) 100%); color: #fff; text-align: center; border-radius: 28px; padding: 64px 32px; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: .92; max-width: 36em; margin: 0 auto 28px; }
.cta-band .appstore-badge { background: #fff; color: #000; }
.cta-band .subnote { font-size: 0.85rem; opacity: .8; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #2b1e1a; color: #d9cfc9; padding: 56px 0 32px; margin-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #d9cfc9; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-desc { font-size: 0.9rem; max-width: 30em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide article pages ---------- */
.article-hero { padding: 60px 0 24px; }
.breadcrumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--brick); text-decoration: none; font-weight: 600; }
.article-hero h1 { max-width: 20em; }
.article-hero .meta { color: var(--ink-soft); margin-top: 14px; font-size: 0.95rem; }
.article-body { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; margin: 44px 0 14px; letter-spacing: -0.01em; }
.article-body h3 { font-size: 1.15rem; font-weight: 800; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; color: #3b2f2a; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: #3b2f2a; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.95rem; }
.article-body th { background: var(--brick); color: #fff; text-align: left; padding: 12px 16px; }
.article-body td { padding: 11px 16px; border-top: 1px solid var(--cream-deep); }
.app-callout {
  background: var(--card); border-left: 5px solid var(--brick);
  border-radius: 14px; box-shadow: var(--shadow);
  padding: 24px 26px; margin: 32px 0;
}
.app-callout h3 { margin-top: 0 !important; }
.app-callout .btn { margin-top: 10px; }
.article-shot { float: right; width: 220px; margin: 6px 0 18px 26px; border-radius: 18px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .article-shot { float: none; width: 100%; max-width: 280px; margin: 0 auto 20px; } }
.related { background: var(--cream-deep); border-radius: var(--radius); padding: 28px; margin-top: 44px; }
.related h2 { margin-top: 0 !important; font-size: 1.2rem !important; }
.related ul { margin-bottom: 0; }
.mini-faq details { margin-bottom: 10px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); }
.mini-faq summary { font-weight: 700; cursor: pointer; padding: 14px 18px; }
.mini-faq .answer { padding: 0 18px 16px; color: var(--ink-soft); }
