/* Keklik Studio — one stylesheet, no JavaScript.
   The look of the Wordvore store art: a mint wash, ink, the game's green and Nunito for headings
   (self-hosted, Latin with the Turkish letters). Light only, like the app since 2026-10-27. */
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("fonts/nunito-900.woff2") format("woff2"); }
:root {
  --bg: #F3FAF5;
  --mint: #E3F3E8;
  --mint-2: #CFEBD9;
  --surface: #FFFFFF;
  --surface-2: #EAF5EE;
  --ink: #1C1C1E;
  --muted: #4B5563;
  --line: rgba(28, 28, 30, 0.08);
  --green: #16A34A;
  --green-bright: #22C55E;
  --green-soft: rgba(34, 197, 94, 0.14);
  --link: #15803D;
  --glass: rgba(243, 250, 245, 0.78);
  --shadow-sm: 0 1px 2px rgba(22, 52, 34, 0.06), 0 4px 14px rgba(22, 52, 34, 0.06);
  --shadow-lg: 0 4px 10px rgba(22, 52, 34, 0.06), 0 34px 80px -20px rgba(22, 52, 34, 0.32);
  --rounded: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --radius: 24px;
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* The store art's mint wash behind the top of every page. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 820px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(620px 380px at 14% 26%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(600px 460px at 86% 30%, var(--mint-2), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--mint) 70%, var(--bg));
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: 12px; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--rounded); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 800; }
p, ul, ol { margin: 0 0 1rem; }
.accent { color: var(--green); }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--link);
  font-family: var(--rounded);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40rem; margin-top: 18px; }
.section-title { margin: 88px 0 24px; }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--rounded); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.brand-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--green-bright), var(--green));
  box-shadow: 0 0 0 4px var(--green-soft);
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.lang a { padding: 4px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

main { flex: 1; padding-bottom: 96px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding-top: 96px; }
.app-hero { text-align: center; }
.app-hero-text { display: flex; flex-direction: column; align-items: center; }
.app-hero-text h1 { margin-top: 26px; }
.app-hero-text .muted { margin: 8px 0 0; }
.app-hero .lede { margin-left: auto; margin-right: auto; }

.app-icon { display: block; flex-shrink: 0; }
.app-icon img { border-radius: 23%; box-shadow: var(--shadow-lg); }
.app-icon.large img { width: 112px; height: 112px; }
.app-icon.tiny img { width: 28px; height: 28px; border-radius: 8px; box-shadow: none; }

/* ── Buttons and store badges ─────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 700; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.button.ghost { background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.button.ghost:hover { transform: none; box-shadow: none; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-width: 170px; min-height: 56px; padding: 6px 22px; border-radius: 16px;
  background: var(--ink); color: var(--bg);
  font-family: var(--rounded); font-weight: 800; font-size: 1.15rem; line-height: 1.15;
  text-decoration: none;
}
.store small { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 0.68rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; }
.store.soon { background: var(--surface); color: var(--muted); box-shadow: var(--shadow-sm); }

/* ── Featured app (home) ──────────────────────────────────────────── */
.feature-app {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.feature-app::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -160px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-soft), transparent 70%);
  pointer-events: none;
}
.feature-app-text h3 { font-size: clamp(2rem, 4vw, 2.6rem); margin-top: 22px; }
.feature-app-text .muted { margin: 4px 0 14px; }
.feature-app-text > p:not(.muted) { font-size: 1.12rem; max-width: 30rem; }
.feature-app-shot { position: relative; z-index: 1; display: flex; justify-content: center; margin-bottom: -150px; }

/* ── Phones ───────────────────────────────────────────────────────── */
.phone {
  margin: 0;
  width: 100%;
  max-width: 280px;
  border-radius: 46px;
  padding: 9px;
  background: #101312;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; border-radius: 38px; }
.phone.tilt { transform: rotate(4deg); }
.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 28px;
  margin-top: 64px;
}
.phones .phone { max-width: 270px; }
.phones .phone:first-child { transform: rotate(-4deg) translateY(28px); }
.phones .phone:last-child { transform: rotate(4deg) translateY(28px); }
.phones .phone.front { max-width: 300px; z-index: 1; }

/* ── Steps and features ───────────────────────────────────────────── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  counter-reset: step;
}
.steps li, .feature {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 10px;
  border-radius: 12px;
  background: var(--ink); color: var(--bg);
  font-family: var(--rounded); font-weight: 800;
}
.steps strong, .feature strong { font-family: var(--rounded); font-size: 1.12rem; }
.steps span, .feature span { color: var(--muted); }
.features {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.feature-art { width: 44px; height: 44px; margin-bottom: 10px; }
.feature svg {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 10px;
  border-radius: 14px;
  background: var(--green-soft); color: var(--green);
}

/* ── Link cards ───────────────────────────────────────────────────── */
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link-grid a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px 24px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.link-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.link-grid strong { font-family: var(--rounded); font-size: 1.08rem; }
.link-grid strong::after { content: " →"; color: var(--green); }
.link-grid span { color: var(--muted); font-size: 0.95rem; }
.credits { margin-top: 72px; font-size: 0.9rem; color: var(--muted); }
.credits h2 { font-size: 1rem; margin-bottom: 6px; }

/* ── Documents (support and legal) ────────────────────────────────── */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 22px 0; }
.doc-app {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.doc-card {
  padding: clamp(26px, 5vw, 56px);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
.prose h1 + .muted {
  display: inline-block; margin-bottom: 24px; padding: 4px 12px; border-radius: 999px;
  background: var(--surface-2); font-size: 0.85rem; font-weight: 600;
}
.prose h2 { font-size: 1.35rem; margin: 2.4rem 0 0.7rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.05rem; margin: 1.4rem 0 0.3rem; }
.prose li { margin-bottom: 0.35rem; }
.prose ol, .prose ul { padding-left: 1.3rem; }
.callout {
  margin: 1.6rem 0; padding: 20px 24px; border-radius: 20px;
  background: var(--green-soft); border: 1px solid rgba(34, 197, 94, 0.25);
}
.callout ul { margin-bottom: 0; }
.callout p:first-child { color: var(--green); }
details {
  margin: 0 0 10px; padding: 16px 20px; border-radius: 18px;
  background: var(--surface-2);
}
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-weight: 800; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--muted); }
.prose .link-grid { margin-top: 18px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-top: 44px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer-grid p { margin: 10px 0 0; }
.footer-title { font-family: var(--rounded); font-weight: 800; margin: 0 !important; }
.footer-links { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 36px; padding: 18px 22px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* ── 404 ──────────────────────────────────────────────────────────── */
.notfound { padding-top: 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.notfound .code { font-family: var(--rounded); font-size: 1rem; font-weight: 800; color: var(--green); margin: 18px 0 0; letter-spacing: 0.1em; }
.notfound h2 { font-size: 1.4rem; margin-top: 24px; }

/* ── Small screens ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .feature-app { grid-template-columns: 1fr; padding: 32px 26px 0; }
  .feature-app-shot { margin-bottom: -120px; }
  .steps, .features { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(3, 72%); overflow-x: auto; justify-content: start; scroll-snap-type: x mandatory; padding: 10px 4px 40px; margin-left: -22px; margin-right: -22px; padding-left: 22px; }
  .phones .phone { scroll-snap-align: center; transform: none !important; max-width: none; }
  .phones .phone.front { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 64px; }
  .link-grid { grid-template-columns: 1fr; }
  .feature-app-shot .phone { max-width: 230px; }
  .section-title { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .link-grid a { transition: none; }
}
