:root {
  --ink: #1f2f41;
  --paper: #e7f3fc;
  --muted: #4d6478;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

main {
  width: min(980px, 100vw);
  min-width: 0;
  max-width: 100vw;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0 28px;
}

.lockup {
  width: min(340px, 78vw);
  height: auto;
}

.lead {
  margin: 28px 20px 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-align: center;
}

.modes {
  margin: 8px 20px 0;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.stores {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.stores a {
  display: block;
  width: 144px;
  height: 44px;
  overflow: hidden;
  border-radius: 9px;
  background: #000;
  line-height: 0;
}

.stores img {
  display: block;
  width: 144px;
  height: 44px;
  object-fit: cover;
  object-position: center;
}

.company {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 18px 0 0;
  padding: 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: min(12px, 1.9vw);
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.company a {
  color: inherit;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 36px 0 0;
  padding: 4px 12px 8px;
  list-style: none;
}

@media (min-width: 780px) {
  .phones {
    grid-template-columns: repeat(3, minmax(0, 230px));
  }
}

.phones li {
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(12px, 3.2vw, 28px);
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 47, 65, 0.16);
}

.phones img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

