:root {
  --ink: #182027;
  --muted: #62707b;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #e5e0d7;
  --green: #2f7d5c;
  --green-dark: #1e5d43;
  --coral: #d95f46;
  --blue: #245c8f;
  --gold: #e3a63b;
  --shadow: 0 18px 55px rgba(24, 32, 39, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 224, 215, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 250, 246, 0.97) 0%, rgba(251, 250, 246, 0.82) 44%, rgba(251, 250, 246, 0.26) 100%);
}

.hero-content {
  width: min(690px, calc(100% - 36px));
  align-self: center;
  padding: 70px 0 84px;
  margin-left: clamp(18px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lead {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #34424d;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.ghost {
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 42px 0 0;
}

.hero-facts div,
.feature-card,
.template-card,
.price-card,
.faq-list details,
.contact-panel,
.menu-uploader,
.menu-item,
.product-card,
.testimonial,
.service-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 26px rgba(24, 32, 39, 0.06);
}

.hero-facts div {
  padding: 16px;
}

.hero-facts dt {
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.intro-band {
  background: var(--white);
}

.feature-grid,
.template-grid,
.pricing-grid,
.product-grid,
.testimonial-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.price-card {
  padding: 24px;
}

.feature-icon,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
}

.feature-card:nth-child(2) .feature-icon,
.template-card:nth-child(2) .tag {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-icon,
.template-card:nth-child(3) .tag {
  background: var(--green);
}

.feature-card p,
.template-card p,
.price-card p,
.service-row p,
.testimonial p,
.product-card p,
.menu-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.template-card {
  overflow: hidden;
}

.template-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.template-card div {
  padding: 20px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #eef4ef;
}

.split-section > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-left: 5px solid var(--green);
  background: var(--white);
  border-radius: var(--radius);
}

.steps span {
  color: var(--muted);
}

.pricing-band {
  background: var(--ink);
  color: var(--white);
}

.pricing-band .eyebrow {
  color: #9be0bd;
}

.pricing-band h2 {
  color: var(--white);
}

.price-card {
  color: var(--ink);
}

.price-card.featured {
  border-color: #9be0bd;
  box-shadow: 0 18px 50px rgba(47, 125, 92, 0.28);
}

.price {
  margin: 0 0 18px !important;
  color: var(--ink) !important;
  font-size: 2rem;
  font-weight: 950;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
}

.contact-section p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.contact-panel a,
.contact-panel span {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
  text-decoration: none;
}

.contact-panel :last-child {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.template-body .site-header {
  position: sticky;
}

.template-hero {
  min-height: 78vh;
}

.template-hero h1 {
  max-width: 13ch;
}

.shop-theme .brand-mark,
.shop-theme .button.primary,
.shop-theme .steps li {
  background: var(--blue);
}

.restaurant-theme .brand-mark,
.restaurant-theme .button.primary,
.restaurant-theme .steps li {
  background: var(--coral);
}

.service-theme .brand-mark,
.service-theme .button.primary,
.service-theme .steps li {
  background: var(--green);
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.menu-uploader {
  padding: 22px;
}

.menu-uploader label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.menu-uploader input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.menu-grid {
  display: grid;
  gap: 12px;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
}

.menu-item strong {
  display: block;
  margin-bottom: 5px;
}

.menu-price {
  color: var(--coral);
  font-size: 1.1rem;
  font-weight: 950;
  white-space: nowrap;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-weight: 900;
}

.product-meta span:last-child {
  color: var(--blue);
}

.testimonial {
  padding: 22px;
}

.testimonial strong {
  display: block;
  margin-top: 16px;
}

.service-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 20px;
}

.service-row strong:last-child {
  color: var(--green-dark);
  white-space: nowrap;
}

.stats-grid div {
  padding: 22px;
  border-top: 5px solid var(--gold);
  background: var(--white);
  border-radius: var(--radius);
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
}

.stats-grid span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.97) 0%, rgba(251, 250, 246, 0.86) 58%, rgba(251, 250, 246, 0.35) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 58px;
  }

  h1 {
    max-width: 11ch;
  }

  .feature-grid,
  .template-grid,
  .pricing-grid,
  .product-grid,
  .testimonial-grid,
  .stats-grid,
  .split-section,
  .contact-section,
  .menu-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .site-nav {
    top: 64px;
  }

  .brand {
    max-width: 230px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .button {
    width: 100%;
  }

  .site-footer,
  .menu-item,
  .service-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
