:root {
  --sage-50:  #f2f5ee;
  --sage-100: #e4ebdc;
  --sage-200: #ccd8bd;
  --sage-300: #b0c298;
  --sage-400: #94a878;
  --sage-500: #7a9159;
  --sage-600: #5f7343;
  --sage-700: #4a5a36;
  --sage-800: #3a4434;
  --sage-900: #2b3326;
  --white: #fdfefb;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(58, 68, 52, 0.08);
  --shadow-md: 0 8px 30px rgba(58, 68, 52, 0.12);
  --max-width: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  background: var(--sage-50);
  color: var(--sage-800);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.highlight { color: var(--sage-500); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 254, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-100);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; }
.logo { font-size: 20px; color: var(--sage-500); }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.3px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--sage-600);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--sage-800); }

.nav-cta {
  background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, opacity 0.15s;
}
.nav-cta:hover { opacity: 0.92; transform: translateY(-1px); }

/* ============ HERO ============ */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--sage-100);
  color: var(--sage-600);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--sage-600);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s, opacity 0.15s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-primary.large { font-size: 17px; padding: 17px 34px; }

.btn-secondary {
  background: var(--white);
  color: var(--sage-700);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid var(--sage-200);
  transition: all 0.15s;
}
.btn-secondary:hover { border-color: var(--sage-400); background: var(--sage-100); }

.hero-note { font-size: 13px; color: var(--sage-500); }

/* ---- Hero visual ---- */
.hero-visual { position: relative; }

.browser-frame {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--sage-100);
}
.browser-bar {
  background: var(--sage-800);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #e0796b; }
.dot.yellow { background: #e8c468; }
.dot.green { background: var(--sage-400); }

.hero-screenshot { width: 100%; display: block; background: var(--sage-50); }

.floating-tile {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--sage-200);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-700);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.tile-1 { top: -18px; right: 20px; animation-delay: 0s; }
.tile-2 { bottom: -18px; left: -10px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ LOGO STRIP ============ */
.logo-strip {
  text-align: center;
  padding: 30px 24px 50px;
}
.logo-strip p {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-400);
  margin-bottom: 18px;
}
.logo-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-row span {
  font-size: 18px;
  font-weight: 800;
  color: var(--sage-300);
}

/* ============ SECTIONS ============ */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}
.section.alt { background: var(--sage-100); max-width: 100%; }
.section.alt > * { max-width: var(--max-width); margin-left: auto; margin-right: auto; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage-500);
  background: var(--sage-100);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section.alt .eyebrow { background: var(--white); }

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-sub { color: var(--sage-600); font-size: 15px; }

/* ============ FEATURE GRID ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--sage-600); }

/* ============ STEPS ============ */
.steps { display: flex; flex-direction: column; gap: 70px; }

.step {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.step.reverse { grid-template-columns: 60px 1fr 1fr; }
.step.reverse .step-content { order: 2; }
.step.reverse .step-visual { order: 1; }

.step-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--sage-300);
  line-height: 1;
}
.step-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-content p { color: var(--sage-600); font-size: 15px; }

.step-visual {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sage-200);
}

/* ============ PROMPT GRID ============ */
.prompt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}
.prompt-chip {
  background: var(--white);
  border: 1px solid var(--sage-200);
  color: var(--sage-700);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}
.prompt-chip:hover { background: var(--sage-500); color: #fff; border-color: var(--sage-500); }

.settings-showcase {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sage-200);
}

/* ============ STAT STRIP ============ */
.stat-strip {
  background: var(--sage-800);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 60px 24px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--sage-300);
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--sage-200); }

/* ============ FAQ ============ */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--sage-100);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--sage-400);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--sage-600); font-size: 14px; }

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.logo.big { font-size: 40px; display: block; margin-bottom: 16px; color: var(--sage-300); }
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: var(--sage-100); margin-bottom: 28px; }
.cta-section .hero-note { color: var(--sage-200); margin-top: 14px; }

/* ============ FOOTER ============ */
.footer { background: var(--sage-900); color: var(--sage-200); padding: 40px 24px; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo { color: var(--sage-400); }
.footer .brand-name { color: var(--white); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--sage-300); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: var(--sage-400); width: 100%; text-align: center; margin-top: 10px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step, .step.reverse { grid-template-columns: 1fr; }
  .step-number { font-size: 28px; }
  .step.reverse .step-content, .step.reverse .step-visual { order: initial; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .stat-strip { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
/* ============ PROMPT IMPORT HOW-TO ============ */
.how-to-card {
  max-width: 900px;
  margin: 28px auto 0;
  background: var(--white);
  border: 1px solid var(--sage-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.how-to-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  font-weight: 750;
}
.how-to-card summary::-webkit-details-marker { display: none; }
.how-to-card summary::after {
  content: "+";
  font-size: 24px;
  color: var(--sage-500);
  margin-left: auto;
  transition: transform 0.2s ease;
}
.how-to-card[open] summary::after { transform: rotate(45deg); }
.how-to-kicker {
  display: block;
  color: var(--sage-500);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.how-to-summary-note { color: var(--sage-500); font-size: 13px; font-weight: 600; }
.how-to-content {
  border-top: 1px solid var(--sage-100);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}
.how-to-copy h3 { font-size: 21px; margin-bottom: 10px; }
.how-to-copy > p { color: var(--sage-600); font-size: 14px; }
.inline-download { color: var(--sage-600); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.import-steps { list-style: none; margin-top: 20px; display: grid; gap: 14px; }
.import-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 11px; align-items: start; }
.import-steps li > span {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-100); color: var(--sage-700); font-weight: 800; font-size: 13px;
}
.import-steps strong { font-size: 14px; }
.import-steps p { color: var(--sage-500); font-size: 13px; margin-top: 2px; }
.mini-settings-shot { border: 1px solid var(--sage-200); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); background: #f8faf5; }
.mini-settings-bar { background: var(--sage-800); color: white; padding: 11px 14px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.mini-settings-body { display: grid; grid-template-columns: 110px 1fr; min-height: 205px; }
.mini-sidebar { padding: 16px 10px; background: var(--sage-100); display: grid; align-content: start; gap: 8px; font-size: 10px; color: var(--sage-600); }
.mini-sidebar span { padding: 7px 8px; border-radius: 7px; }
.mini-sidebar .active { background: var(--white); color: var(--sage-800); font-weight: 800; }
.mini-panel { padding: 19px; }
.mini-panel-title { font-size: 14px; font-weight: 800; margin-bottom: 18px; }
.mini-row { background: white; border: 1px solid var(--sage-100); border-radius: 9px; padding: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; }
.mini-row button { border: 0; border-radius: 7px; padding: 8px 10px; background: var(--sage-600); color: white; font: inherit; font-weight: 800; }
.mini-dropzone { border: 1px dashed var(--sage-300); border-radius: 9px; padding: 18px 12px; text-align: center; margin-top: 12px; color: var(--sage-500); font-size: 10px; }

/* ============ OLLAMA SETUP GUIDE ============ */
.setup-section code { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
.setup-callout {
  max-width: 900px; margin: -22px auto 34px; padding: 16px 18px; display: flex; gap: 13px;
  background: #fff9e8; border: 1px solid #ead8a4; border-radius: 14px; color: #6b5a2e;
}
.setup-callout-icon { font-size: 21px; }
.setup-callout strong { display: block; font-size: 14px; margin-bottom: 2px; }
.setup-callout p { font-size: 13px; }
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.os-card { background: var(--white); border: 1px solid var(--sage-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.os-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.os-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: white; font-weight: 800; font-size: 21px; }
.windows-icon { background: #3975c6; }
.apple-icon { background: #4e565d; }
.linux-icon { background: #d59b29; }
.os-label { color: var(--sage-500); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.os-card h3 { font-size: 19px; line-height: 1.15; }
.terminal-shot { border-radius: 11px; overflow: hidden; background: #101814; box-shadow: 0 9px 24px rgba(26,34,27,.2); margin-bottom: 18px; }
.terminal-titlebar { min-height: 31px; background: #28332d; color: #cdd8cf; padding: 8px 11px; display: flex; justify-content: space-between; font: 10px system-ui, sans-serif; }
.mac-title { justify-content: space-between; background: #e7e8e6; color: #4c534e; }
.mac-dots { color: #c97a68; letter-spacing: 3px; }
.linux-title { background: #34283a; }
.terminal-body { padding: 15px 13px 18px; min-height: 82px; color: #e8f0e9; font: 10.5px/1.75 "Cascadia Code", Consolas, monospace; overflow-x: auto; white-space: nowrap; }
.terminal-prompt { color: #9fbd83; }
.scope-stack { display: grid; gap: 14px; }
.scope-block { border-top: 1px solid var(--sage-100); padding-top: 13px; min-width: 0; }
.scope-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.scope-heading.compact { margin-top: 11px; }
.scope-block pre { background: var(--sage-900); color: #eef5e9; padding: 12px; border-radius: 9px; overflow-x: auto; font-size: 10.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.scope-block p { color: var(--sage-500); font-size: 11.5px; margin-top: 7px; }
.copy-btn { border: 1px solid var(--sage-200); background: var(--sage-50); color: var(--sage-700); border-radius: 7px; padding: 5px 8px; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; transition: .15s ease; flex: 0 0 auto; }
.copy-btn:hover { background: var(--sage-500); border-color: var(--sage-500); color: white; }
.copy-btn.copied { background: var(--sage-600); border-color: var(--sage-600); color: white; }
.restart-note { max-width: 900px; margin: 28px auto 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--sage-200); border-radius: 13px; color: var(--sage-600); font-size: 13px; text-align: center; }

@media (max-width: 1000px) {
  .os-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .how-to-content { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .how-to-summary-note { display: none; }
  .how-to-content { padding: 20px; }
  .mini-settings-body { grid-template-columns: 85px 1fr; }
  .scope-heading { align-items: flex-start; }
}

.important-note{
    margin-top:24px;
    border:1px solid #e6c55a;
    border-radius:14px;
    background:#fffdf5;
    overflow:hidden;
}

.important-note summary{
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 20px;
    font-weight:600;
    user-select:none;
}

.important-note summary::-webkit-details-marker{
    display:none;
}

.important-note summary::after{
    content:"▾";
    margin-left:auto;
    transition:.25s;
    font-size:18px;
}

.important-note[open] summary::after{
    transform:rotate(180deg);
}

.important-icon{
    font-size:22px;
}

.important-content{
    padding:0 20px 20px;
}

.tip-box{
    margin:18px 0;
    padding:16px;
    border-left:4px solid var(--sage-500);
    background:#fff;
    border-radius:10px;
}

.tip-box ol{
    margin:10px 0 12px 20px;
}

.tip-box pre{
    margin:12px 0;
}

.small-note{
    margin-top:14px;
    color:var(--sage-600);
    font-size:.92rem;
}
.security-note{
    margin-top:24px;
    padding:22px;
    background:#f8faf7;
    border:1px solid var(--sage-200);
    border-radius:16px;
}

.security-title{
    font-size:1.1rem;
    font-weight:700;
    margin-bottom:12px;
    color:var(--sage-700);
}

.tip-box{
    margin:18px 0;
    padding:16px;
    background:#fff;
    border-left:4px solid var(--sage-500);
    border-radius:10px;
}

.tip-box ol{
    margin:10px 0 0 20px;
}

.security-note pre{
    margin:12px 0;
    padding:14px;
    border-radius:10px;
    background:#1f2937;
    color:#f8fafc;
    overflow-x:auto;
}

.security-note code{
    font-family:Consolas, monospace;
}

.small-note{
    margin-top:16px;
    font-size:.92rem;
    color:var(--sage-600);
}
