/* Vadem web sitesi: sistem yazı tipi, tek vurgu rengi (uygulamadaki #1E5AA8). */

:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #ffffff;
  --alt: #f5f5f7;
  --line: #d2d2d7;
  --link: #1e5aa8;
  --edge: rgba(0, 0, 0, 0.1);
  --shadow: rgba(0, 0, 0, 0.2);
  --shot: min(300px, 72vw);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --bg: #000000;
    --alt: #111113;
    --line: #38383a;
    --link: #7ea7e6;
    --edge: rgba(255, 255, 255, 0.16);
    --shadow: rgba(0, 0, 0, 0);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p, ul, figure { margin: 0; }

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

a {
  color: var(--link);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 968px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.top .wrap {
  display: flex;
  align-items: center;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

/* Sections: text and a phone screen side by side, stacked on phones */

section { padding: 64px 0; }

.alt { background: var(--alt); }

.row {
  display: grid;
  gap: 40px;
  justify-items: center;
  text-align: center;
}

.text { max-width: 30em; }

h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.text p {
  margin-top: 16px;
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--muted);
}

.phone img {
  width: var(--shot);
  border-radius: calc(var(--shot) * 0.13);
  box-shadow: 0 0 0 1px var(--edge), 0 24px 48px -20px var(--shadow);
}

/* os.js marks Android phones; they see the Android screens. */
img.android,
.is-android img.ios { display: none; }
.is-android img.android { display: block; }

/* Store badges, official artwork at the same height */

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.badges a {
  display: block;
  border-radius: 9px;
}

.badges img {
  width: auto;
  height: 48px;
}

.is-android .badge-play { order: -1; }

.end { text-align: center; }

.end p {
  font-size: 21px;
  font-weight: 600;
}

.end .badges { margin-top: 20px; }

/* Keeps the two badges on one line on 360 px wide phones. */
@media (max-width: 479px) {
  .badges { gap: 10px; }
  .badges img { height: 42px; }
}

/* Text pages: privacy policy, not found */

/* Header, text and footer share one narrower column on these pages. */
.narrow { max-width: 728px; }

.doc {
  padding-top: 32px;
  padding-bottom: 72px;
}

.doc h1 {
  font-size: clamp(30px, 5vw, 40px);
  margin-bottom: 8px;
}

.doc h2 {
  font-size: 21px;
  letter-spacing: 0;
  margin: 36px 0 8px;
}

.doc p,
.doc li { margin-bottom: 12px; }

.doc ul { padding-left: 22px; }

.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0 20px;
}

.muted {
  color: var(--muted);
  font-size: 15px;
}

/* Footer */

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p + p { margin-top: 8px; }

footer .legal { font-size: 13px; }

@media (min-width: 760px) {
  section { padding: 96px 0; }

  .row {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    gap: 72px;
    text-align: left;
  }

  .row.flip { grid-template-columns: auto 1fr; }

  .row.flip .text { order: 2; }

  .hero .badges { justify-content: flex-start; }
}
