/* BrideMirror — legal pages (TR/EN toggle) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-400-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/playfair-400-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/playfair-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFCFD;
  color: #2D2D2D;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: #B76E79; text-decoration: none; }
a:hover { color: #8E4F58; text-decoration: underline; }

:focus-visible { outline: 2px solid #B76E79; outline-offset: 3px; border-radius: 4px; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 3vw, 32px);
  background: rgba(255, 252, 253, 0.94);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(224, 214, 217, 0.65);
}

.legal-logo { display: block; height: 32px; width: auto; mix-blend-mode: multiply; }

.legal-lang-toggle {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid #E0D6D9;
  border-radius: 10px;
  background: #fff;
}

.legal-lang-btn {
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6B7280;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.legal-lang-btn.is-active {
  background: #F8E8EE;
  color: #8E4F58;
}

.legal-main {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(18px, 3vw, 32px) clamp(48px, 6vw, 72px);
}

.legal-content[hidden] { display: none !important; }

.legal-content h1 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #2D2D2D;
}

.legal-updated {
  margin: 0 0 32px;
  font-size: 14px;
  color: #6B7280;
}

.legal-content h2 {
  margin: 32px 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #2D2D2D;
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #8E4F58;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35em;
}

.legal-content li { margin-bottom: 6px; }

.legal-content table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.legal-content th,
.legal-content td {
  padding: 10px 12px;
  border: 1px solid #F1E0E4;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: #FDF2F4;
  font-weight: 600;
  color: #8E4F58;
}

.legal-content blockquote {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-left: 3px solid #D4A5AD;
  background: #FDF2F4;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  color: #2D2D2D;
}

.legal-en-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #F1E8EA;
  font-size: 13px;
  color: #6B7280;
  font-style: italic;
}

.legal-footer {
  border-top: 1px solid #E0D6D9;
  background: #fff;
  padding: 28px clamp(18px, 3vw, 32px) 32px;
  text-align: center;
}

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 16px;
  font-size: 14px;
}

.legal-footer-nav a { color: #6B7280; }
.legal-footer-nav a:hover { color: #B76E79; }

.legal-footer-copy {
  margin: 0;
  font-size: 13px;
  color: #6B7280;
}

@media (max-width: 600px) {
  .legal-content table { font-size: 13px; }
  .legal-content th,
  .legal-content td { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .legal-lang-btn { transition: none; }
}
