/* ============================================
   MISE — Brand Identity Kit Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --forest-deep: #2D5016;
  --canopy: #6B8F3C;
  --sage-light: #A8C97F;
  --mist: #D4EDE1;
  --parchment: #F4F1E0;
  --saffron: #E8A04A;
  --chili: #C0392B;
  --midnight-herb: #1A2E0F;
  --moss: #5C6B52;
  --sage-gray: #B8C4B0;
  --off-white: #FAFAF7;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(26,46,15,0.08), 0 1px 2px rgba(26,46,15,0.04);
  --shadow-md: 0 4px 16px rgba(26,46,15,0.10), 0 2px 6px rgba(26,46,15,0.06);
  --shadow-lg: 0 12px 40px rgba(26,46,15,0.14), 0 4px 12px rgba(26,46,15,0.08);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--midnight-herb);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 201, 127, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--midnight-herb);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--moss);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--forest-deep); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,201,127,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,80,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1.05;
  color: var(--midnight-herb);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--canopy);
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--moss);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.tag {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--mist);
  color: var(--forest-deep);
  border: 1px solid rgba(107,143,60,0.2);
}

.hero-scroll-hint {
  color: var(--sage-gray);
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards, bounce 2s 1.5s infinite;
}

.hero-scroll-hint svg { width: 24px; height: 24px; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  max-width: 100%;
  background: var(--midnight-herb);
  padding: 100px 80px;
}

.section-parchment {
  max-width: 100%;
  background: var(--parchment);
  padding: 100px 80px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 16px;
}

.section-label.light { color: var(--sage-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--midnight-herb);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title.light { color: var(--parchment); }
.section-title em { font-style: italic; color: var(--canopy); }

.section-intro {
  font-size: 17px;
  font-weight: 300;
  color: var(--moss);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.section-intro.light { color: var(--sage-gray); }

/* ============================================
   BRAND STORY
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.story-main .section-title { margin-bottom: 20px; }

.story-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--moss);
  line-height: 1.8;
}

.story-body em { font-style: italic; color: var(--forest-deep); font-weight: 400; }

.story-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar {
  background: var(--off-white);
  border: 1px solid rgba(168,201,127,0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 40px; height: 40px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--canopy);
  margin-bottom: 12px;
}

.pillar-icon svg { width: 18px; height: 18px; }

.pillar-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--midnight-herb);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--moss);
  line-height: 1.5;
}

/* ============================================
   LOGO SYSTEM
   ============================================ */
.logo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.logo-card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-card-primary { background: #FAFAF7; }
.logo-card-dark-bg { background: #1A2E0F; }
.logo-card-icon { background: var(--parchment); }
.logo-card-wordmark { background: var(--mist); }

.logo-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.logo-card-label.light { color: var(--sage-gray); }

.logo-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wordmark-lg {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  color: var(--midnight-herb);
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark-lg.light { color: var(--parchment); }

.wordmark-xl {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 52px;
  color: var(--forest-deep);
  letter-spacing: -0.02em;
}

.app-icon-preview {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.logo-usage {
  font-size: 12px;
  color: var(--sage-gray);
}

.logo-usage.light { color: rgba(184,196,176,0.7); }

/* Logo Anatomy */
.logo-anatomy {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,201,127,0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.anatomy-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 40px;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.anatomy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.anatomy-wordmark-demo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  color: var(--parchment);
  letter-spacing: -0.02em;
}

.anatomy-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--parchment);
}

.anatomy-desc {
  font-size: 12px;
  color: var(--sage-gray);
  line-height: 1.5;
}

.anatomy-spacing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.spacing-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px dashed rgba(168,201,127,0.4);
  border-radius: var(--radius-sm);
}

.spacing-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--parchment);
}

.spacing-arrows {
  font-size: 11px;
  color: var(--sage-light);
}

/* ============================================
   COLOR PALETTE
   ============================================ */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.palette-secondary-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 64px;
}

.swatch {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.swatch:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.swatch-xl { height: 180px; }
.swatch-sm { height: 120px; }

.swatch-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 60%);
}

.swatch-info.dark {
  background: linear-gradient(to top, rgba(255,255,255,0.3) 0%, transparent 60%);
}

.swatch-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.swatch-info.dark .swatch-name { color: var(--midnight-herb); }

.swatch-hex {
  font-size: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
}

.swatch-info.dark .swatch-hex { color: rgba(26,46,15,0.7); }

.swatch-role {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.swatch-info.dark .swatch-role { color: rgba(26,46,15,0.55); }

/* Color Usage */
.color-usage-section { margin-top: 16px; }

.color-usage-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 24px;
}

.color-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.color-usage-card { display: flex; flex-direction: column; gap: 12px; }

.usage-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-preview-app { background: var(--off-white); border: 1px solid rgba(168,201,127,0.2); }
.usage-preview-dark { background: var(--midnight-herb); }
.usage-preview-gradient { background: var(--parchment); }

.usage-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--moss);
  text-align: center;
}

/* Mini App Preview */
.mini-app {
  width: 180px;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.mini-logo-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.mini-greeting {
  font-size: 11px;
  font-weight: 500;
  color: var(--midnight-herb);
  margin-bottom: 12px;
}

.mini-card {
  background: var(--off-white);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.mini-card-img {
  height: 60px;
  background: linear-gradient(135deg, var(--canopy), var(--sage-light));
}

.mini-card-text { padding: 8px 10px; }

.mini-card-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--midnight-herb);
  margin-bottom: 2px;
}

.mini-card-meta {
  font-size: 10px;
  color: var(--moss);
}

.mini-btn {
  background: var(--forest-deep);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
}

/* Mini Dark Card */
.mini-dark-card {
  padding: 24px;
  width: 180px;
}

.mini-dark-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 10px;
}

.mini-dark-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--parchment);
  line-height: 1.2;
  margin-bottom: 8px;
}

.mini-dark-meta {
  font-size: 11px;
  color: var(--sage-gray);
  margin-bottom: 16px;
}

.mini-dark-btn {
  background: var(--canopy);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Gradient Demo */
.gradient-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 160px;
}

.grad-swatch {
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.type-pairing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: start;
}

.type-family-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 24px;
}

.type-specimen-display {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.1;
  color: var(--midnight-herb);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.type-specimen-display em { font-style: italic; color: var(--canopy); }

.type-family-desc {
  font-size: 14px;
  color: var(--moss);
  line-height: 1.7;
  margin-top: 20px;
}

.type-specimen-body { display: flex; flex-direction: column; gap: 12px; }

.ts-h1 { font-size: 32px; font-weight: 600; color: var(--midnight-herb); line-height: 1.2; }
.ts-h2 { font-size: 24px; font-weight: 500; color: var(--midnight-herb); line-height: 1.3; }
.ts-h3 { font-size: 18px; font-weight: 500; color: var(--midnight-herb); line-height: 1.4; }
.ts-body { font-size: 16px; font-weight: 400; color: var(--moss); line-height: 1.7; }
.ts-small { font-size: 13px; font-weight: 400; color: var(--sage-gray); line-height: 1.5; }
.ts-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--canopy); }

/* Type in Use */
.type-in-use { }

.type-in-use-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 24px;
}

.type-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.type-context-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168,201,127,0.15);
}

.type-context-dark {
  background: var(--midnight-herb);
  border-color: rgba(168,201,127,0.1);
}

.tc-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 12px;
}

.tc-eyebrow.light { color: var(--sage-light); }

.tc-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.15;
  color: var(--midnight-herb);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tc-title.light { color: var(--parchment); }
.tc-title em { font-style: italic; color: var(--canopy); }

.tc-meta {
  font-size: 13px;
  color: var(--sage-gray);
  margin-bottom: 16px;
}

.tc-body {
  font-size: 15px;
  color: var(--moss);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tc-tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

.tc-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--mist);
  color: var(--forest-deep);
}

.tc-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

.tc-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--sage-light);
}

.tc-list-item svg { width: 18px; height: 18px; color: var(--sage-light); flex-shrink: 0; }

.tc-list-pending { color: var(--sage-gray); }
.tc-list-pending svg { color: rgba(184,196,176,0.5); }

/* ============================================
   UI COMPONENTS
   ============================================ */
.components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.component-group {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(168,201,127,0.15);
  box-shadow: var(--shadow-sm);
}

.component-group-full { grid-column: 1 / -1; }

.component-group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 24px;
}

/* Buttons */
.btn-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  background: var(--forest-deep);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover { background: var(--canopy); transform: translateY(-1px); }

.btn-secondary {
  background: var(--mist);
  color: var(--forest-deep);
  border: 1px solid rgba(107,143,60,0.25);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover { background: var(--sage-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--forest-deep);
  border: 1.5px solid var(--canopy);
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-ghost:hover { background: var(--mist); }

.btn-icon {
  background: var(--canopy);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.btn-icon svg { width: 16px; height: 16px; }
.btn-icon:hover { background: var(--forest-deep); transform: translateY(-1px); }

.btn-danger {
  background: transparent;
  color: var(--chili);
  border: 1.5px solid rgba(192,57,43,0.3);
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-danger:hover { background: rgba(192,57,43,0.06); }

/* Recipe Card */
.recipe-card-demo { display: flex; justify-content: center; }

.recipe-card {
  width: 240px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(168,201,127,0.15);
}

.recipe-card-img {
  height: 140px;
  position: relative;
}

.recipe-card-img-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #3a6b1a 0%, #6B8F3C 50%, #A8C97F 100%);
}

.recipe-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--forest-deep);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.recipe-card-save {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--forest-deep);
}

.recipe-card-save svg { width: 15px; height: 15px; }

.recipe-card-body { padding: 16px; }

.recipe-card-meta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.recipe-card-meta-row span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--moss);
}

.recipe-card-meta-row svg { width: 13px; height: 13px; }

.recipe-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--midnight-herb);
  line-height: 1.3;
  margin-bottom: 10px;
}

.recipe-card-tags { display: flex; gap: 6px; }

.rc-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--mist);
  color: var(--forest-deep);
}

/* Form Elements */
.form-showcase { display: flex; flex-direction: column; gap: 20px; }

.input-group { display: flex; flex-direction: column; gap: 8px; }

.input-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--midnight-herb);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1.5px solid rgba(168,201,127,0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color var(--transition);
}

.input-wrapper:focus-within { border-color: var(--canopy); }
.input-wrapper svg { width: 16px; height: 16px; color: var(--sage-gray); flex-shrink: 0; }

.input-field {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--midnight-herb);
  outline: none;
  width: 100%;
}

.input-field::placeholder { color: var(--sage-gray); }

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--off-white);
  border: 1.5px solid rgba(168,201,127,0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
}

.stepper-btn {
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--canopy);
  cursor: pointer;
  font-weight: 300;
  transition: background var(--transition);
}

.stepper-btn:hover { background: var(--mist); }

.stepper-val {
  width: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--midnight-herb);
  border-left: 1px solid rgba(168,201,127,0.2);
  border-right: 1px solid rgba(168,201,127,0.2);
  line-height: 44px;
}

.toggle-row { display: flex; flex-direction: column; gap: 10px; }

.toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--midnight-herb);
}

.toggle-group { display: flex; gap: 8px; flex-wrap: wrap; }

.toggle-chip {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(168,201,127,0.3);
  background: transparent;
  color: var(--moss);
  cursor: pointer;
  transition: all var(--transition);
}

.toggle-chip:hover { border-color: var(--canopy); color: var(--forest-deep); }
.toggle-chip.active { background: var(--forest-deep); color: white; border-color: var(--forest-deep); }

/* Grocery List */
.grocery-list-demo { display: flex; flex-direction: column; gap: 2px; }

.grocery-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.grocery-item:hover { background: var(--mist); }
.grocery-item.checked { opacity: 0.6; }

.grocery-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(168,201,127,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.grocery-check.checked {
  background: var(--canopy);
  border-color: var(--canopy);
  color: white;
}

.grocery-check svg { width: 13px; height: 13px; }

.grocery-info { flex: 1; }

.grocery-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--midnight-herb);
  margin-bottom: 2px;
}

.grocery-name.checked-text {
  text-decoration: line-through;
  color: var(--sage-gray);
}

.grocery-qty { font-size: 12px; color: var(--moss); }

.grocery-action {
  color: var(--sage-gray);
  cursor: pointer;
  transition: color var(--transition);
}

.grocery-action:hover { color: var(--chili); }
.grocery-action svg { width: 16px; height: 16px; }

/* Tab Bar */
.tab-bar-demo {
  display: flex;
  justify-content: center;
}

.tab-bar {
  display: flex;
  background: white;
  border-radius: var(--radius-xl);
  padding: 8px;
  gap: 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(168,201,127,0.15);
  width: 100%;
  max-width: 480px;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--sage-gray);
}

.tab-item svg { width: 20px; height: 20px; }

.tab-item span {
  font-size: 11px;
  font-weight: 500;
}

.tab-item:hover { background: var(--mist); color: var(--canopy); }

.tab-item.active {
  background: var(--forest-deep);
  color: white;
}

/* ============================================
   SOCIAL MEDIA TEMPLATES
   ============================================ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.social-template-wrap { display: flex; flex-direction: column; gap: 16px; }

.social-template-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.social-template-label.light { color: var(--sage-gray); }

/* Instagram Post */
.ig-post {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--midnight-herb);
  aspect-ratio: 1;
}

.ig-post-img {
  height: 55%;
  position: relative;
}

.ig-post-img-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2D5016 0%, #6B8F3C 60%, #A8C97F 100%);
}

.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26,46,15,0.6) 100%);
}

.ig-post-logo {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ig-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: white;
}

.ig-post-content {
  padding: 20px 24px 24px;
}

.ig-post-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 8px;
}

.ig-post-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--parchment);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.ig-post-title em { font-style: italic; color: var(--sage-light); }

.ig-post-meta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.ig-post-meta-row span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--sage-gray);
}

.ig-post-meta-row svg { width: 12px; height: 12px; }

.ig-post-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-light);
}

/* Instagram Story */
.ig-story {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--midnight-herb);
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
}

.ig-story-top {
  padding: 24px 20px 16px;
}

.ig-story-logo-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.ig-story-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: white;
}

.ig-story-headline {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--parchment);
  letter-spacing: -0.02em;
}

.ig-story-headline em { font-style: italic; color: var(--sage-light); }

.ig-story-img-area {
  flex: 1;
  position: relative;
  margin: 0 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ig-story-img-bg {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #3a6b1a 0%, #6B8F3C 40%, #A8C97F 100%);
}

.ig-story-bottom {
  padding: 20px 20px 28px;
}

.ig-story-recipe-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 10px;
}

.ig-story-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ig-story-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(168,201,127,0.15);
  color: var(--sage-light);
  border: 1px solid rgba(168,201,127,0.25);
}

.ig-story-swipe {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-light);
  text-align: center;
}

/* Icon Showcase */
.icon-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,201,127,0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.icon-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.app-icon-lg, .app-icon-md, .app-icon-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-icon-lg svg, .app-icon-md svg, .app-icon-sm svg {
  border-radius: 22%;
  box-shadow: var(--shadow-md);
}

.icon-size-label {
  font-size: 10px;
  color: var(--sage-gray);
  font-weight: 500;
}

.avatar-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ig-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ig-avatar svg { box-shadow: var(--shadow-md); }

/* ============================================
   BRAND VOICE
   ============================================ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(168,201,127,0.15);
  box-shadow: var(--shadow-sm);
}

.voice-icon {
  width: 44px; height: 44px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--canopy);
  margin-bottom: 16px;
}

.voice-icon svg { width: 20px; height: 20px; }

.voice-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--midnight-herb);
  margin-bottom: 16px;
}

.voice-example {
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.voice-example.good {
  background: var(--mist);
  color: var(--forest-deep);
  border-left: 3px solid var(--canopy);
}

.voice-example.bad {
  background: rgba(192,57,43,0.06);
  color: var(--moss);
  border-left: 3px solid rgba(192,57,43,0.3);
  font-size: 13px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--midnight-herb);
  padding: 64px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--parchment);
}

.footer-tagline {
  font-size: 15px;
  font-weight: 300;
  color: var(--sage-gray);
  font-style: italic;
}

.footer-meta {
  font-size: 12px;
  color: rgba(184,196,176,0.4);
  margin-top: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .section { padding: 64px 24px; }
  .section-dark, .section-parchment { padding: 64px 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-showcase-grid { grid-template-columns: 1fr; }
  .palette-grid { grid-template-columns: repeat(3, 1fr); }
  .palette-secondary-row { grid-template-columns: repeat(3, 1fr); }
  .type-pairing-hero { grid-template-columns: 1fr; gap: 40px; }
  .type-context-grid { grid-template-columns: 1fr; }
  .components-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; max-width: 360px; }
  .voice-grid { grid-template-columns: 1fr; }
  .color-usage-grid { grid-template-columns: 1fr; }
  .anatomy-grid { grid-template-columns: 1fr; }
}