:root {
  --paper: #f8f6f1;
  --ink: #1c2024;
  --muted: #626974;
  --line: #e6e1d8;
  --white: #ffffff;
  --blue: #4773ff;
  --violet: #7e57ff;
  --gold: #d2964b;
  --green: #2a966e;
  --teal: #236f95;
  --shadow: 0 24px 70px rgba(28, 32, 36, 0.14);
  --announce-h: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(88px + var(--announce-h));
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  color: var(--white);
}

.announce-bar.is-hidden {
  display: none;
}

.announce-bar-inner {
  flex: 1;
  min-width: 0;
}

.announce-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px clamp(14px, 4vw, 20px);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.announce-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe08a;
  box-shadow: 0 0 0 0 rgba(255, 224, 138, 0.65);
  animation: announce-pulse 1.8s ease-out infinite;
}

@keyframes announce-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 224, 138, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(255, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 224, 138, 0); }
}

.announce-text strong {
  margin-right: 4px;
}

.announce-arrow {
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.announce-close {
  flex-shrink: 0;
  width: 40px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.08);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}

.announce-close:hover {
  background: rgba(0, 0, 0, 0.18);
}

.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  transition: top 0.2s ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(10, 12, 14, 0.48);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.8vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.26)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 52%);
}

.hero-content {
  position: relative;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: calc(150px + var(--announce-h)) 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  min-height: 58px;
  padding: 9px 16px;
  border-radius: 8px;
  color: var(--white);
  background: #0f1115;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
}

.store-button small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 700;
}

.store-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 15px;
}

.store-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button.gofundme {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.section-pad {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.support-banner {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px clamp(18px, 5vw, 72px);
}

.support-banner-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.support-banner-inner p {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.support-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-banner-link {
  min-height: 44px;
}

.intro-band {
  padding: clamp(62px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.intro-grid,
.product-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.3fr;
  gap: clamp(40px, 7vw, 90px);
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

p {
  line-height: 1.55;
}

.gold {
  color: var(--gold);
}

.blue {
  color: var(--blue);
}

.violet {
  color: var(--violet);
}

.green {
  color: var(--green);
}

.problem-list {
  display: grid;
  gap: 24px;
}

.problem-list article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
}

.problem-list span {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.problem-list p {
  grid-column: 2;
  margin: 8px 0 0;
  color: var(--muted);
}

.section-head {
  width: min(960px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.compact {
  width: min(820px, 100%);
}

.section-head p:not(.section-kicker) {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.product-section {
  background: var(--white);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.phone-stack {
  position: relative;
  min-height: 560px;
}

.phone {
  position: absolute;
  width: min(34vw, 245px);
  min-width: 185px;
  border: 10px solid #17191d;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #17191d;
}

.phone-a {
  left: 4%;
  top: 48px;
  transform: rotate(-5deg);
}

.phone-b {
  left: 34%;
  top: 0;
  transform: rotate(2deg);
}

.phone-c {
  left: 62%;
  top: 80px;
  transform: rotate(5deg);
}

.flow-panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.flow-list .flow-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  flex-shrink: 0;
}

.video-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.video-card {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: #0f1115;
  box-shadow: var(--shadow);
}

.video-play {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.video-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.video-play img.crop-top {
  object-position: bottom;
}

.video-play img.fit-contain {
  object-fit: contain;
  object-position: center;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}

.video-play-icon::before {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}

.video-play:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #0f1115;
}

.case-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.case-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(28, 32, 36, 0.08);
}

.case-card img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

.case-card div {
  padding: 22px;
}

.case-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.marketplace-flow {
  width: min(1180px, 100%);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  align-items: start;
  gap: 12px;
}

.marketplace-step {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.marketplace-step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  font-size: 18px;
}

.marketplace-step:nth-of-type(2) .marketplace-step-icon {
  background: var(--violet);
}

.marketplace-step:nth-of-type(3) .marketplace-step-icon {
  background: var(--green);
}

.marketplace-step:nth-of-type(4) .marketplace-step-icon {
  background: var(--gold);
}

.marketplace-step p {
  color: var(--muted);
  font-size: 15px;
}

.marketplace-arrow {
  position: relative;
  align-self: start;
  margin-top: 25px;
  height: 2px;
  background: var(--line);
}

.marketplace-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--line);
}

.donation {
  background: var(--white);
}

.donation-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr minmax(190px, 240px);
  gap: clamp(22px, 5vw, 48px);
  align-items: center;
}

.donation-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.donation-use {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.donation-details {
  margin-top: 16px;
}

.donation-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.donation-details-content {
  margin-top: 12px;
  color: var(--muted);
}

.donation-details-content p {
  margin: 0;
}

.donation-details-lead {
  margin-top: 12px;
  font-weight: 700;
}

.donation-details-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.donation-details-list li + li {
  margin-top: 8px;
}

.donation-gfm {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.donation-gfm-link {
  margin-left: 6px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.donation-qr {
  margin: 0;
  text-align: center;
}

.donation-qr img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.donation-qr figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.donation-mobilepay {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.donation-mobilepay-number {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.cta {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.2));
}

.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 90px);
  padding: 84px 0;
}

.cta-subtitle {
  max-width: 560px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.5;
}

.cta-stores {
  margin: 0 0 22px;
}

.members {
  background: var(--white);
}

.members-title {
  font-size: clamp(24px, 3vw, 34px);
}

.members + .partners {
  padding-top: 0;
}

.member-logos {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.member-logo {
  display: grid;
  place-items: center;
  width: 220px;
  min-height: 200px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(28, 32, 36, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.member-logo:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 30px rgba(28, 32, 36, 0.1);
}

.member-logo img {
  max-width: 100%;
  max-height: 172px;
  width: auto;
  height: auto;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 6px;
  opacity: 0.38;
  transition: opacity 0.18s, background 0.18s;
}

.lang-btn:hover {
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.12);
}

.lang-btn.active {
  opacity: 1;
}

@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .intro-grid,
  .product-layout,
  .donation-panel {
    grid-template-columns: 1fr;
  }

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

  .video-card {
    width: 240px;
  }

  .product-layout {
    gap: 16px;
  }

  .phone-stack {
    min-height: 500px;
  }

}

@media (max-width: 680px) {
  .announce-link {
    padding: 8px 12px;
    font-size: 12.5px;
    gap: 6px;
  }

  .announce-text {
    line-height: 1.3;
  }

  .announce-close {
    width: 34px;
    font-size: 12px;
  }

  .support-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-banner-actions {
    width: 100%;
  }

  .support-banner-actions .button {
    flex: 1;
  }

  .lang-btn {
    font-size: 18px;
    padding: 2px 4px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 42px;
  }

  .button {
    width: 100%;
  }

  .store-button {
    width: 100%;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    width: 260px;
  }

  .member-logo {
    width: 100%;
    max-width: 280px;
  }

  .phone-stack {
    min-height: 470px;
    overflow: hidden;
  }

  .phone {
    min-width: 165px;
    width: 48vw;
    border-width: 8px;
  }

  .phone-a {
    left: -2%;
    top: 72px;
  }

  .phone-b {
    left: 25%;
  }

  .phone-c {
    left: 52%;
    top: 86px;
  }

  .marketplace-flow {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .marketplace-step {
    max-width: 280px;
  }

  .marketplace-arrow {
    width: 2px;
    height: 28px;
    margin: 0;
  }

  .marketplace-arrow::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    border-width: 7px 5px 0 5px;
    border-color: var(--line) transparent transparent transparent;
  }

  .cta-copy {
    margin: 0 auto;
  }
}
