:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --text: #0c0f14;
  --muted: #6b7280;
  --accent: #111418;
  --line: #e7e9ee;
  --radius: 14px;
  --max: 1080px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.brand-name { letter-spacing: 0.2px; font-size: 15px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 1.8px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(17, 20, 24, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }

.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-alt);
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero-title span { color: var(--muted); }

.hero-sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); margin: 26px auto 0; max-width: 540px; }

.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2a2f37; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-lead { color: var(--muted); font-size: 17px; max-width: 620px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 48px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(12, 15, 20, 0.16); }
.card-icon { font-size: 28px; margin-bottom: 18px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }

/* Projects */
.page-hero {
  padding: 104px 0 56px;
  text-align: center;
  background: var(--bg-alt);
}
.page-title {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.page-sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  margin: 22px auto 0;
  max-width: 560px;
}
.project-page { padding-top: 64px; }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 48px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.project-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.project p { color: var(--muted); font-size: 16px; max-width: 620px; }
.project-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -28px rgba(12, 15, 20, 0.28);
}
.app-card-main {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.app-card-main h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.app-card-main p:not(.project-kicker) {
  color: var(--muted);
  font-size: 15px;
}
.app-icon {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 20px;
  object-fit: cover;
  background: var(--bg-alt);
}
.app-card-actions {
  display: flex;
  justify-content: flex-end;
}
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 60px -34px rgba(12, 15, 20, 0.28);
}
.app-detail { padding-top: 76px; }
.app-copy h1,
.app-copy h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.app-copy p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
}
.app-tagline {
  color: var(--text) !important;
  font-size: clamp(18px, 2.5vw, 22px) !important;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
}
.app-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.app-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.app-media img {
  display: block;
  width: 100%;
  height: auto;
}
.btn-play {
  gap: 10px;
}
.google-play-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

/* Legal */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 28px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.legal h3 {
  font-size: 15px;
  margin-top: 18px;
}
.legal p,
.legal li {
  color: #2b313a;
  font-size: 16px;
}
.legal ul {
  margin: 8px 0 0 20px;
}
.legal li {
  margin-bottom: 6px;
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
}
.legal code {
  background: var(--bg-alt);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 90%;
}
.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 56px 0 8px;
}
.back,
.langnav {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.langnav {
  display: block;
  margin-bottom: 32px;
}
.back:hover,
.langnav a:hover {
  color: var(--text);
}

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px; margin-top: 48px; }
.value-num { color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.value h3 { font-size: 18px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -0.01em; }
.value p { color: var(--muted); font-size: 15px; }

/* CTA */
.section-cta { text-align: center; background: var(--bg-alt); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-inner .section-lead { margin-bottom: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--muted); font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav-links.open { max-height: 380px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 28px; border-top: 1px solid var(--line); }
  .hero { padding: 96px 0 84px; }
  .section { padding: 76px 0; }
  .page-hero { padding: 84px 0 44px; }
  .app-card { grid-template-columns: 1fr; padding: 20px; }
  .app-card-main { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .app-icon { width: 72px; height: 72px; border-radius: 16px; }
  .app-card-actions { justify-content: flex-start; }
  .app-hero { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .project { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
