/* ============ Younasoft — younasoft.com ============ */
:root {
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --panel: #ffffff;
  --line: #e2e7f0;
  --line-soft: #edf0f6;
  --text: #101828;
  --dim: #4a5568;
  --dim-2: #7a8699;

  --blue: #6d3df0;
  --blue-dark: #5525cf;
  --violet: #8b5cf6;
  --cyan: #9d6bff;
  --amber: #d97706;
  --pink: #db2777;

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  --r-lg: 16px;
  --r-md: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

::selection { background: rgba(15, 111, 236, 0.15); }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 4px; }
.brand-logo {
  width: 40px; height: 40px; object-fit: contain;
}
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-name em {
  font-style: normal; font-weight: 400;
  font-size: 0.72em; color: var(--blue); margin-left: 1px;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--dim); font-size: 0.9rem; font-weight: 500;
  padding: 8px 13px; border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-cta {
  font-size: 0.9rem; font-weight: 600; padding: 9px 20px;
  border-radius: 7px; color: #fff; background: var(--blue);
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-dark); }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: .3s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 190px 0 110px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
}
.hero-inner {
  position: relative; max-width: 900px; margin: 0 auto;
  padding: 0 28px; text-align: center;
}
.hero-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 30px;
}
.hero-logo {
  width: clamp(90px, 13vw, 130px); height: auto;
}
.hero-wordmark {
  font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero-wordmark em {
  font-style: normal; font-weight: 400;
  font-size: 0.72em; color: var(--blue); margin-left: 2px;
}
.hero-kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
  padding: 7px 16px; border: 1px solid rgba(109,61,240,.28);
  border-radius: 999px; background: rgba(109,61,240,.05);
}
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  color: var(--text);
}
.grad-text {
  background: linear-gradient(92deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 620px; margin: 24px auto 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--dim);
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 38px; flex-wrap: wrap;
}
.btn {
  font-weight: 600; font-size: 0.96rem;
  padding: 13px 28px; border-radius: 7px;
  transition: background .2s, border-color .2s;
  display: inline-block;
}
.btn-primary { color: #fff; background: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--dim-2); }
.hero-strip {
  display: flex; justify-content: center;
  margin-top: 70px; flex-wrap: wrap;
}
.strip-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 36px; position: relative;
}
.strip-item + .strip-item::before {
  content: ""; position: absolute; left: 0; top: 12%;
  height: 76%; width: 1px; background: var(--line);
}
.strip-item strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.strip-item span { font-size: 0.78rem; color: var(--dim-2); font-weight: 500; }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 14px; color: var(--blue);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
}
.section-sub {
  max-width: 620px; margin-top: 16px;
  color: var(--dim); font-size: 1.05rem;
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
.pcard {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: border-color .25s, transform .25s var(--ease);
}
.pcard:hover { border-color: var(--blue); transform: translateY(-3px); }
.pcard-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 1.1rem;
  margin-bottom: 20px; color: #fff;
}
.pi-youna { background: var(--blue); }
.pi-you   { background: var(--cyan); }
.pi-ync   { background: var(--amber); }
.pi-ai    { background: var(--violet); }
.pcard h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.pcard-tag {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--dim-2); margin: 4px 0 12px;
}
.pcard-desc { font-size: 0.92rem; color: var(--dim); min-height: 92px; }
.pcard-link {
  display: inline-block; margin-top: 16px;
  font-size: 0.9rem; font-weight: 600; color: var(--blue);
}
.pcard:hover .pcard-link { text-decoration: underline; }

/* ============ FEATURES ============ */
.feature-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.feature-inner.flip .feature-visual { order: -1; }
.feature-title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.grad-youna { color: var(--blue); }
.grad-you   { color: var(--cyan); }
.grad-ync   { color: var(--amber); }
.grad-ai    { color: var(--violet); }
.feature-tag {
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  margin: 14px 0 16px;
}
.feature-desc { color: var(--dim); font-size: 1rem; }
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  position: relative; padding: 10px 0 10px 30px;
  color: var(--dim); font-size: 0.96rem;
  border-bottom: 1px solid var(--line-soft);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  font-weight: 700; font-size: 0.82rem;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--blue);
}
.feature-list b { color: var(--text); font-weight: 600; }
.feature-list code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  padding: 2px 7px; border-radius: 5px;
}

/* ---- code window ---- */
.code-window, .terminal-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.terminal-window { margin-top: 14px; }
.code-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dae6; }
.code-bar i:nth-child(1) { background: #f87171; }
.code-bar i:nth-child(2) { background: #fbbf24; }
.code-bar i:nth-child(3) { background: #34d399; }
.code-bar span {
  margin-left: 8px; font-family: var(--mono);
  font-size: 0.74rem; color: var(--dim-2);
}
.code {
  padding: 18px 20px; font-family: var(--mono);
  font-size: 0.85rem; line-height: 1.75;
  overflow-x: auto; white-space: pre; color: var(--text);
}
.code.term { font-size: 0.8rem; color: var(--dim); }
.c-kw  { color: #7c3aed; }
.c-fn  { color: #6d3df0; }
.c-str { color: #047857; }
.c-num { color: #b45309; }
.c-cm  { color: #98a2b8; }
.soon-badge {
  display: inline-block; vertical-align: middle;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(109,61,240,.08); border: 1px solid rgba(109,61,240,.3);
  border-radius: 999px; padding: 3px 10px; margin-left: 6px;
}

/* ---- OS panel ---- */
.os-panel {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px;
}
.os-row {
  display: grid; grid-template-columns: 52px 1fr auto;
  align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.os-row:last-of-type { border-bottom: 0; }
.os-key {
  font-family: var(--mono); font-weight: 600; font-size: 0.85rem;
  color: var(--cyan);
}
.os-bar {
  height: 8px; border-radius: 6px;
  background: var(--bg-2); overflow: hidden;
}
.os-bar i {
  display: block; height: 100%; width: 0;
  border-radius: 6px; background: var(--cyan);
  transition: width 1.2s var(--ease) .15s;
}
.in .os-bar i { width: var(--w); }
.os-val { font-size: 0.8rem; color: var(--dim); white-space: nowrap; }
.os-foot {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--dim-2); line-height: 1.7;
}

/* ---- stats card (YNC) ---- */
.stats-card {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 20px;
  transition: border-color .25s;
}
.stat:hover { border-color: var(--amber); }
.stat-num {
  display: block; font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.stat-label { font-size: 0.8rem; color: var(--dim); font-weight: 500; }

/* ---- AI panel ---- */
.ai-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 8px 24px;
}
.ai-step {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ai-step:last-child { border-bottom: 0; }
.ai-dot {
  flex-shrink: 0; width: 11px; height: 11px; border-radius: 50%;
  margin-top: 7px; background: var(--violet);
}
.ai-step b { font-size: 1rem; font-weight: 700; }
.ai-step p { font-size: 0.87rem; color: var(--dim); margin-top: 2px; }

/* ============ YOUNA page ============ */
.pg-hero { padding-bottom: 90px; }
.hero-tag {
  font-size: 1.15rem; font-weight: 600; color: var(--dim);
  margin-top: 14px;
}
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 48px;
}
.pillar {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; background: #fff;
}
.pillar h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.pillar p { color: var(--dim); font-size: 0.94rem; }
.pillar code {
  font-family: var(--mono); font-size: 0.85em;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  padding: 1px 6px; border-radius: 5px;
}
.batt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 44px;
}
.batt {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 20px; background: #fff;
  transition: border-color .25s;
}
.batt:hover { border-color: var(--blue); }
.batt b { font-size: 0.98rem; font-weight: 700; }
.batt p { color: var(--dim); font-size: 0.86rem; margin-top: 6px; }
.res-grid { grid-template-columns: repeat(4, 1fr); }
a.batt { color: var(--text); }
a.batt b { color: var(--blue); }
.install-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 44px;
}
.install-card {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; overflow: hidden;
}
.install-card h4 {
  font-size: 0.82rem; font-weight: 700; padding: 14px 18px;
  background: var(--bg-2); border-bottom: 1px solid var(--line-soft);
}
.install-card .code { border: 0; }
.install-note { margin-top: 20px; color: var(--dim-2); font-size: 0.9rem; }
.pg-cta { text-align: center; }
.pg-cta .btn { margin-top: 30px; }

/* ============ PLAYGROUND ============ */
.pg-body { min-height: 100svh; display: flex; flex-direction: column; }
.pg-main {
  flex: 1; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 110px 28px 50px;
  display: flex; flex-direction: column;
}
.pg-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.pg-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.pg-title em { font-style: normal; font-weight: 400; color: var(--blue); }
.pg-sub { color: var(--dim); font-size: 0.92rem; margin-top: 6px; max-width: 560px; }
.pg-toolbar { display: flex; gap: 10px; align-items: center; }
.pg-select {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--text); cursor: pointer;
}
.pg-run { padding: 10px 26px; }
.pg-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  flex: 1; min-height: 420px;
}
.pg-editor-wrap, .pg-output-wrap {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; background: #fff;
}
.pg-editor {
  flex: 1; border: 0; outline: none; resize: none;
  padding: 18px 20px; font-family: var(--mono);
  font-size: 0.88rem; line-height: 1.7; color: var(--text);
  background: #fff; min-height: 380px; tab-size: 4;
}
.pg-output {
  flex: 1; margin: 0; padding: 18px 20px; overflow: auto;
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.7;
  color: var(--dim); background: #fff; white-space: pre-wrap; min-height: 380px;
}
.pg-hint { margin-left: auto; }
.pg-note { margin-top: 16px; font-size: 0.8rem; color: var(--dim-2); }

@media (max-width: 900px) {
  .pillars, .batt-grid, .install-grid { grid-template-columns: 1fr; }
  .pg-split { grid-template-columns: 1fr; }
  .pg-editor, .pg-output { min-height: 300px; }
}

/* ============ LEARN page ============ */
.learn-wrap {
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px; padding-top: 130px; padding-bottom: 90px;
}
.learn-side {
  position: sticky; top: 100px; align-self: start;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid var(--line);
}
.learn-side-title {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim-2);
  padding-left: 20px; margin-bottom: 10px;
}
.learn-side a {
  padding: 8px 20px; font-size: 0.92rem; font-weight: 500;
  color: var(--dim); border-left: 2px solid transparent;
  margin-left: -1.5px; transition: color .2s, border-color .2s;
}
.learn-side a:hover { color: var(--text); }
.learn-side a.active { color: var(--blue); border-left-color: var(--blue); }
.learn-sec { padding: 44px 0 8px; border-top: 1px solid var(--line-soft); }
.learn-sec:first-of-type { border-top: 0; padding-top: 30px; }
.learn-sec h2 {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.learn-sec > p { color: var(--dim); font-size: 0.98rem; margin-bottom: 16px; max-width: 640px; }
.learn-sec code {
  font-family: var(--mono); font-size: 0.85em;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  padding: 1px 6px; border-radius: 5px;
}
.learn-sec .code { font-size: 0.84rem; }
.learn-note { font-size: 0.82rem; color: var(--dim-2); margin-top: 10px; }
.try-link {
  display: inline-block; margin-top: 14px;
  font-size: 0.92rem; font-weight: 600; color: var(--blue);
}
.try-link:hover { text-decoration: underline; }
.learn-cta {
  margin-top: 60px; padding: 40px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-2);
}
.learn-cta h3 { font-size: 1.4rem; font-weight: 800; }
.learn-cta p { color: var(--dim); margin: 10px 0 22px; }
.learn-cta code {
  font-family: var(--mono); font-size: 0.85em;
  background: #fff; border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 5px;
}
.learn-cta .btn { margin: 0 6px; }

@media (max-width: 860px) {
  .learn-wrap { grid-template-columns: 1fr; gap: 0; }
  .learn-side {
    position: static; flex-direction: row; flex-wrap: wrap;
    border-left: 0; border-bottom: 1px solid var(--line);
    padding-bottom: 14px; margin-bottom: 10px;
  }
  .learn-side a { border-left: 0; border-bottom: 2px solid transparent; padding: 6px 10px; }
  .learn-side a.active { border-bottom-color: var(--blue); }
  .learn-side-title { padding-left: 10px; width: 100%; }
}

/* ---- generic product panel ---- */
.gen-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px 32px; text-align: center;
}
.gp-icon {
  width: 64px; height: 64px; border-radius: 14px; margin: 0 auto 20px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 1.4rem;
  color: #fff; background: var(--c, var(--blue));
}
.gen-panel h3 { font-size: 1.5rem; font-weight: 800; }
.gen-panel p { color: var(--dim); margin-top: 8px; font-size: 0.95rem; }

/* ---- version badge / misc ---- */
.ver {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  color: var(--dim-2); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 7px; vertical-align: middle; white-space: nowrap;
}
.btn-sm { margin-top: 22px; padding: 11px 24px; font-size: 0.9rem; }
.products-empty { margin-top: 40px; color: var(--dim-2); font-size: 0.95rem; }

/* ---- crawled project metrics ---- */
.metrics {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
}
.metrics span {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  color: var(--dim); background: var(--bg-2);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 4px 12px; white-space: nowrap;
}

/* ============ APPS ============ */
.apps-h {
  margin: 50px 0 18px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim-2);
}
.app-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.app-grid.small { grid-template-columns: repeat(6, 1fr); }
.acard {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px;
  transition: border-color .25s, transform .25s var(--ease);
}
.acard:hover { transform: translateY(-3px); border-color: var(--blue); }
.acard h4 { font-size: 0.96rem; font-weight: 700; letter-spacing: -0.01em; }
.acard p { font-size: 0.78rem; color: var(--dim-2); margin-top: 3px; }
.acard-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--blue); background: rgba(109,61,240,.07);
  border: 1px solid rgba(109,61,240,.22);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 11px;
}
.acard.s { padding: 14px; text-align: center; }
.acard.s h4 { font-size: 0.87rem; font-weight: 600; color: var(--dim); transition: color .25s; }
.acard.s:hover h4 { color: var(--text); }

/* ============ ABOUT ============ */
.about { background: var(--bg-2); border-top: 1px solid var(--line-soft); text-align: center; }
.about-inner { max-width: 760px; }
.about-text { margin-top: 20px; font-size: 1.1rem; color: var(--dim); }
.about-text b { color: var(--text); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px;
  padding-top: 60px; padding-bottom: 44px; flex-wrap: wrap;
}
.footer-brand p { color: var(--dim-2); font-size: 0.9rem; margin-top: 12px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.fcol h5 {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dim-2); margin-bottom: 14px;
}
.fcol a {
  display: block; color: var(--dim); font-size: 0.92rem;
  padding: 5px 0; transition: color .2s;
}
.fcol a:hover { color: var(--blue); }
.footer-bar { border-top: 1px solid var(--line-soft); padding: 28px 0 24px; }
.footer-bar .container { text-align: center; }
.footer-legal {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 0.86rem; color: var(--dim); font-weight: 500;
}
.footer-legal a { color: var(--blue); font-weight: 600; }
.footer-legal a:hover { text-decoration: underline; }
.footer-sep { color: var(--line); font-weight: 700; }
.footer-reg {
  margin-top: 10px; font-size: 0.74rem;
  color: var(--dim-2); letter-spacing: 0.01em;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(4, 1fr); }
  .app-grid.small { grid-template-columns: repeat(4, 1fr); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-inner { gap: 48px; }
}
@media (max-width: 780px) {
  .nav-links {
    position: fixed; inset: 63px 0 auto 0;
    flex-direction: column; gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 10px; font-size: 1rem; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .res-grid { grid-template-columns: 1fr; }
  .code { font-size: 0.78rem; padding: 14px 16px; }
  .install-card .code { font-size: 0.72rem; }
  .hero { padding: 150px 0 80px; }
  .hero-inner { padding: 0 20px; }
  .hero-brand { gap: 10px; }
  .feature-inner { grid-template-columns: 1fr; }
  .feature-inner.flip .feature-visual { order: 0; }
  .section { padding: 72px 0; }
  .strip-item { padding: 10px 22px; }
  .strip-item + .strip-item::before { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid.small { grid-template-columns: repeat(3, 1fr); }
  .os-row { grid-template-columns: 46px 1fr; }
  .os-val { display: none; }
}
@media (max-width: 460px) {
  .app-grid.small { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
