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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

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

#page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
   min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

#topbar,
#main,
#footer {
  width: 100%;
  box-sizing: border-box;
}

#topbar {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  background: #ffffff;
}

.open-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;

  line-height: 1;
  text-align: left;

  transform: none;

  padding-top: 1px;
}

.open-logo-top {
  font-size: 11px;
  font-weight: 400;
  color: #747474;
  line-height: 1;
  letter-spacing: 0.6em;
  margin-bottom: 4px;
  padding: 0 20px 0 5px;

}

.open-logo-main {
  display: inline-block;
  background: #e6e6e6;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 0.86;
  text-align: left;
  padding: 5px 7px 4px 5px;
}

.menu-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #111111;
}

.menu-toggle:hover {
  background: #f7f7f7;
}

#main {
  flex: 1;
  padding: 15px 16px 40px;
  background: #ffffff;
}

.open-page {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.open-page h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

#footer {
  border-top: 1px solid #ececec;
  background: #ffffff;
}

.footer-inner {
  padding: 16px;
  display: flex;
  justify-content: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.5;
  color: #777777;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* MENU */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  z-index: 11900;
  transition: opacity 0.25s ease;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  max-width: 82vw;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e5e5e5;
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 12000;
  transition: right 0.25s ease;
  overflow-y: auto;
  padding: 28px 20px 24px;
}

body.menu-open .menu-panel {
  right: 0;
}

body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}

.menu-nav a:hover,
.menu-nav a.is-active {
  background: #f5f5f5;
}

.menu-nav a.is-active {
  font-weight: 700;
}

/* MOBILE */

@media (max-width: 640px) {
  .topbar-inner {
    grid-template-columns: 1fr 48px;
    min-height: 48px;
    padding: 0 12px;
  }

  #main {
    padding: 5px 10px 32px;
  }

  .open-page {
    max-width: 350px;
  }

  .open-logo-top {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .open-logo-main {
    font-size: 15px;
    padding: 4px 7px 4px 7px;
  }

  .menu-panel {
    width: 280px;
    max-width: 86vw;
    padding: 20px 16px;
  }

  .open-page h1 {
    font-size: 28px;
  }
}
.footer-separator {
  color: #bdbdbd;
}

.footer-links a.is-active {
  color: #111111;
  font-weight: 600;
}



/* HERO */

.hero {
  width: 100%;
  max-width: 460px;

  margin: 40px auto 0;

  text-align: left;
}

.hero-title {
  margin: 0 0 34px;

  font-size: 55px;
  line-height: 0.9;
  font-weight: 900;

  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero-text {
  margin: 0 0 42px;

  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;

  letter-spacing: -0.03em;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-input {
  width: 100%;
  height: 86px;

  padding: 0 28px;

  border: 1px solid #dddddd;
  border-radius: 28px;

  background: #ffffff;

  font-size: 16px;
  font-weight: 500;

  outline: none;
}

.hero-input::placeholder {
  color: #8f8f8f;
}

.hero-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 86px;

  border: none;
  border-radius: 28px;

  background: #000000;
  color: #ffffff;

  font-size: 18px;
  font-weight: 800;

  letter-spacing: -0.03em;

  cursor: pointer;

  text-align: center;
  text-decoration: none;
}


.hero-outline-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 74px;

  margin: 0 0 28px;

  border: 1px solid rgba(0,0,0,.14);
  border-radius: 20px;

  background: #ffffff;
  color: #111111;

  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;

  text-align: center;
  text-decoration: none;

  cursor: pointer;
}

.hero-not-found-text {
  margin-top: 4px;
}



/* MOBILE */

@media (max-width: 640px) {

  .hero {
    max-width: 340px;
    margin-top: 33px;
  }

  .hero-title {
    margin-bottom: 28px;

    font-size: 42px;
    line-height: 0.92;
  }

  .hero-text {
    margin-bottom: 34px;

    font-size: 16px;
    line-height: 1.45;
  }

  .hero-input,
  .hero-button {
    height: 74px;

    border-radius: 24px;
  }

}


.open-doc {
  width: 100%;
  max-width: 600px;

  margin: 0 auto;
}

.open-doc-title {
  margin: 0 0 36px;

  font-size: 40px;
  line-height: 0.95;
  font-weight: 900;

  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.open-doc-section {
  margin-bottom: 38px;
}

.open-doc-section h2 {
  margin: 0 0 14px;

  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;

  letter-spacing: -0.03em;
}

.open-doc-section p,
.open-doc-section li {
  font-size: 16px;
  line-height: 1.72;

  color: #1a1a1a;

  letter-spacing: -0.02em;
}

.open-doc-section p {
  margin: 0 0 16px;
}

.open-doc-section ul {
  margin: 0;
  padding-left: 18px;
}

.open-doc-section li {
  margin-bottom: 10px;
}

@media (max-width: 640px) {

  .open-doc {
    max-width: 100%;

    padding-left: 8px;
    padding-right: 4px;
  }
    
  .open-doc-title {
    margin-bottom: 30px;

    font-size: 30px;
    line-height: 0.98;
  }

  .open-doc-section {
    margin-bottom: 34px;
  }

  .open-doc-section p,
  .open-doc-section li {
    font-size: 15px;
    line-height: 1.68;
  }

    .open-doc-title {
    margin-top: 12px;
  }

}



.footer-login-link {
  display: inline-block;

  padding: 2px 8px;

  border-radius: 6px;

  background: #f5f5f5;
  border: 0px solid #e8e8e8;

  color: #111111;
}