:root {
  --pending-black: #050505;
  --pending-white: #ffffff;
  --pending-slate: #5b5e6a;
  --pending-border: #e3e6ef;
  --pending-green: #0c894e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pending-black);
  background: #fdfdfd;
  line-height: 1.55;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.section {
  padding: 4.5rem 0;
}

.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--pending-border);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.header-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.header-nav ul,
.hero-bottom ul,
.footer-bottom--text {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav ul {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header-nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-blue {
  background: var(--pending-black);
  color: var(--pending-white);
}

.btn-white {
  background: var(--pending-white);
  color: var(--pending-black);
  border: 1px solid var(--pending-border);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(5, 5, 5, 0.08);
  color: inherit;
}

.hero-area {
  background: linear-gradient(180deg, #fefefe 0%, #f6f8fb 100%);
  padding-top: 7rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-inner h5 {
  font-weight: 500;
  color: var(--pending-slate);
}

.hero-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-bottom li {
  background: var(--pending-black);
  color: var(--pending-white);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-bottom img.small-check {
  width: 16px;
  height: 16px;
}

.doc-area .block-header {
  background: var(--pending-white);
  border: 1px solid var(--pending-border);
  border-radius: 1.4rem;
  padding: 2.5rem;
  box-shadow: 0 30px 45px rgba(12, 22, 41, 0.05);
}

.doc-area h1 {
  font-size: 2rem;
}

.demo-area {
  background: #11131f;
  color: var(--pending-white);
  border-radius: 1.5rem;
  margin: 3rem 1rem 4rem;
  padding: 3.5rem;
}

.demo-area .pretitle {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--pending-green);
}

.demo-book {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  padding: 2rem;
}

.footer {
  background: #05060a;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3rem;
}

.legal-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-footer-brand {
  flex: 1 1 260px;
  max-width: 360px;
}

.legal-footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.legal-footer-brand p {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-footer-links {
  flex: 2 1 420px;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer-nav-col p {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col a {
  color: var(--pending-white);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-nav-col a:hover,
.footer-nav-col a:focus-visible {
  opacity: 1;
}

.footer-nav-col li span {
  opacity: 0.55;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 0;
}

.footer-bottom--text {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-bottom--text a {
  color: var(--pending-white);
  opacity: 0.8;
}

.footer-bottom--text a:hover {
  opacity: 1;
}

.modal-content {
  border-radius: 1.5rem;
  border: none;
  box-shadow: 0 24px 60px rgba(15, 15, 40, 0.15);
}

.modal-content-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-content-head h3 {
  margin-bottom: 0.25rem;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  border: 1px solid var(--pending-border);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--pending-black);
  box-shadow: 0 0 0 4px rgba(5, 5, 5, 0.08);
}

.typing-container {
  font-weight: 600;
}

.sentence {
  white-space: pre-line;
}

.border-bottom {
  border-bottom: 1px solid var(--pending-border);
}

.small-check {
  display: inline-block;
}

@media (max-width: 991px) {
  .header-nav ul {
    display: none;
  }

  .hero-bottom ul {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-area {
    margin: 2rem 0 3rem;
    padding: 2.5rem;
  }

  .legal-footer-links {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 600px) {
  .header-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero-area {
    padding-top: 5rem;
  }

  .doc-area .block-header {
    padding: 1.6rem;
  }

  .legal-footer-top {
    padding: 2.4rem 0;
  }

  .legal-footer-links {
    grid-template-columns: minmax(160px, 1fr);
  }
}
