/* winkn.net: the landing page (site/README.md). One stylesheet for both languages: logical properties, so Arabic's
   right-to-left needs nothing of its own. The brand's gradient is the app icon's. */
:root {
  --bg: #f6f2fa;
  --card: #ffffff;
  --text: #17131f;
  --muted: #6b6478;
  --line: #ebe5f2;
  --chip: #f3edfb;
  --brand-a: #ff4f7b;
  --brand-b: #8b3dff;
  --shadow: 0 18px 50px rgba(60, 20, 90, 0.12);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0b13;
    --card: #1a1622;
    --text: #f4f1f8;
    --muted: #a39bb2;
    --line: #2a2433;
    --chip: #241e2e;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Noto Sans Arabic", "Geeza Pro", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(110% 70% at 50% -10%, rgba(255, 79, 123, 0.3), rgba(139, 61, 255, 0.16) 45%, transparent 75%);
}
a {
  color: inherit;
}
.top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px;
}
.lang {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  background: var(--chip);
  padding: 6px 14px;
  border-radius: 999px;
}
.lang:hover,
.lang:focus-visible {
  color: var(--text);
}
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 40px;
}
.card {
  width: min(440px, 100%);
  background: var(--card);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 36px 28px 28px;
  text-align: center;
}
.icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(139, 61, 255, 0.3);
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}
.pitch {
  margin: 0 auto 26px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 18px;
}
.downloads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--text);
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}
/* The visitor's own phone first, and in the brand's colours (site/assets/site.js). */
.btn.mine {
  order: -1;
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
}
.btn:focus-visible {
  outline: 3px solid var(--brand-b);
  outline-offset: 2px;
}
.note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.note + .note {
  margin-top: 6px;
}
.stores {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  padding: 0 16px 28px;
  font-size: 14px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover,
footer a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}
