/* LingoChat landing — brand: teal / sky blue */

:root {
  --teal: #2eb88f;
  --teal-deep: #1a9a76;
  --blue: #2e8cff;
  --blue-deep: #1a6fd4;
  --ink: #0f2a24;
  --ink-muted: #4a6b63;
  --surface: #f4fbf8;
  --white: #ffffff;
  --line: rgba(15, 42, 36, 0.08);
  --shadow-soft: 0 16px 40px rgba(30, 120, 95, 0.12);
  --radius: 16px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* —— Atmosphere —— */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(46, 184, 143, 0.32), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 5%, rgba(46, 140, 255, 0.24), transparent 50%),
    radial-gradient(ellipse 60% 45% at 70% 85%, rgba(46, 184, 143, 0.16), transparent 55%),
    linear-gradient(165deg, #eefaf5 0%, #f7fbff 45%, #e8f6f1 100%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(8deg);
  }
}

.bg-bubbles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-bubbles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  border: 2px solid var(--teal);
}

.bg-bubbles span:nth-child(1) {
  width: 180px;
  height: 180px;
  top: 10%;
  left: -30px;
  background: var(--teal);
  animation: drift 22s var(--ease) infinite;
}

.bg-bubbles span:nth-child(2) {
  width: 130px;
  height: 130px;
  top: 60%;
  right: -20px;
  border-color: var(--blue);
  background: var(--blue);
  animation: drift 28s var(--ease) infinite reverse;
}

.bg-bubbles span:nth-child(3) {
  width: 70px;
  height: 70px;
  bottom: 12%;
  left: 20%;
  border-color: var(--blue);
  animation: drift 16s var(--ease) infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(14px, -18px);
  }
}

/* —— Page shell —— */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.25rem;
}

/* —— Hero (compact) —— */
.hero {
  text-align: center;
  padding: 0.25rem 0 1.25rem;
  animation: riseIn 0.8s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__mark {
  width: clamp(80px, 14vw, 108px);
  height: clamp(80px, 14vw, 108px);
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 8px 22px rgba(46, 184, 143, 0.35));
  animation: markPulse 3.5s ease-in-out infinite;
}

@keyframes markPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 6.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.45rem;
  color: var(--ink);
  background: linear-gradient(115deg, #0f2a24 0%, var(--teal-deep) 35%, var(--blue) 70%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.hero__lede {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 40rem;
  margin: 0 auto;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  max-width: 40rem;
  margin: 0.9rem auto 0;
  padding: 0;
}

.feature-list li {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

/* —— Downloads —— */
.downloads {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  animation: riseIn 0.9s 0.08s var(--ease) both;
}

@media (min-width: 720px) {
  .downloads {
    grid-template-columns: 0.85fr 1.35fr;
    align-items: stretch;
    gap: 0.9rem;
  }
}

.dl-desktop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0.35rem 0.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.dl-desktop:hover {
  border-color: rgba(46, 184, 143, 0.4);
}

.dl-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  padding: 0.85rem 0.85rem;
  border-radius: 12px;
}

.dl-row+.dl-row {
  border-top: 1px solid var(--line);
}

.dl-row__badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--ink) 0%, #1a4a3c 100%);
}

.dl-row__badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dl-row__copy {
  min-width: 0;
}

.dl-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.2;
}

.dl-row__meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0.15rem 0 0;
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.dl-card:hover {
  border-color: rgba(46, 140, 255, 0.35);
  transform: translateY(-2px);
}

.dl-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.15rem;
}

.dl-card__meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin: 0 0 0.7rem;
}

.dl-card__qr {
  width: min(148px, 42vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  margin: 0 0 0.7rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.dl-card__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}

.store-link:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.store-link img {
  width: 14px;
  height: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--download {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(46, 184, 143, 0.28);
}

.btn--download:hover {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--blue-deep) 100%);
}

.btn--download img {
  width: 15px;
  height: 15px;
}

@media (max-width: 520px) {
  .dl-row {
    grid-template-columns: auto 1fr;
  }

  .dl-row .btn--download {
    grid-column: 1 / -1;
  }
}

/* —— Seamless screenshot pairs —— */
.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  animation: riseIn 1s 0.12s var(--ease) both;
}

@media (min-width: 720px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

.shot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  /* flush — patterns meet edge-to-edge */
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 255, 255, 0.95);
  transition: transform 0.3s var(--ease);
}

.shot-pair:hover {
  transform: translateY(-3px);
}

.shot-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 665 / 1440;
  object-fit: cover;
  object-position: top;
}

/* —— Footer —— */
.site-footer {
  padding: 0.85rem 1.25rem 1.25rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 719px) {
  .dl-card--qr .dl-card__qr {
    width: 132px;
  }

  .shots {
    /* one pair at a time width feels better on phone */
    max-width: 420px;
    margin: 0 auto;
  }
}