/* Bakimora's site (infrastructure plan §4.6): the app's own colours
   (docs/tasarim/DESIGN.md) — cream paper, white cards, navy for Bakimora
   and its links and buttons, coral only for "look here", no coloured
   cover — and the system's own font. Nothing is fetched from anywhere
   else. */
:root {
  --paper: #fbf8f4;
  --card: #ffffff;
  --ink: #22282d;
  --brand: #0e2a33;
  --look: #b8402f;
  --muted: #4f5961;
  --line: #e7e1d8;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}
.bar {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  color: var(--brand);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; }
.languages button {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 15px;
  min-height: 36px;
  margin-left: 6px;
}
.languages button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
h1 { font-size: 28px; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
p { margin: 8px 0; }
.publisher, .fine { color: var(--muted); font-size: 15px; }
.card {
  background: var(--card);
  border-radius: 20px;
  padding: 4px 16px;
  box-shadow: 0 8px 24px rgba(14, 42, 51, 0.08);
}
.card ul { margin: 0; padding: 12px 0 12px 20px; }
.card li { margin: 8px 0; }
.look {
  border-left: 4px solid var(--look);
  padding-left: 12px;
  margin: 12px 0;
}
a { color: var(--brand); }
.links a { display: inline-block; margin: 4px 12px 4px 0; }
.button {
  display: block;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  margin-top: 12px;
}
.button:disabled { background: var(--line); color: #6b6b6b; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 4px;
}
.check input { width: 24px; height: 24px; margin-top: 4px; flex: none; }
/* Google draws the button and its text; the size is the largest it offers.
   Scaled up a fifth so the words read on a phone (founder, 30 September). */
#google-button { min-height: 44px; margin: 12px 0; zoom: 1.2; }
[hidden] { display: none !important; }
html[lang="tr"] [lang="en"] { display: none; }
html[lang="en"] [lang="tr"] { display: none; }
footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
  color: var(--muted);
  font-size: 15px;
  border-top: 1px solid var(--line);
}
/* The invitation page (invitation link plan §3): no script runs there,
   so both languages stand one under the other and nothing switches. */
html[lang] main.both section[lang] { display: block; }
main.both section + section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.steps { margin: 0; padding: 12px 0 12px 24px; }
.steps li { margin: 12px 0; padding-left: 4px; }
.steps li::marker { font-weight: 800; color: var(--brand); }
/* The two shops' own badges, as each shop draws them (their rules allow
   no other use of their marks). One shop on a phone, and no script to
   pick it (invitation link plan §3): a touch phone shows Google Play's
   badge unless it is an iPhone, which only its own browser engine can
   say; a computer shows both. */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* Back over the list's indent, so that the middle is the card's. */
  margin: 8px 0 0 -28px;
}
/* Each badge in a slot of the same size, drawn at the same height (52px;
   neither shop lets its badge be stretched, so the widths are their
   own), with the clear space each asks for: a quarter of its height. */
.store {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 224px;
  height: 78px;
}
.store.apple img { height: 52px; width: auto; }
/* Google's files carry their own margin, and not the same one in every
   language: sized so that the badge itself is 52px high. */
section[lang="tr"] .store.google img { height: 67.7px; width: auto; }
section[lang="en"] .store.google img { height: 77.4px; width: auto; }
@media (hover: none) and (pointer: coarse) {
  .store.apple { display: none; }
}
/* A phone shows one shop, so it is told in words that there are two
   (founder, 6 October 2026: "aaa bak Android versiyonu da varmış"); a
   computer shows both badges and needs no sentence. */
.also {
  display: none;
  margin: 2px 0 6px -28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
@media (hover: none) and (pointer: coarse) {
  .also { display: block; }
}
@supports (-webkit-touch-callout: none) {
  .store.apple { display: inline-flex; }
  .store.google { display: none; }
}
/* The invitation page opens with the mark itself, large and in the
   middle, the name, and one sentence saying what Bakimora is (founder,
   6 October 2026); it has no bar above it. */
.hero { text-align: center; padding: 36px 16px 4px; }
.hero .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(14, 42, 51, 0.08);
}
.hero .mark img { width: 88px; height: 88px; }
.hero .name {
  margin: 16px 0 0;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.2;
  color: var(--brand);
}
.what {
  max-width: 22em;
  margin: 8px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}
main.both section > .what { margin-bottom: 20px; }
