﻿:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --surface-alt: #eef3f7;
  --text: #0b0c10;
  --muted: #4b5563;
  --accent: #0f3d5e;
  --accent-strong: #0b2c45;
  --accent-soft: #dce8f3;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(15, 61, 94, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 24px;
  --section-pad: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247, 244, 241, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}

.topbar.scrolled {
  box-shadow: 0 8px 30px rgba(15, 61, 94, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 24px;
  font-weight: 500;
}

.cta-desktop {
  display: none;
}

.nav-desktop a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus {
  color: var(--accent);
}

.menu-toggle {
  border: none;
  background: var(--surface);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 61, 94, 0.12);
  cursor: pointer;
}

.menu-toggle .burger,
.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle .burger::before {
  position: absolute;
  transform: translateY(-6px);
}

.menu-toggle .burger::after {
  position: absolute;
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .burger {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .burger::before {
  transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .burger::after {
  opacity: 0;
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--surface);
  z-index: 999;
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 0 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 16, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 998;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 61, 94, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--accent-soft);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.hero {
  padding: calc(var(--section-pad) + 24px) 0 var(--section-pad);
  background: radial-gradient(circle at top left, #d9e9f8, transparent 55%),
    linear-gradient(135deg, #f7f4f1 0%, #eef2f6 40%, #f7f4f1 100%);
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 2rem + 3vw, 4rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.4rem);
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-list li {
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 61, 94, 0.1);
}

.hero-card {
  align-self: center;
}

.hero-card-inner {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card-title {
  font-weight: 600;
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.hero-card-text {
  margin: 0 0 24px;
  color: var(--muted);
}

.hero-card-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.stat-number {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: var(--section-pad) 0;
}

.section-title {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem);
  margin: 0 0 28px;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards {
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
}

.cards .card {
  height: 100%;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 61, 94, 0.18);
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-grid {
  grid-template-columns: 1fr;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 30px rgba(15, 61, 94, 0.1);
}

.check {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

.template-grid {
  grid-template-columns: 1fr;
}

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

.template-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.template-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.template-list {
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.palette {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch, #000);
  border: 1px solid var(--border);
}

.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.template-hub {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.note {
  color: var(--muted);
  margin-top: 18px;
}

.pricing-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.pricing-card {
  position: relative;
  width: min(100%, 560px);
}

.pricing-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 6px 0;
}

.pricing-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-desc {
  color: var(--muted);
  margin: 12px 0 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin: 16px 0 24px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-top: 2px;
}

.recommended {
  border: 1px solid rgba(15, 61, 94, 0.2);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 14px 30px rgba(15, 61, 94, 0.08);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.28s ease;
}

.faq-content p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 32px;
}

.contact-text {
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.template-confirmation {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  display: none;
}

.template-confirmation.is-visible {
  display: block;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.field-error {
  border-color: #dc2626;
}

.form-message {
  min-height: 0;
  margin-top: 16px;
  padding: 0;
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: pre-line;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 14px 16px;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  padding: 14px 16px;
}

.form-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success::before,
.form-message.error::before {
  content: "✓";
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  margin-right: 10px;
  font-size: 0.9rem;
}

.form-message.error::before {
  content: "!";
  background: #fecaca;
  color: #991b1b;
}

.form-message.success::before {
  background: #bbf7d0;
  color: #166534;
}

.footer {
  padding: 32px 0 40px;
  background: var(--surface-alt);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
}

.footer-contact a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

.legal-block {
  display: grid;
  gap: 8px;
}

.legal-content h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}

.legal-content p,
.legal-content ul {
  margin: 0;
  color: var(--muted);
}

.legal-content ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 30px rgba(15, 61, 94, 0.12);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 16px var(--gutter);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .cookie-inner {
    padding: 14px var(--gutter) 18px;
  }

  .cookie-inner .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cookie-inner {
    padding: 12px var(--gutter) 14px;
  }

  .cookie-banner p {
    font-size: 0.9rem;
  }

  .cookie-inner .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-contact {
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }

  .cta-desktop {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu,
  .menu-backdrop {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Demo pages */
body.demo {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f6f7f9;
  --text: #0b0c10;
  --muted: #5b6470;
  --accent: #0f3d5e;
  --accent-soft: #e6eef5;
  --border: #e5e7eb;
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --font-body: "Sora", system-ui, sans-serif;
  --font-heading: "Sora", system-ui, sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --topbar-pad: 16px;
  --section-gap: 28px;
  --hero-bg: var(--surface);
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: calc(72px + env(safe-area-inset-top));
}

.platform-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1200;
  padding-top: env(safe-area-inset-top);
}

.platform-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 10px clamp(16px, 4vw, 24px);
}

.platform-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-header {
  padding: clamp(24px, 5vw, 44px) 0 clamp(16px, 4vw, 28px);
  background: var(--hero-bg);
}

.demo-header .header-content {
  width: min(720px, 90%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.demo-header .header-actions {
  margin-top: 10px;
}

body.demo a {
  color: inherit;
  text-decoration: none;
}

body.demo img {
  max-width: 100%;
  display: block;
}

.demo .container {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  padding-inline: clamp(16px, 4vw, 24px);
}

 .demo .brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}

.demo .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 2.4vw, 3rem);
  line-height: 1.1;
  margin: 0;
}

.demo .brand-desc {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

.demo .brand-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.demo .back-link {
  font-size: 0.9rem;
  color: var(--muted);
}

.demo .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.demo .btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.demo .btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}


.demo .categories {
  padding: 16px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo .category-jump {
  display: grid;
  gap: 8px;
}

.demo .category-jump label {
  font-size: 0.85rem;
  color: var(--muted);
}

.demo .category-jump select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  color: var(--text);
}

.demo .category-nav {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
}

.demo .category-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
}

.demo .menu-section {
  padding: var(--section-gap) 0;
}

.demo .menu-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.demo .menu-items {
  display: grid;
  gap: 14px;
}

.demo .info-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.demo .hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.demo .hours-list li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.demo .hours-list li span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.demo .hours-list li:last-child {
  border-bottom: none;
}

.demo .contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.demo .contact-block p {
  margin: 0;
  color: var(--muted);
}

.demo .map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.demo .map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo .menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.demo .menu-info h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.demo .menu-info {
  min-width: 0;
}

.demo .menu-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.demo .price {
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.demo .menu-items .menu-item:last-child {
  border-bottom: none;
}

.demo.layout-cards .menu-items {
  grid-template-columns: 1fr;
}

.demo.layout-cards .menu-item {
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
}

.demo.layout-cards .price {
  align-self: flex-end;
}

.demo.layout-blocks .menu-item {
  flex-direction: column;
  border: none;
  border-left: 4px solid var(--accent);
  background: var(--surface-alt);
  padding: 16px;
  border-radius: 12px;
}

.demo.layout-blocks .price {
  align-self: flex-end;
}

.demo.layout-minimal .menu-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.demo.layout-minimal .menu-info p {
  font-size: 0.85rem;
}

.demo.layout-compact .menu-item {
  align-items: center;
  border: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-alt);
}

.demo.layout-compact .price {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.demo.layout-grid .menu-items {
  grid-template-columns: 1fr;
}

.demo.layout-grid .menu-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  position: relative;
}

.demo.layout-grid .menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.demo.layout-tiles .menu-item {
  flex-direction: column;
  border: none;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, var(--surface), var(--surface-alt));
  box-shadow: var(--shadow);
}

.demo.layout-tiles .price {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.demo.layout-framed .menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
}

.demo.layout-framed .price {
  align-self: center;
}

.demo.layout-split .menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.demo.layout-split .price {
  background: var(--surface-alt);
  padding: 6px 12px;
  border-radius: 999px;
}

.demo .demo-footer {
  padding: 24px 0 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.demo .demo-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.demo .demo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.demo .demo-footer-links a {
  color: var(--muted);
}

.demo.template-1 {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --surface-alt: #f7efe7;
  --text: #2b1d15;
  --muted: #6e584e;
  --accent: #b65d3a;
  --accent-soft: #f2e2d8;
  --border: #e7d7cb;
  --font-heading: "Playfair Display", serif;
  --font-body: "Sora", sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --hero-bg: linear-gradient(180deg, #fbf7f2 0%, #f7efe7 100%);
}

.demo.template-2 {
  --bg: #f2f6ff;
  --surface: #ffffff;
  --surface-alt: #e7efff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --border: #dbe4ff;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Sora", sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --hero-bg: radial-gradient(circle at top right, #dbeafe, transparent 55%);
}

.demo.template-3 {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-alt: #0b1220;
  --text: #f8fafc;
  --muted: #cbd5f5;
  --accent: #38bdf8;
  --accent-soft: #0f2435;
  --border: #223045;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  --font-heading: "DM Serif Display", serif;
  --font-body: "Nunito Sans", sans-serif;
  --hero-align: center;
  --hero-justify: center;
  --hero-bg: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}

 

.demo.template-4 {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --text: #111827;
  --muted: #6b7280;
  --accent: #111827;
  --accent-soft: #e5e7eb;
  --border: #e5e7eb;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Sora", sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --topbar-pad: 12px;
  --section-gap: 22px;
}

.demo.template-5 {
  --bg: #f5f1eb;
  --surface: #ffffff;
  --surface-alt: #efe6da;
  --text: #4a3b2f;
  --muted: #6d5c4f;
  --accent: #3f5e3b;
  --accent-soft: #d8ead2;
  --border: #e2d4c3;
  --font-heading: "Playfair Display", serif;
  --font-body: "Nunito Sans", sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --topbar-pad: 18px;
}

.demo.template-6 {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #eef0f8;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #8b5cf6;
  --accent-soft: #ede9fe;
  --border: #e4e7f4;
  --font-heading: "Playfair Display", serif;
  --font-body: "Space Grotesk", sans-serif;
  --hero-align: center;
  --hero-justify: center;
  --hero-bg: radial-gradient(circle at top, #ede9fe, transparent 55%);
}


.demo.template-7 {
  --bg: #0f172a;
  --surface: #111827;
  --surface-alt: #1f2937;
  --text: #f9fafb;
  --muted: #cbd5f5;
  --accent: #f97316;
  --accent-soft: #292524;
  --border: #334155;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Sora", sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --hero-bg: linear-gradient(120deg, #0f172a 0%, #1f2937 100%);
}


.demo.template-8 {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #e6efff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --border: #cddafe;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Nunito Sans", sans-serif;
  --hero-align: center;
  --hero-justify: center;
  --hero-bg: linear-gradient(180deg, #e6efff 0%, #f8fafc 100%);
}


.demo.template-9 {
  --bg: #111827;
  --surface: #1f2937;
  --surface-alt: #111827;
  --text: #f9fafb;
  --muted: #d1d5db;
  --accent: #d4a373;
  --accent-soft: #2b2b2b;
  --border: #374151;
  --font-heading: "DM Serif Display", serif;
  --font-body: "Space Grotesk", sans-serif;
  --hero-align: left;
  --hero-justify: flex-start;
  --hero-bg: linear-gradient(160deg, #111827 0%, #1f2937 100%);
}

.demo.template-9 .hero-tags span {
  background: var(--surface);
  color: var(--text);
}

@media (min-width: 768px) {
  .demo .category-jump {
    display: none;
  }

  .demo .category-nav {
    display: flex;
  }

  .demo.layout-cards .menu-items,
  .demo.layout-grid .menu-items,
  .demo.layout-tiles .menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.demo {
    padding-top: calc(96px + env(safe-area-inset-top));
  }

  .platform-controls {
    justify-content: center;
  }
}
