/* -------- Base reset -------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
  position: relative;
}

/* -------- Side background -------- */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 400px;
  pointer-events: none;
  z-index: -1;
}

body::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.08),
    transparent
  );
}

body::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.08),
    transparent
  );
}

/* -------- Layout -------- */

main {
  max-width: 720px;
  padding: 2rem 1.5rem;
  margin: 0 auto;
}

/* -------- Typography -------- */

h1,
h2,
h3 {
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
  margin-top: 0;
}

h2 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1.2rem 0;
}

ul,
ol {
  margin: 0 0 1.5rem 1.2rem;
  padding: 0;
}

li {
  margin-bottom: 0.4rem;
}

/* -------- Links -------- */

a {
  color: #111;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* -------- Sections -------- */

section {
  margin-bottom: 3rem;
}

/* -------- Forms -------- */

form {
  margin-top: 2rem;
}

label {
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  margin-top: 0.3rem;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}

/* -------- Header -------- */


header {
  border-bottom: 1px solid #e5e5e5;
}

.site-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left a {
  margin-right: 1.2rem;
  text-decoration: none;
  font-weight: 500;
}

.nav-left a:last-child {
  margin-right: 0;
}

.nav-left a:hover {
  text-decoration: underline;
}

.nav-right {
  font-size: 0.9rem;
}

/* -------- Footer -------- */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid #e5e5e5;
  color: #666;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.85rem;
  text-align: center;

}

/* -------- Language switcher -------- */

.lang-switcher a {
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.7;
}

.lang-switcher a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* -------- Hero -------- */

.hero {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.hero h1 {
  max-width: 28ch;
}

.hero p {
  max-width: 55ch;
}

.hero a {
  display: inline-block;
  margin-top: 1.5rem;
}

/* -------- Content blocks -------- */

section {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

section:last-of-type {
  border-bottom: none;
}

/* -------- About -------- */

.about-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.about img {
  width: 100%;
  border-radius: 6px;
}

.about h2 {
  margin-top: 0;
}

