@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1f1f1f;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 19px;
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171717;
    --text: #ffffff;
  }
}

.page {
  display: flex;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  padding: 28px 26px;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.text-block p {
  margin: 0;
}

.text-block strong {
  font-weight: 700;
}

.contacts {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 800px) {
  .page {
    flex-direction: column;
    padding: 16px;
  }

  .text-block {
    gap: 8px;
    max-width: 100%;
  }

  .contacts {
    align-items: flex-start;
    margin-top: auto;
    text-align: left;
  }
}
