/* ============================================================
   SLINK — w9li.com design system
   Arabic-first, dark, calm, Apple-level polish
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria[wght].ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/BodoniModa[opsz,wght].ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda Italic";
  src: url("../fonts/BodoniModa-Italic[opsz,wght].ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0b0d;
  --bg-2: #101013;
  --bg-3: #16161b;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --text-2: #b4b4be;
  --text-3: #7a7a85;
  --ice: #a9c7ff;
  --ice-2: #c3e2ee;
  --rose: #f4b6d2;
  --grad-ice: linear-gradient(135deg, #c3e2ee, #a9c7ff);
  --grad-accent: linear-gradient(120deg, #c3e2ee 0%, #a9c7ff 45%, #f4b6d2 100%);
  --font: "Alexandria", system-ui, -apple-system, sans-serif;
  --font-latin: "Bodoni Moda", "Bodoni Moda Italic", Georgia, serif;
  --font-latin-italic: "Bodoni Moda Italic", Georgia, serif;
  --maxw: 1160px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.65);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
::selection { background: rgba(169, 199, 255, 0.28); color: #fff; }

/* Latin accent inside Arabic text */
.latin { font-family: var(--font-latin-italic); font-style: italic; font-weight: 500; }
.latin-up { font-family: var(--font-latin); font-style: normal; font-weight: 500; letter-spacing: 0.02em; }

/* gradient text */
.grad-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ice-2); text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-ice); box-shadow: 0 0 12px var(--ice);
}
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-top: 0.75rem; }
.lead { color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.16rem); max-width: 640px; margin-top: 0.9rem; }

/* ---------- Background atmosphere ---------- */
.atmosphere {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% -5%, rgba(169, 199, 255, 0.14), transparent 60%),
    radial-gradient(50% 40% at 90% 0%, rgba(244, 182, 210, 0.10), transparent 60%),
    radial-gradient(80% 60% at 50% 115%, rgba(169, 199, 255, 0.07), transparent 60%),
    var(--bg);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font-family: var(--font-latin); font-weight: 600; font-size: 1.28rem; letter-spacing: 0.03em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-2); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px;
  border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-2); transition: all .2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); place-items: center; }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: rgba(11, 11, 13, 0.96);
  backdrop-filter: blur(20px); display: flex; flex-direction: column;
  padding: 24px; transform: translateY(-102%); transition: transform .4s var(--ease);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-nav a.nav-link {
  display: block; padding: 16px 4px; font-size: 1.15rem; font-weight: 600;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.mobile-nav .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  line-height: 1; transition: transform .18s var(--ease), box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(120deg, #c3e2ee, #a9c7ff 60%, #f4b6d2 130%);
  color: #0a0a0c; box-shadow: 0 8px 30px -8px rgba(169, 199, 255, 0.5);
}
.btn-primary:hover { box-shadow: 0 12px 40px -6px rgba(169, 199, 255, 0.65); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.22); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn .arrow { transition: transform .2s var(--ease); }
[dir="rtl"] .btn .arrow { transform: rotate(180deg); }
.btn:hover .arrow { transform: translateX(2px); }
[dir="rtl"] .btn:hover .arrow { transform: rotate(180deg) translateX(-2px); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 0.84rem; color: var(--text-2);
}
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-ice); display: grid; place-items: center; font-size: 0.6rem; color: #0a0a0c; flex: none; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 3.9rem); margin-top: 1.4rem; letter-spacing: -0.02em; }
.hero .sub { color: var(--text-2); font-size: clamp(1.05rem, 1.7vw, 1.22rem); margin-top: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 2.2rem; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m b { font-size: 1.12rem; font-weight: 700; }
.hero-meta .m span { font-size: 0.82rem; color: var(--text-3); }
.hero-meta .m b .latin { font-size: 0.9rem; }

/* hero device */
.hero-visual { position: relative; display: flex; justify-content: center; }
.device {
  position: relative; width: min(320px, 72vw); aspect-ratio: 9 / 19.5;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #26262e, #0c0c0f);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85), inset 0 1px 1px rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.06);
}
.device-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; }
.glow.ice { width: 320px; height: 320px; background: rgba(169,199,255,0.22); top: -40px; inset-inline-start: -60px; }
.glow.rose { width: 300px; height: 300px; background: rgba(244,182,210,0.16); bottom: -30px; inset-inline-end: -70px; }
.float-chip {
  position: absolute; padding: 10px 15px; border-radius: 14px; background: rgba(22,22,27,0.85);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
  font-size: 0.8rem; color: var(--text); box-shadow: var(--shadow); display: flex; gap: 9px; align-items: center;
}
.float-chip b { font-weight: 600; }
.float-chip .ic { color: var(--ice); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); padding: 26px; overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(169,199,255,0.16), rgba(244,182,210,0.1));
  border: 1px solid var(--border); margin-bottom: 16px; color: var(--ice);
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 0.94rem; }
.card .card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.88rem; color: var(--ice-2); font-weight: 600; }

/* feature with screenshot */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-split .shot {
  display: flex; justify-content: center; position: relative;
}
.feature-split .shot img {
  width: min(290px, 68vw); border-radius: 30px; box-shadow: var(--shadow);
  border: 1px solid var(--border); transform: rotate(-2deg);
}
.feature-split .shot img.tilt-r { transform: rotate(2deg); }
.check-list { display: flex; flex-direction: column; gap: 13px; margin-top: 22px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); font-size: 0.98rem; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c7ff' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
  background-color: rgba(169,199,255,0.12);
}

/* ---------- Connector grid ---------- */
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.conn-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; justify-content: center;
  padding: 20px 10px; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surface); transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.conn-tile:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-3px); }
.conn-tile .logo { width: 34px; height: 34px; object-fit: contain; opacity: 0.9; }
.conn-tile img.logo { border-radius: 6px; }
.conn-tile span { font-size: 0.8rem; color: var(--text-2); font-weight: 500; }
.conn-cat { margin-top: 44px; }
.conn-cat h3 { font-size: 1.05rem; margin-bottom: 4px; }
.conn-cat .cat-note { color: var(--text-3); font-size: 0.86rem; margin-bottom: 16px; }

/* ---------- Docs ---------- */
.docs-layout { display: grid; grid-template-columns: 264px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.docs-sidebar { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; padding-inline-end: 8px; }
.docs-search { position: relative; margin-bottom: 18px; }
.docs-search input {
  width: 100%; padding: 11px 14px 11px 38px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 0.9rem;
}
.docs-search input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(169,199,255,0.15); }
.docs-search svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.docs-nav a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 0.9rem; color: var(--text-2); margin-bottom: 2px; transition: all .18s; }
.docs-nav a:hover { color: var(--text); background: var(--surface-2); }
.docs-nav a.active { color: var(--text); background: var(--surface-2); font-weight: 600; }
.docs-nav .group { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); font-weight: 700; margin: 20px 0 8px; padding-inline-start: 12px; }
.docs-content { min-width: 0; }
.docs-content h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.6rem; }
.docs-content h2 { font-size: 1.4rem; margin: 2.4rem 0 0.8rem; }
.docs-content h3 { font-size: 1.1rem; margin: 1.8rem 0 0.6rem; }
.docs-content p { color: var(--text-2); margin-bottom: 1rem; }
.docs-content .lead { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-inline-start: 1.4rem; list-style: initial; color: var(--text-2); }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ice-2); }
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.86em;
  background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--ice-2);
  border: 1px solid var(--border);
}
.prose pre {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 20px; overflow-x: auto; margin: 1rem 0; direction: ltr; text-align: left;
}
.prose pre code { background: none; border: none; padding: 0; color: var(--text); font-size: 0.85rem; line-height: 1.6; }
.prose blockquote {
  border-inline-start: 3px solid var(--ice); padding: 12px 18px; margin: 1rem 0;
  background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-2);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.92rem; }
.prose th, .prose td { text-align: start; padding: 10px 14px; border: 1px solid var(--border); }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.prose td { color: var(--text-2); }
.callout {
  border: 1px solid var(--border); border-inline-start: 3px solid var(--rose);
  background: var(--surface); border-radius: var(--r-md); padding: 16px 20px; margin: 1.4rem 0;
}
.callout.ice { border-inline-start-color: var(--ice); }
.callout b { display: block; margin-bottom: 4px; color: var(--text); }
.callout p { margin: 0; font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: start; font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq-q .chev { transition: transform .3s var(--ease); color: var(--text-3); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-2); font-size: 0.96rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; }
.price-card { position: relative; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 34px 30px; }
.price-card.featured { border-color: rgba(169,199,255,0.4); background: linear-gradient(160deg, rgba(169,199,255,0.07), rgba(244,182,210,0.04)); }
.price-card .tag { position: absolute; top: -13px; inset-inline-start: 30px; padding: 4px 14px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; background: var(--grad-accent); color: #0a0a0c; }
.price-card .price { font-size: 2.6rem; font-weight: 700; margin: 18px 0 4px; letter-spacing: -0.02em; }
.price-card .price .cur { font-size: 1.2rem; vertical-align: super; margin-inline-end: 3px; }
.price-card .price-note { color: var(--text-3); font-size: 0.86rem; }
.price-card .features { margin: 22px 0 26px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 56px 40px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--text-3); font-size: 0.88rem; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: var(--text-2); font-size: 0.92rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-3); font-size: 0.84rem; }
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- App store badge ---------- */
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--border-strong); border-radius: 14px; background: #000; transition: border-color .25s, transform .2s; }
.store-badge:hover { border-color: rgba(255,255,255,0.3); }
.store-badge .apple { color: #fff; }
.store-badge .st { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store-badge .st small { font-size: 0.66rem; color: var(--text-2); }
.store-badge .st b { font-size: 1.12rem; }

/* ---------- Reveal animation ---------- */
/* Default: visible (no-JS safe). With JS (.js), hidden until revealed on scroll. */
.reveal { opacity: 1; transform: none; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }

/* ---------- Focus & a11y ---------- */
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 0; z-index: 100; background: var(--ice); color: #0a0a0c; padding: 10px 18px; border-radius: 0 0 12px 0; font-weight: 600; }
.skip-link:focus { inset-inline-start: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split .shot { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; max-height: none; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-cta .lang-toggle { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px; }
  .conn-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .btn-lg { padding: 14px 24px; font-size: 0.98rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal:not(.in) { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================ SLINK identity — the stretch, the star, the motion
   Ported from the brand tour: the n is rubber, the star spins on the k, the two colours never stop fading. */
:root { --acc: #A9C7FF; --acc2: #F4B6D2; --t1: #F5F5F7; }
.slink-mark { display: block; overflow: visible; width: 100%; height: auto; }
.slink-mark .ink { fill: var(--t1); }
.slink-mark .acc { fill: var(--acc); }
.slink-mark .acc2 { fill: var(--acc2); }
.brand { gap: 0; }
.brand-logo { display: block; width: 118px; aspect-ratio: 3800 / 764; }
.brand-logo .slink-mark { transform-origin: 0 50%; }
html[dir="rtl"] .brand-logo { direction: ltr; }
.footer-brand .brand-logo { width: 132px; }
.mobile-nav-top .brand-logo { width: 112px; }

.stage { position: relative; min-height: min(92vh, 880px); display: grid; place-items: center; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); isolation: isolate; }
.stage-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage-bg .bgm { position: absolute; left: 50%; top: 50%; width: max(132vw, 118vh); transform: translate(-50%, -50%) rotate(-4deg); opacity: 0; animation: bgm-in 2.4s ease .3s forwards; }
.stage-bg .bgm .ink, .stage-bg .bgm .acc, .stage-bg .bgm .acc2 { fill: none; stroke: rgba(245, 245, 247, .075); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stage-bg .bgm .acc, .stage-bg .bgm .acc2 { stroke: color-mix(in srgb, var(--acc) 40%, transparent); }
@keyframes bgm-in { to { opacity: 1; } }
.stage-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stage-mark { width: min(80vw, 560px); padding: 28px 0; cursor: ew-resize; touch-action: pan-y; direction: ltr; user-select: none; -webkit-user-select: none; }
.stage-mark.pulling { cursor: grabbing; }
.stage-mark .slink-mark { transform-origin: 50% 50%; }
.tagline { direction: ltr; font-family: "Inter", system-ui, -apple-system, sans-serif; font-size: clamp(30px, 6.4vw, 60px); line-height: 1.1; margin-top: 18px; color: var(--t1); }
.tagline .hv { font-weight: 800; letter-spacing: -.025em; }
.tagline .it { font-family: "Bodoni Moda Italic", ui-serif, Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.012em; }
.tagline .i1 { color: color-mix(in srgb, var(--acc) 62%, #F5F5F7); }
.tagline .i2 { color: color-mix(in srgb, var(--acc2) 62%, #F5F5F7); }
.tagline .hv, .tagline .it { display: inline-block; opacity: 0; transform: translateY(40%); animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.tagline > :nth-child(1) { animation-delay: 1.35s; } .tagline > :nth-child(2) { animation-delay: 1.42s; }
.tagline > :nth-child(4) { animation-delay: 1.49s; } .tagline > :nth-child(5) { animation-delay: 1.56s; } .tagline > :nth-child(6) { animation-delay: 1.63s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.stage-h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-top: 2rem; color: var(--text); opacity: 0; animation: fade .8s ease 1.85s forwards; }
.stage .sub { color: var(--text-2); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-top: .8rem; max-width: 600px; opacity: 0; animation: fade .8s ease 2s forwards; }
.center-actions { justify-content: center; opacity: 0; animation: fade .8s ease 2.15s forwards; }
.hint { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 2.2rem; opacity: 0; animation: fade .8s ease 2.6s forwards; }
.hint i { width: 6px; height: 6px; border-radius: 3px; background: var(--acc); animation: pulse 1.8s ease-in-out infinite; }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .45; } }
.showcase { padding-top: clamp(2rem, 5vw, 4rem); }

/* the star, everywhere a ✦ used to be — turning slowly in the live colours */
.star-glyph { display: inline-grid; place-items: center; }
.star-glyph svg { width: 100%; height: 100%; max-width: 14px; max-height: 14px; animation: spin 9s linear infinite; }
.star-glyph svg path { fill: var(--acc2); }
.hero-badge .dot.star-glyph { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--acc2);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-120 -120 240 240'><path d='M0 -118 L18.23 -56.11 L69.36 -95.46 L47.73 -34.68 L112.22 -36.46 L59 0 L112.22 36.46 L47.73 34.68 L69.36 95.46 L18.23 56.11 L0 118 L-18.23 56.11 L-69.36 95.46 L-47.73 34.68 L-112.22 36.46 L-59 0 L-112.22 -36.46 L-47.73 -34.68 L-69.36 -95.46 L-18.23 -56.11Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-120 -120 240 240'><path d='M0 -118 L18.23 -56.11 L69.36 -95.46 L47.73 -34.68 L112.22 -36.46 L59 0 L112.22 36.46 L47.73 34.68 L69.36 95.46 L18.23 56.11 L0 118 L-18.23 56.11 L-69.36 95.46 L-47.73 34.68 L-112.22 36.46 L-59 0 L-112.22 -36.46 L-47.73 -34.68 L-69.36 -95.46 L-18.23 -56.11Z'/></svg>") center / contain no-repeat;
  animation: spin 12s linear infinite; border-radius: 0; height: 12px; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* the glide line: the n's arm, under every section heading */
.h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 16px; border-radius: 2px; background: linear-gradient(90deg, var(--acc), var(--acc2)); transform-origin: right; transform: scaleX(.18); transition: transform .9s cubic-bezier(.2, .8, .2, 1) .12s; }
html[dir="ltr"] .h2::after { transform-origin: left; }
.center .h2::after { margin-inline: auto; transform-origin: center; }
.reveal.in .h2::after, .no-reveal .h2::after { transform: scaleX(1); }
.btn-primary { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 80%, #fff), color-mix(in srgb, var(--acc2) 80%, #fff)); }
@media (prefers-reduced-motion: reduce) {
  .tagline .hv, .tagline .it, .stage-h1, .stage .sub, .center-actions, .hint, .stage-bg .bgm { animation: none; opacity: 1; transform: none; }
  .star-glyph svg, .eyebrow::before { animation: none; }
}
@media (max-width: 640px) { .stage { min-height: 86vh; } .brand-logo { width: 100px; } }
