@font-face {
  font-family: "Gigavibe Regular";
  src: url("/assets/gigavibe-regular.woff2") format("woff2");
  font-display: swap;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: inherit;
}

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

:root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Gigavibe Regular", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Landing page */
.landing-page {
  background: none;
  color: #000;
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-frame {
  height: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.landing-bg {
  background-image: url("/assets/background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 252px;
  justify-content: center;
  left: 11px;
  position: absolute;
  right: 12px;
  text-align: center;
  top: 217px;
  z-index: 1;
}

.hero-copy p {
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
  color: #000;
  white-space: normal;
}

.logo-wrap {
  height: 155px;
  left: calc(50% - 182px);
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 364px;
}

.logo-canvas {
  height: 200px;
  left: 52.1368%;
  position: absolute;
  top: 46.6667%;
  transform: translate(-50%, -50%);
  width: 200px;
}

.logo-fallback {
  height: 200px;
  left: 50%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
}

.logo-wrap.has-rive .logo-fallback {
  display: none;
}

.logo-wrap.no-rive .logo-canvas {
  display: none;
}

.store-zone {
  align-items: center;
  display: flex;
  height: 337px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  top: 500px;
}

.store-inner {
  height: 337px;
  overflow: hidden;
  position: relative;
  width: 1196px;
}

.store-link {
  display: block;
  height: 40px;
  overflow: hidden;
  position: absolute;
  text-decoration: none;
  width: 120px;
}

.store-link img {
  display: block;
  height: 40px;
  image-rendering: pixelated;
  width: 120px;
}

.store-link-google-desktop {
  bottom: 70px;
  left: 612px;
}

.store-link-google-mobile {
  display: none;
}

.store-link-app {
  bottom: 70px;
  left: 466px;
}

.qr-card {
  background: #fff;
  border: 2px solid #000;
  border-radius: 21px;
  box-shadow: -4px 5px 0 3px #000;
  height: 152px;
  left: calc(50% - 76px);
  overflow: hidden;
  position: absolute;
  top: 17px;
  width: 152px;
}

.qr-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.site-footer {
  align-items: center;
  background: #000;
  display: flex;
  height: 118px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  top: 882px;
  z-index: 2;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: #fff;
  font-size: 30px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ccc;
}

/* Legal pages */
.legal-page {
  background: #fff;
  color: #111;
  min-height: 100vh;
}

.legal-shell {
  margin: 0 auto;
  max-width: 1200px;
  min-height: 100vh;
}

.legal-header {
  align-items: center;
  border-bottom: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 16px 20px 14px;
}

.legal-logo {
  height: 94px;
  left: auto;
  position: relative;
  top: auto;
  width: 220px;
}

.legal-logo .logo-canvas,
.legal-logo .logo-fallback {
  height: 140px;
  width: 140px;
}

.legal-nav {
  display: flex;
  gap: 18px;
}

.legal-nav a {
  color: #222;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  text-decoration: none;
}

.legal-nav a[aria-current="page"] {
  font-weight: 700;
}

.legal-main {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin: 18px auto;
  padding: 28px 28px 36px;
  width: min(1120px, 96vw);
}

.policy-content {
  color: #111;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.58;
}

.policy-content .main-header h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  margin: 0 0 10px;
}

.policy-content .main-header p {
  font-size: 16px;
  margin: 0 0 10px;
}

.policy-content .main-header__meta {
  color: #666;
  font-size: 14px;
}

.policy-content h2 {
  border-top: 1px solid #ececec;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  margin: 30px 0 12px;
  padding-top: 22px;
}

.policy-content h3 {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.3;
  margin: 22px 0 10px;
}

.policy-content h4 {
  font-size: 18px;
  line-height: 1.35;
  margin: 20px 0 8px;
}

.policy-content p {
  margin: 0 0 12px;
}

.policy-content ul,
.policy-content ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content a {
  color: #1746d4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content details {
  border: 1px solid #ececec;
  border-radius: 10px;
  margin: 12px 0;
  padding: 10px 12px;
}

.policy-content summary {
  cursor: pointer;
  font-weight: 600;
}

.policy-content .table-of-content-btn-wrapper,
.policy-content .card-buttons-group,
.policy-content .iub-manage-preferences-btn,
.policy-content .iub-manage-preferences-container {
  display: none !important;
}

@media (max-width: 1199.98px) {
  .landing-frame {
    height: 1003px;
    width: min(390px, 100vw);
  }

  .hero-copy {
    left: 0;
    right: 0;
    top: 217px;
  }

  .hero-copy p {
    font-size: 15.617px;
    max-width: 367px;
  }

  .store-zone {
    height: 142px;
    top: 425px;
    z-index: 1;
  }

  .store-inner {
    align-items: center;
    display: flex;
    gap: 14px;
    height: 181px;
    justify-content: center;
    overflow: visible;
    width: auto;
  }

  .store-link {
    bottom: auto;
    left: auto;
    position: relative;
  }

  .store-link-google-desktop {
    display: none;
  }

  .store-link-google-mobile {
    display: block;
    order: 1;
  }

  .store-link-app {
    order: 0;
  }

  .qr-card {
    display: none;
  }

  .site-footer {
    top: 887px;
  }

  .legal-main {
    border-radius: 12px;
    margin: 12px auto;
    padding: 20px 16px 28px;
    width: 97vw;
  }

  .legal-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
  }
}
