/* Yuvera Solutions — parent-entity homepage.
   Quiet, structural, credible. One strong sans (Hanken Grotesk), near-white +
   charcoal, ONE restrained ink-blue accent. The distinctiveness is structure:
   the ecosystem tree, the LINQS technology diagram, the 2014 timeline — clean
   CSS, fully crawlable, no decoration, no motion. CSP-safe (no JS). */

:root {
  --paper:       #FBFAF8;
  --paper-2:     #F3F2EC;
  --surface:     #FFFFFF;
  --ink:         #1A1916;
  --charcoal:    #3A3833;
  --muted:       #6E6C64;
  --line:        #E6E4DC;
  --line-2:      #D4D2C8;
  --accent:      #22436B;
  --accent-2:    #173251;
  --accent-weak: rgba(34, 67, 107, 0.06);
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section[id] { scroll-margin-top: 80px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0; }
.wordmark { display: flex; gap: 0.4rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.wordmark span { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 1.7rem; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--charcoal); text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.25rem, 4vw, 3.25rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { margin: 0 0 1.1rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
h1 { margin: 0 0 1.2rem; max-width: 16ch; font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.025em; color: var(--ink); }
.hero-sub { margin: 0 0 1rem; max-width: 42ch; font-size: clamp(1.1rem, 1.6vw, 1.28rem); font-weight: 500; line-height: 1.5; color: var(--charcoal); }
.hero-support { margin: 0 0 1.8rem; max-width: 46ch; font-size: 1.02rem; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.4rem; border-radius: 8px; border: 1px solid transparent; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Ecosystem diagram (hero) ---------- */
.ecosystem { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 1.5rem; box-shadow: 0 1px 3px rgba(26, 25, 22, 0.03); }
.eco-parent { display: flex; flex-direction: column; gap: 0.12rem; padding: 0.9rem 1.1rem; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent-weak); }
.eco-kicker { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.eco-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.eco-tree { position: relative; margin-top: 0.45rem; padding-left: 1.5rem; }
.eco-tree::before { content: ""; position: absolute; left: 0.6rem; top: -0.2rem; bottom: 1.55rem; width: 1px; background: var(--line-2); }
.eco-node { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.55rem; padding: 0.72rem 0.9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.eco-node::before { content: ""; position: absolute; left: -0.9rem; top: 50%; width: 0.7rem; height: 1px; background: var(--line-2); }
.eco-node:hover { border-color: var(--accent); transform: translateX(2px); }
.eco-brand { font-weight: 700; color: var(--ink); }
.eco-role { font-size: 0.8rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; margin: clamp(2rem, 4vw, 2.75rem) 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.trust-strip li { padding: 0.7rem 1.15rem; font-size: 0.82rem; font-weight: 500; color: var(--charcoal); border-right: 1px solid var(--line); }
.trust-strip li:last-child { border-right: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 64ch; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.label { margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.lede { margin: 0; max-width: 62ch; font-size: 1.08rem; line-height: 1.6; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* ---------- Brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.brand-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s; }
.brand-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(26, 25, 22, 0.4); }
.brand-top { display: flex; align-items: center; min-height: 30px; }
.brand-logo { width: auto; }
.brand-top .logo--1card { height: 28px; }
.brand-top .logo--linqs { height: 24px; }
.brand-top .logo--revuz { height: 21px; }
.brand-top .logo--lessworry { height: 21px; }
.brand-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.brand-desc { flex: 1; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.brand-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.brand-tags span { padding: 0.18rem 0.5rem; font-size: 0.72rem; color: var(--charcoal); background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; }
.brand-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.2rem; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.brand-link .arrow { transition: transform 0.25s; }
.brand-card:hover .brand-link .arrow { transform: translateX(4px); }

/* ---------- Technology diagram ---------- */
.tech-diagram { max-width: 880px; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); }
.tech-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.tech-node { padding: 0.8rem 0.6rem; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }
.tech-node.out { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.9rem 0.6rem; font-size: 0.76rem; font-weight: 500; color: var(--muted); }
.tech-node.out strong { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.tech-link-down { position: relative; width: 1px; height: 30px; margin: 0 auto; background: var(--line-2); }
.tech-link-down::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translate(-50%, 50%); }
.tech-hub { padding: 1rem; border-radius: 10px; background: var(--accent); color: #fff; text-align: center; font-size: 1.05rem; font-weight: 700; }

.fact-list { max-width: 760px; margin: 0; padding: 0; list-style: none; }
.fact-list li { padding: 0.95rem 0; border-top: 1px solid var(--line); font-size: 1.02rem; line-height: 1.5; color: var(--muted); }
.fact-list li:last-child { border-bottom: 1px solid var(--line); }
.fact-list span { color: var(--ink); font-weight: 700; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.8rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.tl-mark { display: block; margin-bottom: 0.3rem; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.tl-body { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.tl-body strong { color: var(--ink); font-weight: 700; }

/* ---------- Company / contact ---------- */
.company-facts { margin: 0; border-top: 1px solid var(--line); }
.company-facts > div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.company-facts dt { margin: 0; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.company-facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.company-facts a { color: var(--accent); text-decoration: none; }
.company-note { margin: 1.4rem 0 0; font-size: 0.98rem; line-height: 1.6; color: var(--muted); }
.company-note a { color: var(--accent); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(2.5rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-brands { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.4rem, 4vw, 2.6rem); padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.footer-brands img { width: auto; opacity: 0.85; }
.footer-brands .logo--1card { height: 24px; }
.footer-brands .logo--linqs { height: 21px; }
.footer-brands .logo--revuz { height: 15px; }
.footer-brands .logo--lessworry { height: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; padding: 1.6rem 0 1.2rem; }
.footer-links a { font-size: 0.9rem; color: var(--charcoal); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-note { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .split { grid-template-columns: 1fr; gap: 1.8rem; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .brand-grid { grid-template-columns: 1fr; }
  .tech-row { grid-template-columns: repeat(2, 1fr); }
  .company-facts > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .trust-strip li { border-right: none; border-bottom: 1px solid var(--line); }
  .trust-strip li:last-child { border-bottom: none; }
}
