/* MyQor landing (/) — its own stylesheet, the cabinet's app.css is not loaded here.
   System font stack (no web fonts), brand greens with one warm accent for the calls to action, tall sections that
   alternate light and dark, device frames for product shots, reveal-on-scroll only while JS runs (html.js) and only
   when motion is welcome. */
:root {
  --g950: #0d241a; --g900: #143627; --g800: #1b4433; --g700: #245840; --g600: #2f7d5b; --g500: #3e9a70;
  --g200: #bfe0cc; --g100: #dcefe2; --g50: #eef7f1;
  --cta: #e8a93a; --cta-hover: #f2b94f; --cta-text: #10261b;
  --bg: #f4f6f4; --white: #fff; --text: #16231d; --muted: #5b6b63; --line: #e1e7e3;
  --on-dark: #eef4f0; --on-dark-muted: #a9bdb2; --on-dark-accent: #8fd1ae;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px; --gutter: 24px; --top: 56px;
  --shadow: 0 1px 2px rgba(20, 54, 39, .04), 0 12px 32px rgba(20, 54, 39, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- sticky translucent header ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--top); color: #fff; }
/* the blur lives on a pseudo-element: a backdrop-filter on .top itself would become the containing block of the
   fixed-position mobile menu (filters do that), so the menu could never cover the page */
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20, 54, 39, .74); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); transition: background .2s; }
.top.scrolled::before { background: rgba(20, 54, 39, .9); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.logo svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: 6px; }
.nav a { font-size: 14px; color: rgba(255, 255, 255, .84); text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .menu-cta { display: none; } /* the call to action inside the mobile menu only */
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { background: none; border: 1px solid rgba(255, 255, 255, .32); color: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.lang:hover { background: rgba(255, 255, 255, .1); }
.top .login { font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.top .login:hover { background: rgba(255, 255, 255, .1); }
.burger { display: none; background: none; border: 0; color: #fff; width: 40px; height: 40px; cursor: pointer; border-radius: 10px; }
.burger svg { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: 8px 16px; font-size: 14px; }
.btn.cta { background: var(--cta); color: var(--cta-text); border-color: var(--cta); }
.btn.cta:hover { background: var(--cta-hover); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn.ghost:hover { background: rgba(255, 255, 255, .16); }
.light .btn.ghost, .white .btn.ghost { background: transparent; color: var(--g800); border-color: #b4c4ba; }
.light .btn.ghost:hover, .white .btn.ghost:hover { background: var(--g50); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #7cc7a0; outline-offset: 3px; }

/* ---------- sections ---------- */
.sec { padding: 112px 0; }
.sec.dark { background: var(--g900); color: var(--on-dark); }
.sec.darker { background: var(--g950); color: var(--on-dark); }
.sec.light { background: var(--bg); }
.sec.white { background: var(--white); }
.head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--g600); margin-bottom: 14px; }
.dark .eyebrow, .darker .eyebrow { color: var(--on-dark-accent); }
h1 { font-size: clamp(40px, 7.2vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 600; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.4; color: var(--muted); margin-top: 18px; }
.dark .lead, .darker .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.dark .muted, .darker .muted { color: var(--on-dark-muted); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.note { margin-top: 18px; font-size: 15px; color: var(--on-dark-muted); }

/* ---------- hero ---------- */
.hero { min-height: calc(100vh - var(--top)); display: flex; align-items: center; padding: 72px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: -20%; right: -20%; bottom: -30%; height: 70%; background: radial-gradient(60% 60% at 50% 100%, rgba(62, 154, 112, .38), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .head { margin-bottom: 0; max-width: 900px; }
.hero .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- device frames ---------- */
.laptop { max-width: 1040px; margin: 64px auto 0; }
.laptop .lid { background: #0b1812; border-radius: 22px 22px 4px 4px; padding: 14px 14px 0; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.laptop .lid img { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; background: #f4f6f4; }
.laptop .base { height: 16px; margin: 0 -3.5%; background: linear-gradient(#3d4e46, #1a2823); border-radius: 0 0 16px 16px; position: relative; }
.laptop .base::before { content: ''; position: absolute; left: 50%; top: 0; width: 130px; height: 6px; transform: translateX(-50%); background: #0b1812; border-radius: 0 0 8px 8px; opacity: .7; }
.phone { width: min(300px, 78vw); border-radius: 44px; padding: 12px; background: #0b1812; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); margin: 0 auto; }
.phone .screen { border-radius: 34px; overflow: hidden; background: #f4f6f4; position: relative; padding-top: 34px; }
.phone .screen img { display: block; width: 100%; height: auto; }
.phone .screen::after { content: ''; position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #0b1812; border-radius: 14px; }

/* ---------- pain → solution ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.vs .col { border-radius: 24px; padding: 34px 34px 30px; background: var(--white); box-shadow: var(--shadow); }
.vs .col.with { background: var(--g900); color: var(--on-dark); }
.vs h3 { font-size: 24px; margin-bottom: 18px; }
.vs ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.vs li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.45; }
.vs li::before { position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; line-height: 1; }
.vs .now li::before { content: '×'; background: #f6e4e4; color: #a63838; font-size: 17px; }
.vs .with li::before { content: '✓'; background: rgba(255, 255, 255, .12); color: var(--on-dark-accent); font-size: 13px; }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feat { background: var(--white); border-radius: 22px; padding: 28px 26px; box-shadow: var(--shadow); }
.dark .feat, .darker .feat { background: rgba(255, 255, 255, .06); box-shadow: none; border: 1px solid rgba(255, 255, 255, .08); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--g50); color: var(--g600); display: grid; place-items: center; margin-bottom: 18px; }
.dark .feat .ic, .darker .feat .ic { background: rgba(255, 255, 255, .1); color: var(--on-dark-accent); }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { margin-bottom: 8px; }
.feat p { font-size: 16px; color: var(--muted); line-height: 1.5; }
.dark .feat p, .darker .feat p { color: var(--on-dark-muted); }

/* ---------- segments: who the platform is for ---------- */
.segments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.seg { background: var(--bg); border-radius: 22px; padding: 26px 22px; }
.seg .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--g600); display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow); }
.seg .ic svg { width: 24px; height: 24px; }
.seg h3 { font-size: 19px; margin-bottom: 8px; }
.seg p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* laptop and phone side by side */
.show { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 64px; }
.show .laptop { margin: 0; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.step { position: relative; padding: 28px 24px; background: var(--white); border-radius: 22px; box-shadow: var(--shadow); }
.step .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--g800); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step .ic { position: absolute; right: 22px; top: 26px; color: var(--g600); }
.step .ic svg { width: 28px; height: 28px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.fact { border-radius: 22px; padding: 28px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.fact b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; color: #fff; }
.fact span { font-size: 15px; color: var(--on-dark-muted); line-height: 1.45; display: block; }
.fact.todo { border: 1px dashed rgba(255, 255, 255, .32); background: transparent; }
.fact.todo b { color: var(--on-dark-muted); font-size: 18px; }

/* ---------- security ---------- */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--g600); border-bottom: 2px solid var(--g600); transform: rotate(45deg); transition: transform .2s; margin: 0 8px 4px 0; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq details p { padding: 0 0 22px; font-size: 17px; color: var(--muted); line-height: 1.5; max-width: 700px; }

/* ---------- final call ---------- */
.final { text-align: center; }
.final .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.foot { background: var(--g950); color: var(--on-dark-muted); padding: 56px 0 36px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h3 { color: #fff; font-size: 14px; margin: 0 0 12px; font-weight: 600; letter-spacing: 0; }
.foot a { color: var(--on-dark-muted); text-decoration: none; display: block; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot p { line-height: 1.5; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.foot .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.foot .lang { border-color: rgba(255, 255, 255, .22); color: var(--on-dark-muted); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .65, .3, 1), transform .8s cubic-bezier(.2, .65, .3, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .top, .faq summary::after { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .segments { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
  .features, .steps, .facts { grid-template-columns: repeat(2, 1fr); }
  .three { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; justify-items: center; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .menu-open .nav { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: var(--top); bottom: 0; background: var(--g900); padding: 10px 24px 16px; gap: 0; margin: 0; overflow: auto; }
  .menu-open { overflow: hidden; }
  .menu-open .nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu-open .nav .menu-cta { display: inline-flex; align-self: flex-start; margin-top: 22px; padding: 13px 24px; border-bottom: 0; color: var(--cta-text); }
  .menu-open .burger { background: rgba(255, 255, 255, .12); }
  .top .btn.sm { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .hero { padding-top: 40px; }
  .head { margin-bottom: 36px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .features, .steps, .facts, .vs, .segments { grid-template-columns: 1fr; }
  .vs .col { padding: 26px 22px; }
  .laptop { margin-top: 40px; }
  .laptop .lid { padding: 8px 8px 0; border-radius: 14px 14px 3px 3px; }
  .laptop .lid img { border-radius: 6px 6px 0 0; }
  .laptop .base { height: 10px; }
  .faq summary { font-size: 18px; }
  .foot .cols { grid-template-columns: 1fr; gap: 24px; }
}
