/* =========================
   Base
   ========================= */

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  /* Default background (Blue - Default) */
  background: #0047ab;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}

/* Page container:
   - 15px spacing from left/right
   - keeps content centered on large screens */
.page {
  /* Layout width (1471px) + 15px left padding + 15px right padding */
  max-width: 1501px;
  margin: 0 auto;
  padding: 0 0px;
}

/* =========================
   Top Banner
   =========================
   Background image: assets/Contents/Top Banner/Background.png
*/

.top-banner {
  position: relative;
  margin-top: 0px;
  /* Full-bleed banner (no side gaps even on wide screens) */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 1471 / 896;
  overflow: hidden;
  background-color: #0047ab;
  background-image: linear-gradient(193deg, #0047ab 44.96%, #003785 97.54%);
}

/* Background layer only (keeps future banner content at full opacity) */
.top-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: url("./Contents/Top Banner/Background.png") 0 0 / 100% 104.632%
    no-repeat;
}

.top-banner__content {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* Top Banner - iPhone Mockup Image
*/
.top-banner__phone {
  position: absolute;
  top: 183.68px;
  right: 186.63px;
  width: 260.924px;
  height: 620.347px;
  display: block;
  object-fit: contain;
  z-index: 2;
}

/* Top Banner - iPhone Mockup Image (Back Layer)
*/
.top-banner__phone-back {
  position: absolute;
  top: 99.62px;
  right: 369.18px;
  width: 260.924px;
  height: 620.347px;
  display: block;
  object-fit: contain;
  z-index: 1;
}

/* Top Banner - Title Text (LOGBOOK)
   Positioning (from banner edges):
   - Top: 240px
   - Left: 172px
*/
.top-banner__title {
  position: absolute;
  top: 258px;
  left: 172px;
  margin: 0;
  color: #fff;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 80px;
  font-style: normal;
  font-weight: 800;
  line-height: 90%; /* 72px */
}

/* Top Banner - Subtitle Text (Jobsite Tracker)
   Positioning (from banner edges):
   - Top: 312px
   - Left: 172px (aligned with LOGBOOK)
 */
.top-banner__subtitle {
  position: absolute;
  top: 340px;
  left: 172px;
  margin: 0;
  color: var(--white-ffffff, #fff);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 55px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Top Banner - Tagline Text (Capture happens, when it happens.)
 */
.top-banner__tagline {
  position: absolute;
  left: 172px;
  top: calc(312px + 55px + 80px);
  margin: 0;
  color: var(--white-ffffff, #fff);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Top Banner - Store Badges (Google Play / App Store)
*/
.top-banner__store-badges {
  /*spacing below the tagline */
  --store-badges-offset: 120px;
  --store-button-width: 280px;

  position: absolute;
  left: 160px;
  top: calc(330px + 55px + 32px + 30px + var(--store-badges-offset));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.top-banner__store-link {
  display: inline-flex;
  align-items: center;
  width: var(--store-button-width);
  height: 80px;
  overflow: hidden;
  text-decoration: none;
  transform-origin: left center;
  transition: transform 160ms ease;
}

.top-banner__store-link:hover,
.top-banner__store-link:focus-visible {
  transform: scale(1.03);
}

.top-banner__store-link:active {
  transform: scale(0.99);
}

.top-banner__store-img {
  display: block;
  /* The PNGs already contain the full button styling (background/border/shadow). */
  width: 100%;
  height: 100%;
  /* Use `cover` so the visible button matches 257.25px x 70px (crops extra area). */
  object-fit: cover;
  /* Adjust this if the badge looks vertically clipped (e.g. `50% 35%`). */
  object-position: 50% 50%;
}

/* =========================
   Intro / Description (After Top Banner)
   ========================= */

.intro {
  /* Intro section background */
  background: #e7f1ff;
  /* Full-bleed section background */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* 142px down from the banner + 295px from left/right (desktop layout) */
  padding: 142px 295px 0;
}

.intro__text {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  flex-shrink: 0;
  color: #003785;
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 42px */
}

/* =========================
   Posts (After Intro)
   ========================= */

.posts {
  /* 162px down from the intro (use padding so the section bg covers the gap) */
  padding-top: 162px;
  /* Posts section background */
  background: #e7f1ff;
  /* Full-bleed section background */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* Extra space below the last spiral/post block */
  padding-bottom: 80px;
}

.posts__row {
  display: flex;
  align-items: flex-start;
  /* Keep the post layout consistent on large screens (design is based on a fixed canvas) */
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  /* 82.5px spacing from hard left/right (desktop layout) */
  padding-left: 82.5px;
  padding-right: 82.5px;
  /* Icon/text block is 50px from the spiral */
  gap: 50px;
}

.posts__row + .posts__row {
  /* 60px spacing between post blocks */
  margin-top: 60px;
}

.posts__row--reverse {
  flex-direction: row-reverse;
  padding-left: 82.5px;
  padding-right: 82.5px;
}

/* Posts - Spiral Container
*/
.posts__spiral {
  position: relative;
  margin-left: 0;
  width: 540px;
  height: 700px;
  aspect-ratio: 27 / 35;
  border-radius: 16px;
  overflow: hidden;
}

/* Spiral background layer only (keeps the post card at full opacity)
*/
.posts__spiral::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  border-radius: inherit;
  background: url("./Contents/Posts/spiral.png") lightgray -96.333px 0px /
    135.634% 104.632% no-repeat;
}

/* Posts - Post Card inside Spiral
*/
.posts__post-card {
  position: absolute;
  top: 74px;
  left: 70px;
  width: 400px;
  height: calc(100% - 137px);
  padding-top: 12.308px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12.308px;
  border-radius: 12px;
  background: var(--white-ffffff, #fff);
  overflow: hidden;
  z-index: 1;
}

.posts__post-img {
  display: block;
  width: 100%;
  height: auto;
}

.posts__post-media {
  position: relative;
  width: 100%;
}

/* Posts - Content (Right Side) */
.posts__content {
  width: 685px;
  margin-left: 1px;
}

/* Only when content is on the RIGHT (spiral then content) */
.posts__row > .posts__spiral + .posts__content {
  padding-left: 0px; /* adjust this */
}

/* Posts - Icon Container */
.posts__icon {
  display: flex;
  width: 100px;
  height: 100px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  background: var(--blue-default-0047-ab, #0047ab);
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.12);
}

.posts__icon svg {
  display: block;
}

/* Posts - Title */
.posts__title {
  margin: 32px 0 0;
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* Posts - Description */
.posts__description {
  margin: 32px 0 0;
  width: 685px;
  height: 136px;
  flex-shrink: 0;
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

/* =========================
   Operations Feed (After Posts)
   ========================= */

.operations {
  /* Full-bleed white section (no blue sides) */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  /* Posts already adds 80px below; add another 80px before the title */
  padding-top: 80px;
  /* Extra spacing below the swipeable content before the next section */
  padding-bottom: 94px;
  position: relative;

  padding-left: 64px;
  padding-right: 64px;
}

.operations__title {
  margin: 0;
  width: 724px;
  color: var(--d-gray-primary-404040, #404040);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.operations__body {
  margin-top: 56px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.operations__description {
  margin: 0;
  width: 360px;
  flex: 0 0 360px;
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.operations__carousel {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  margin-top: 0;
  padding-left: 40px;
  padding-right: 40px;
}

.operations__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 40px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  position: relative;
  z-index: 0;
}

.operations__track::-webkit-scrollbar {
  height: 8px;
}

.operations__track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

/* Right-side fade so the last card/title can overlap under it */
.operations__carousel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 72%);
}

.operations__card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 330.006px;
}

.operations__card-media {
  display: flex;
  width: 330.006px;
  height: 330.006px;
  padding: 114.694px 114.7px 114.7px 114.694px;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
  border-radius: 16px;
}

.operations__card-title {
  margin: 16.1px 0 0;
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 24.147px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.operations__next {
  position: absolute;
  right: 40px;
  top: 165px; /* half of card height (330px) */
  transform: translateY(-50%);
  z-index: 2;
  width: 55px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.operations__next-icon {
  display: block;
  font-size: 34px;
  line-height: 56px;
  color: #333433;
}

/* Operations - Bottom Pointer
   Size: 55px x 72px
   Positioning (design @ 1440px wide):
   - 631px from hard left
   - 754px from hard right
*/
.operations__pointer {
  position: absolute;
  left: 631px;
  bottom: 0;
  width: 55px;
  height: 60px;
}

.operations__pointer svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================
   Logbook - Construction Project Monitoring
   ========================= */

.logbook-monitoring {
  /* Full-bleed section background */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #e7f1ff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.logbook-monitoring__title {
  margin: 0 282.5px;
  color: var(--blue-default-0047-ab, #0047ab);
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.logbook-monitoring__subtitle {
  margin: 8px 419px 0;
  color: var(--black-333433, #333433);
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.logbook-monitoring__description {
  margin: 32px 64px 0;
  margin-left: 80px;
  margin-right: 80px;
  color: var(--black-333433, #333433);
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.logbook-monitoring__paragraph {
  margin: 0;
}

.logbook-monitoring__paragraph + .logbook-monitoring__paragraph {
  margin-top: 28px;
}

.logbook-monitoring__paragraph--strong {
  font-weight: 500;
}

/* Backwards compatibility (older markup used a span for the last line) */
.logbook-monitoring__description-strong {
  font-weight: 500;
}

/* =========================
   Demonstration
   ========================= */

.demonstration {
  /* Full-bleed section background */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #f1efff;
  padding-top: 80px;
  padding-bottom: 125px;
}

.demonstration__title {
  margin: 0 451px;
  color: var(--blue-default-0047-ab, #0047ab);
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.demonstration__subtitle {
  margin: 8px 436px 0;
  color: var(--black-333433, #333433);
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.demonstration__carousel {
  margin-top: 80px;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}

.demonstration__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 40px;
  padding-bottom: 6px; /* room for scrollbar */
}

.demonstration__track::-webkit-scrollbar {
  height: 8px;
}

.demonstration__track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.demonstration__card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 328px;
  height: 450px;
  background: #000;
  border-radius: 12px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.demonstration__next {
  position: absolute;
  right: 40px;
  top: 225px;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.demonstration__next-icon {
  display: block;
  font-size: 34px;
  line-height: 56px;
  color: #333433;
}

/* =========================
   Second banner (After Demonstration)
   =========================
   Background image: assets/Contents/Top Banner/Background2.png
*/

.download-banner {
  position: relative;
  /* Full-bleed banner */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* Match the Top Banner size */
  aspect-ratio: 1471 / 896;
  overflow: hidden;

  background: linear-gradient(193deg, #0047ab 29.43%, #003074 62.7%);
  /* Adjust this to move the artboard image more to the right */
  --download-banner-artboard-shift-x: 235px;
  /* Adjust this to move the artboard image up/down (positive = up) */
  --download-banner-artboard-shift-y: 75px;
}

.download-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./Contents/Top Banner/Background2.png") 0 0 / 100% 100%
    no-repeat;
}

.download-banner__content {
  position: absolute;
  top: 260px;
  left: 80px;
  z-index: 2;
}

.download-banner__kicker {
  margin: 0;
  color: var(--white-ffffff, #fff);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 38.4px */
}

.download-banner__headline {
  margin: 0;
  color: var(--white-ffffff, #fff);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 60px;
  font-style: normal;
  line-height: 120%;
}

.download-banner__brand {
  font-weight: 800;
}

.download-banner__product {
  font-weight: 500;
}

.download-banner__free {
  margin: 24px 0 0;
  display: inline-block;
  color: var(--white-ffffff, #fff);
  font-family: Handycheera, "Comic Sans MS", cursive;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Download Banner - Store Badges (Google Play / App Store)
*/
.download-banner__store-badges {
  margin-top: 110px;
  display: flex;
  align-items: flex-start;
  gap: 22.4px;
  /* The badge PNGs include extra shadow area on the left; shift so the visible button aligns with the text. */
  transform: translateX(-14px);
}

.download-banner__store-link {
  display: inline-flex;
  align-items: center;
  width: 290px;
  height: 100px;
  overflow: hidden;
  text-decoration: none;
  transform-origin: left center;
  transition: transform 160ms ease;
}

.download-banner__store-link:hover,
.download-banner__store-link:focus-visible {
  transform: scale(1.03);
}

.download-banner__store-link:active {
  transform: scale(0.99);
}

.download-banner__store-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Download Banner - Artboard Image (Bottom Right)
   Image: assets/Contents/Top Banner/Artboard.png
   Size: 1070px x 1002.465px
*/
.download-banner__artboard {
  position: absolute;
  right: 0;
  bottom: var(--download-banner-artboard-shift-y);
  width: 1070px; /* Original width */
  height: 700.465px; /* Original height */
  display: block;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  transform: translateX(var(--download-banner-artboard-shift-x)) scale(1.25); /* Scale it 10% bigger */
}

/* =========================
   Frequently Asked Questions (After Second Banner)
   ========================= */

.faq {
  /* Full-bleed white section */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.faq__title {
  margin: 0 298px;
  color: var(--d-gray-primary-404040, #404040);
  text-align: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.faq__list {
  margin-top: 60px;
  padding: 0 40px;
}

.faq__item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.faq__item + .faq__item {
  margin-top: 12px;
}

.faq__question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Hide default disclosure triangle */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: "";
}

.faq__question::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #333433;
  border-bottom: 2px solid #333433;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  flex: 0 0 auto;
}

.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
}

.faq__category {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.faq__category + .faq__category {
  margin-top: 12px;
}

.faq__category-title {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.faq__category-title::-webkit-details-marker {
  display: none;
}

.faq__category-title::marker {
  content: "";
}

.faq__category-title::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #333433;
  border-bottom: 2px solid #333433;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  flex: 0 0 auto;
}

.faq__category[open] > .faq__category-title::after {
  transform: rotate(-135deg);
}

.faq__category-items {
  padding: 0 20px 20px;
}

.faq__answer {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #626262;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  /* Full-bleed footer */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 120px;
  background: #fff;
}

.site-footer__content {
  display: flex;
  align-items: center;
  gap: 28px;
  /* 49.5px spacing from hard top and bottom */
  padding: 49.5px 40px;
}

.site-footer__copyright {
  color: var(--blue-default-0047-ab, #0047ab);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
}

.site-footer__link {
  color: var(--black-333433, #333433);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  text-decoration: underline;
}

.site-footer {
  position: relative;
  overflow: visible;
}

.site-footer__social {
  position: absolute;
  top: 29.5px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer__social-title {
  color: var(--blue-default-0047-ab, #0047AB);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: right;
}

.site-footer__social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 19px;
}

.site-footer__social-link {
  display: inline-flex;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
  background: var(--blue-default-0047-ab, #0047AB);
  border-radius: 999px;
  flex-shrink: 0;
}

.site-footer__social-link svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: auto;
}

.footer-social--viber {
  width: 28px;
  height: 28px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.footer-social--viber svg {
  width: 32px;
  height: 32px;
  color: #fff;
  transform: translateY(-2px);
}

/* ========================= Mobile ========================= */

@media (max-width: 768px) {
  /* Prevent tiny horizontal scrollbars caused by full-bleed (100vw) sections */
  body {
    overflow-x: hidden;
  }

  /* =========================
     Top Banner
     ========================= */

  .top-banner {
    /* The desktop banner is sized for a 1471px canvas; on mobile give it real height */
    aspect-ratio: auto;
    min-height: 640px;
  }

  .top-banner {
    /* Flexible height for mobile */
    aspect-ratio: auto;
    min-height: 350px;
  }

  .top-banner__content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding: 100px 15px 30px;
  }

  .top-banner__text {
    position: relative;
    z-index: 10;
    flex: 0 0 60%;
    padding-right: 15px;
  }

  .top-banner__title {
    position: static;
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 90%;
  }

  .top-banner__subtitle {
    position: static;
    margin: 5px 0 0 0;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
  }

  .top-banner__tagline {
    position: static;
    margin: 10px 0 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
  }

  .top-banner__store-badges {
    position: static;
    margin: 15px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }

  .top-banner__store-link {
    display: inline-flex;
    align-items: center;
    width: 160px;
    height: 50px;
    overflow: hidden;
    text-decoration: none;
    transform-origin: left center;
    transition: transform 160ms ease;
  }

  .top-banner__phone,
  .top-banner__phone-back {
    position: absolute;
    width: 100px;
    height: auto;
  }

  .top-banner__phone {
    top: 70px;
    right: 5px;
    z-index: 2;
  }

  .top-banner__phone-back {
    top: 45px;
    right: 60px;
    z-index: 1;
  }

  /* =========================
     Intro
     ========================= */

  .intro {
    padding: 72px 20px 80px;
  }

  .intro__text {
    max-width: 520px;
    font-size: 18px;
    line-height: 150%;
  }

  /* =========================
     Posts
     ========================= */

  .posts {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .posts__row {
    flex-direction: column-reverse;
    align-items: stretch;
    max-width: 720px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 24px;
  }

  .posts__row--reverse {
    flex-direction: column-reverse;
  }

  .posts__spiral {
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
  }

  .posts__post-card {
    top: 10.5%;
    left: 13%;
    width: 74%;
    bottom: 10.5%;
    height: auto;
  }

  .posts__content {
    width: 100%;
    margin-left: 0;
  }

  .posts__icon {
    width: 84px;
    height: 84px;
  }

  .posts__title {
    margin-top: 20px;
    font-size: 28px;
  }

  .posts__description {
    width: 100%;
    height: auto;
    font-size: 18px;
    line-height: 150%;
  }

  /* =========================
     Operations Feed
     ========================= */

  .operations {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 64px;
    padding-bottom: 110px; /* room for the pointer */
  }

  .operations__title {
    width: auto;
    font-size: 36px;
  }

  .operations__body {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .operations__description {
    width: 100%;
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 150%;
  }

  .operations__carousel {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-top: 56px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .operations__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    position: relative;
    z-index: 0;
  }

  .operations__track::-webkit-scrollbar {
    height: 8px;
  }

  .operations__track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
  }

  .operations__card,
  .operations__card-media {
    width: 260px;
  }

  .operations__card {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .operations__card-media {
    height: 260px;
    padding: 90px;
  }

  .operations__card-title {
    font-size: 18px;
  }

  .operations__next {
    position: absolute;
    right: 20px;
    top: 130px;
    transform: translateY(-50%);
    width: 55px;
    height: 72px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: block;
    z-index: 2;
  }

  .operations__pointer {
    left: 50%;
    transform: translateX(-50%);
  }

  /* =========================
     Logbook Monitoring
     ========================= */

  .logbook-monitoring {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .logbook-monitoring__title {
    margin: 0;
    padding: 0 20px;
    font-size: 28px;
  }

  .logbook-monitoring__subtitle {
    margin: 8px 0 0;
    padding: 0 20px;
    font-size: 18px;
    line-height: 150%;
  }

  .logbook-monitoring__description {
    margin: 28px 0 0;
    padding: 0 20px;
    font-size: 18px;
    line-height: 150%;
  }

  /* =========================
     Demonstration
     ========================= */

  .demonstration {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .demonstration__title {
    margin: 0;
    padding: 0 20px;
    font-size: 36px;
  }

  .demonstration__subtitle {
    margin: 8px 0 0;
    padding: 0 20px;
    font-size: 18px;
    line-height: 150%;
  }

  .demonstration__carousel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .demonstration__track {
    gap: 20px;
    scroll-padding-left: 20px;
  }

  .demonstration__card {
    width: 260px;
    height: 360px;
  }

  .demonstration__next {
    right: 20px;
    top: 180px;
  }

  /* =========================
     Download Banner (Second Banner)
     ========================= */

  .download-banner {
    aspect-ratio: auto;
    min-height: 380px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 38px 12px 28px;
  }

  .download-banner__content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 0;
    text-align: left;
    flex: 0 0 auto;
    max-width: 220px;
    width: 100%;
  }

  .download-banner__kicker {
    font-size: 8px;
    margin: 0;
  }

  .download-banner__headline {
    font-size: 17px;
    line-height: 1.1;
    margin: 4px 0 0;
  }

  .download-banner__free {
    font-size: 17px;
    margin: 12px 0 0;
  }

  .download-banner__store-badges {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    transform: none;
    justify-content: flex-start;
  }

  .download-banner__store-link {
    width: 160px;
    height: 50px;
    margin: 0;
  }

  .download-banner__artboard {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
    height: auto;
    transform: none;
    pointer-events: none;
    z-index: 1;
  }

  /* =========================
     FAQ
     ========================= */

  .faq {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .faq__title {
    margin: 0;
    padding: 0 20px;
    font-size: 36px;
  }

  .faq__list {
    padding: 0 20px;
  }

  .faq__question {
    font-size: 18px;
  }

  .faq__answer {
    font-size: 16px;
    line-height: 150%;
  }

  /* =========================
     Footer
     ========================= */

  .site-footer {
    height: auto;
  }

  .site-footer__content {
    flex-wrap: nowrap;
    row-gap: 10px;
    padding: 24px 20px;
    gap: 12px;
  }

  .site-footer__social {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    text-align: center;
  }

  .site-footer__social-icons {
    position: static;
    top: auto;
    right: auto;
    margin: 0 auto;
  }
}
