/* CostumeForge Landing Styles. Namespace: cf-* */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --faint: #64748b;
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-ink: #ffffff;
  --accent: #2563eb;
  --ok: #16a34a;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090d16;
    --surface: #111827;
    --surface-2: #1f2937;
    --ink: #f8fafc;
    --muted: #94a3b8;
    --faint: #64748b;
    --primary: #f97316;
    --primary-hover: #fb923c;
    --primary-ink: #0f172a;
    --accent: #60a5fa;
    --ok: #4ade80;
    --line: #1e293b;
    --line-soft: #111827;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}
h1 { font-size: clamp(32px, 6vw, 54px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; margin: 0 0 4px; }
p { margin: 0 0 14px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .cf-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.cf-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.cf-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.cf-center { text-align: center; }
.cf-sec { padding: 64px 0; }
.cf-sec--alt { background: var(--surface-2); }
.cf-sec--tight { padding: 40px 0; }

.cf-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.cf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.cf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none !important;
}
.cf-brand-icon {
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.cf-navlinks {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}
.cf-navlinks a { color: var(--muted); }
.cf-navlinks a:hover { color: var(--ink); }

.cf-hero {
  padding: 60px 0 50px;
}
.cf-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  text-align: left;
}
.cf-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cf-mascot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 88, 12, 0.12);
  color: var(--primary);
  border: 1px solid rgba(234, 88, 12, 0.28);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cf-mascot-pill img {
  border-radius: 50%;
  display: block;
}
.cf-hero-art-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cf-hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
  display: block;
}
.cf-hero-art-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}
.cf-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(234, 88, 12, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.cf-lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.cf-cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.cf-btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.cf-btn--primary:hover {
  background: var(--primary-hover);
}
.cf-btn--outline {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.cf-btn--outline:hover {
  border-color: var(--muted);
}
.cf-subnote {
  font-size: 13px;
  color: var(--faint);
}

.cf-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 0;
}
.cf-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.cf-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.cf-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: cf-counter;
  padding: 0;
  margin: 36px 0 0;
}
.cf-step-item {
  counter-increment: cf-counter;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.cf-step-item::before {
  content: counter(cf-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

/* Sample Breakdown Showcase */
.cf-showcase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-top: 36px;
}
.cf-showcase-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.cf-block {
  margin-bottom: 28px;
}
.cf-block:last-child {
  margin-bottom: 0;
}
.cf-block-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cf-part-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.cf-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cf-shop-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--bg);
}
.cf-shop-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.cf-shop-why {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.cf-disclaimer {
  font-size: 13px;
  color: var(--faint);
  font-style: italic;
  margin-top: 20px;
}

.cf-blueprint-showcase {
  margin-top: 48px;
  background: #090e17;
  border: 1px solid #1e293b;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cf-blueprint-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}
.cf-dot-chrome {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.cf-dot-chrome--red { background: #ef4444; }
.cf-dot-chrome--yellow { background: #f59e0b; }
.cf-dot-chrome--green { background: #10b981; }
.cf-blueprint-label {
  margin-left: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.cf-blueprint-img {
  width: 100%;
  height: auto;
  display: block;
}

.cf-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}
.cf-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cf-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  text-align: left;
}
.cf-footer-mascot {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* App Screenshots Showcase */
.cf-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.cf-phone-frame {
  background: #0f1620;
  border: 4px solid #1e293b;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cf-phone-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -10px rgba(234, 88, 12, 0.25);
}
.cf-phone-screen {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}
.cf-phone-caption {
  padding: 16px 8px 6px;
  text-align: center;
}
.cf-phone-caption h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--ink);
}
.cf-phone-caption p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* Pre-order / App Store Callout */
.cf-preorder-banner {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  margin: 50px 0 20px;
}
.cf-badge-tag {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* Company / Legal Info */
.cf-company-info {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.cf-company-info strong {
  color: var(--ink);
}

.cf-footer-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  display: block;
}
.cf-footer-tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.cf-foot-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 8px 0;
}
.cf-foot-note {
  font-size: 12px;
  color: var(--faint);
  max-width: 680px;
  margin: 0 0 4px;
}
.cf-foot-copy {
  font-size: 12px;
  color: var(--faint);
  margin-top: 8px;
}

@media (max-width: 860px) {
  .cf-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .cf-hero-copy {
    align-items: center;
  }
  .cf-cta-row {
    justify-content: center;
  }
  .cf-hero-art {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* Legal Documents */
.cf-doc {
  padding: 60px 0;
}
.cf-meta {
  font-size: 14px;
  color: var(--faint);
  margin-bottom: 24px;
}
.cf-doc h2 {
  margin-top: 36px;
}
.cf-doc ul {
  padding-left: 20px;
}
.cf-doc li {
  margin-bottom: 8px;
}
