@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@500;600;700;800&display=swap");

@font-face {
  font-family: "Manrope";
  src: url("/assets/happ/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #171717;
  --bg-soft: #2b2b2b;
  --surface: #2b2b2b;
  --surface-soft: #343434;
  --surface-strong: #101010;
  --text: #ffffff;
  --text-soft: #c7c7c7;
  --line: #3f3f3f;
  --line-strong: #585858;
  --accent: #ffffff;
  --accent-2: #a9a9a9;
  --accent-ink: #000000;
  --radius-sm: 13px;
  --radius: 22px;
  --radius-lg: 28px;
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.32);
  --shadow-hard: 0 24px 52px rgba(0, 0, 0, 0.5);
  --container: 1180px;
  --pad: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font: 500 17px/1.65 "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 450px at 10% -18%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(780px 420px at 90% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    linear-gradient(180deg, #151515 0%, #1f1f1f 40%, #111111 100%);
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85), transparent 86%);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 13px;
  border-radius: 12px;
}

.skip-link:focus {
  left: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(23, 23, 23, 0.84);
  border-bottom: 1px solid rgba(88, 88, 88, 0.5);
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: #232323;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  padding: 2px;
}

.brand__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.brand__text {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d7d7d7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 12px;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

.btn--primary {
  background: linear-gradient(140deg, #ffffff, #cfcfcf);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.24);
}

.hero {
  padding: 108px 0 76px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 24px;
  align-items: stretch;
}

.hero__panel,
.hero__aside {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(280px 180px at 92% 0, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(160deg, #2d2d2d, #222222);
  box-shadow: var(--shadow-hard);
}

.hero__panel {
  position: relative;
  overflow: hidden;
  padding: 38px;
}

.hero__panel::after {
  content: "";
  position: absolute;
  right: -92px;
  top: -88px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.13), transparent 70%);
  pointer-events: none;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d3d3d3;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 13px;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.1vw, 54px);
  line-height: 1.08;
}

.hero__lead {
  margin: 0 0 25px;
  color: var(--text-soft);
  max-width: 62ch;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__download-btn {
  min-height: 96px;
  padding: 0 44px;
  border-radius: 20px;
  font-size: 30px;
  letter-spacing: 0.01em;
  gap: 12px;
  box-shadow: 0 18px 34px rgba(255, 255, 255, 0.28);
}

.hero__download-btn .ui-icon--inline {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 9px;
}

.hero__download-btn .ui-icon--inline svg {
  width: 16px;
  height: 16px;
}

.hero__aside {
  padding: 30px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.hero__aside h2 {
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.2;
}

.hero__aside p {
  margin: 0;
  color: var(--text-soft);
}

.hero__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.hero__aside li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #ececec;
}

.breadcrumbs {
  padding: 0 0 10px;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9e9e9e;
  font-size: 14px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #707070;
}

.breadcrumbs a:hover {
  color: #fff;
}

.section {
  padding: 86px 0;
}

.section__heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 26px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(29px, 2.8vw, 43px);
  line-height: 1.16;
}

.section__lead {
  margin: 0;
  color: var(--text-soft);
  max-width: 72ch;
}

.ui-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(155deg, #404040, #2a2a2a);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.ui-icon svg {
  width: 20px;
  height: 20px;
}

.ui-icon--inline {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ui-icon--inline svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.1;
}

.btn .ui-icon--inline {
  color: currentColor;
}

.btn--primary .ui-icon--inline {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(170deg, #2c2c2c, #222222);
  box-shadow: var(--shadow-soft);
}

.metric__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.metric__label {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}

.metric__value {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.06;
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, #2d2d2d, #242424);
  box-shadow: var(--shadow-soft);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 20px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.card__link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
}

.card__link::after {
  content: "↗";
  font-size: 13px;
  line-height: 1;
  opacity: 0.9;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.split__box {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, #2d2d2d, #242424);
  box-shadow: var(--shadow-soft);
}

.split__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}

.split__box h3 {
  font-size: 20px;
  line-height: 1.3;
}

.split__box p {
  margin: 0;
  color: var(--text-soft);
}

.split__box ul {
  margin: 0;
  padding-left: 19px;
  display: grid;
  gap: 10px;
  color: #dfdfdf;
}

.checklist {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(180deg, #2d2d2d, #242424);
  box-shadow: var(--shadow-soft);
}

.checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  color: #f0f0f0;
}

.checklist li .ui-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.checklist li .ui-icon svg {
  width: 18px;
  height: 18px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #2d2d2d, #242424);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #f5f5f5;
}

.faq__q .ui-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.faq__chevron {
  display: inline-flex;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.faq__chevron .ui-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.faq details[open] .faq__chevron {
  transform: rotate(90deg);
}

.faq details > div {
  padding: 0 20px 18px 66px;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, #2d2d2d, #242424);
  box-shadow: var(--shadow-soft);
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.contact-card h3 {
  font-size: 20px;
  line-height: 1.25;
}

.contact-card p {
  margin: 0;
  color: var(--text-soft);
}

.contact-card strong {
  display: block;
  margin-top: 9px;
  font-size: 17px;
}

.policy {
  display: grid;
  gap: 18px;
}

.policy__section {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, #2d2d2d, #242424);
  box-shadow: var(--shadow-soft);
}

.policy__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.policy__section h3 {
  font-size: 20px;
  line-height: 1.25;
}

.policy__section p {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.policy__meta {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 10px;
}

.final-cta {
  padding: 52px 0 96px;
}

.final-cta__inner {
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 34px;
  background:
    radial-gradient(280px 140px at 10% 0, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(145deg, #2e2e2e, #1f1f1f);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta__content {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px 14px;
  max-width: 740px;
}

.final-cta__content .ui-icon {
  width: 46px;
  height: 46px;
}

.final-cta__content h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
}

.final-cta__content p {
  margin: 0;
  color: var(--text-soft);
  grid-column: 2;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid rgba(88, 88, 88, 0.7);
  padding: 44px 0 52px;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.84), rgba(15, 15, 15, 0.94));
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 20px;
  color: #fff;
}

.footer-copy {
  margin: 8px 0 0;
  color: #b6b6b6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
}

.footer-links a {
  color: #b6b6b6;
  font-weight: 700;
}

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

main > * {
  animation: rise-in 0.45s ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --pad: 16px;
  }

  .header-row {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: rgba(20, 20, 20, 0.98);
    border-bottom: 1px solid rgba(88, 88, 88, 0.78);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav__links a {
    padding: 11px 13px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .hero__panel,
  .hero__aside,
  .final-cta__inner {
    padding: 24px;
  }

  .section {
    padding: 62px 0;
  }

  .cards,
  .metrics,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq details > div {
    padding-left: 20px;
  }

  .final-cta__content {
    grid-template-columns: 1fr;
  }

  .final-cta__content p {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .section h2 {
    font-size: clamp(25px, 8vw, 33px);
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .final-cta__actions {
    width: 100%;
  }

  .hero__download-btn {
    min-height: 88px;
    font-size: 26px;
    padding: 0 28px;
  }

  .section__heading {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }

  .section__heading .ui-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
