:root {
  color-scheme: light;
  --cream: #f7f2e8;
  --cream-dark: #ebe2d3;
  --ink: #18211b;
  --forest: #063b2a;
  --green: #086041;
  --muted: #3d493f;
  --line: #cfc7b7;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.5 system-ui, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #c47c2d; outline-offset: 4px; }
.container { width: min(100% - 6rem, 83rem); margin-inline: auto; }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .5rem 1rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner, .contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.8rem; padding-block: .65rem; }
.company { font: 700 clamp(1.5rem, 2.6vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.035em; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 2.7rem); white-space: nowrap; }
nav a { font-weight: 650; text-decoration: none; }
nav a:hover, address a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { border: 1px solid var(--forest); border-radius: .45rem; padding: .48rem .85rem; }
.nav-contact:hover { background: #e6ebdf; }

.hero {
  background: #eae0cf;
  background-image: linear-gradient(90deg, #faf3e7f2 3%, #faf3e7e3 28%, #f4e9d7a0 48%, #f3d7ad18 78%), url('assets/restaurant-kitchen.jpg');
  background-size: cover;
  background-position: center 57%;
}
.hero-inner { min-height: 32rem; display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.27fr); align-items: center; gap: clamp(2.1rem, 5vw, 5.5rem); padding-block: clamp(2.6rem, 6vw, 5.4rem); }
.product-logo { display: flex; align-items: center; gap: .45rem; margin-left: -.25rem; margin-bottom: .9rem; }
.product-icon { width: 3.75rem; }
.wordmark { width: 8.25rem; filter: brightness(.18); }
.hero h1 { max-width: 11ch; font: 700 clamp(3rem, 5.2vw, 5.05rem)/.98 var(--serif); letter-spacing: -.057em; text-wrap: balance; }
.hero p { max-width: 31ch; margin-top: 1.1rem; color: #263129; font-size: clamp(1.08rem, 1.65vw, 1.52rem); line-height: 1.4; }
.primary-button { display: inline-block; margin-top: 1.4rem; padding: .8rem 1.3rem; border: 1px solid #01482e; border-radius: .55rem; background: var(--green); color: #fffdf6; font-size: 1.12rem; font-weight: 750; text-decoration: none; box-shadow: 0 .25rem .6rem #07291b2c; }
.primary-button:hover { background: var(--forest); }
.product-preview { min-width: 0; }
.preview-link { display: block; padding: .45rem; border: 1px solid #858980; border-radius: .95rem; overflow: hidden; text-decoration: none; background: #171a18; color: white; box-shadow: 0 1.4rem 3rem #241b12a0, 0 .25rem .65rem #160f0780; }
.preview-link:hover { border-color: #c4d1c4; }
.preview-top, .preview-top > span:first-child { display: flex; align-items: center; }
.preview-top { min-height: 2.4rem; justify-content: space-between; gap: .5rem; padding: .1rem .55rem .35rem .35rem; font-weight: 700; font-size: .9rem; }
.preview-top > span:first-child { gap: .38rem; }
.sample-label { background: #204838; color: #ddf4e7; border-radius: .3rem; padding: .12rem .45rem; font-size: .72rem; white-space: nowrap; }
.dashboard { width: 100%; border-radius: .4rem; }
figcaption { width: fit-content; margin: .65rem auto 0; padding: .18rem .62rem; border-radius: .3rem; background: #1f2922ed; color: #fffdf6; font-size: .78rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 1.75rem; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(.65rem, 1.5vw, 1.15rem); align-items: start; padding-inline: clamp(1rem, 2vw, 1.9rem); }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature svg { width: clamp(2.5rem, 4vw, 3.1rem); color: var(--forest); }
.feature h2 { font-size: clamp(1.03rem, 1.8vw, 1.38rem); line-height: 1.2; letter-spacing: -.035em; }
.feature p { margin-top: .38rem; color: var(--muted); }
.feature-link { display: inline-block; margin-top: .55rem; color: var(--forest); font-size: .87rem; font-weight: 720; text-underline-offset: .22em; }
.feature-link span { display: inline-block; padding-left: .1rem; }

.about { color: #fffcf4; background: var(--forest); }
.about-inner { display: grid; grid-template-columns: 1.15fr .95fr 1.15fr .82fr; align-items: stretch; padding-block: 2rem; }
.about h2, .contact h2 { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.08 var(--serif); letter-spacing: -.04em; }
.about h2 { max-width: 13ch; padding-right: 1.05rem; }
.about p { padding-inline: clamp(.8rem, 2.1vw, 1.8rem); border-left: 1px solid #ffffff51; align-content: center; line-height: 1.35; }
.about p:last-child { padding-right: 0; }
.about strong { display: block; font-size: 1.15rem; color: #fffdf4; }
.contact { background: var(--cream); }
.contact-inner { justify-content: flex-start; min-height: 6rem; padding-block: 1.25rem; }
address { display: flex; flex-wrap: wrap; gap: .65rem 1.55rem; font-style: normal; }
address a { display: flex; align-items: center; gap: .55rem; padding-left: 1.25rem; border-left: 1px solid var(--line); text-decoration: none; font-weight: 670; overflow-wrap: anywhere; }
address svg { width: 1.45rem; flex: 0 0 1.45rem; color: var(--forest); }

.screenshot-dialog { color: white; background: #191d1a; border: 1px solid #63766b; border-radius: .8rem; width: min(94vw, 78rem); max-height: 93vh; padding: 0; }
.screenshot-dialog::backdrop { background: #101a15dc; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; padding: .55rem .85rem .55rem 1rem; }
.dialog-top h2 { font-size: 1.05rem; }
.dialog-top button { border: 1px solid #7b8c82; border-radius: .3rem; width: 2.2rem; height: 2.2rem; background: #26362c; color: white; font-size: 1.4rem; cursor: pointer; }
.screenshot-dialog img { margin-inline: auto; max-height: 81vh; object-fit: contain; }

@media (max-width: 900px) {
  .container { width: min(100% - 3rem, 83rem); }
  .hero-inner { gap: 1.65rem; min-height: 25rem; }
  .feature { grid-template-columns: 1fr; gap: .45rem; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: .65rem 1rem; padding-block: .85rem; }
  .company { text-align: center; }
  nav { gap: 1.3rem; font-size: .88rem; }
  .nav-contact { padding: .28rem .55rem; }
  .hero { background-position: 64% center; background-image: linear-gradient(180deg, #faf3e7f2 4%, #faf3e7de 53%, #dbc5a654 96%), url('assets/restaurant-kitchen.jpg'); }
  .hero-inner { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .feature-grid { grid-template-columns: 1fr; padding-block: .25rem; }
  .feature, .feature:first-child, .feature:last-child { grid-template-columns: auto 1fr; gap: .85rem; padding: 1.15rem 0; }
  .feature + .feature { border-left: none; border-top: 1px solid var(--line); }
  .about-inner { grid-template-columns: 1fr; gap: .9rem; padding-block: 1.5rem; }
  .about h2 { max-width: none; padding: 0; }
  .about p { padding-left: .75rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: .8rem; }
  address { flex-direction: column; }
  address a { padding-left: 0; border-left: none; font-size: .96rem; }
}
