/* GERMODUS Digital Studios – "Aurora" theme. Dark first, light via prefers-color-scheme.
   System font stack only; no external requests. */
:root {
  --bg: #07061a;
  --bg-2: #0e0c26;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --text: #f3f1ff;
  --muted: #b3afd0;
  --line: rgba(255, 255, 255, .11);
  --g1: #6d5cff;  /* indigo */
  --g2: #b45cff;  /* electric violet */
  --g3: #ff8a5c;  /* warm coral */
  --grad: linear-gradient(110deg, var(--g1) 0%, var(--g2) 50%, var(--g3) 100%);
  --grad-text: linear-gradient(100deg, #9a8cff 0%, #d38bff 45%, #ffab85 100%);
  --cta: linear-gradient(120deg, #3527d6 0%, #7a1fd0 48%, #b5175a 100%);
  --glow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 60px -20px rgba(140, 92, 255, .55);
  --header-bg: rgba(7, 6, 26, .62);
  --radius: 22px;
  --maxw: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f4ff;
    --bg-2: #ece8ff;
    --surface: rgba(255, 255, 255, .72);
    --surface-2: #ffffff;
    --text: #120f2c;
    --muted: #4c4870;
    --line: rgba(18, 15, 44, .12);
    --grad-text: linear-gradient(100deg, #4b38f0 0%, #8e22d8 50%, #c2410c 100%);
    --glow: 0 0 0 1px rgba(18,15,44,.06), 0 24px 60px -28px rgba(91, 61, 230, .45);
    --header-bg: rgba(246, 244, 255, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: light) { body::after { opacity: .05; filter: invert(1); } }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #c9b8ff; outline-offset: 3px; border-radius: 6px; }
@media (prefers-color-scheme: light) { :focus-visible { outline-color: #4b38f0; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 200;
  background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Header (glass) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}
.home .site-header { position: fixed; inset-inline: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; min-height: 44px; }
.lockup { height: 2.5rem; width: auto; display: block; }
@media (max-width: 30rem) { .brand .lockup { height: 2.1rem; } }
@media (max-width: 25rem) { .brand .lockup-sub { display: none; } .brand .lockup { height: 2.3rem; margin-bottom: -.55rem; } }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .9375rem; padding: .55rem .75rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.langs { display: inline-flex; gap: 2px; margin-inline-start: .4rem; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.nav .lang { font-family: var(--mono); font-size: .75rem; padding: .45rem .55rem; min-width: 36px; min-height: 36px; justify-content: center; }
.nav .lang[aria-current="page"] { color: #fff; background: linear-gradient(110deg, #4f3ce8, #8a2fe0); }
@media (max-width: 52rem) { .nav .sec { display: none; } }
@media (max-width: 23.5rem) { .nav .lang { min-width: 32px; padding-inline: .3rem; } .brand .lockup { height: 1.75rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 7.5rem 0 6rem;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(109, 92, 255, .45), transparent 70%),
    radial-gradient(50% 45% at 80% 25%, rgba(180, 92, 255, .38), transparent 70%),
    radial-gradient(45% 40% at 65% 85%, rgba(255, 138, 92, .30), transparent 70%),
    var(--bg);
}
.aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; }
.chip {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.75rem;
  padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--g3); box-shadow: 0 0 0 0 rgba(255,138,92,.7); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,138,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,92,0); } }
.hero h1 {
  margin: 0; font-weight: 800; letter-spacing: -0.045em; line-height: .95;
  font-size: clamp(3rem, 10.5vw, 8.75rem); max-width: 16ch; text-wrap: balance;
}
.hero h1 em {
  font-style: normal; display: inline-block; padding-inline-end: .05em;
  background: var(--grad-text); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s ease-in-out infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }
.hero .lead { font-size: clamp(1.1rem, 2.1vw, 1.375rem); color: color-mix(in srgb, var(--text) 88%, transparent); max-width: 38rem; margin: 2rem 0 2.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background-color .25s;
}
/* darker gradient than --grad so white text stays AA */
.btn-primary { color: #fff; background: linear-gradient(110deg, #4f3ce8 0%, #8a2fe0 55%, #b8330f 100%); box-shadow: 0 10px 40px -10px rgba(180, 92, 255, .8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(180, 92, 255, .95); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .btn-arrow { transform: translateX(-4px); }

.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--muted); }
.mouse { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse span { width: 3px; height: 7px; border-radius: 2px; background: currentColor; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 40rem) { .scroll-cue { display: none; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: linear-gradient(90deg, rgba(109,92,255,.1), rgba(255,138,92,.1)); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-run { display: flex; align-items: center; gap: 1.5rem; padding-inline-end: 1.5rem; white-space: nowrap; font-size: clamp(1.1rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; }
.marquee-run .dot { color: var(--g2); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: clamp(4.5rem, 11vw, 8rem) 0; position: relative; }
.section-head { position: relative; isolation: isolate; display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
@media (min-width: 52rem) { .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.bignum {
  position: absolute; inset-inline-start: -.06em; top: -.55em; z-index: -1;
  font-size: clamp(6rem, 22vw, 15rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .18;
  user-select: none; pointer-events: none;
}
.kicker { font-family: var(--mono); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
h2 { font-size: clamp(2.2rem, 6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; margin: .6rem 0 0; font-weight: 800; text-wrap: balance; }
.section-sub { color: var(--muted); margin: 0; max-width: 34rem; font-size: 1.125rem; }

/* ---------- Service cards (spotlight follows the pointer) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
  min-height: 19rem; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(180, 92, 255, .22), transparent 60%);
}
.card::after { /* light hairline border following the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255,255,255,.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.ico-wrap {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 20px;
  background: linear-gradient(140deg, rgba(109,92,255,.3), rgba(255,138,92,.2)); border: 1px solid var(--line);
  color: var(--text);
}
.ico { width: 2.75rem; height: 2.75rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico .fill { fill: currentColor; stroke: none; }
.ico .ico-moon, .ico .ico-playhead { fill: var(--g3); }
.ico .ico-heart { fill: #ff6b8b; }
.card-num { font-family: var(--mono); font-size: .875rem; color: var(--muted); }
.card h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.15; letter-spacing: -0.02em; margin: auto 0 .6rem; }
.card p { color: var(--muted); margin: 0 0 1.25rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { font-size: .8125rem; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; background: var(--surface); }

/* icon motion */
.ico-code, .ico-moon, .ico-heart { transform-box: fill-box; transform-origin: center; }
.ico-code { animation: code 3.2s ease-in-out infinite; }
@keyframes code { 50% { transform: scaleX(1.18); } }
.ico-caret { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ico-moon { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-3px) rotate(-10deg); } }
.ico-feed { animation: feed 4.5s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes feed { 0%, 20% { transform: translateY(0); } 45%, 65% { transform: translateY(-19px); } 90%, 100% { transform: translateY(-38px); } }
.ico-heart { animation: heart 2.2s ease-in-out infinite; }
@keyframes heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } }
.ico-playhead { animation: playhead 4s linear infinite; }
@keyframes playhead { to { transform: translateX(49px); } }

/* ---------- Product showcase ---------- */
.showcase {
  position: relative; overflow: hidden; display: grid; gap: 2.5rem; align-items: center;
  border-radius: calc(var(--radius) + 10px); border: 1px solid var(--line);
  padding: clamp(1.75rem, 5vw, 4rem);
  background:
    radial-gradient(80% 90% at 85% 50%, rgba(109, 92, 255, .35), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(255, 138, 92, .22), transparent 60%),
    var(--surface);
}
[dir="rtl"] .showcase { background: radial-gradient(80% 90% at 15% 50%, rgba(109, 92, 255, .35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(255, 138, 92, .22), transparent 60%), var(--surface); }
@media (min-width: 52rem) { .showcase { grid-template-columns: 1.05fr 1fr; } }
.product-name {
  font-size: clamp(2.4rem, 7vw, 4.5rem); font-weight: 800; letter-spacing: .04em; line-height: 1; margin: .5rem 0 1.25rem;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.showcase-copy p:not(.kicker) { color: var(--muted); margin: 0 0 2rem; max-width: 30rem; font-size: 1.125rem; }
.stage { position: relative; height: 26rem; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); }
@media (prefers-color-scheme: light) { .orbit { border-color: rgba(18,15,44,.2); } }
.orbit-1 { width: 20rem; height: 20rem; animation: spin 40s linear infinite; }
.orbit-2 { width: 27rem; height: 27rem; animation: spin 60s linear infinite reverse; }
.orbit-1::after { content: ""; position: absolute; top: 12%; left: 8%; width: 12px; height: 12px; border-radius: 50%; background: var(--g3); box-shadow: 0 0 20px var(--g3); }
.orbit-2::after { content: ""; position: absolute; bottom: 18%; right: 6%; width: 9px; height: 9px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 18px var(--g2); }
@keyframes spin { to { transform: rotate(360deg); } }
.device {
  position: relative; width: 13.5rem; height: 24rem; border-radius: 2.4rem; padding: .7rem;
  background: linear-gradient(160deg, #2a2650, #0d0b22); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(-6deg); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(-6deg) translateY(-10px); } }
.device-notch { position: absolute; top: 1.05rem; left: 50%; translate: -50% 0; width: 4.2rem; height: 1.1rem; border-radius: 1rem; background: #07061a; z-index: 2; }
.screen { height: 100%; border-radius: 1.8rem; overflow: hidden; padding: 2.2rem .9rem .9rem; display: flex; flex-direction: column; gap: .7rem; background: linear-gradient(180deg, #1b1650 0%, #2c1a63 55%, #3b1d5e 100%); }
.s-head { display: flex; align-items: center; gap: .6rem; }
.s-moon { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe2a8, #ffb35c); box-shadow: 0 0 18px rgba(255,179,92,.7); flex: none; }
.s-lines { display: grid; gap: .3rem; flex: 1; }
.s-lines i { display: block; height: .45rem; border-radius: 1rem; background: rgba(255,255,255,.35); }
.s-lines i:last-child { width: 60%; background: rgba(255,255,255,.18); }
.s-hero { position: relative; height: 5.4rem; border-radius: 1rem; background: linear-gradient(120deg, #6d5cff, #b45cff 60%, #ff8a5c); overflow: hidden; flex: none; }
.s-stars { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #fff, transparent), radial-gradient(2px 2px at 50% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 65%, #fff, transparent); animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .4; } }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.s-grid i { display: block; height: 3.1rem; border-radius: .8rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.s-grid i:nth-child(2) { background: rgba(255,138,92,.35); }
.s-grid i:nth-child(3) { background: rgba(109,92,255,.4); }
.s-progress { height: .55rem; border-radius: 1rem; background: rgba(255,255,255,.12); overflow: hidden; flex: none; }
.s-progress b { display: block; height: 100%; width: 68%; border-radius: inherit; background: linear-gradient(90deg, #7cf0c5, #5cc8ff); animation: grow 3.5s ease-in-out infinite alternate; }
@keyframes grow { from { width: 30%; } to { width: 86%; } }
.s-row { display: flex; gap: .5rem; margin-top: auto; }
.s-row i { flex: 1; height: 2.2rem; border-radius: 1rem; background: rgba(255,255,255,.14); }
.s-row i:first-child { background: rgba(255,255,255,.85); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border-radius: 1rem;
  background: rgba(20, 16, 50, .72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); animation: bob2 5s ease-in-out infinite;
}
.float-card span { width: 1.6rem; height: 1.6rem; border-radius: .55rem; background: var(--grad); }
.float-card i { display: block; width: 4.5rem; height: .5rem; border-radius: 1rem; background: rgba(255,255,255,.4); }
.fc-1 { top: 14%; right: 4%; }
.fc-2 { bottom: 12%; left: 2%; animation-delay: -2.5s; }
.fc-2 span { background: linear-gradient(135deg, #7cf0c5, #5cc8ff); }
@keyframes bob2 { 50% { transform: translateY(-12px); } }
@media (max-width: 30rem) { .stage { height: 22rem; } .orbit-2 { width: 21rem; height: 21rem; } .orbit-1 { width: 16rem; height: 16rem; } .device { width: 11.5rem; height: 20.5rem; } .float-card i { width: 3rem; } }

/* ---------- Approach ---------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 46rem) { .principles { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.principles li {
  position: relative; display: grid; gap: .5rem; align-content: start; padding: 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.principles li::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--grad); }
.principles .idx { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.principles strong { font-size: 1.25rem; letter-spacing: -0.01em; }
.principles .txt { color: var(--muted); }

/* ---------- Contact CTA band ---------- */
.contact { padding-top: 2rem; }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  border-radius: calc(var(--radius) + 14px); padding: clamp(2.25rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--cta);
  box-shadow: 0 40px 100px -40px rgba(122, 31, 208, .8);
}
.cta-glow { position: absolute; inset: -60%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.16), transparent 30%); animation: spin 14s linear infinite; }
.cta-band .kicker { color: rgba(255,255,255,.88); }
.cta-band h2 { color: #fff; font-size: clamp(2.6rem, 8vw, 6rem); }
.mail {
  display: inline-flex; align-items: center; gap: .3em; margin: 1.5rem 0 1.25rem; color: #fff; text-decoration: none;
  font-size: clamp(1.45rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  border-bottom: 3px solid rgba(255,255,255,.4); padding-bottom: .15em; overflow-wrap: anywhere; min-height: 44px;
  transition: border-color .25s; max-width: 100%;
}
.mail:hover, .mail:focus-visible { border-color: #fff; }
.mail-arrow { font-size: .7em; transition: transform .25s; }
.mail:hover .mail-arrow { transform: translate(4px, -4px); }
.cta-band p:last-child { margin: 0; color: rgba(255,255,255,.9); font-size: 1.125rem; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .9375rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }
.site-footer a:hover { color: var(--text); }
.foot-brand { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.site-footer .foot-logo { color: var(--text); }
.foot-logo .lockup { height: 2.75rem; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(3rem, 8vw, 5rem) 0; }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 2rem; font-weight: 800; }
.legal h2 { font-size: 1.3rem; margin: 2.25rem 0 .5rem; letter-spacing: -0.01em; font-weight: 700; }
.legal .note { color: var(--muted); font-size: .9375rem; }
.ph { background: rgba(180, 92, 255, .28); padding: 0 .25em; border-radius: 4px; }

/* ---------- Scroll reveal (only when JS runs and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .principles .reveal:nth-child(2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3), .js .principles .reveal:nth-child(3) { transition-delay: .16s; }
.js .cards .reveal:nth-child(4), .js .principles .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body { font-family: var(--font), "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .marquee-run { letter-spacing: 0; }
[dir="rtl"] .hero h1 { line-height: 1.2; font-size: clamp(2.8rem, 10vw, 8rem); }
[dir="rtl"] h2 { line-height: 1.25; }
[dir="rtl"] .chip, [dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; font-family: var(--font); }

/* ---------- Reduced motion: static page ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; }
  .marquee-run + .marquee-run { display: none; }
  .marquee-run { white-space: normal; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); row-gap: .5rem; }
}
