@font-face {
  font-family: "Public Sans";
  src: url("/fonts/PublicSans-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #121212;
  --navy-soft: #1a1a1a;
  --blue: #e02020;
  --green: #e02020;
  --green-deep: #b01818;
  --yellow: #ffd100;
  --ink: #121212;
  --muted: #6b7280;
  --paper: #fafafa;
  --white: #ffffff;
  --line: rgba(18, 18, 18, 0.1);
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.16);
  --radius: 18px;
  --max: 1120px;
  --font: "Public Sans", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(224, 32, 32, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(224, 32, 32, 0.06), transparent 50%),
    linear-gradient(180deg, #fff5f5 0%, var(--paper) 38%, #fafafa 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: calc(0.9rem + env(safe-area-inset-top, 0px)) 0 1.25rem;
}

.site-header .wrap,
.legal-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-row {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 11px;
  background: rgba(11, 28, 51, 0.45);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.nav-toggle:hover,
body.nav-open .nav-toggle {
  background: rgba(11, 28, 51, 0.7);
  border-color: rgba(255, 255, 255, 0.7);
}

.legal-header .nav-toggle {
  border-color: rgba(11, 28, 51, 0.16);
  background: #ffffff;
  color: #0b1c33;
  box-shadow: 0 4px 14px rgba(11, 28, 51, 0.08);
  backdrop-filter: none;
}

.legal-header .nav-toggle:hover,
body.nav-open .legal-header .nav-toggle {
  background: #f3f6f2;
  border-color: rgba(11, 28, 51, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1rem);
  margin-left: auto;
  margin-right: 0.35rem;
}

.site-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-deep);
}

.site-nav-hero a {
  color: rgba(255, 255, 255, 0.92);
}

.site-nav-hero a:hover,
.site-nav-hero a[aria-current="page"] {
  color: #fff;
}

body.nav-open {
  overflow: hidden;
}

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

  .header-actions {
    margin-left: auto;
  }

  .site-nav,
  .site-nav-hero {
    position: fixed;
    z-index: 35;
    left: 0.625rem;
    right: 0.625rem;
    top: calc(3.85rem + env(safe-area-inset-top, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0;
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(11, 28, 51, 0.18);
    display: none;
  }

  body.nav-open .site-nav,
  body.nav-open .site-nav-hero {
    display: flex;
  }

  .site-nav a,
  .site-nav-hero a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: var(--navy) !important;
    font-size: 1rem;
    white-space: normal;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"],
  .site-nav-hero a:hover,
  .site-nav-hero a[aria-current="page"] {
    background: rgba(224, 32, 32, 0.1);
    color: var(--green-deep) !important;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(18, 18, 18, 0.45);
    backdrop-filter: blur(2px);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  object-fit: contain;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: #ff8a8a;
}

.lang-switch {
  position: relative;
  z-index: 40;
}

.lang-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 11px;
  background: rgba(11, 28, 51, 0.45);
  color: #ffffff;
  font-family: var(--font);
  font-weight: 750;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.lang-toggle:hover,
.lang-switch.is-open .lang-toggle {
  background: rgba(11, 28, 51, 0.7);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  padding: 0.4rem;
  border: 1px solid rgba(11, 28, 51, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(11, 28, 51, 0.22);
  display: none;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  z-index: 50;
}

.lang-switch.is-open .lang-menu {
  display: grid;
}

.lang-option {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1c33;
  font-family: var(--font);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(47, 158, 68, 0.14);
  color: #b01818;
}

.lang-option:focus-visible {
  outline: 2px solid #e02020;
  outline-offset: 1px;
}

.legal-header .wrap {
  gap: 0.75rem;
}

.legal-header .lang-toggle {
  border-color: rgba(11, 28, 51, 0.16);
  background: #ffffff;
  color: #0b1c33;
  box-shadow: 0 4px 14px rgba(11, 28, 51, 0.08);
}

.legal-header .lang-toggle:hover,
.legal-header .lang-switch.is-open .lang-toggle {
  background: #f3f6f2;
  border-color: rgba(11, 28, 51, 0.28);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.4s ease, transform 8s ease;
}

.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.58) 48%, rgba(176, 24, 24, 0.35) 100%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.35) 0%, rgba(18, 18, 18, 0.12) 40%, rgba(18, 18, 18, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4.5rem;
  max-width: min(38rem, 100%);
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  animation: rise 0.9s ease both;
}

.hero-brand span {
  color: #ff8a8a;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  animation: rise 0.9s ease 0.12s both;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 30rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s ease 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0;
}

.cta-row-secondary {
  animation: none;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.store-badge img {
  height: 54px;
  width: auto;
  max-width: min(180px, 46vw);
  object-fit: contain;
}

.hero-app .store-badge img {
  height: 44px;
  max-width: min(148px, 42vw);
  opacity: 0.92;
}

.hero-note {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
  animation: rise 0.9s ease 0.34s both;
}

.hero-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-shortcuts a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-app {
  animation: rise 0.9s ease 0.42s both;
}

.hero-app-label {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.01em;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--green-deep);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.15;
}

.section-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-steps {
  margin-top: 2.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  margin-top: 2.5rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature-index {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* Categories */
.categories {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, rgba(0, 119, 200, 0.05), rgba(47, 158, 68, 0.08));
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.category {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  isolation: isolate;
}

.category img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(11, 28, 51, 0.82) 100%);
  z-index: 1;
}

.category:hover img {
  transform: scale(1.06);
}

.category span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.step {
  padding-top: 0.25rem;
  border-top: 3px solid var(--green);
}

.step h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.step-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
}

/* Download band */
.download {
  padding-top: 1rem;
}

.download-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 28, 51, 0.92), rgba(0, 107, 50, 0.82)),
    url("/images/splash2.png") center / cover;
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin: 0 0 0.65rem;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.download-panel p {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
}

/* Sabati Studios */
.studio {
  padding-top: 0.5rem;
}

.studio-panel {
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 234, 0.92)),
    url("/images/splash2.png") center / cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.studio-panel .section-kicker {
  margin-bottom: 0.5rem;
}

.studio-panel .section-title {
  margin: 0 0 0.75rem;
  max-width: 22ch;
}

.studio-panel .section-lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.studio-actions {
  margin-bottom: 0;
}

/* About us */
.about-main {
  padding: 2rem 0 4rem;
}

.about-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.about-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}

.about-founder {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.founder-portrait {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.founder-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-meta {
  padding: 1rem 1.1rem 1.15rem;
}

.founder-role {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.founder-name {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.founder-tag {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.about-headline {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
}

.about-body p {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-actions {
  margin-top: 1.75rem;
  margin-bottom: 0;
}

.about-why {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.about-why .section-lead {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.about-copy p {
  margin: 0 0 1rem;
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.about-pillars .feature {
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a:hover {
  color: var(--navy);
}

/* Legal pages */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 0 1rem;
}

.legal-header .brand {
  color: var(--navy);
}

.legal-header .brand-name span {
  color: var(--green-deep);
}

.legal {
  padding: 3rem 0 5rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--navy);
}

.legal .updated {
  margin: 0 0 2rem;
  color: var(--muted);
}

.legal article + article {
  margin-top: 1.75rem;
}

.legal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.legal p {
  margin: 0;
  max-width: 68ch;
  color: #334155;
  line-height: 1.65;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--green-deep);
  font-weight: 700;
}

.back-link:hover {
  color: var(--navy);
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slides img,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-search,
  .hero-shortcuts,
  .hero-app,
  .cta-row,
  .hero-note,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .features,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 28, 51, 0.55) 0%, rgba(11, 28, 51, 0.35) 35%, rgba(11, 28, 51, 0.88) 100%),
      linear-gradient(105deg, rgba(11, 28, 51, 0.75), rgba(0, 107, 50, 0.28));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .site-header {
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }

  .brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .lang-toggle,
  .nav-toggle {
    min-height: 2.35rem;
    width: 2.35rem;
  }

  .lang-toggle {
    padding: 0.45rem 0.7rem;
    width: auto;
  }

  .lang-menu {
    min-width: min(12rem, calc(100vw - 1.5rem));
  }

  .hero {
    min-height: 100svh;
  }

  .hero-slides img {
    object-position: center center;
  }

  .hero-content {
    padding: 5.75rem 0 calc(2.75rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-brand {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    margin-bottom: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .cta-row {
    gap: 0.5rem;
  }

  .store-badge img {
    height: 48px;
    max-width: min(168px, 45vw);
  }

  .hero-app .store-badge img {
    height: 40px;
    max-width: min(136px, 40vw);
  }

  .hero-shortcuts {
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }

  .hero-shortcuts a {
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.84rem;
  }

  .hero-app-label {
    font-size: 0.82rem;
  }

  .hero-note {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
  }

  .category,
  .category img {
    min-height: 140px;
  }

  .category span {
    left: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.95rem;
  }

  .download-panel {
    border-radius: 20px;
    padding: 1.6rem 1.25rem;
  }

  .download-panel h2 {
    max-width: none;
  }

  .site-footer {
    padding: 1.75rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
  }

  section {
    padding: 3.25rem 0;
  }

  .legal {
    padding: 2rem 0 calc(3.5rem + env(safe-area-inset-bottom, 0px));
  }

  .legal h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .legal h2 {
    font-size: 1.05rem;
  }

  .legal p {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1.05rem;
  }

  .store-badge img {
    height: 44px;
    max-width: min(152px, 44vw);
  }

  .category-grid {
    gap: 0.6rem;
  }

  .category,
  .category img {
    min-height: 128px;
  }
}

@media (hover: none) {
  .store-badge:hover,
  .lang-toggle:hover,
  .category:hover img {
    transform: none;
  }
}

/* Shared UI */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  font-family: var(--font);
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-secondary {
  background: #fff;
  color: var(--green-deep);
  border: 1.5px solid rgba(0, 107, 50, 0.42);
  box-shadow: 0 2px 10px rgba(11, 28, 51, 0.06);
}

.btn-secondary:hover {
  background: rgba(47, 158, 68, 0.12);
  border-color: var(--green-deep);
  color: #004d24;
}

.btn-secondary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(11, 28, 51, 0.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 750;
  color: var(--green-deep);
}

.text-link:hover {
  color: var(--navy);
}

.section-actions {
  margin-top: 1.25rem;
}

/* Hero search */
.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  max-width: 34rem;
  margin: 0 0 0.85rem;
  animation: rise 0.9s ease 0.28s both;
}

.hero-search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-search .btn-primary {
  min-width: 7rem;
  background: #fff;
  color: var(--green-deep);
}

.hero-search .btn-primary:hover {
  background: #eef8f0;
}

/* Listings */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.listing-card {
  display: grid;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 28, 51, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 28, 51, 0.1);
}

.listing-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #dfe8e1;
}

.listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.listing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.listing-badge-featured {
  background: rgba(255, 209, 0, 0.92);
  color: #5c4a00;
}

.listing-badge-verified {
  background: rgba(224, 32, 32, 0.92);
  color: #fff;
}

.listing-company {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.listing-card-body {
  padding: 0.95rem 1rem 1.1rem;
}

.listing-type {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.listing-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.listing-meta,
.listing-category,
.listing-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.listing-category {
  margin-top: 0.25rem;
  color: #476079;
}

.listing-desc {
  margin-top: 0.45rem;
  line-height: 1.45;
}

.listing-empty,
.error-state {
  padding: 1.5rem 0;
  color: var(--muted);
}

.error-state {
  color: #b42318;
}

#featured-section {
  padding: 4rem 0 1rem;
}

/* Browse page */
.browse-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(0, 119, 200, 0.08), transparent 55%),
    linear-gradient(180deg, #eef5ef 0%, var(--paper) 100%);
}

.browse-main {
  padding: 2rem 0 4rem;
}

.browse-header {
  margin-bottom: 1.25rem;
}

.browse-search {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr auto;
  gap: 0.65rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.browse-search input,
.browse-search select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(11, 28, 51, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
}

.browse-search input:focus,
.browse-search select:focus {
  outline: 2px solid rgba(47, 158, 68, 0.28);
  border-color: var(--green);
}

.browse-status {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

/* Work with us */
.partner-main {
  padding: 2rem 0 4rem;
}

.partner-header {
  margin-bottom: 1.25rem;
}

.partner-header h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--navy);
}

.partner-form {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.partner-grid label {
  display: grid;
  gap: 0.4rem;
}

.partner-grid label > span {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.partner-grid input,
.partner-grid select,
.partner-grid textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(11, 28, 51, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
}

.partner-grid textarea {
  min-height: 7rem;
  resize: vertical;
}

.partner-grid input:focus,
.partner-grid select:focus,
.partner-grid textarea:focus {
  outline: 2px solid rgba(47, 158, 68, 0.28);
  border-color: var(--green);
}

.partner-span-2 {
  grid-column: span 2;
}

.partner-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}

.partner-note {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--green-deep);
}

.form-status.is-error {
  color: #c0392b;
}

/* Listing detail */
.listing-detail {
  max-width: 920px;
}

.back-link {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--green-deep);
  font-weight: 700;
}

.back-link:hover {
  color: var(--navy);
}

.listing-detail-head h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.85rem;
}

.listing-share-btn {
  min-height: 2.5rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.listing-share-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--muted);
}

.listing-share-status.is-success {
  color: var(--green-deep);
}

.listing-share-status.is-error {
  color: #c0392b;
}

.listing-contact {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(11, 28, 51, 0.05);
}

.listing-contact h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.listing-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.listing-contact-btn {
  min-width: 8.5rem;
}

.listing-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.listing-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
}

.listing-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.listing-detail-body h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.listing-detail-body p {
  margin: 0;
  max-width: 68ch;
  color: #334155;
  line-height: 1.65;
  white-space: pre-wrap;
}

.app-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, rgba(47, 158, 68, 0.12), rgba(0, 119, 200, 0.1));
  border: 1px solid rgba(47, 158, 68, 0.18);
}

.app-cta-secondary {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.app-cta strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.app-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.app-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--green-deep);
  color: #fff;
  font-weight: 750;
}

.app-cta-btn:hover {
  background: #005528;
}

.listing-detail-actions {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browse-search {
    grid-template-columns: 1fr 1fr;
  }

  .browse-search .btn-primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero-search {
    grid-template-columns: 1fr;
  }

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

  .browse-search {
    grid-template-columns: 1fr;
  }

  .listing-gallery {
    grid-template-columns: 1fr;
  }

  .listing-gallery img:first-child {
    grid-column: auto;
  }

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

  .partner-span-2 {
    grid-column: auto;
  }

  .about-founder {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    max-width: 320px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}
