/* Renkler apps/mobile/src/theme/tokens.ts açık ve koyu temasından alınmıştır (metin ≥ 4.5:1). */
:root {
  color-scheme: light dark;
  --background: #f4f9f8;
  --surface: #ffffff;
  --hairline: #e0e5e4;
  --text: #242e2b;
  --text-muted: #5b6663;
  --primary: #386f63;
  --primary-tint: #e0f4ef;
  --danger: #98524a;
  --danger-tint: #ffebe8;
  --focus: #386f63;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1413;
    --surface: #181d1c;
    --hairline: #2a2f2e;
    --text: #e4ebe9;
    --text-muted: #acb3b1;
    --primary: #8acdbe;
    --primary-tint: #1c3630;
    --danger: #e89e94;
    --danger-tint: #422825;
    --focus: #8acdbe;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border-radius: 8px;
  z-index: 1;
}

.skip:focus {
  top: 0.5rem;
}

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

.site-header nav a {
  padding: 0.5rem 0.25rem;
}

[aria-current='page'] {
  font-weight: 600;
}

main.wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  overflow-wrap: break-word;
}

h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

p,
li {
  overflow-wrap: break-word;
}

.hero {
  text-align: center;
}

.hero img {
  display: block;
  margin: 0 auto 0.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 0;
}

.hero p:not(.lead) {
  text-align: left;
}

.features {
  padding-left: 1.25rem;
}

.notice {
  background: var(--danger-tint);
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.stores {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stores li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.625rem 1rem;
}

.store {
  font-weight: 600;
}

.soon {
  font-size: 0.875rem;
  color: var(--text);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 0.125rem 0.625rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.legal h1 {
  font-size: 1.75rem;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding: 1.5rem 0 2rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-footer a {
  display: inline-block;
  padding: 0.25rem 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
