:root {
  --paper: #f8f4ec;
  --ink: #282820;
  --muted: #5f5b51;
  --line: #ded6c8;
  --accent: #a93620;
  --accent-hover: #852816;
  --olive: #e9ebdf;
  --dark: #303a2c;
  --white: #fff9ee;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; }
h2 { font-size: clamp(2.9rem, 5vw, 5rem); letter-spacing: -.025em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 2.5rem, 77rem); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1;
  text-decoration: none;
}
.wordmark__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2.15rem;
  border-radius: .45rem;
  background: var(--accent);
  color: var(--white);
  font: italic 1.85rem/1 var(--display);
  letter-spacing: 0;
}
.wordmark__dot { color: var(--accent); margin-left: -.42rem; }
.main-nav { display: none; gap: clamp(1.5rem, 3vw, 3rem); }
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover, .text-link:hover { color: var(--accent); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 3.35rem;
  width: fit-content;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button span, .text-link span { font-size: 1.1rem; line-height: 1; }
.button--outline { min-height: 2.75rem; border-color: var(--line); }
.button--outline:hover { border-color: var(--accent); color: var(--accent); }
.button--primary { background: var(--accent); color: var(--white); }
.button--primary:hover { background: var(--accent-hover); }
.button--primary:focus-visible { outline-color: var(--accent); }
.button--light { background: var(--white); color: var(--dark); }
.button--light:hover { background: var(--olive); }
.button--light:focus-visible { outline-color: var(--white); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  width: fit-content;
  font-size: .9rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

.hero {
  display: grid;
  gap: 2.35rem;
  padding-block: 3rem 2rem;
}
.hero__copy { align-self: center; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .145em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.4rem; border-top: 1px solid; }
.hero h1 {
  font-size: clamp(3.85rem, 11.6vw, 7.7rem);
  letter-spacing: -.035em;
  line-height: .87;
}
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero__description { max-width: 28rem; margin-top: 1.6rem; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.16rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1.65rem; }

.showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 22rem;
  aspect-ratio: 1.06;
  overflow: hidden;
  border-radius: .85rem;
  background: var(--dark);
}
.showcase__photo, .showcase::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase__photo { object-fit: cover; object-position: 70% 50%; }
.showcase::after { content: ""; background: linear-gradient(145deg, #20150f19 30%, #20150f5c 70%, #20150fbf); }
.mock-phone {
  width: clamp(9.75rem, 47%, 15.5rem);
  margin: 0 9% 1.6rem 0;
  padding: .35rem;
  border: 1px solid #655d50;
  border-radius: 1.85rem;
  background: #25231e;
  box-shadow: .55rem 1rem 2.4rem #21170db8;
  transform: rotate(-9deg);
}
.mock-phone__screen { overflow: hidden; border-radius: 1.5rem; background: #fff4e2; }
.mock-phone__bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .35rem .75rem;
  height: 1.65rem;
  font-size: .52rem;
  font-weight: 700;
  line-height: 1;
}
.mock-phone__bar i { position: absolute; left: 50%; width: 2.75rem; height: .62rem; border-radius: 1rem; background: #25231e; transform: translateX(-50%); }
.mock-menu { color: #412820; }
.mock-menu__cover { padding: .8rem .25rem .95rem; text-align: center; }
.mock-menu__cover span { display: block; color: var(--accent); font-size: .43rem; font-weight: 700; letter-spacing: .17em; }
.mock-menu__cover strong { display: block; margin-top: .2rem; font: 400 clamp(1.65rem, 6vw, 2.6rem)/1.05 var(--display); }
.mock-menu__cover i { font: italic clamp(.68rem, 2vw, .95rem)/1 var(--display); }
.mock-menu img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.mock-menu__items { padding: .75rem .8rem 1.15rem; }
.mock-menu__items b { display: block; margin-bottom: .35rem; font: 400 clamp(.95rem, 3vw, 1.4rem)/1 var(--display); }
.mock-menu__items div { display: flex; justify-content: space-between; gap: .2rem; padding: .38rem 0; border-top: 1px solid #e3d4bf; font-size: clamp(.5rem, 1.35vw, .7rem); }
.mock-menu__items strong { color: var(--accent); }
.showcase figcaption { position: absolute; right: .75rem; bottom: .75rem; }
.showcase figcaption a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .3rem .7rem;
  border-radius: .35rem;
  background: var(--white);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}
.showcase figcaption a:hover { color: var(--accent); }
.showcase figcaption a:focus-visible { outline-color: var(--white); }

.highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem .5rem;
  margin-block: 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  list-style: none;
}
.highlights li { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: clamp(.73rem, 1.2vw, .94rem); font-weight: 600; line-height: 1.35; }
.highlights li span {
  display: grid;
  place-items: center;
  flex: 0 0 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1rem;
}

.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section__heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.6rem; }
.model-grid { display: grid; gap: 1rem; }
.model { display: block; overflow: hidden; border-radius: .55rem; background: #eee1cf; text-decoration: none; }
.model--pizza { background: #efe1cf; }
.model--burger { background: #ead6b8; }
.model--cafe { background: #e5e8d8; }
.model img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.model__label { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .9rem 1.05rem; }
.model__label h3 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.model__label span { display: grid; place-items: center; flex: 0 0 2rem; height: 2rem; border: 1px solid currentColor; border-radius: 50%; transition: background-color .2s, color .2s; }
.model:hover .model__label span { background: var(--ink); color: var(--white); }

.process { background: var(--olive); }
.steps { display: grid; gap: 1.4rem; margin: 1.7rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #c4c9b7; padding-top: 1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--accent); font-size: .78rem; font-weight: 700; }
.steps h3 { margin: .7rem 0 .45rem; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.steps p, .faq details p { color: var(--muted); }
.faq { display: grid; gap: 1.5rem 3rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1rem; }

.closing { background: var(--dark); color: var(--white); }
.closing__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.site-footer { min-height: 5.25rem; }
.site-footer .text-link { font-size: .8rem; }

@media (min-width: 42rem) {
  .wrap { width: min(100% - 4rem, 77rem); }
  .main-nav { display: flex; }
  .hero h1 { font-size: clamp(4.6rem, 10.8vw, 6.5rem); }
  .showcase { aspect-ratio: 1.42; }
  .highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .model-grid, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr 1.35fr; }
}
@media (min-width: 57rem) {
  .site-header__inner { min-height: 4.8rem; }
  .hero { grid-template-columns: .89fr 1fr; gap: clamp(2rem, 5vw, 5.2rem); padding-block: 3rem 2.5rem; }
  .hero h1 { font-size: clamp(5rem, 8.6vw, 7.7rem); }
  .hero__actions { margin-top: 2rem; }
  .showcase { aspect-ratio: 1.16; }
  .showcase figcaption { right: 1rem; bottom: 1rem; }
  .highlights { padding-block: 1.1rem; }
  .highlights li { justify-content: center; gap: .7rem; }
  .highlights li + li { border-left: 1px solid var(--line); }
  .highlights li span { flex-basis: 2rem; height: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .model__label span { transition: none; }
}
