/* The two sites' styles until the design (docs/site-content.md): a centred page in the logo's
   colours. System fonts, which carry every Turkish letter (D-001 rule 16). */
:root {
  --navy: #0d2b5e;
  --red: #e30a2f;
  --ink: #1b2433;
  --muted: #5f6b7d;
  --line: #e4e8ef;
  --tint: #f5f7fa;
  --paper: #ffffff;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  color-scheme: light;
}
* { box-sizing: border-box; }
html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.staging {
  margin: 0;
  padding: .5rem var(--gutter);
  background: var(--red);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
}

/* the header: the name on the left (where shown), the language picker on the right */
.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
}
.brand {
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--navy);
  text-decoration: none;
}
.lang { position: relative; margin-left: auto; }
.lang summary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  transition: border-color .15s ease;
}
.lang summary:hover { border-color: var(--navy); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after {
  content: "";
  width: .4rem;
  height: .4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang ul {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 10;
  min-width: 11rem;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .75rem;
  box-shadow: 0 12px 32px rgba(13, 43, 94, .12);
}
.lang li a {
  display: block;
  padding: .45rem .75rem;
  font-size: .9375rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: .5rem;
}
.lang li a:hover { background: var(--tint); color: var(--navy); }
.lang li a[aria-current] { font-weight: 600; color: var(--navy); }

/* the page: centred in the space between header and footer */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter);
  text-align: center;
}
h1 { margin: 0; line-height: 1.2; }
h1 .logo { display: block; width: clamp(9rem, 28vw, 14rem); height: auto; }
.lead { margin: 0; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }
.lead::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 1.75rem auto 1.5rem;
  background: var(--red);
  border-radius: 2px;
}
main > p:not(.lead) { margin: 1rem 0 0; color: var(--muted); }

/* the footer: centred, quiet */
.site-footer {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 2rem;
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}
.follow p {
  margin: 0 0 .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.follow ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.follow a { color: var(--muted); text-decoration: none; }
.follow a:hover { color: var(--navy); text-decoration: underline; }
.legal { margin: 0; font-size: .8125rem; }

/* the formal site (D-004): the legal information as a card of facts */
.site-vzw h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
}
.facts {
  width: 100%;
  max-width: 38rem;
  margin: 0;
  padding: .35rem 1.75rem;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(13, 43, 94, .04), 0 10px 28px rgba(13, 43, 94, .07);
}
.facts div {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.25rem;
  padding: .95rem 0;
  border-top: 1px solid var(--line);
}
.facts div:first-child { border-top: 0; }
.facts dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 36rem) {
  .facts { padding: .25rem 1.25rem; }
  .facts div { grid-template-columns: 1fr; gap: .15rem; padding: .8rem 0; }
}
