html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --font: "Onest", sans-serif;
  --font2: "Inter", sans-serif;
  --base: #161616;
  --white: #FFFFFF;
  --minor: rgba(6, 18, 48, 0.04);
  --divider: #EAEAEA;
  --divider2: #CFCFCF;
  --gray: #999999;
}

* {
  box-sizing: border-box;
  text-decoration: none;
  word-break: break-word;
}

*:hover,
*:focus {
  outline: 0;
}

body {
  background: var(--white);
  font: 400 18px/1.4 var(--font);
  color: var(--base);
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body::-webkit-scrollbar {
  width: 10px;
  height: 0;
  background: var(--white);
}

body::-webkit-scrollbar-thumb {
  width: 10px;
  background: var(--base);
  border-radius: 10px;
}

body.hidden {
  overflow: hidden;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-width: thin;
    scrollbar-color: var(--base) var(--white);
  }
}

#app {
  min-height: 100vh;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}

.wrapper {
  width: 100%;
  max-width: 1272px;
  padding: 0 16px;
  margin: 0 auto;
}

.overflowH {
  overflow: hidden;
}

a {
  color: var(--base);
  transition: 0.25s;
}

button {
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  font: 400 16px/1.4 var(--font);
  letter-spacing: 0.02em;
  color: var(--base);
  cursor: pointer;
  transition: 0.25s;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
}

svg {
  transition: 0.25s;
}

strong {
  font-weight: 500;
}

h1,
.h1 {
  text-transform: uppercase;
  font: 600 40px/1.15 var(--font2);
}

h2,
.h2 {
  text-transform: uppercase;
  font: 600 28px/1.15 var(--font2);
}

h3,
.h3 {
  text-transform: uppercase;
  font: 600 22px/1.35 var(--font2);
}

h4,
.h4 {
  text-transform: uppercase;
  font: 600 18px/1.35 var(--font2);
}

.btn {
  max-width: 100%;
  min-height: 48px;
  background: var(--base);
  border: 1px solid var(--base);
  border-radius: 10px;
  padding: 8px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 500 16px/1.4 var(--font);
  letter-spacing: 0.02em;
  color: var(--white);
  cursor: pointer;
  transition: 0.25s;
}

.btn_f {
  width: 100%;
}

.btn_white {
  background: var(--white);
  border-color: var(--white);
  color: var(--base);
}

input {
  width: 100%;
  height: 48px;
  background: var(--minor);
  border: 1px solid var(--divider2);
  border-radius: 10px;
  padding: 0 16px;
  font: 400 16px/1.4 var(--font);
  color: var(--white);
}

input::placeholder {
  font: 400 16px/1.4 var(--font);
  color: var(--gray);
}

input:focus {
  border-color: var(--white);
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.textBlock h1,
.textBlock h2 {
  margin-top: 64px;
  margin-bottom: 24px;
}

.textBlock h1:last-child,
.textBlock h2:last-child {
  margin-bottom: 0;
}

.textBlock h1:first-child,
.textBlock h2:first-child {
  margin-top: 0;
}

.textBlock h3,
.textBlock h4 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.textBlock h3:last-child,
.textBlock h4:last-child {
  margin-bottom: 0;
}

.textBlock h3:first-child,
.textBlock h4:first-child {
  margin-top: 0;
}

.textBlock h5,
.textBlock h6 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.textBlock h5:last-child,
.textBlock h6:last-child {
  margin-bottom: 0;
}

.textBlock h5:first-child,
.textBlock h6:first-child {
  margin-top: 0;
}

.textBlock p {
  margin-bottom: 12px;
}

.textBlock p:last-child {
  margin-bottom: 0;
}

.textBlock a {
  color: var(--base);
}

.textBlock a:hover {
  text-decoration: underline;
}

.textBlock ul {
  margin-bottom: 16px;
}

.textBlock ul:last-child {
  margin-bottom: 0;
}

.textBlock ul li {
  display: block;
  position: relative;
  padding-left: 24px;
  margin-bottom: 4px;
}

.textBlock ul li:last-child {
  margin-bottom: 0;
}

.textBlock ul li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--base);
}

.textBlock ol {
  list-style-type: decimal;
  margin-left: 24px;
  margin-bottom: 16px;
}

.textBlock ol:last-child {
  margin-bottom: 0;
}

.textBlock ol li {
  margin-bottom: 4px;
}

.textBlock ol li:last-child {
  margin-bottom: 0;
}

.mainBlock {
  display: grid;
  grid-gap: 40px;
  grid-template-columns: 1fr;
}

.hero {
  background: var(--minor);
  border: 5px solid var(--base);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -28px;
  left: 24px;
  width: 274px;
  height: 456px;
  background: url("../img/hero-before.svg") no-repeat;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -28px;
  right: 24px;
  width: 274px;
  height: 456px;
  background: url("../img/hero-after.svg") no-repeat;
  background-size: cover;
  background-position: center;
}

.hero__logo {
  position: relative;
  z-index: 2;
  width: 402px;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.hero__logo img {
  width: 100%;
}

.hero__ttl {
  position: relative;
  z-index: 2;
  max-width: 786px;
}

.devBl {
  background: var(--minor);
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
}

.devBl__ic {
  flex-shrink: 0;
  width: 151px;
  margin-right: 40px;
}

.devBl__cnt {
  width: 100%;
}

.devBl__ttl {
  margin-bottom: 16px;
}

.devBl__ttl:last-child {
  margin-bottom: 0;
}

.formSection {
  margin: auto;
  margin-bottom: 0;
  width: 100%;
  padding-top: 40px;
}

.ctaForm {
  background: var(--base);
  border: 1px solid #464646;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  color: var(--white);
}

.ctaForm__ttl {
  margin-bottom: 16px;
}

.ctaForm__ttl:last-child {
  margin-bottom: 0;
}

.ctaForm__txt {
  font-size: 16px;
}

.ctaForm__form {
  display: grid;
  grid-gap: 16px;
  grid-template-columns: 1fr;
}

.ctaForm__fields {
  display: grid;
  grid-gap: 12px;
  grid-template-columns: 1fr;
}

.ctaForm__agree {
  font-size: 14px;
}

.ctaForm__agree a {
  color: var(--white);
}

.pageTitle {
  margin-bottom: 40px;
}

.thanks {
  min-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thanks__ttl {
  margin-bottom: 12px;
}

.thanks__txt {
  margin-bottom: 32px;
}

@media (width < 1199px) {
  body {
    font-size: 14px;
  }

  #app {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  button {
    font-size: 14px;
  }

  h1,
  .h1 {
    font-size: 26px;
  }

  h2,
  .h2 {
    font-size: 26px;
  }

  h3,
  .h3 {
    font-size: 20px;
  }

  h4,
  .h4 {
    font-size: 16px;
  }

  .btn {
    min-height: 44px;
    padding: 4px 16px;
    font-size: 14px;
  }

  input {
    height: 44px;
    padding: 0 12px;
  }

  .textBlock ul li::before {
    top: 8px;
  }

  .mainBlock {
    grid-gap: 24px;
  }

  .hero {
    border-width: 3px;
    padding: 32px 20px;
    gap: 24px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero__logo {
    width: 232px;
  }

  .devBl {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .devBl__ic {
    width: 100px;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .formSection {
    padding-top: 24px;
  }

  .ctaForm {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .ctaForm__ttl {
    margin-bottom: 12px;
  }

  .ctaForm__txt {
    font-size: 14px;
  }

  .ctaForm__agree {
    text-align: center;
    font-size: 12px;
  }

  .pageTitle {
    margin-bottom: 20px;
  }

  .thanks {
    min-height: calc(100dvh - 36px);
  }
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--base);
  }

  .btn:hover {
    background: transparent;
    color: var(--base);
  }

  .btn_white:hover {
    background: transparent;
    color: var(--white);
  }

  .ctaForm__agree a:hover {
    color: var(--white);
    text-decoration: underline;
  }
}