/* Need Meet public site (legal pages + landing). Brand: navy globe + gold accent, Inter. */
:root {
  color-scheme: dark;
  --bg: #030a1f;
  --bg2: #071538;
  --card: #0a1a45;
  --card2: #0f2458;
  --line: rgba(120, 165, 255, 0.14);
  --line2: rgba(242, 185, 74, 0.26);
  --text: #f3f6ff;
  --muted: #93a6cf;
  --soft: #c9d6f2;
  --blue: #2f6bff;
  --gold: #f4c45c;
  --gold-2: #f2b94a;
  --red: #f43f5e;
  --accent-grad: linear-gradient(135deg, #ffe39c 0%, #f2b94a 48%, #c98a2a 100%);
  --on-accent: #1b1204;
  --radius: 18px;
  --maxw: 860px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Arabic', Tahoma, sans-serif;
}

/* Language switching: boot.js sets html[data-lang]; without JS every language stays visible.
   Pages list their languages in <html data-langs>; other ?lang values (es, it, zh) fall back to English. */
html[data-lang="tr"] [data-l]:not([data-l="tr"]),
html[data-lang="en"] [data-l]:not([data-l="en"]),
html[data-lang="ar"] [data-l]:not([data-l="ar"]),
html[data-lang="de"] [data-l]:not([data-l="de"]) { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(47, 125, 255, .28), transparent 62%),
    radial-gradient(700px 420px at 100% 100%, rgba(242, 185, 74, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe39c; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; inset-inline-start: 16px; top: -80px; background: var(--gold); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 8px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: rgba(4, 11, 32, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 185, 74, .22);
}
.head-in { max-width: 1080px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 6px 16px rgba(47, 125, 255, .45)); }
.word { font-weight: 900; font-size: 19px; letter-spacing: .3px; white-space: nowrap; }
.word .meet { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head-sp { flex: 1; }
.lang-toggle { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line2); border-radius: 99px; background: rgba(10, 26, 69, .7); }
.lang-toggle button {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--soft);
  background: transparent; border: 0; border-radius: 99px; padding: 5px 11px; cursor: pointer; min-height: 32px;
}
.lang-toggle button[aria-pressed="true"] { background: var(--accent-grad); color: var(--on-accent); }

.subnav { max-width: 1080px; margin: 0 auto; padding: 0 16px 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; font-size: 13px; font-weight: 600; color: var(--soft); text-decoration: none;
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line);
}
.subnav a[aria-current="page"] { color: var(--gold); border-color: var(--line2); background: rgba(242, 185, 74, .08); }

/* Document pages */
main { display: block; }
.doc { max-width: var(--maxw); margin: 0 auto; padding: 28px 16px 56px; }
.doc h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 8px 0 6px; font-weight: 900; letter-spacing: -.2px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.doc h2 { font-size: 21px; line-height: 1.3; margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 800; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; font-weight: 700; color: var(--soft); }
.doc p, .doc li { color: #dfe7fb; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.lead { font-size: 17.5px; color: var(--soft) !important; }

.card {
  background: linear-gradient(180deg, rgba(15, 36, 88, .75), rgba(10, 26, 69, .75));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; margin: 18px 0;
}
.card.gold { border-color: var(--line2); box-shadow: 0 0 0 4px rgba(242, 185, 74, .04); }
.card.alert { border-color: rgba(244, 63, 94, .45); background: linear-gradient(180deg, rgba(80, 14, 34, .55), rgba(10, 26, 69, .75)); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.toc { columns: 2 220px; column-gap: 24px; padding-inline-start: 20px; margin: 0; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--gold); }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 46px; margin: 12px 0; min-height: 34px; }
.steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; background: var(--accent-grad); color: var(--on-accent);
}
.path { display: inline-block; font-weight: 700; color: var(--gold); background: rgba(242, 185, 74, .08); border: 1px solid var(--line2); border-radius: 10px; padding: 2px 8px; }

.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
th, td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 700; background: rgba(10, 26, 69, .8); }
tr:last-child td { border-bottom: 0; }

address { font-style: normal; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: rgba(120, 165, 255, .12); padding: 1px 6px; border-radius: 6px; }

/* Landing */
.hero { max-width: 1080px; margin: 0 auto; padding: 56px 16px 28px; text-align: center; }
.hero .logo { width: 118px; height: 118px; filter: drop-shadow(0 18px 50px rgba(47, 125, 255, .5)); }
.hero h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.08; margin: 18px 0 8px; font-weight: 900; letter-spacing: -.5px; }
.hero .tagline { color: var(--soft); font-weight: 600; letter-spacing: 1.4px; font-size: 13px; text-transform: uppercase; margin: 0 0 18px; }
.hero .sub { color: var(--soft); font-size: clamp(17px, 2.6vw, 20px); max-width: 640px; margin: 0 auto 26px; }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-width: 190px; padding: 10px 18px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .28); background: #000; color: #fff; text-decoration: none;
}
.badge svg { width: 26px; height: 26px; flex: none; }
.badge small { display: block; font-size: 11px; line-height: 1.1; opacity: .85; }
.badge b { display: block; font-size: 18px; line-height: 1.2; font-weight: 700; }
.badge[aria-disabled="true"] { cursor: default; opacity: .9; }
.soon { margin-top: 12px; color: var(--muted); font-size: 14px; }

.features { max-width: 1080px; margin: 0 auto; padding: 18px 16px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feature { background: linear-gradient(180deg, rgba(15, 36, 88, .7), rgba(10, 26, 69, .7)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 185, 74, .12); border: 1px solid var(--line2); margin-bottom: 10px; }
.feature .ic svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--soft); font-size: 14.5px; }

.trust { max-width: var(--maxw); margin: 0 auto 40px; padding: 0 16px; }

/* 404 */
.nf { max-width: 560px; margin: 0 auto; padding: 80px 16px; text-align: center; }
.nf .code { font-size: 92px; font-weight: 900; line-height: 1; }
.btn {
  display: inline-block; margin-top: 18px; padding: 12px 22px; border-radius: 99px; font-weight: 800; text-decoration: none;
  background: var(--accent-grad); color: var(--on-accent); box-shadow: 0 8px 24px rgba(242, 185, 74, .35);
}
.btn:hover { color: var(--on-accent); filter: brightness(1.05); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: rgba(3, 10, 31, .7); }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 26px 16px 34px; display: grid; gap: 16px; grid-template-columns: 1fr; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.3fr 1fr; } }

[dir="rtl"] .doc ul, [dir="rtl"] .doc ol { padding-inline-start: 22px; }

@media (max-width: 520px) {
  .word { font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  .doc h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: #fff; color: #000; }
  .site-head, .site-foot, .lang-toggle, .subnav { display: none; }
  .doc p, .doc li { color: #000; }
  .card { border-color: #999; background: none; }
}

/* Binding language note on translated legal texts */
.binding { font-size: 13.5px; color: var(--muted) !important; border-inline-start: 3px solid var(--line2); padding-inline-start: 10px; }

/* Public notice form (report.html) */
.nf { display: grid; gap: 14px; margin-top: 18px; }
.nf-field { display: grid; gap: 6px; }
.nf label { font-weight: 700; }
.nf input[type="text"], .nf input[type="email"], .nf select, .nf textarea {
  width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 12px; font: inherit;
  background: rgba(255, 255, 255, .04); color: inherit; border: 1px solid var(--line2);
}
.nf textarea { resize: vertical; }
.nf-hint { color: var(--muted); font-size: 13px; }
.nf-check { display: flex; gap: 10px; align-items: flex-start; }
.nf-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.nf-check label { font-weight: 500; }
.nf-msg { color: #fda4af; min-height: 1em; margin: 0; }
.nf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.nf-authority { display: grid; gap: 14px; }
.nf-authority[hidden], .nf-hint[hidden] { display: none; }
