/* ============================================
   OneStore Builds — Custom Landing Page Theme
   Aesthetic: Warm kraft paper, tradesman credibility
   ============================================ */

:root {
  --bg: #F6F1E9;
  --bg-alt: #EDE6D8;
  --bg-dark: #1C1814;
  --fg: #1C1814;
  --fg-muted: #6B5F52;
  --fg-light: #9A8D80;
  --accent: #C2541A;
  --accent-light: #D4733E;
  --accent-bg: #FBF0E8;
  --border: #D9D0C4;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 6rem;

  --radius: 2px;
  --transition: 0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-light);
  display: block;
  margin-bottom: var(--space-md);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--fg); }

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 241, 233, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--space-lg); height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none !important; color: var(--fg); }
.logo-mark { color: var(--accent); display: flex; align-items: center; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

.nav-right { display: flex; align-items: center; }
.nav-price {
  font-size: 0.8rem; font-weight: 500; color: var(--fg-muted);
  background: var(--bg-alt); padding: 0.35rem 0.85rem;
  border-radius: var(--radius); border: 1px solid var(--border);
}

/* MANIFESTO */
.manifesto {
  padding: calc(80px + var(--space-2xl)) var(--space-lg) var(--space-2xl);
  background: var(--bg); position: relative; overflow: hidden;
}

.manifesto::before {
  content: ''; position: absolute;
  top: -80px; right: -80px; width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(194, 84, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: var(--space-xl); align-items: start; }

.manifesto-kicker {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--space-md);
}

.manifesto-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.manifesto-body {
  font-size: 1.05rem; color: var(--fg-muted); max-width: 560px; line-height: 1.75;
}

.price-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-lg); width: 240px; box-shadow: 0 2px 20px rgba(28, 24, 20, 0.06);
}

.price-amount {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  color: var(--accent); line-height: 1; margin-bottom: 0.25rem;
}

.price-note {
  font-size: 0.75rem; color: var(--fg-light); line-height: 1.4;
  margin-bottom: var(--space-md); text-align: center;
}

.price-features { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--border); padding-top: var(--space-md); }
.price-features span { font-size: 0.78rem; color: var(--fg-muted); display: flex; align-items: center; gap: 0.5rem; }
.price-features span::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* PROBLEMS */
.problems { background: var(--bg-dark); color: var(--white); padding: var(--space-2xl) var(--space-lg); }
.problems .section-label { color: rgba(255,255,255,0.4); }
.problems-inner { max-width: 1200px; margin: 0 auto; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-top: var(--space-xl); }

.problem-card { border: 1px solid rgba(255,255,255,0.08); padding: var(--space-lg); border-radius: var(--radius); background: rgba(255,255,255,0.03); }

.problem-icon {
  width: 40px; height: 40px;
  background: rgba(194, 84, 26, 0.2); border: 1px solid rgba(194, 84, 26, 0.3);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); margin-bottom: var(--space-md);
}

.problem-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: var(--space-sm); }
.problem-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* SOLUTION */
.solution { padding: var(--space-2xl) var(--space-lg); background: var(--bg); }
.solution-inner { max-width: 1200px; margin: 0 auto; }

.solution-lead { font-size: 1.1rem; color: var(--fg-muted); max-width: 560px; line-height: 1.7; margin-top: var(--space-md); margin-bottom: var(--space-xl); }

.solution-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }

.pillar { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--space-md); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--border); align-items: start; }

.pillar-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--border); line-height: 1; padding-top: 4px; }

.pillar h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.pillar p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.65; }

/* WHAT'S INSIDE */
.whats-inside {
  background: var(--accent-bg);
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid rgba(194, 84, 26, 0.12);
  border-bottom: 1px solid rgba(194, 84, 26, 0.12);
}
.whats-inside-inner { max-width: 1200px; margin: 0 auto; }
.inside-label { margin-bottom: var(--space-lg); }

.inside-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(194, 84, 26, 0.15);
  border: 1px solid rgba(194, 84, 26, 0.15); border-radius: var(--radius); overflow: hidden;
}

.inside-item { background: var(--accent-bg); padding: var(--space-lg); display: flex; align-items: center; gap: var(--space-md); }

.inside-icon {
  width: 36px; height: 36px; background: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0; border: 1px solid rgba(194, 84, 26, 0.2);
}

.inside-item span { font-size: 0.88rem; font-weight: 500; color: var(--fg); line-height: 1.4; }

/* THE GUIDE */
.the-guide { padding: var(--space-2xl) var(--space-lg); background: var(--bg); }
.guide-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }

.doc-mockup { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 40px rgba(28, 24, 20, 0.1); overflow: hidden; }

.doc-header { background: var(--bg-alt); padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--border); }
.doc-title-bar { display: flex; gap: 6px; margin-bottom: var(--space-sm); }
.doc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.doc-title-text { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--fg-muted); padding-left: 20px; }

.doc-section { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--border); }
.doc-section:last-child { border-bottom: none; }

.doc-section-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }

.doc-line { display: flex; justify-content: space-between; padding: 3px 0; font-size: 0.72rem; font-family: 'Courier New', monospace; color: var(--fg-muted); border-bottom: 1px solid var(--bg-alt); }
.doc-line:last-child { border-bottom: none; }
.doc-line span:last-child { font-weight: 600; color: var(--fg); }

.guide-headline { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 900; margin-bottom: var(--space-lg); }
.guide-right p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.75; margin-bottom: var(--space-md); }

.guide-note {
  background: var(--accent-bg); border: 1px solid rgba(194, 84, 26, 0.2);
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius);
  font-size: 0.8rem; color: var(--fg-muted); line-height: 1.6;
}

/* BUILDER */
.builder { background: var(--bg-dark); padding: var(--space-2xl) var(--space-lg); }
.builder-inner { max-width: 1200px; margin: 0 auto; }
.builder-eyebrow { margin-bottom: var(--space-xl); }
.builder-eyebrow .section-label { color: rgba(255,255,255,0.35); }

.builder-body { max-width: 640px; margin-bottom: var(--space-xl); }

.builder-quote p {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400; font-style: italic; color: var(--white); line-height: 1.55; margin-bottom: var(--space-lg);
}

.builder-meta { display: flex; align-items: center; gap: var(--space-md); }
.builder-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.builder-detail { font-size: 0.8rem; color: rgba(255,255,255,0.4); padding-left: var(--space-md); border-left: 1px solid rgba(255,255,255,0.15); }

.builder-values { display: flex; gap: var(--space-xl); flex-wrap: wrap; padding-top: var(--space-xl); border-top: 1px solid rgba(255,255,255,0.07); }
.value { display: flex; align-items: center; gap: var(--space-sm); }
.value-dot { width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; flex-shrink: 0; }
.value span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* CLOSER */
.closer { background: var(--bg); padding: var(--space-2xl) var(--space-lg); border-top: 1px solid var(--border); }
.closer-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closer-headline { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: var(--space-md); }
.closer-sub { font-size: 1.05rem; color: var(--fg-muted); max-width: 560px; margin: 0 auto; line-height: 1.75; }
.closer-rule { width: 60px; height: 2px; background: var(--accent); margin: var(--space-xl) auto; }
.closer-tagline { font-family: var(--font-display); font-size: 1rem; font-style: italic; color: var(--fg-light); font-weight: 400; }
.closer-cta-wrap { margin-top: 2.5rem; }
.closer-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: background 0.2s;
}
.closer-cta-btn:hover { background: var(--accent-light); text-decoration: none !important; }

/* FOOTER */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: var(--space-xl) var(--space-lg); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: var(--space-lg); }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--fg); display: block; margin-bottom: var(--space-xs); }
.footer-desc { font-size: 0.85rem; color: var(--fg-light); max-width: 400px; }
.footer-disclaimer { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-md); margin-bottom: var(--space-lg); }
.footer-disclaimer p { font-size: 0.75rem; color: var(--fg-light); line-height: 1.65; }
.footer-links { margin-bottom: var(--space-md); }
.footer-links span { font-size: 0.85rem; color: var(--fg-muted); }
.footer-links a { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--fg-light); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-aside { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .solution-pillars { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-inner { grid-template-columns: 1fr; }
  .guide-left { order: 2; }
  .builder-values { flex-direction: column; gap: var(--space-md); }
}

@media (max-width: 600px) {
  .manifesto { padding-top: 80px; }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-item { padding: var(--space-md); }
  .nav-right { display: none; }
  .manifesto-headline { font-size: 2rem; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* SELECTION */
::selection { background: rgba(194, 84, 26, 0.15); color: var(--fg); }