@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/cormorant-garamond-cyrillic-400-normal.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("assets/fonts/manrope-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fbf8f4;
  --cream: #f1e6db;
  --caramel: #a98260;
  --button: #8d6b52;
  --button-hover: #795943;
  --line: #cfb79f;
  --ink: #28231f;
  --muted: #76685d;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.placeholder-page {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 5.75rem) clamp(1.5rem, 7vw, 5rem) 3.25rem;
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(338px, 72vw);
  height: auto;
}

.heading-group {
  display: flex;
  max-width: 820px;
  flex-direction: column;
  align-items: center;
  margin-top: 3.2rem;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.6rem, 8.4vw, 7.4rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.yarn-mark {
  width: min(232px, 50vw);
  height: auto;
  margin-top: 1.35rem;
  color: var(--caramel);
}

.intro {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.opening {
  width: min(700px, 100%);
  margin-top: 3.35rem;
  padding: 2.55rem clamp(1.25rem, 5vw, 3.25rem) 2.7rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.opening h2 {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.opening p {
  max-width: 530px;
  margin: 1.15rem auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.avito-button {
  display: inline-flex;
  min-width: min(340px, 100%);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.6rem;
  padding: 0.78rem 1.85rem;
  border: 1px solid var(--button);
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.avito-button:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
  transform: translateY(-1px);
}

.external-arrow {
  color: var(--caramel);
}

.avito-button .external-arrow {
  color: currentColor;
}

.links {
  width: min(700px, 100%);
  margin-top: 2.65rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.1rem;
}

.social-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.social-mark {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--caramel);
}

.social-mark svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.max-mark {
  font-size: 0.72rem;
  font-weight: 500;
}

.social-name {
  padding-bottom: 0.16rem;
  border-bottom: 1px solid var(--caramel);
}

.social-link:hover .social-name {
  border-bottom-color: var(--ink);
}

.email {
  margin: 1.85rem 0 0;
}

.email a {
  color: var(--ink);
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: var(--caramel);
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
  text-underline-offset: 0.38em;
}

.author {
  display: flex;
  flex-direction: column;
  margin-top: 2.45rem;
  color: var(--muted);
  line-height: 1.6;
}

.author strong {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-weight: 500;
}

a:focus-visible {
  outline: 2px solid var(--button);
  outline-offset: 5px;
}

@media (max-width: 480px) {
  .content {
    padding: 2.8rem 1.25rem 2.3rem;
  }

  .brand-logo {
    width: min(260px, 88vw);
  }

  .heading-group {
    margin-top: 2.65rem;
  }

  h1 {
    font-size: clamp(3.35rem, 14vw, 4.15rem);
    line-height: 0.92;
  }

  .yarn-mark {
    width: min(194px, 58vw);
    margin-top: 1.1rem;
  }

  .intro {
    max-width: 330px;
    margin-top: 1.1rem;
  }

  .opening {
    margin-top: 2.65rem;
    padding: 2rem 1rem 2.1rem;
  }

  .avito-button {
    width: min(330px, 100%);
    min-width: 0;
  }

  .socials {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
