/* ECO Linked company website. Palette follows the ECO Linked company profile (dark green + sage);
   typography follows the ECO brand book (Segoe UI, Helvetica/Arial fallback; 500 normal, 800 bold).
   Light / dark: semantic tokens below, switched by :root[data-theme="dark"] (set before first paint). */
:root {
  /* fixed brand greens (the dark bands look the same in both themes) */
  --g950: #0f1f18;
  --g900: #15291f;
  --g850: #1b3328;
  --g800: #213b30;
  --g700: #2f5543;
  --sage: #5f9e76;
  --sage-2: #79b38d;
  --mint: #d7eadf;
  --mint-2: #e8f2ec;

  /* semantic tokens: light */
  --bg: #f3f5f4;
  --surface: #ffffff;
  --surface-2: #e8f2ec;
  --surface-3: #d7eadf;
  --border: #e1e9e4;
  --border-2: #cfe2d6;
  --text: #12261c;
  --text-2: #3b5246;
  --accent-text: #3b7a53;
  --strong: #2f5543;
  --band: #213b30;
  --dark-bg: #1b3328;
  --shadow: 0 18px 40px -22px rgba(21, 41, 31, .45);

  --line: rgba(255, 255, 255, .12);
  --radius: 22px;
  --wrap: 1180px;
  --font: "Segoe UI", "IBM Plex Sans Arabic", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c1813;
  --surface: #13231b;
  --surface-2: #10201a;
  --surface-3: #1f3a2d;
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .12);
  --text: #e4eee8;
  --text-2: #a7bdb0;
  --accent-text: #8cc5a0;
  --strong: #a3d3b3;
  --band: #1a3127;
  --dark-bg: #112019;
  --shadow: 0 18px 44px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 800; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: #fff; color: #12261c; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sage-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sage); color: #fff; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, var(--sage), var(--sage-2)); transform: scaleX(var(--p, 0)); transform-origin: left; }
html[dir="rtl"] .progress { transform-origin: right; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: #fff; direction: ltr; }
.logo svg { width: 92px; height: auto; }
.logo span { font-weight: 800; font-size: 10px; letter-spacing: .14em; margin-top: 1px; line-height: 1; }
.logo.lg svg { width: 210px; }
.logo.lg span { font-size: 22px; margin-top: 4px; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 31, 24, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.hdr.scrolled { background: rgba(11, 23, 18, .94); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; transition: min-height .3s ease; }
.hdr.scrolled .wrap { min-height: 60px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { position: relative; color: #d8e6dd; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--sage-2);
  transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: #fff; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.lang { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; transition: border-color .2s; }
.lang:hover { border-color: var(--sage-2); }
.icon-btn { background: none; border: 1px solid var(--line); color: #fff; border-radius: 999px; width: 40px; height: 40px; padding: 0; cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--sage-2); background: rgba(255, 255, 255, .06); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-btn { display: none; border-radius: 10px; width: 42px; height: 42px; }
.menu-btn svg { width: 22px; }
.install-btn[hidden] { display: none; }

/* Theme toggle button: moon and sun swap with a springy turn (same as the broker system) */
[data-theme-toggle] { position: relative; overflow: hidden; }
[data-theme-toggle] .tt-moon, [data-theme-toggle] .tt-sun { transition: transform .75s var(--spring), opacity .45s ease; }
[data-theme-toggle] .tt-sun { position: absolute; left: 50%; top: 50%; margin: -9.5px 0 0 -9.5px; opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-theme="dark"] [data-theme-toggle] .tt-moon { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-theme="dark"] [data-theme-toggle] .tt-sun { opacity: 1; transform: none; color: #f6c453; }

/* Full-screen switch moment: a circle in the new theme's colour grows from the button with a big moon / sun,
   the theme changes underneath it, then the circle and the icon fade away (~2 s). */
.theme-burst { position: fixed; inset: 0; z-index: 99999; pointer-events: none; display: grid; place-items: center;
  clip-path: circle(0 at var(--tb-x) var(--tb-y)); transition: clip-path 1s cubic-bezier(.65, 0, .35, 1), opacity .9s ease .1s; }
.theme-burst.to-dark  { background: radial-gradient(circle at 50% 45%, #1d3a2d 0%, #08130e 62%); color: #d6ecdd; }
.theme-burst.to-light { background: radial-gradient(circle at 50% 45%, #fbfbec 0%, #eef4f0 60%); color: #e9a91f; }
.theme-burst.is-open { clip-path: circle(var(--tb-r) at var(--tb-x) var(--tb-y)); }
.theme-burst.is-done { opacity: 0; }
.theme-burst .tb-icon { width: 120px; height: 120px; opacity: 0; transform: scale(.3) rotate(-120deg);
  transition: transform 1.1s var(--spring) .2s, opacity .55s ease .2s; }
.theme-burst .tb-icon svg { width: 100%; height: 100%; overflow: visible; }
.theme-burst.to-dark .tb-icon  { filter: drop-shadow(0 0 22px rgba(140, 200, 160, .55)); }
.theme-burst.to-light .tb-icon { filter: drop-shadow(0 0 26px rgba(246, 180, 40, .6)); }
.theme-burst.is-open .tb-icon { opacity: 1; transform: scale(1) rotate(0deg); }
.theme-burst.is-done .tb-icon { transform: scale(1.35) rotate(15deg); opacity: 0; transition: transform 1s ease, opacity .8s ease; }
.theme-burst.to-light .tb-rays { transform-origin: 12px 12px; animation: tb-spin 2s ease-out; }
@keyframes tb-spin { from { transform: rotate(-90deg) scale(.6); } to { transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--sage); color: #fff; box-shadow: 0 10px 24px -14px rgba(95, 158, 118, .9); }
.btn-primary:hover { background: var(--sage-2); box-shadow: 0 14px 30px -14px rgba(121, 179, 141, .95); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); }
.btn-primary:hover::after { animation: shine .9s ease; }
@keyframes shine { to { inset-inline-start: 130%; } }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
html[dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg.arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Dark sections with the profile's grid texture ---------- */
.dark { background: var(--dark-bg); color: #e9f1ec; position: relative; isolation: isolate; }
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 15% 85%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 15% 85%, #000 0%, transparent 65%);
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(circle at 80% 0%, #2c5040 0%, var(--g900) 55%, var(--g950) 100%); padding: 96px 0 88px; overflow: hidden; }
:root[data-theme="dark"] .hero { background: radial-gradient(circle at 80% 0%, #21402f 0%, #0f1f17 55%, #08120d 100%); }
.hero::before { animation: grid-drift 30s linear infinite; }
@keyframes grid-drift { to { background-position: 46px 46px, 46px 46px; } }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; color: var(--sage-2); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sage-2), #b5e0c2, var(--sage-2)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: #c9dbd0; margin-top: 22px; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { background: rgba(121, 179, 141, .15); color: #cfe6d7; border: 1px solid rgba(121, 179, 141, .35); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 15px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-mark { position: relative; display: grid; place-items: center; }
.hero-mark .ring { position: relative; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(121, 179, 141, .18), rgba(121, 179, 141, 0) 68%); animation: float 7s ease-in-out infinite; }
.hero-mark .ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1px;
  background: conic-gradient(from 0deg, rgba(121, 179, 141, 0), rgba(121, 179, 141, .9), rgba(121, 179, 141, 0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 9s linear infinite; }
.hero-mark .ring::after { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1); animation: spin 40s linear infinite reverse; }
.hero-mark .logo.lg { position: relative; z-index: 1; filter: drop-shadow(0 0 28px rgba(121, 179, 141, .35)); }
.hero-mark .ring { width: min(100%, 340px); }
.hero-mark .logo.lg svg { width: 180px; }
.hero-mark .logo.lg span { font-size: 19px; }

/* Module names orbiting the logo: the ring turns slowly, each label counter-turns so it stays upright */
.orbit { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; animation: spin 90s linear infinite; }
.orbit li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.orbit li > span { display: block; animation: spin 90s linear infinite reverse; }
.orbit b { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; font-size: 13.5px; color: #e6f2ea;
  background: rgba(17, 36, 27, .82); border: 1px solid rgba(121, 179, 141, .45); border-radius: 999px; padding: 6px 13px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .7);
  transition: background .25s ease, border-color .25s ease, transform .35s var(--spring), color .25s ease; }
.orbit b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-2); box-shadow: 0 0 0 3px rgba(121, 179, 141, .22); }
.orbit li { transition: transform .35s var(--spring); }
.orbit li:hover { transform: translate(-50%, -50%) scale(1.1); z-index: 1; }
.orbit li:hover b { background: var(--sage); border-color: var(--sage-2); color: #fff; }
.orbit li:hover b::before { background: #fff; }
.hero-mark:hover .orbit, .hero-mark:hover .orbit li > span { animation-play-state: paused; }
.js .orbit b { opacity: 0; animation: chip-in .7s var(--spring) forwards; animation-delay: calc(.75s + var(--i) * .09s); }
@keyframes chip-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Hero entrance (staggered on load) */
.js .hero .in-seq > * { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease-out) forwards; }
.js .hero .in-seq > *:nth-child(1) { animation-delay: .05s; }
.js .hero .in-seq > *:nth-child(2) { animation-delay: .18s; }
.js .hero .in-seq > *:nth-child(3) { animation-delay: .32s; }
.js .hero .in-seq > *:nth-child(4) { animation-delay: .46s; }
.js .hero .in-seq > *:nth-child(5) { animation-delay: .6s; }
.js .hero-mark { opacity: 0; animation: pop 1.2s var(--spring) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-text); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head.center .kicker::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.dark .kicker { color: var(--sage-2); }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--text-2); }
.dark .sec-head p { color: #c3d6ca; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border);
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease, background-color .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--text-2); }
.dark .card { background: rgba(255, 255, 255, .05); border-color: var(--line); }
.dark .card:hover { border-color: rgba(121, 179, 141, .45); background: rgba(255, 255, 255, .07); }
.dark .card p { color: #c3d6ca; }
.dark .card h3 { color: #fff; }
.card.mint { background: var(--surface-2); border-color: var(--border-2); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sage); color: #fff; margin-bottom: 18px;
  transition: transform .5s var(--spring); }
.card:hover .ico, .prod:hover .ico, .method > div:hover .ico { transform: rotate(-8deg) scale(1.08); }
.ico svg { width: 26px; height: 26px; }

/* ---------- About / founder ---------- */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.6vw, 42px); }
.about .body p { font-size: 18px; color: var(--text-2); margin-top: 16px; }
.about .body strong { color: var(--strong); }
.tagline { margin-top: 22px; font-weight: 700; color: var(--accent-text); font-size: 19px; }
.quote { background: var(--band); color: #fff; border-radius: 28px; padding: 40px; position: relative; overflow: hidden; }
.quote::after { content: "\201D"; position: absolute; inset-inline-end: 24px; top: -18px; font-size: 160px; color: rgba(121, 179, 141, .25); font-family: Georgia, serif; line-height: 1; }
html[dir="rtl"] .quote::after { content: "\201C"; }
.quote .no, .quote .yes { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); margin-top: 12px; font-size: 17px; }
.quote .no { color: #c9d6ce; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); }
.quote .yes { background: rgba(121, 179, 141, .2); font-weight: 700; }
.quote .mk { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 3px; }
.quote .no .mk { background: rgba(255, 255, 255, .14); }
.quote .yes .mk { background: var(--sage); }
.quote .intro { font-size: 15px; color: var(--sage-2); font-weight: 700; }
.who { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.who b { font-size: 19px; }
.who span { color: var(--sage-2); font-weight: 600; }
/* the "no" line gets struck through, then the "yes" line lights up */
.js .quote .no { text-decoration-color: transparent; transition: text-decoration-color .6s ease .5s; }
.js .quote.in .no { text-decoration-color: rgba(255, 255, 255, .35); }
.js .quote .yes { transform: scale(.96); opacity: .4; transition: transform .7s var(--spring) .9s, opacity .5s ease .9s; }
.js .quote.in .yes { transform: none; opacity: 1; }

/* ---------- Problem ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; }
.flow > div { padding: 30px 28px; background: var(--g700); }
.flow > div:nth-child(2) { background: #3c6a53; }
.flow > div:nth-child(3) { background: #4d7f63; }
.flow .n { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--g800); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.flow h3 { font-size: 20px; color: #fff; }
.flow p { color: #dbe9e0; margin-top: 6px; }
.verdict { text-align: center; max-width: 760px; margin: 0 auto; }
.verdict .bar { display: inline-block; background: var(--sage); color: #fff; font-weight: 800; font-size: clamp(18px, 2.4vw, 24px); padding: 10px 24px; border-radius: 14px; }
.verdict p { margin-top: 16px; color: #c3d6ca; font-size: 18px; }
.verdict p b { color: var(--sage-2); }
.challenges { margin-top: 56px; }
.challenges h3 { color: #fff; }

/* ---------- Philosophy ---------- */
.philo-quote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: var(--strong); border-inline-start: 5px solid var(--sage); padding-inline-start: 22px; margin: 0 0 40px; max-width: 760px; }

/* ---------- What we do ---------- */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps-list li { counter-increment: s; display: flex; gap: 18px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; font-size: 18px; font-weight: 600; color: #fff;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-out); }
.steps-list li:hover { background: rgba(121, 179, 141, .14); border-color: rgba(121, 179, 141, .45); transform: translateX(-6px); }
html[dir="ltr"] .steps-list li:hover { transform: translateX(6px); }
.steps-list li::before { content: counter(s, decimal-leading-zero); flex: none; font-weight: 800; color: var(--sage-2); font-size: 20px; min-width: 32px; }
.do-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; }
.metric { background: var(--sage); color: #fff; border-radius: 28px; padding: 36px; position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -70px; top: -70px; background: rgba(255, 255, 255, .12); animation: float 8s ease-in-out infinite; }
.metric .big { font-size: clamp(48px, 7vw, 76px); font-weight: 800; line-height: 1; }
.metric .big small { font-size: .38em; font-weight: 700; margin-inline-start: 8px; }
.metric h3 { font-size: 22px; margin-top: 14px; }
.metric p { margin-top: 8px; color: #eef7f1; font-size: 17px; }

/* ---------- Products ---------- */
.products { background: var(--surface-2); }
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.prod { position: relative; grid-column: span 2; background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border-2); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s ease, background-color .35s ease; }
.prod::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sage), var(--sage-2));
  transform: scaleX(0); transform-origin: inline-start; transition: transform .5s var(--ease-out); }
html[dir="rtl"] .prod::before { transform-origin: right; }
html[dir="ltr"] .prod::before { transform-origin: left; }
.prod:hover::before { transform: scaleX(1); }
.prod:nth-child(4), .prod:nth-child(5) { grid-column: span 3; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod .tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--strong); background: var(--surface-3); border-radius: 999px; padding: 3px 12px; margin-bottom: 16px; }
.prod h3 { font-size: 22px; direction: ltr; text-align: start; }
html[dir="rtl"] .prod h3 { text-align: right; }
.prod h3 small { display: block; font-size: 15px; color: var(--accent-text); font-weight: 700; margin-top: 2px; }
html[dir="rtl"] .prod h3 small { direction: rtl; }
.prod p { color: var(--text-2); margin-top: 10px; }
.prod ul { margin: 14px 0 0; padding-inline-start: 20px; color: var(--text-2); }
.prod ul li { margin-top: 4px; }
.prod ul li::marker { color: var(--sage); }
.prod .more { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--strong); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.prod .more:hover { color: var(--accent-text); }
.prod .more svg { width: 18px; transition: transform .25s var(--ease-out); }
.prod .more:hover svg { transform: scale(1.15); }
html[dir="rtl"] .prod .more svg.arrow { transform: scaleX(-1); }
.platform-note { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--band); color: #fff; border-radius: var(--radius); padding: 26px 30px; }
.platform-note p { font-size: 18px; font-weight: 600; max-width: 720px; }
.platform-note p b { color: var(--sage-2); }

/* ---------- Methodology ---------- */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: m; position: relative; }
.method > div { counter-increment: m; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px 20px; position: relative;
  transition: transform .35s var(--ease-out), box-shadow .35s ease, background-color .35s ease; }
.method > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.method > div::before { content: counter(m); position: absolute; top: 18px; inset-inline-end: 20px; font-weight: 800; font-size: 34px; color: var(--surface-3); line-height: 1; }
.method h3 { font-size: 18px; margin-top: 4px; }
.method p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.method .ico { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; }
.principles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.principles span { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--strong); }
.playbook { margin-top: 30px; background: var(--band); color: #e9f1ec; border-radius: var(--radius); padding: 30px; font-size: 18px; }
.playbook b { color: var(--sage-2); }

/* ---------- Results ---------- */
.results .card { position: relative; padding-top: 70px; }
.results .num { position: absolute; top: 18px; inset-inline-start: 26px; font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sage-2);
  transition: color .4s ease; }
.results .card:hover .num { color: rgba(121, 179, 141, .35); }

/* ---------- Audience ---------- */
.aud .card { border-top: 5px solid var(--sage); }
.aud-note { margin-top: 34px; text-align: center; }
.aud-note b { display: block; font-size: clamp(20px, 2.6vw, 28px); color: var(--accent-text); }
.aud-note span { display: block; margin-top: 6px; font-size: 18px; color: var(--text-2); }

/* ---------- Group ---------- */
.group { background: var(--surface); }
.group .card { text-align: center; padding: 34px 28px; }
.group .card .circle { width: 148px; height: 148px; border-radius: 50%; background: var(--band); color: #fff; margin: 0 auto 20px; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 17px; line-height: 1.2; padding: 12px;
  box-shadow: 0 0 0 8px var(--surface-3); direction: ltr; transition: transform .6s var(--spring), box-shadow .4s ease; }
.group .card:hover .circle { transform: scale(1.06) rotate(-4deg); box-shadow: 0 0 0 12px var(--surface-3); }
.group .card .circle small { display: block; font-weight: 500; font-size: 12px; color: var(--sage-2); margin-top: 4px; }
.group .card .role { color: var(--accent-text); font-weight: 700; }
.group .card p { margin-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.tags span { background: var(--surface-3); color: var(--strong); font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 999px; }

/* ---------- Commitment ---------- */
.commit { text-align: center; }
.commit h2 { font-size: clamp(24px, 3.4vw, 38px); color: #fff; max-width: 820px; margin: 0 auto; }
.commit .bar { display: inline-block; margin-top: 26px; background: var(--sage); color: #fff; font-weight: 700; font-size: 19px; padding: 12px 26px; border-radius: 14px; }

/* ---------- Contact / CTA ---------- */
.cta { background: radial-gradient(circle at 20% 100%, #2c5040 0%, var(--g900) 60%); }
:root[data-theme="dark"] .cta { background: radial-gradient(circle at 20% 100%, #1f3d2e 0%, #0d1a14 60%); }
.cta .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); color: #fff; }
.cta h2 em { font-style: normal; color: var(--sage-2); }
.cta .lead { color: #c9dbd0; font-size: 18px; margin-top: 16px; }
.cta .hero-cta { margin-top: 28px; }
.contact-card { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.contact-card h3 { color: #fff; font-size: 20px; }
.contact-card .founder { color: var(--sage-2); font-weight: 600; }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 12px 16px; font-weight: 600;
  transition: background .25s ease, transform .25s var(--ease-out); }
.contact-list a:hover { background: rgba(121, 179, 141, .2); transform: translateY(-2px); }
.contact-list svg { width: 20px; height: 20px; color: var(--sage-2); flex: none; }
.contact-list .ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Footer ---------- */
.ftr { background: var(--g950); color: #9fb6a8; padding: 34px 0; font-size: 14px; }
:root[data-theme="dark"] .ftr { background: #070f0b; }
.ftr .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.ftr .logo svg { width: 74px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr a { color: #c8d9ce; text-decoration: none; }
.ftr a:hover { color: #fff; }

/* ---------- Install / update toast (PWA) ---------- */
.toast { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; max-width: 420px; margin-inline: auto;
  display: flex; gap: 12px; align-items: center; background: var(--g900); color: #fff; border: 1px solid rgba(121, 179, 141, .4);
  border-radius: 18px; padding: 12px 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  transform: translateY(140%); transition: transform .5s var(--spring); }
.toast.show { transform: none; }
.toast p { flex: 1; font-size: 14px; font-weight: 600; }
.toast .btn { padding: 7px 14px; font-size: 14px; }
.toast .x { background: none; border: 0; color: #9fb6a8; font-size: 20px; cursor: pointer; padding: 4px 6px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.from-side { transform: translateX(-30px); }
html[dir="rtl"].js .reveal.from-side { transform: translateX(30px); }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.in { opacity: 1; transform: none; }
/* (site.js drops the .reveal class once an element has arrived, so hover transitions take over again) */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .in-seq > *, .js .hero-mark { opacity: 1 !important; transform: none !important; }
  .js .quote .yes { opacity: 1; transform: none; }
  .theme-burst { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hdr-actions { margin-inline-start: auto; }
  .hdr.open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; inset-inline: 0;
    background: var(--g950); padding: 10px 16px 18px; border-bottom: 1px solid var(--line);
    animation: drop .35s var(--ease-out);
  }
  .hdr.open .nav a { padding: 12px; font-size: 17px; }
  .hdr.open .nav a::after { display: none; }
  .method { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-mark .ring { width: 250px; }
  .hero-mark .logo.lg svg { width: 140px; }
  .hero-mark .logo.lg span { font-size: 15px; }
  .orbit b { font-size: 12px; padding: 5px 11px; }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 60px; }
  .hero .wrap, .about .wrap, .cta .wrap, .do-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-mark { padding: 34px 0 10px; }
  .hero-mark .ring { width: 230px; }
  .hero-mark .logo.lg svg { width: 120px; }
  .hero-mark .logo.lg span { font-size: 13px; margin-top: 3px; }
  .orbit b { font-size: 11.5px; padding: 4px 10px; gap: 5px; }
  .orbit b::before { width: 5px; height: 5px; }
  .g3, .flow { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod, .prod:nth-child(4), .prod:nth-child(5) { grid-column: auto; }
  .method { grid-template-columns: repeat(2, 1fr); }
  .quote { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .g2, .g4, .method { grid-template-columns: 1fr; }
  .hdr-actions { gap: 8px; }
  .hdr-actions .btn { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .card, .prod { padding: 22px; }
  .platform-note { padding: 22px; }
  .steps-list li { font-size: 16px; padding: 14px 16px; }
}
@media (max-width: 340px) {
  .hero-mark .ring { width: 190px; }
  .hero-mark .logo.lg svg { width: 100px; }
}
@media (max-width: 380px) {
  .logo svg { width: 78px; }
  .icon-btn, .menu-btn { width: 38px; height: 38px; }
  .lang { padding: 6px 10px; }
}
/* installed app (standalone): leave room for the phone's status bar */
@media (display-mode: standalone) {
  .hdr { padding-top: env(safe-area-inset-top); }
}
