:root {
  color-scheme: light;
  --bg: #fbf7ef;
  --surface: #fffdf8;
  --surface-soft: #f4efe6;
  --ink: #332520;
  --muted: #7d7069;
  --line: rgba(51, 37, 32, 0.12);
  --coral: #f27f6b;
  --mint: #9ed6c5;
  --sun: #f8ce62;
  --lavender: #c7b4e9;
  --sky: #a9d2ef;
  --rose: #f2b3aa;
  --shadow: 0 28px 80px rgba(81, 61, 47, 0.14);
  --radius: 28px;
  --container: 1160px;
  --nav-height: 72px;
  font-family:
  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI",
    sans-serif;
  font-kerning: normal;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(248, 206, 98, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgba(158, 214, 197, 0.18), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.i18n-pending [data-i18n],
.i18n-pending [data-i18n-html] {
  visibility: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 40px, 760px);
  text-align: center;
}

.section {
  padding: 132px 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(51, 37, 32, 0.06);
  background: rgba(251, 247, 239, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav-shell {
  width: min(100% - 32px, var(--container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-link {
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
}

.language-option {
  min-width: 36px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(242, 127, 107, 0.16);
}

.language-option.is-active {
  background: var(--rose);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  min-height: calc(100svh - 48px);
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-height) + 42px);
  padding-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI",
    sans-serif;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

h1 {
  margin-bottom: 22px;
  font-weight: 800;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 22px;
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lede,
.section-lede {
  color: var(--muted);
  font-size: clamp(18px, 1.75vw, 22px);
  line-height: 1.42;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
}

.section-lede {
  max-width: 720px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
}

.store-badge-link,
.store-badge-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-badge-link,
.store-badge-soon {
  height: 50px;
}

.store-badge-image {
  width: auto;
  height: 50px;
  object-fit: contain;
}

#google-play-badge {
  height: 74px;
}

html[lang="tr"] #google-play-badge,
html[lang="es"] #google-play-badge {
  height: 65px;
}

.store-badge-link:not(.app-store-link-disabled):hover {
  transform: translateY(-2px);
}

.app-store-link-disabled {
  cursor: default;
}

.store-badge-soon {
  position: relative;
}

.store-badge-status {
  position: absolute;
  left: 50%;
  bottom: -23px;
  transform: translateX(-50%);
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.hero-card-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.hero-card-shot {
  width: clamp(205px, 18vw, 265px);
  height: auto;
  border-radius: 22px;
  filter: drop-shadow(0 34px 44px rgba(65, 51, 42, 0.18));
}

.app-section {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0));
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  margin-top: 72px;
}

.showcase-copy {
  display: grid;
  gap: 26px;
}

.feature-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.feature-line span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.feature-line p,
.legal-copy p,
.safety-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.activity-strip {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
}

.activity-strip figure {
  margin: 0;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.activity-strip figure:nth-child(1) {
  transform: translateY(-32px);
}

.activity-strip figure:nth-child(2) {
  transform: translateY(10px);
}

.activity-strip figure:nth-child(3) {
  transform: translateY(36px);
}

.activity-strip img {
  width: min(100%, 230px);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(77, 57, 45, 0.14);
}

.legal-section {
  border-top: 1px solid var(--line);
}

.legal-section.muted,
.support-section {
  background: rgba(255, 253, 248, 0.58);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 112px);
}

.updated {
  color: var(--muted);
  font-size: 15px;
}

.legal-copy {
  display: grid;
  gap: 18px;
  font-size: 17px;
}

.legal-copy h3 {
  margin: 10px 0 -6px;
}

.support-anchor {
  color: var(--ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.support-anchor:hover,
.support-anchor:focus-visible {
  color: var(--coral);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.safety-grid article {
  min-height: 178px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.safety-grid article:nth-child(1) {
  background: rgba(158, 214, 197, 0.18);
}

.safety-grid article:nth-child(2) {
  background: rgba(169, 210, 239, 0.18);
}

.safety-grid article:nth-child(3) {
  background: rgba(248, 206, 98, 0.18);
}

.safety-grid article:nth-child(4) {
  background: rgba(242, 179, 170, 0.18);
}

.safety-grid article:nth-child(5) {
  background: rgba(201, 190, 232, 0.2);
}

.safety-grid article:nth-child(6) {
  background: rgba(245, 185, 122, 0.18);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
}

.tally-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tally-panel iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

.tally-panel iframe.is-preloading {
  position: absolute;
  inset: 28px;
  width: calc(100% - 56px);
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1240px) {
  .hero {
    min-height: auto;
    align-items: start;
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
  }

  .hero-grid {
    gap: clamp(40px, 5vw, 64px);
  }
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 0.85fr);
    gap: clamp(36px, 4vw, 56px);
  }

  .hero-card-shot {
    width: clamp(225px, 20vw, 245px);
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 96px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-showcase,
  .split,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 36px);
    padding-bottom: 48px;
  }

  .hero-copy,
  .narrow {
    text-align: left;
  }

  .section-lede {
    margin-left: 0;
  }

  .hero-card-gallery {
    justify-content: center;
  }

  .hero-card-shot {
    width: min(38vw, 270px);
  }

  .activity-strip {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 34px);
    padding-bottom: 36px;
  }

  .hero-card-gallery {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-card-shot {
    width: min(86vw, 280px);
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    height: 64px;
  }

  :root {
    --nav-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 14px;
    border-radius: 14px;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(242, 127, 107, 0.08);
  }

  .hero-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 14px;
  }

  .store-badge-link,
  .store-badge-soon {
    width: 158px;
    height: 42px;
    justify-content: flex-start;
  }

  .store-badge-image {
    height: 42px;
  }

  #google-play-badge {
    height: 62px;
  }

  html[lang="en"] #google-play-badge {
    margin-left: -10px;
  }

  html[lang="tr"] #google-play-badge,
  html[lang="es"] #google-play-badge {
    height: 55px;
  }

  .store-badge-status {
    bottom: -20px;
    font-size: 10px;
  }

  .hero-card-gallery {
    margin-top: 8px;
  }

  .activity-strip,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .activity-strip figure,
  .activity-strip figure:nth-child(1),
  .activity-strip figure:nth-child(2),
  .activity-strip figure:nth-child(3) {
    min-height: 250px;
    transform: none;
  }

  .activity-strip img {
    width: min(82vw, 320px);
  }

  .tally-panel {
    padding: 20px;
  }

  .tally-panel iframe.is-preloading {
    inset: 20px;
    width: calc(100% - 40px);
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    margin-bottom: 18px;
    font-size: clamp(48px, 17vw, 64px);
    letter-spacing: -0.03em;
  }

  .hero-lede {
    margin-bottom: 28px;
    font-size: 17px;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .store-badge-link,
  .store-badge-soon {
    width: 144px;
    height: 38px;
  }

  .store-badge-image {
    height: 38px;
  }

  #google-play-badge {
    height: 56px;
  }

  html[lang="en"] #google-play-badge {
    margin-left: -9px;
  }

  html[lang="tr"] #google-play-badge,
  html[lang="es"] #google-play-badge {
    height: 50px;
  }

  .store-badge-status {
    bottom: -18px;
    font-size: 9px;
  }
}

@media (max-width: 920px) and (max-height: 520px) and (orientation: landscape) {
  .hero {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 28px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: clamp(48px, 8vw, 68px);
  }

  .hero-lede {
    max-width: 520px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.35;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .store-badge-link,
  .store-badge-soon,
  .store-badge-image {
    height: 44px;
  }

  #google-play-badge {
    height: 65px;
  }

  html[lang="tr"] #google-play-badge,
  html[lang="es"] #google-play-badge {
    height: 57px;
  }

  .store-badge-status {
    font-size: 10px;
  }

  .hero-card-gallery {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .hero-card-shot {
    width: min(18vw, 145px);
  }
}
