/* Shared look for the Support, Privacy and Terms pages: the light WanOs canvas, a wave-lit
   header with tabs, a sticky table of contents and one white document card. */
:root {
  --bg: #f3f6fd;
  --top: #dce8fd;
  --ink: #0e1430;
  --ink-2: rgba(14, 20, 48, 0.72);
  --ink-3: rgba(14, 20, 48, 0.46);
  --line: rgba(14, 20, 48, 0.08);
  --blue: #3d6df5;
  --violet: #8b5cf6;
  --amber: #ff8a5c;
  --teal: #0b9c98;
  --red: #d23a40;
  --sans: "Geist", -apple-system, system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
html[data-lang="tr"] [data-l="en"], html[data-lang="en"] [data-l="tr"] { display: none !important; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Nav */
.nav { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -24px rgba(20, 30, 80, 0.35); width: max-content; max-width: calc(100% - 24px); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -0.01em; margin-right: 10px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav-link { padding: 8px 13px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: background .4s var(--spring), color .4s var(--spring); }
.nav-link:hover { background: rgba(14, 20, 48, 0.05); color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--ink); color: #fff; }
.langs { display: inline-flex; padding: 3px; margin-left: 4px; border-radius: 99px; background: rgba(14, 20, 48, 0.05); }
.langs button { border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 99px; font: 700 11px var(--sans); letter-spacing: 0.08em; color: var(--ink-3); }
.langs button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Header */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 44px; background: linear-gradient(180deg, var(--top), rgba(220, 232, 253, 0.4) 70%, var(--bg)); }
.hero svg.waves { position: absolute; left: 50%; top: 40px; width: 1700px; max-width: none; transform: translateX(-50%); z-index: -1; opacity: 0.9; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #08807c; background: rgba(12, 185, 181, 0.12); box-shadow: inset 0 0 0 1px rgba(12, 185, 181, 0.25); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 { margin: 20px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6.4vw, 80px); line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; max-width: 16ch; }
h1 .grad { background: linear-gradient(100deg, #4785ff, #8b5cf6 55%, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 18px 0 0; max-width: 60ch; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.updated { margin: 14px 0 0; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.tabs { display: flex; gap: 8px; margin-top: 30px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 11px 18px; border-radius: 99px; font: 600 14px var(--sans); color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s var(--spring), color .4s var(--spring), transform .4s var(--spring); }
.tab:hover { color: var(--ink); transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(14, 20, 48, 0.6); }
.tab svg { width: 16px; height: 16px; color: var(--teal); }
.tab[aria-selected="true"] svg { color: #6fe6e1; }

/* Body */
.body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 52px; padding-top: 28px; padding-bottom: 80px; }
.toc { position: sticky; top: 104px; align-self: start; }
.toc-h { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--ink-3); text-decoration: none; transition: color .3s, border-color .3s; }
.toc a span { font-variant-numeric: tabular-nums; margin-right: 6px; color: rgba(14, 20, 48, 0.3); }
.toc a:hover { color: var(--ink); }
.toc a.on { border-color: var(--teal); color: var(--ink); font-weight: 600; }
.doc[hidden] { display: none; }
.card { border-radius: 30px; background: #fff; padding: 6px 40px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(18, 26, 58, 0.4); }
.sec { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.sec:last-child { border-bottom: 0; }
.sec h2 { margin: 0; display: flex; gap: 12px; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.2; letter-spacing: -0.02em; }
.sec h2 .n { font-size: 14px; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.txt { margin-top: 14px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.txt p { margin: 12px 0 0; } .txt p:first-child { margin-top: 0; }
.txt strong { color: var(--ink); }
.txt a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(61, 109, 245, 0.3); text-underline-offset: 2px; }
.txt ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.txt ul li { display: flex; gap: 12px; }
.txt ul li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.72em; border-radius: 50%; background: var(--teal); }
.txt ol { list-style: none; counter-reset: s; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.txt ol li { counter-increment: s; display: flex; gap: 14px; }
.txt ol li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; margin-top: 1px; }
.tbl { margin-top: 16px; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.tr { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 18px; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.tr:first-child { border-top: 0; }
.tr b { color: var(--ink); font-weight: 600; }
.tr.th { background: rgba(14, 20, 48, 0.035); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.tr.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); }
.call { display: flex; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(12, 185, 181, 0.07); box-shadow: inset 0 0 0 1px rgba(12, 185, 181, 0.22); font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.call:first-child { margin-top: 0; }
.call .ci { flex: none; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: rgba(12, 185, 181, 0.15); color: #08807c; }
.call .ci svg { width: 17px; height: 17px; }
.call b { display: block; color: var(--ink); margin-bottom: 2px; }
.call.warn { background: rgba(245, 158, 11, 0.08); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28); } .call.warn .ci { background: rgba(245, 158, 11, 0.16); color: #b5600b; }
.call.danger { background: rgba(229, 72, 77, 0.06); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.22); } .call.danger .ci { background: rgba(229, 72, 77, 0.12); color: var(--red); }
.call.brand { background: linear-gradient(120deg, rgba(71, 133, 255, 0.08), rgba(139, 92, 246, 0.08) 60%, rgba(255, 138, 92, 0.08)); box-shadow: inset 0 0 0 1px rgba(110, 100, 255, 0.2); } .call.brand .ci { background: linear-gradient(135deg, #4785ff, #8b5cf6 60%, #ff8a5c); color: #fff; }
mark.ph { background: rgba(245, 158, 11, 0.2); color: #8a4b06; padding: 1px 6px; border-radius: 6px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.4); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.promises div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(14, 20, 48, 0.03); font-size: 14.5px; line-height: 1.5; }
.promises svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 1px; }
.promises b { display: block; color: var(--ink); }

/* Contact strip */
.contact { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: 30px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #26306f, #0e1430 60%); box-shadow: 0 30px 60px -30px rgba(14, 20, 48, 0.7); }
.contact b { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; }
.contact span { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.contact .ic { flex: none; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #6fe6e1; }
.contact .row { display: flex; gap: 14px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 20px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: transform .5s var(--spring); }
.pill:hover { transform: translateY(-1px); }
.pill i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; }
.pill i svg { width: 14px; height: 14px; }
.pill.dark { background: var(--ink); color: #fff; } .pill.dark i { background: #fff; color: var(--ink); }
.btn-ghost { border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.1); color: #fff; padding: 12px 18px; border-radius: 99px; font: 600 14px var(--sans); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.top-link { display: flex; justify-content: center; margin-top: 22px; }
.top-link a { font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; padding: 8px 14px; border-radius: 99px; }
.top-link a:hover { background: rgba(14, 20, 48, 0.05); color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 36px 0 90px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-3); }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }

/* Entrance */
.rise { animation: rise .9s var(--spring) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 960px) {
  .body { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .nav-link.opt { display: none; }
  .nav { padding-left: 12px; }
  .brand span { display: none; }
  .card { padding: 4px 20px; border-radius: 24px; }
  .tr, .tr.three { grid-template-columns: 1fr; gap: 4px; }
  .tr.th { display: none; }
  .promises { grid-template-columns: 1fr; }
  .contact { padding: 22px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
