@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;700&display=swap');

:root {
  --bg: #f0f0f0;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #1f2937;
  --muted: #5f6b78;
  --line: #e5e7eb;
  --accent: #2a7a7a;
  --accent-hover: #1f5f5f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(1120px, 100% - 2.4rem);
  margin-inline: auto;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 240, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.topnav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 500;
}

.topnav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topnav__links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.topnav__links a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  padding: 2.6rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1.05;
}

.hero__kicker {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.hero__desc {
  margin-top: 0.85rem;
  max-width: 62ch;
  color: var(--muted);
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-left: 0;
  padding-left: 0;
}

.app-store-badge {
  margin-top: 1rem;
}

.app-store-badge img {
  display: block;
  width: 120px;
  height: 40px;
}

.button {
  display: inline-flex;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.64rem 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  margin-left: 0;
}

.button--primary {
  color: var(--accent);
}

.button--primary:hover {
  color: var(--accent-hover);
}

.hero .actions .button--primary {
  padding-left: 0;
}

.button--ghost {
  border-color: var(--line);
  background: var(--surface);
  color: #374151;
}

.button--ghost:hover {
  background: var(--surface-soft);
}

.hero__media {
  display: flex;
  justify-content: center;
}

.hero__media img {
  width: min(100%, 312px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.16));
}

.section {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.section--soft {
  background: var(--surface-soft);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--accent);
}

.section p,
.article p,
.legal p,
.article li,
.legal li {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
}

.card p {
  margin: 0.45rem 0 0;
}

.article,
.legal {
  max-width: 760px;
  text-align: left;
  padding: 3rem 0;
}

.article h1,
.legal h1 {
  margin: 0 0 0.9rem;
  font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text);
}

.article h2,
.legal h2 {
  margin: 1rem 0 0.5rem;
  font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--accent);
}

.article h3,
.legal h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.02rem;
  color: var(--text);
}

.article ul,
.legal ul {
  margin: 0.3rem 0 0.8rem;
  padding-left: 1.2rem;
}

.article a,
.legal a,
.section a,
.footer a {
  color: var(--accent);
}

.article a:hover,
.legal a:hover,
.section a:hover,
.footer a:hover {
  color: var(--accent-hover);
}

.footer {
  padding: 2.2rem 1rem 2.6rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.93rem;
}

@media (max-width: 980px) {
  .topnav__links {
    gap: 0.85rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hero__media {
    order: -1;
  }

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

@media (max-width: 700px) {
  .topnav__inner {
    height: auto;
    padding: 0.75rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav__links {
    width: 100%;
  }
}
