:root {
  --sand: #e3bf9c;
  --wine: #6a1715;
  --sky: #a3bad9;
  --navy: #08143b;
  --cream: #fffaf6;
  --rose: #ecc5c2;
  --white: #ffffff;
  --ink: #08143b;
  --muted: #5f5a69;
  --display-font: "Arial Rounded MT Bold", "Cooper Black", "Arial Black", system-ui, sans-serif;
  --script-font: "Brush Script MT", "Snell Roundhand", "Segoe Script", cursive;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(8, 20, 59, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body-font);
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body,
button,
a {
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 246, 0.9);
  border-bottom: 1px solid rgba(106, 23, 21, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand-link img {
  width: 76px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--wine);
}

.hero {
  position: relative;
  min-height: 940px;
  padding: 76px 24px 250px;
  display: grid;
  place-items: start center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(227, 191, 156, 0.68), rgba(227, 191, 156, 0.86)),
    url("assets/hero-restaurant-beige.jpg") center / cover no-repeat,
    var(--sand);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.hero-logo {
  width: min(420px, 82vw);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 16px 26px rgba(53, 28, 14, 0.22));
}

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

.hero-lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.56;
  font-weight: 800;
}

.store-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-row.align-left {
  justify-content: flex-start;
}

.store-badge {
  width: 188px;
  min-height: 58px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(53, 28, 14, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(53, 28, 14, 0.26);
}

.store-badge svg {
  flex: 0 0 auto;
}

.apple-logo {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.play-logo {
  width: 28px;
  height: 30px;
}

.play-blue {
  fill: #54a8ff;
}

.play-green {
  fill: #31d07d;
}

.play-yellow {
  fill: #ffd45a;
}

.play-red {
  fill: #ff5a56;
}

.store-badge span {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.05;
}

.store-badge small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
}

.store-badge strong {
  font-size: 1.05rem;
  font-weight: 850;
}

.hero-phone {
  position: absolute;
  left: 50%;
  top: 535px;
  z-index: 1;
  width: min(360px, 78vw);
  transform: translateX(-50%);
}

.phone-shell {
  position: relative;
  width: 100%;
  padding: 12px;
  overflow: hidden;
  background: #090909;
  border: 4px solid var(--white);
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  background: #090909;
  border-radius: 0 0 14px 14px;
}

.phone-shell img {
  width: 100%;
  border-radius: 34px;
}

.phone-shell.compact {
  max-width: 350px;
  margin: 0 auto;
}

.section-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section {
  padding: 110px 0 104px;
  background: var(--cream);
}

.intro-grid,
.app-grid,
.promise-grid,
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.section-label {
  width: max-content;
  margin: 0 0 18px;
  padding: 7px 13px;
  color: var(--white);
  background: var(--wine);
  border: 3px solid var(--white);
  border-radius: 999px;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 7px 0 rgba(227, 191, 156, 0.75);
}

h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 3.5rem;
  line-height: 0.98;
  font-weight: 900;
}

h3 {
  margin: 0;
  color: inherit;
  font-family: var(--display-font);
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 900;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.62;
  font-weight: 650;
}

.step-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.format-card {
  min-height: 260px;
  padding: 30px;
  border-radius: 28px;
}

.step-card {
  color: var(--navy);
  background: var(--sand);
  border: 5px solid var(--white);
  box-shadow: 0 14px 0 rgba(8, 20, 59, 0.1);
}

.step-card:nth-child(2) {
  background: var(--sky);
}

.step-card:nth-child(3) {
  color: var(--white);
  background: var(--navy);
}

.step-number {
  display: block;
  margin-bottom: 54px;
  color: inherit;
  font-family: var(--display-font);
  font-size: 0.95rem;
  font-weight: 900;
}

.step-card p,
.format-card p,
.app-copy p:not(.section-label),
.promise-list p,
.download-section p {
  margin: 14px 0 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.62;
}

.formats-section {
  padding: 108px 0;
  color: var(--navy);
  background: var(--sand);
}

.formats-section h2 {
  max-width: 880px;
  color: var(--navy);
}

.format-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.format-card {
  color: var(--navy);
  background: var(--white);
  border: 5px solid var(--white);
}

.format-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--white);
  border: 3px solid currentColor;
  border-radius: 50%;
}

.format-icon svg,
.check-list svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-section {
  padding: 118px 0;
  background: var(--white);
}

.app-grid {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
}

.app-visual {
  min-height: 720px;
  display: grid;
  place-items: center;
  background: #f8eee4;
  border: 5px solid var(--white);
  border-radius: 34px;
  box-shadow: 0 18px 0 rgba(163, 186, 217, 0.5);
}

.app-copy {
  max-width: 560px;
}

.check-list {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
  font-weight: 650;
}

.check-list svg {
  margin-top: 1px;
  color: var(--wine);
  background: var(--sand);
  border-radius: 50%;
}

.promise-section {
  padding: 108px 0;
  background: var(--sand);
}

.promise-grid {
  align-items: start;
}

.promise-list {
  display: grid;
  gap: 16px;
}

.promise-list p {
  margin: 0;
  padding: 24px 26px;
  color: var(--navy);
  background: var(--cream);
  border: 4px solid var(--white);
  border-radius: 24px;
  font-size: 1.12rem;
  font-weight: 750;
  box-shadow: 0 9px 0 rgba(8, 20, 59, 0.1);
}

.download-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--wine);
}

.download-section::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 430px;
  height: 300px;
  background: var(--sand);
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 56% 44% 48% 52% / 44% 58% 42% 56%;
  transform: rotate(-9deg);
}

.download-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 86px;
}

.download-section h2 {
  max-width: 720px;
  color: var(--white);
}

.download-section p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  font-weight: 650;
}

.download-section .store-badge {
  background: #050505;
  box-shadow: 0 18px 36px rgba(53, 28, 14, 0.22);
}

.footer-logo {
  width: min(280px, 82vw);
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(8, 20, 59, 0.18));
}

@media (prefers-reduced-motion: no-preference) {
  .phone-shell {
    animation: phone-rise 700ms ease both;
  }

  @keyframes phone-rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 970px;
    padding-top: 66px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .intro-grid,
  .app-grid,
  .promise-grid,
  .download-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  h2 {
    font-size: 2.72rem;
  }

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

  .app-grid {
    text-align: left;
  }

  .app-visual {
    min-height: auto;
    padding: 54px 0;
  }

  .phone-shell.compact {
    max-width: 310px;
  }

  .download-grid {
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .section-wrap {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    height: 66px;
    gap: 12px;
  }

  .brand-link span:last-child {
    max-width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-link img {
    width: 64px;
  }

  .hero {
    min-height: 1010px;
    padding: 48px 14px 210px;
    background:
      linear-gradient(180deg, rgba(227, 191, 156, 0.76), rgba(227, 191, 156, 0.9)),
      url("assets/hero-restaurant-beige.jpg") center / cover no-repeat,
      var(--sand);
  }

  .hero-logo {
    width: min(330px, 86vw);
    margin-bottom: 20px;
  }

  .hero-lead {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .store-row {
    margin-top: 24px;
    gap: 10px;
  }

  .store-row.align-left {
    justify-content: center;
  }

  .store-badge {
    width: min(100%, 178px);
    min-height: 54px;
  }

  .store-badge strong {
    font-size: 0.98rem;
  }

  .hero-phone {
    width: min(286px, 78vw);
    top: 550px;
  }

  .phone-shell {
    padding: 9px;
    border-width: 4px;
    border-radius: 36px;
  }

  .phone-shell::before {
    top: 10px;
    width: 74px;
    height: 18px;
    border-radius: 0 0 10px 10px;
  }

  .phone-shell img {
    border-radius: 28px;
  }

  .intro-section,
  .formats-section,
  .app-section,
  .promise-section,
  .download-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .intro-section {
    padding-top: 112px;
  }

  h2 {
    font-size: 2.16rem;
    line-height: 1.02;
  }

  .section-label {
    margin-inline: auto;
  }

  .section-lead {
    font-size: 1.06rem;
    text-align: center;
  }

  .intro-grid,
  .promise-grid {
    text-align: center;
  }

  .step-grid,
  .format-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card,
  .format-card {
    min-height: 0;
    padding: 24px;
  }

  .step-number {
    margin-bottom: 36px;
  }

  .format-grid {
    margin-top: 42px;
  }

  .format-icon {
    margin-bottom: 28px;
  }

  .app-copy,
  .download-section {
    text-align: center;
  }

  .check-list {
    text-align: left;
  }

  .footer-logo {
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .brand-link {
    gap: 8px;
  }

  .brand-link span:last-child {
    max-width: 150px;
  }

  .store-row {
    flex-direction: column;
  }

  .store-badge {
    width: 188px;
  }

  .hero-logo {
    width: min(300px, 88vw);
  }
}

@media (max-width: 360px) {
  .brand-link span:last-child {
    max-width: 96px;
  }

}
