:root {
  --emerald: #50c878;
  --malachite: #0bda51;
  --sea: #2d8e4d;
  --indigo: #5164c8;
  --magenta: #c85164;
  --gold: #c8b451;
  --ink: #111214;
  --muted: #636366;
  --line: #e5e5ea;
  --soft: #f5f6f4;
  --emerald-soft: #e9f8ef;
  --malachite-soft: #dff9e8;
  --paper: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(229, 229, 234, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  width: 96px;
  height: 24px;
}

.brand img,
.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a:hover,
.footer a:hover {
  color: var(--sea);
}

.header-cta,
.button {
  border-radius: 999px;
  font-weight: 700;
}

.header-actions {
  gap: 10px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--emerald-soft);
  border: 1px solid rgba(80, 200, 120, 0.22);
  border-radius: 999px;
}

.language-switcher a {
  min-width: 34px;
  padding: 5px 9px;
  color: #257a42;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.language-switcher a.active {
  color: #fff;
  background: var(--sea);
}

.header-cta {
  padding: 9px 15px;
  color: #fff;
  background: var(--ink);
}


.hero {
  display: block;
  align-items: center;
  text-align: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 72px) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 26%, rgba(11, 218, 81, 0.23), transparent 30%),
    radial-gradient(circle at 90% 72%, rgba(80, 200, 120, 0.18), transparent 26%),
    linear-gradient(150deg, #ffffff 0%, #f4fbf6 50%, #eef7f1 100%);
}


.hero-copy,
.product-stage {
  position: relative;
}


.eyebrow {
  margin: 0 0 14px;
  color: #257a42;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
}

.hero h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.hero-body {
  text-align: center;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.section-copy > p,
.contact-section p,
.legal-hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  justify-content: center;
  /*align-items: center;*/
  /*align-content: center;*/
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.button.secondary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--malachite));
}

.product-stage {
  display: block;
  min-height: auto;
  margin: 2rem auto;
  text-align: center;
  position: relative;
}

.app-shot {
  position: relative;
  display: block;
  margin: 0 auto;
  width: min(44vw, 300px);
  overflow: hidden;
  background: var(--emerald);
  border: 3px solid #101214;
  border-radius: 44px;
  box-shadow: 0 10px 26px rgba(17, 18, 20, 0.22);
  transform: none;
}


.app-shot object,
.shot-fallback {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  background:
    linear-gradient(155deg, rgba(17, 18, 20, 0.94), rgba(45, 142, 77, 0.9)),
    url("/static/assets/peiz_white.png") center 13% / 112px auto no-repeat;
}

.app-shot object {
  min-height: 520px;
  object-fit: cover;
}

.shot-fallback {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 28px;
  color: #fff;
  text-align: center;
}

.shot-fallback img {
  width: 112px;
  height: auto;
}

.shot-fallback span {
  align-self: end;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.app-shot figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(17, 18, 20, 0.68);
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.primary-shot {
  transform: translateX(-70px) rotate(-4deg);
}

.secondary-shot {
  transform: translate(118px, 42px) rotate(5deg) scale(0.9);
  opacity: 0.92;
}

.payment-card {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(82%, 360px);
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 122, 66, 0.96), rgba(11, 218, 81, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(45, 142, 77, 0.28);
}

.payment-card span,
.payment-card small,
.proof-strip span {
  color: rgba(255, 255, 255, 0.78);
}

.payment-card strong {
  display: block;
  margin: 4px 0;
  font-size: 2rem;
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.payment-steps span {
  padding-top: 10px;
  border-top: 3px solid rgba(255, 255, 255, 0.5);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 28px clamp(20px, 5vw, 72px);
  background: #fff;
}

.proof-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  max-width: 360px;
  margin-top: 8px;
  font-size: 1.1rem;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.feature-band:nth-of-type(even) {
  background: var(--soft);
}

.feature-band.text-only {
  display: block;
}

.feature-band.text-only .section-copy {
  max-width: 900px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #2c2c2e;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "";
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--emerald), var(--malachite));
  border-radius: 50%;
}

.visual-panel {
  padding: 28px;
  background:
    radial-gradient(circle at 84% 12%, rgba(11, 218, 81, 0.28), transparent 28%),
    linear-gradient(155deg, #101214, #173c25 78%);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(17, 18, 20, 0.16);
}

.visual-panel h3 {
  color: #fff;
}

.visual-panel.app-visual {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: 42px 32px;
  overflow: hidden;
}

.section-app-shot {
  width: min(100%, 280px);
  margin: 0;
  overflow: hidden;
  background: var(--emerald);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
}

.section-app-shot object {
  display: block;
  width: 100%;
  min-height: 425px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.section-app-shot figcaption {
  padding: 12px 14px;
  color: #fff;
  font-weight: 750;
  text-align: center;
}

.visual-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-row span {
  width: 10px;
  height: 10px;
  background: var(--malachite);
  border-radius: 50%;
}

.visual-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.feature-grid,
.legal-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 10vw, 140px);
}

.feature-grid {
  grid-column: 1 / -1;
  padding: 8px 0 0;
}

.feature-card,
.legal-card {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card p,
.legal-card p,
.footer p,
.legal-document {
  color: var(--muted);
}

.legal-section {
  padding: clamp(72px, 10vw, 140px) 0;
  background: #101214;
}

.section-heading {
  padding: 0 clamp(20px, 5vw, 72px) 36px;
}

.legal-section h2,
.legal-card span {
  color: #fff;
}

.legal-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 0;
}

.legal-card {
  min-height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.legal-card span {
  font-weight: 800;
}

.legal-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.contact-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-action,
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 22px;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 999px;
  font-weight: 600;
}

.link-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
  mask: var(--icon-url) center / contain no-repeat;
}

.contact-action span,
.store-link span,
.social-links span {
  display: inline-block;
}

.contact-action-1 {
  color: #ffffff;
  background: var(--ink);
}

.contact-action-2 {
  color: #ffffff;
  background: var(--indigo);
}

.contact-action-3 {
  color: #ffffff;
  background: var(--sea);
}

.download-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 8vw, 110px);
}

.store-link {
  min-height: 60px;
  padding: 17px 26px;
  color: #ffffff;
  background: var(--ink);
  font-size: 1.05rem;
}

.store-link .link-icon {
  width: 28px;
  height: 28px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}


.footer-main,
.footer-nav {
  display: grid;
  gap: 12px;
}

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

.footer-brand p {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
}

.footer-maker,
.social-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-maker {
  color: var(--muted);
  gap: 8px;
}

.footer-maker a,
.social-links a {
  color: var(--emerald);
  font-weight: 400;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sea);
  white-space: nowrap;
}

.social-links .link-icon {
  width: 20px;
  height: 20px;
}

.footer-nav {
  justify-items: end;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
}

.footer-logo {
  width: 78px;
  height: 30px;
}

.footer-copyright {
  width: 100%;
  margin-top: 3px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-hero {
  padding: clamp(72px, 12vw, 150px) clamp(20px, 5vw, 72px) 52px;
  background: var(--soft);
}

.legal-document {
  max-width: 820px;
  padding: 52px clamp(20px, 5vw, 72px) 110px;
}

.legal-document h1,
.legal-document h2 {
  color: var(--ink);
  font-size: revert;
  line-height: 1.2;
}

.page-hero {
  padding: clamp(72px, 12vw, 150px) clamp(20px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at 82% 20%, rgba(11, 218, 81, 0.18), transparent 30%),
    var(--soft);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 0;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.status-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.status-panel {
  padding: 24px;
  background: #101214;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(17, 18, 20, 0.16);
}

.status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #fff;
  background: var(--sea);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.status-row span {
  color: rgba(255, 255, 255, 0.68);
}

.status-row strong {
  color: #fff;
}

.error-page {
  min-height: 100vh;
  background: var(--soft);
}

.error-content {
  display: flex;
  min-height: 100vh;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(20px, 6vw, 72px);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.error-brand {
  display: block;
  width: 94px;
  margin-bottom: clamp(56px, 10vw, 120px);
}

.error-brand img {
  display: block;
  width: 100%;
}

.error-content h1 {
  margin-bottom: 20px;
}

.error-content > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

  .hero,
  .feature-band,
  .status-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px; /* consistent spacing between stacked buttons */
  }

  /* Optional: make buttons take a reasonable width on mobile, not full width */
  .hero-actions .store-link {
    margin-left: 0;
    margin-right: 0;
    width: auto; /* or width: 100% if we prefer full-width buttons */
    min-width: 200px; /* ensures they are not too narrow */
  }

  .product-stage {
    min-height: 560px;
  }

  .proof-strip,
  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    padding-top: 24px;
  }

  .contact-section,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .footer-nav {
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {

  .hero-actions {
    gap: 10px;
  }
  .hero-actions .store-link {
    min-width: 180px;
    padding: 12px 20px; /* slightly more compact touch target */
  }

  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .language-switcher a {
    min-width: 30px;
    padding: 5px 7px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .app-shot {
    width: min(74vw, 260px);
    border-width: 3px;
    border-radius: 36px;
  }

  .primary-shot {
    transform: translateX(-48px) rotate(-3deg);
  }

  .secondary-shot {
    transform: translate(78px, 52px) rotate(4deg) scale(0.88);
  }

  .payment-card {
    right: 50%;
    bottom: 8px;
    width: min(92%, 330px);
    transform: translateX(50%);
  }

  .proof-strip div,
  .feature-card,
  .legal-card,
  .visual-panel {
    padding: 20px;
  }

}
