@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-Medium.woff2") format("woff2");
}

:root {
  --ink: #141210;
  --paper: #fdf7eb;
  --accent: #b99656;
  --line: #e6dcc8;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

a { color: inherit; }

h1 {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.12;
  margin: 0;
  max-width: 16ch;
}

p { margin: 0; max-width: 62ch; }

.top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.mark {
  font-weight: 500;
  text-decoration: none;
}

.nav { display: flex; gap: 18px; }

.nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.util {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lang {
  font: inherit;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 2px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: calc(100dvh - 57px);
}

.hero-photo {
  display: grid;
  place-items: center;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.hero-photo img { width: min(78%, 520px); }

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 32px 28px;
}

.rule {
  width: 48px;
  height: 2px;
  margin: 0;
  border: 0;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  width: fit-content;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  font: inherit;
  cursor: pointer;
}

.band {
  padding: 28px 20px 72px;
  border-top: 1px solid var(--line);
}

form {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

label { display: grid; gap: 6px; }

input, select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  min-height: 44px;
  padding: 0 10px;
}

.sheet {
  max-width: 72ch;
  padding: 36px 20px 8px;
}

.jars {
  display: grid;
  gap: 8px;
  max-width: 880px;
  padding: 8px 20px 28px;
}

.jar {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.jar img { width: 140px; }

.where {
  display: grid;
  gap: 10px;
  padding: 12px 20px 8px;
  max-width: 68ch;
}

address { font-style: normal; display: grid; gap: 8px; }

.foot {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "mark util"
      "nav nav";
    align-items: center;
    padding: 4px 12px 0;
  }

  .mark { grid-area: mark; }
  .util { grid-area: util; margin-left: 0; }
  .nav { grid-area: nav; gap: 14px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-photo {
    min-height: 52vh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-photo img { width: min(88%, 420px); }

  .hero-copy { padding: 24px 16px 32px; }

  h1 { font-size: 32px; }

  .jar { grid-template-columns: 96px 1fr; }

  .jar img { width: 96px; }
}
