/* Ledgentia landing — vanilla CSS, mobile-first, no external deps */

:root {
  --bg: #0d1117;
  --bg-alt: #11161f;
  --surface: #161c27;
  --border: #232c3a;
  --text: #e6edf3;
  --text-muted: #9aa7b8;
  --accent: #2dd4bf;       /* teal */
  --accent-strong: #14b8a6;
  --accent-contrast: #04231f;
  --maxw: 1080px;
  --radius: 14px;
  --gap: clamp(1rem, 3vw, 2rem);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.muted { color: var(--text-muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-contrast);
  padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, .82);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 700; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 1.25rem; line-height: 1; }
.brand-name { font-size: 1.1rem; }

.nav { display: flex; align-items: center; gap: clamp(.6rem, 2.5vw, 1.6rem); font-size: .95rem; }
.nav a { color: var(--text-muted); }
.nav a:hover, .nav a.is-active { color: var(--text); text-decoration: none; }
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--border);
  padding: .4rem .85rem; border-radius: 999px;
}
.nav-cta:hover { border-color: var(--accent); }

.lang-switch {
  font-weight: 700; font-size: .82rem; letter-spacing: .06em;
  color: var(--text-muted); padding: .35rem .55rem; border-radius: 8px;
  border: 1px solid var(--border);
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 7vw, 5rem); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; margin: 0 0 1rem; letter-spacing: -.02em; max-width: 16ch; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--text-muted); max-width: 60ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 .5rem; letter-spacing: -.01em; }
.section-lead { color: var(--text-muted); margin: 0 0 2rem; max-width: 60ch; }

/* ---------- Cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(45, 212, 191, .12); color: var(--accent); margin-bottom: 1rem;
}
.card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--text-muted); }

/* ---------- Values ---------- */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.value { padding: 1.25rem 1.25rem 1.25rem 1.5rem; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.value h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.value p { margin: 0; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-inner h2 { margin-bottom: .6rem; }
.contact .section-lead { margin-left: auto; margin-right: auto; }
.contact-note { color: var(--text-muted); font-size: .9rem; margin-top: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; background: var(--bg-alt); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.footer-meta { margin: 0; font-size: .9rem; color: var(--text); }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Light-scheme courtesy (kept subtle; dark is the primary brand look) */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9fc; --bg-alt: #eef2f8; --surface: #ffffff; --border: #d7dee9;
    --text: #0d1117; --text-muted: #4b5563; --accent: #0d9488; --accent-strong: #0f766e;
    --accent-contrast: #ffffff;
  }
  .site-header { background: rgba(247, 249, 252, .85); }
}
