:root {
  --bg: #f4f1ea;
  --text: #2a2a2a;
  --matcha: #8fa77a;
  --accent: #d8cfc3;
  --line: #d7cec1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100vw - 240px));
  margin: 0 auto;
}

.narrow-content {
  width: min(900px, calc(100vw - 240px));
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
.brand {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 92%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, white);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-size: 1.55rem;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.7rem 1.12rem;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.button-outline {
  background: transparent;
  border-color: color-mix(in srgb, var(--text) 48%, #8f8679);
  color: var(--text);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: color-mix(in srgb, var(--bg) 75%, white);
  color: var(--text);
}

.button-solid {
  background: color-mix(in srgb, var(--matcha) 84%, #94a683);
  border-color: color-mix(in srgb, var(--matcha) 70%, #6a8158);
  color: #fbfaf7;
}

.button.full {
  width: 100%;
}

.home-page .container {
  width: min(820px, calc(100vw - 120px));
}

.hero {
  min-height: 820px;
  padding: 160px 0 0;
}

.hero h1 {
  font-size: 72px;
}

.hero-subtitle {
  margin: 28px 0 0;
  max-width: 22ch;
  font-size: 36px;
}

.hero-description {
  margin: 20px 0 0;
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.5;
}

.hero-image {
  margin-top: 120px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: min(820px, 100%);
  height: 600px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.hero-button {
  margin-top: 36px;
  border-radius: 6px;
  padding: 14px 28px;
}

.section-block {
  padding: 110px 0;
}

.section-block h2 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  margin-bottom: 1.1rem;
}

.home-page .section-block h2 {
  font-size: 34px;
  margin-bottom: 24px;
}

.signature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.signature-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.signature-card img {
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.signature-card div {
  padding: 0.78rem 0 0;
}

.signature-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.signature-card p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--text) 74%, #6a6258);
}

.section-text {
  margin: 0;
  max-width: 58ch;
}

.section-text + .section-text {
  margin-top: 0.8rem;
}

.feature-image {
  margin-top: 48px;
  width: min(900px, 100%);
  height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

.table-order-section {
  background: color-mix(in srgb, var(--accent) 30%, var(--bg));
}

.table-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 56px;
  align-items: start;
}

.table-order-copy p {
  margin: 0;
  max-width: 52ch;
}

.table-order-copy p + p {
  margin-top: 0.8rem;
}

.table-order-copy .button {
  margin-top: 1rem;
}

.table-order-phone {
  width: 240px;
  min-height: 500px;
  background: #f9f6f0;
  border: 1px solid color-mix(in srgb, var(--line) 88%, white);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.table-phone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.table-phone-head p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
}

.table-phone-head span {
  font-size: 0.76rem;
  border: 1px solid color-mix(in srgb, var(--line) 72%, #d5cdc0);
  border-radius: 999px;
  background: transparent;
  padding: 0.28rem 0.5rem;
}

.table-phone-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, #e0d7cb);
  border-radius: 6px;
  background: transparent;
}

.table-phone-item img {
  width: 62px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
}

.table-phone-item h3 {
  font-size: 0.96rem;
}

.table-phone-item p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
}

.table-order-phone .button {
  margin-top: auto;
}

.section-note-matcha {
  margin-top: 24px;
  color: var(--matcha);
  font-size: 14px;
  font-weight: 600;
}

.qr-code {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, white);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.qr-code span {
  border-radius: 2px;
  background: rgba(42, 42, 42, 0.2);
}

.qr-code span.filled {
  background: color-mix(in srgb, var(--text) 90%, black);
}

.instagram-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.instagram-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.instagram-handle {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, white);
  padding: 74px 0 84px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}

.footer-inner h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  font-size: 0.95rem;
  text-decoration: none;
}

.menu-page {
  padding-bottom: 120px;
}

.menu-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
}

.menu-overline {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 80%, #564f45);
}

.menu-hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(3rem, 8vw, 4rem);
}

.menu-hero p {
  margin: 0.75rem 0 0;
}

.menu-divider {
  margin-top: 2rem;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 85%, white);
}

.menu-section {
  padding-top: 120px;
}

.menu-section h2 {
  font-size: clamp(2rem, 5vw, 2.25rem);
}

.menu-sub-note {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--text) 76%, #5b564d);
}

.menu-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.menu-list li {
  min-height: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.menu-list li + li {
  margin-top: 28px;
}

.menu-list span:last-child {
  min-width: 80px;
  text-align: right;
}

.menu-gap {
  min-height: 0;
  margin-top: 14px !important;
}

.menu-gap + li {
  margin-top: 14px;
}

.menu-cta {
  padding-top: 120px;
}

.menu-cta .button {
  margin-top: 1.6rem;
}

.page-hero {
  padding: 160px 0 72px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.2rem);
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 56ch;
}

.ordering-hero-note {
  color: var(--matcha);
  font-size: 0.9rem;
  font-weight: 600;
}

.qr-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 46px;
  align-items: start;
}

.qr-demo-copy h2 {
  margin-bottom: 1rem;
}

.qr-demo-copy p {
  margin: 0;
  max-width: 56ch;
}

.qr-steps {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qr-step {
  border: 1px solid color-mix(in srgb, var(--line) 84%, white);
  border-radius: 999px;
  background: #fff;
  color: color-mix(in srgb, var(--text) 88%, black);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
}

.qr-step.is-active,
.qr-step:hover,
.qr-step:focus-visible {
  background: color-mix(in srgb, var(--matcha) 84%, #8ea777);
  border-color: color-mix(in srgb, var(--matcha) 88%, #6a8158);
  color: #f8f7f2;
}

.ordering-phone {
  width: 390px;
  max-width: 100%;
  border-radius: 20px;
  padding: 0;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--line) 86%, white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.ordering-phone-screen {
  border-radius: 19px;
  background: #f8f4ee;
  border: 0;
  padding: 16px;
  min-height: 650px;
}

.qr-screen {
  display: none;
}

.qr-screen.is-active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qr-screen-header h3 {
  font-size: 1.35rem;
}

.qr-screen-header p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

.qr-categories {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.qr-categories span {
  border: 1px solid color-mix(in srgb, var(--line) 85%, white);
  border-radius: 999px;
  background: #fff;
  padding: 0.34rem 0.62rem;
  font-size: 0.76rem;
  white-space: nowrap;
}

.qr-categories .active {
  background: color-mix(in srgb, var(--matcha) 84%, #8ea777);
  border-color: color-mix(in srgb, var(--matcha) 88%, #6a8158);
  color: #f8f7f2;
}

.menu-mobile-cards {
  display: grid;
  gap: 16px;
}

.menu-mobile-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--line) 84%, white);
  border-radius: 8px;
  padding: 10px;
}

.menu-mobile-card img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
}

.menu-mobile-card h4 {
  font-size: 1rem;
}

.menu-mobile-card p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.menu-mobile-card button {
  border: 1px solid color-mix(in srgb, var(--matcha) 80%, #6a8158);
  border-radius: 8px;
  background: color-mix(in srgb, var(--matcha) 80%, #edf2e8);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.46rem 0.65rem;
}

.product-image {
  border-radius: 8px;
  height: 220px;
  object-fit: cover;
}

.product-price {
  margin: -0.25rem 0 0;
  font-size: 1.06rem;
  font-weight: 600;
}

.product-options {
  border: 1px solid color-mix(in srgb, var(--line) 84%, white);
  border-radius: 8px;
  background: #fff;
  padding: 0.75rem;
}

.product-options h5 {
  margin-bottom: 0.55rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-options p {
  margin: 0;
  font-size: 0.9rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill-row span {
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, white);
  background: #fff;
  font-size: 0.8rem;
}

.pill-row .active {
  background: color-mix(in srgb, var(--matcha) 82%, #8fa77a);
  color: #f8f7f2;
  border-color: color-mix(in srgb, var(--matcha) 88%, #6a8158);
}

.cart-block {
  border: 1px solid color-mix(in srgb, var(--line) 84%, white);
  border-radius: 8px;
  background: #fff;
  padding: 0.65rem 0.8rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
}

.cart-item + .cart-item {
  border-top: 1px dashed color-mix(in srgb, var(--line) 84%, transparent);
}

.cart-item h4 {
  font-size: 1rem;
}

.cart-item p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
  font-weight: 600;
}

.payment-list {
  border: 1px solid color-mix(in srgb, var(--line) 84%, white);
  border-radius: 8px;
  background: #fff;
  padding: 0.7rem;
}

.payment-list label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.payment-list label + label {
  margin-top: 0.55rem;
}

.confirm-screen {
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 600px;
}

.confirm-icon {
  width: 72px;
  height: 72px;
  border: 1px solid color-mix(in srgb, var(--matcha) 84%, #6a8158);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--matcha);
}

.confirm-screen h3 {
  font-size: 2rem;
}

.confirm-screen p {
  margin: 0;
}

.confirm-sub {
  color: color-mix(in srgb, var(--text) 78%, #5c554b);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.story-copy p {
  margin: 0;
  max-width: 56ch;
}

.story-copy p + p {
  margin-top: 1rem;
}

.story-layout img {
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .container,
  .narrow-content {
    width: min(1200px, 92vw);
  }

  .home-page .container {
    width: min(820px, 92vw);
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .hero-subtitle {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
  }

  .hero-image {
    margin-top: 80px;
  }

  .hero-image img {
    height: min(600px, 62vh);
  }

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

  .qr-demo-layout,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .table-order-layout {
    grid-template-columns: 1fr;
  }

  .table-order-phone {
    width: 240px;
  }

  .ordering-phone {
    width: 390px;
  }

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

@media (max-width: 680px) {
  .navbar {
    min-height: 72px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.65rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .hero-image {
    margin-top: 56px;
  }

  .hero-image img {
    height: 420px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .home-page .hero-subtitle {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .section-block,
  .menu-section,
  .menu-cta {
    padding-top: 88px;
    padding-bottom: 0;
  }

  .section-block:first-of-type {
    padding-top: 88px;
  }

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

  .feature-image {
    height: 380px;
  }

  .table-order-phone {
    width: 100%;
    max-width: 340px;
    min-height: 0;
  }

  .ordering-phone-screen {
    min-height: 0;
  }

  .qr-screen.is-active {
    gap: 18px;
  }

  .confirm-screen {
    min-height: 520px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }
}
