:root {
  color-scheme: light;
  --background: #fff4eb;
  --background-deep: #f8e2d3;
  --surface: rgba(255, 253, 249, 0.9);
  --surface-solid: #fffdf9;
  --text: #342823;
  --muted: #75655d;
  --accent: #c96f52;
  --accent-deep: #9f4f39;
  --accent-soft: #f7d8ca;
  --border: rgba(83, 57, 46, 0.12);
  --shadow: 0 18px 50px rgba(111, 70, 51, 0.1);
  --radius-lg: 30px;
  --radius-md: 22px;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 255, 255, 0.92), transparent 30rem),
    radial-gradient(circle at 92% 22%, rgba(240, 185, 155, 0.24), transparent 28rem),
    linear-gradient(155deg, var(--background) 0%, #fff9f3 52%, var(--background-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(159, 79, 57, 0.42);
  outline-offset: 4px;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 247, 240, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.header-actions,
.site-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  min-width: 0;
  gap: 20px;
}

.site-nav {
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

.language-switch {
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-solid);
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--accent);
}

main {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0 72px;
}

.hero {
  max-width: 820px;
  margin: 0 auto clamp(42px, 6vw, 66px);
  text-align: center;
}

.app-mark {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159, 79, 57, 0.12);
  border-radius: 25px;
  color: var(--accent-deep);
  background: linear-gradient(145deg, #ffe8dd, #f7c9b5);
  box-shadow: var(--shadow);
  font-size: 2rem;
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 8vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  white-space: pre-line;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nav-card {
  min-height: 220px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-card:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 79, 57, 0.24);
  color: var(--text);
  box-shadow: 0 22px 56px rgba(111, 70, 51, 0.14);
}

.nav-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 1.25rem;
}

.nav-card h3 {
  margin: 24px 0 5px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.nav-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.arrow {
  align-self: flex-end;
  margin-top: 20px;
  color: var(--accent-deep);
  font-size: 1.25rem;
}

.page-intro {
  max-width: 780px;
  margin: 0 auto 30px;
}

.page-intro h1 {
  font-size: clamp(2.15rem, 6vw, 3.7rem);
}

.updated {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(25px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.legal-card h2 {
  margin: 0 0 11px;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p {
  margin: 0.7em 0 0;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 1.3em;
}

.legal-card li + li {
  margin-top: 7px;
}

.support-box {
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(159, 79, 57, 0.15);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.support-box strong,
.support-box span,
.support-box a {
  display: block;
}

.support-box span,
.support-box a {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

[data-lang="en"] {
  display: none;
}

html.lang-en [data-lang="tr"] {
  display: none;
}

html.lang-en [data-lang="en"] {
  display: revert;
}

@media (max-width: 780px) {
  .header-inner {
    width: min(calc(100% - 28px), var(--content-width));
    padding: 12px 0;
    align-items: flex-start;
  }

  .header-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 9px;
  }

  .site-nav {
    max-width: min(76vw, 430px);
    gap: 9px 13px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .site-nav a {
    font-size: 0.79rem;
  }

  .language-switch button {
    min-width: 35px;
    min-height: 31px;
  }

  main,
  .site-footer {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .nav-card {
    min-height: 178px;
  }
}

@media (max-width: 440px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    padding-top: 4px;
    font-size: 1.18rem;
  }

  .site-nav {
    max-width: 74vw;
    gap: 5px 10px;
  }

  main {
    padding-top: 38px;
  }

  .legal-card {
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-card {
    transition: none;
  }
}
