/* ============================================================
   Your Own World — Marketing pages shared stylesheet
   Brand: dark (#0f1110), warm gold accent (#b8aa79)
   ============================================================ */

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

:root {
  --bg:       #0f1110;
  --bg-nav:   #161815;
  --bg-card:  #181a17;
  --bg-card2: #1d1f1b;
  --text:     #e4dfd2;
  --muted:    #8f9288;
  --faint:    #545750;
  --accent:   #b8aa79;
  --accent-h: #cfc09b;
  --border:   #2d302b;
  --border-l: #363a33;
  --danger:   #ef4444;
  --success:  #5dc878;
  --radius:   10px;
  --radius-sm: 6px;
  --max-w:    1140px;
  --px:       clamp(16px, 4vw, 32px);
  --font:     Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif:    Georgia, "Times New Roman", serif;
}

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

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

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4 { font-size: 1rem; font-family: var(--font); font-weight: 700; }
p  { color: var(--muted); font-size: 0.975rem; line-height: 1.75; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

/* ── Layout ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }

/* ── Nav ── */
.m-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,17,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex; align-items: center;
}
.m-nav .wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.m-nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem; color: var(--text);
  text-decoration: none;
}
.m-nav-brand:hover { text-decoration: none; color: var(--text); }
.m-nav-logo {
  width: 28px; height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.m-nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.m-nav-links a {
  font-size: 0.85rem; font-weight: 600;
  color: var(--muted);
  padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.m-nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); text-decoration: none; }
.m-nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

@media (max-width: 680px) {
  .m-nav-links { display: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 700;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent); color: #0f1110;
}
.btn-primary:hover { background: var(--accent-h); color: #0f1110; }
.btn-secondary {
  background: rgba(255,255,255,0.07); color: var(--text);
  border: 1px solid var(--border-l);
}
.btn-secondary:hover { background: rgba(255,255,255,0.11); color: var(--text); }
.btn-lg { padding: 13px 28px; font-size: 0.95rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }

/* ── Hero ── */
.m-hero {
  padding: clamp(56px, 10vw, 100px) 0 clamp(48px, 8vw, 80px);
  text-align: center;
}
.m-hero h1 { margin-bottom: 20px; }
.m-hero .hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.m-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
.m-section { padding: clamp(48px, 8vw, 88px) 0; }
.m-section + .m-section { border-top: 1px solid var(--border); }
.m-section-header { text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }
.m-section-header h2 { margin-bottom: 12px; }
.m-section-header p { max-width: 560px; margin: 0 auto; }

/* ── Card grids ── */
.m-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.m-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.m-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.m-card h3 { font-size: 1.05rem; font-family: var(--font); margin-bottom: 8px; }
.m-card h4 { margin-bottom: 8px; }
.m-card p { font-size: 0.875rem; }
.m-card-icon {
  width: 36px; height: 36px;
  background: var(--accent-fade, rgba(184,170,121,0.12));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

/* ── Feature list ── */
.m-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.m-feature-row.flip { direction: rtl; }
.m-feature-row.flip > * { direction: ltr; }

@media (max-width: 720px) {
  .m-feature-row, .m-feature-row.flip { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
}

.m-feature-body h2 { margin-bottom: 14px; }
.m-feature-body p { margin-bottom: 16px; }
.m-feature-body ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.m-feature-body li {
  font-size: 0.875rem; color: var(--muted);
  padding-left: 20px; position: relative;
}
.m-feature-body li::before {
  content: "◆"; color: var(--accent); font-size: 0.55rem;
  position: absolute; left: 0; top: 4px;
}

.m-feature-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.m-vis-bar { background: var(--border); border-radius: 4px; height: 10px; }
.m-vis-bar.accent { background: var(--accent); }
.m-vis-bar.w80 { width: 80%; }
.m-vis-bar.w60 { width: 60%; }
.m-vis-bar.w45 { width: 45%; }
.m-vis-bar.w70 { width: 70%; }
.m-vis-tag {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700;
  background: rgba(184,170,121,0.12); color: var(--accent);
  border: 1px solid rgba(184,170,121,0.25);
}
.m-vis-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.m-vis-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.m-vis-row:last-child { border-bottom: none; }
.m-vis-row strong { color: var(--text); }
.m-vis-node {
  background: var(--bg-card2); border: 1px solid var(--border-l);
  border-radius: var(--radius-sm); padding: 8px 12px;
  font-size: 0.8rem; color: var(--text); font-weight: 600;
}

/* ── FAQ ── */
.m-faq { display: flex; flex-direction: column; gap: 0; }
.m-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.m-faq-item:first-child { border-top: 1px solid var(--border); }
.m-faq-q {
  font-weight: 700; font-size: 0.975rem; color: var(--text);
  margin-bottom: 8px;
}
.m-faq-a { font-size: 0.9rem; color: var(--muted); }
.m-faq-a a { color: var(--accent); }

/* ── Comparison table ── */
.m-compare {
  width: 100%; border-collapse: collapse;
  font-size: 0.875rem;
}
.m-compare th, .m-compare td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.m-compare th {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted);
  background: var(--bg-card);
}
.m-compare th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.m-compare th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.m-compare td { color: var(--muted); }
.m-compare td:first-child { font-weight: 600; color: var(--text); }
.m-compare .yes { color: var(--success); font-weight: 700; }
.m-compare .no  { color: var(--faint); }
.m-compare .yow-row td { background: rgba(184,170,121,0.06); }
.m-compare .yow-row td:first-child { color: var(--accent); }

/* ── CTA Banner ── */
.m-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(184,170,121,0.08) 0%, rgba(184,170,121,0.03) 100%);
  border: 1px solid rgba(184,170,121,0.2);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px) var(--px);
}
.m-cta h2 { margin-bottom: 12px; }
.m-cta p { max-width: 480px; margin: 0 auto 28px; }

/* ── Breadcrumb ── */
.m-breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--faint);
  padding: 14px 0;
}
.m-breadcrumb a { color: var(--muted); }
.m-breadcrumb a:hover { color: var(--accent); }
.m-breadcrumb .sep { color: var(--faint); }

/* ── Blog ── */
.m-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.m-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.m-blog-card:hover { border-color: var(--border-l); }
.m-blog-tag {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent);
}
.m-blog-card h3 { font-size: 1.05rem; font-family: var(--font); color: var(--text); font-weight: 700; }
.m-blog-card p { font-size: 0.85rem; flex: 1; }
.m-blog-meta { font-size: 0.75rem; color: var(--faint); }
.m-blog-readmore { font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.m-blog-readmore:hover { color: var(--accent-h); text-decoration: none; }

/* ── Article content ── */
.m-article {
  max-width: 720px;
  margin: 0 auto;
}
.m-article h1 { margin-bottom: 16px; }
.m-article h2 { margin: 40px 0 14px; font-size: 1.5rem; }
.m-article h3 { margin: 28px 0 10px; font-size: 1.1rem; font-family: var(--font); }
.m-article p  { margin-bottom: 18px; }
.m-article ul, .m-article ol {
  padding-left: 20px; margin-bottom: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.m-article li { font-size: 0.95rem; color: var(--muted); }
.m-article strong { color: var(--text); font-weight: 700; }
.m-article a { color: var(--accent); }
.m-article blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.m-article blockquote p { margin: 0; font-style: italic; }

/* ── Pricing ── */
.m-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.m-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.m-pricing-card.featured {
  border-color: var(--accent);
  background: rgba(184,170,121,0.05);
}
.m-price { font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.m-price-period { font-size: 0.85rem; color: var(--muted); margin-left: 4px; }
.m-pricing-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin: 20px 0 24px; }
.m-pricing-features li {
  font-size: 0.875rem; color: var(--muted);
  padding-left: 20px; position: relative;
}
.m-pricing-features li::before { content: "✓"; color: var(--success); position: absolute; left: 0; font-weight: 700; }
.m-pricing-features li.dim { color: var(--faint); }
.m-pricing-features li.dim::before { content: "–"; color: var(--faint); }

/* ── Footer ── */
.m-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: auto;
}
.m-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .m-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .m-footer-inner { grid-template-columns: 1fr; }
}
.m-footer-brand p { font-size: 0.85rem; margin-top: 10px; }
.m-footer-col h4 {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.m-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.m-footer-col li a { font-size: 0.85rem; color: var(--faint); transition: color 0.15s; }
.m-footer-col li a:hover { color: var(--accent); text-decoration: none; }
.m-footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--faint);
}
.m-footer-bottom a { color: var(--faint); }
.m-footer-bottom a:hover { color: var(--accent); text-decoration: none; }

/* ── Inline badge ── */
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
  background: rgba(184,170,121,0.12); color: var(--accent);
  border: 1px solid rgba(184,170,121,0.2);
  vertical-align: middle;
}
.badge-green {
  background: rgba(93,200,120,0.1); color: var(--success);
  border-color: rgba(93,200,120,0.2);
}

/* ── Highlight box ── */
.m-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.m-highlight h3 { font-size: 1rem; font-family: var(--font); margin-bottom: 8px; }

/* ── Utilities ── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
