/* Luage — homepage styles
   Purpose: a clean, editorial, enterprise-friendly look that matches the Compendium aesthetic.
*/

:root{
  --luage-ink: #0b1220;
  --luage-ink-2: #1b2433;
  --luage-muted: #5b6475;
  --luage-border: #e6e8ef;
  --luage-bg: #f8fafc;
  --luage-bg-2: #ffffff;
  --luage-soft: #f1f5f9;

  --luage-a1: #46DCD4;
  --luage-a2: #995EFF;
  --luage-grad: linear-gradient(135deg, var(--luage-a1), var(--luage-a2));
}

html, body {
  height: 100%;
}

body{
  color: var(--luage-ink);
  background: var(--luage-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{
  text-decoration: none;
}

.navbar{
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid var(--luage-border);
  backdrop-filter: blur(10px);
}

.navbar .nav-link{
  color: rgba(11,18,32,.78);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: rgba(11,18,32,1);
}

.brand-lockup img{
  height: 34px;
  width: auto;
  display: block;
}

.btn-luage{
  background: var(--luage-grad);
  border: none;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 .6rem 1.4rem rgba(15, 23, 42, 0.12);
}

.btn-luage:hover,
.btn-luage:focus{
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 .85rem 1.8rem rgba(15, 23, 42, 0.14);
}

.btn-luage:active{
  transform: translateY(0);
}

.kicker{
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--luage-border);
  background: rgba(255,255,255,.75);
  color: rgba(27,36,51,.86);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: .9rem;
}

.kicker .dot{
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: var(--luage-grad);
}

.hero{
  padding: 6.2rem 0 3.4rem;
  background:
    radial-gradient(1200px 600px at 12% 0%, rgba(70,220,212,0.18), transparent 60%),
    radial-gradient(1000px 580px at 90% 10%, rgba(153,94,255,0.14), transparent 62%),
    linear-gradient(to bottom, #ffffff, var(--luage-bg));
  border-bottom: 1px solid var(--luage-border);
}

.hero h1{
  letter-spacing: -0.02em;
}

.hero .lead{
  color: rgba(27,36,51,.86);
  max-width: 54ch;
}

.hero-card{
  border: 1px solid var(--luage-border);
  border-radius: 1rem;
  background: rgba(255,255,255,.85);
  box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.hero-card .card-top{
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--luage-border);
  background: linear-gradient(to bottom, rgba(255,255,255,.95), rgba(248,250,252,.95));
}

.hero-card .pill{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--luage-border);
  background: rgba(255,255,255,.8);
  color: rgba(27,36,51,.86);
  font-weight: 600;
  font-size: .85rem;
}

.hero-card .content{
  padding: 1.1rem 1.1rem 1.15rem;
}

.mini-label{
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(91,100,117,.95);
}

.mini-box{
  border: 1px solid var(--luage-border);
  border-radius: .75rem;
  background: #ffffff;
  padding: .85rem .9rem;
}

.mini-box .muted{
  color: rgba(91,100,117,.9);
}

.hl{
  background: linear-gradient(90deg, rgba(70,220,212,.20), rgba(153,94,255,.16));
  border-radius: .35rem;
  padding: 0 .25rem;
}

.section{
  padding: 4.2rem 0;
}

.section .section-title{
  letter-spacing: -0.01em;
}

.section .section-lead{
  color: rgba(27,36,51,.82);
  max-width: 70ch;
}

.card-soft{
  border: 1px solid var(--luage-border);
  border-radius: 1rem;
  background: rgba(255,255,255,.92);
  box-shadow: 0 .6rem 1.8rem rgba(15,23,42,.06);
}

.card-soft:hover{
  box-shadow: 0 .9rem 2.2rem rgba(15,23,42,.08);
}

.feature-icon{
  width: 42px;
  height: 42px;
  border-radius: .9rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(70,220,212,.18), rgba(153,94,255,.14));
  border: 1px solid rgba(153,94,255,.18);
}

.feature-icon i{
  font-size: 1.2rem;
  color: rgba(11,18,32,.85);
}

.hr-soft{
  border: none;
  border-top: 1px solid var(--luage-border);
  margin: 1.2rem 0;
}

.step{
  display: flex;
  gap: .95rem;
}

.step .num{
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #ffffff;
  background: var(--luage-grad);
  box-shadow: 0 .6rem 1.2rem rgba(15,23,42,.12);
}

.step .txt .t{
  font-weight: 700;
}

.step .txt .d{
  color: rgba(27,36,51,.80);
}

.badge-outline{
  border: 1px solid var(--luage-border);
  background: rgba(255,255,255,.7);
  color: rgba(27,36,51,.80);
  font-weight: 600;
}

.callout{
  border: 1px solid rgba(70,220,212,.30);
  background: radial-gradient(120% 140% at 0% 0%, rgba(70,220,212,.16) 0, rgba(255,255,255,.85) 45%, rgba(153,94,255,.10) 100%);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
}

.callout strong{
  font-weight: 800;
}

.footer{
  border-top: 1px solid var(--luage-border);
  background: #ffffff;
}

.footer a{
  color: rgba(11,18,32,.80);
}

.footer a:hover{
  color: rgba(11,18,32,1);
}

.small-muted{
  color: rgba(91,100,117,.9);
}

.form-control, .form-select{
  border-radius: .9rem;
  border: 1px solid var(--luage-border);
}

.form-control:focus, .form-select:focus{
  border-color: rgba(153,94,255,.45);
  box-shadow: 0 0 0 .25rem rgba(153,94,255,.12);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .btn-luage{
    transition: none !important;
    transform: none !important;
  }
}

section[id]{ scroll-margin-top: 92px; }


/* Code samples (policy-as-code) */
.code-sample{
  margin: 0;
  padding: 1.05rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(15,23,42,.14);
  background: #0b1220;
  color: rgba(226,232,240,.96);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .86rem;
  line-height: 1.55;
  white-space: pre;
  overflow: auto;
  box-shadow: 0 .9rem 2.2rem rgba(15,23,42,.14);
}

.code-sample code{ color: inherit; }


/* RACI table */
.table-wrap{
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid var(--luage-border);
  background: rgba(255,255,255,.92);
}

.table-wrap table{
  margin: 0;
}

.table-raci{
  border-color: var(--luage-border);
}

.table-raci thead th{
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(91,100,117,.95);
  background: rgba(248,250,252,.92);
  border-bottom: 1px solid var(--luage-border);
  white-space: nowrap;
}

.table-raci tbody th{
  font-weight: 700;
  color: rgba(11,18,32,.92);
  min-width: 18rem;
}

.table-raci td{
  text-align: center;
  vertical-align: middle;
}

.raci-cell{
  font-weight: 900;
  letter-spacing: .02em;
  border-radius: .5rem;
}

.raci-R{ background: rgba(70,220,212,.16); }
.raci-A{ background: rgba(153,94,255,.14); }
.raci-C{ background: rgba(15,23,42,.06); }
.raci-I{ background: rgba(248,250,252,.9); }


/* --- Compendium library micro-utilities --- */
.pill, .type-pill{ /* pill */
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--luage-border);
  background: rgba(255,255,255,.8);
  color: rgba(27,36,51,.86);
  font-weight: 700;
  font-size: .85rem;
}


/* Pill variants — subtle, enterprise-friendly */
.pill--ok{
  border-color: rgba(70,220,212,.35);
  background: rgba(70,220,212,.12);
}
.pill--info{
  border-color: rgba(153,94,255,.28);
  background: rgba(153,94,255,.10);
}
.pill--warn{
  border-color: rgba(245,158,11,.30);
  background: rgba(245,158,11,.10);
}
.pill--danger{
  border-color: rgba(225,29,72,.28);
  background: rgba(225,29,72,.10);
}
.pill--muted{
  border-color: rgba(91,100,117,.22);
  background: rgba(91,100,117,.08);
  color: rgba(27,36,51,.78);
}

.meta{
  color: var(--luage-muted);
  font-size: .95rem;
  line-height: 1.5;
}


/* Compendium: family tags (rodziny przewodników) */
.family-pill{
  display: inline-flex;
  align-items: center;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(153,94,255,.22);
  background: linear-gradient(135deg, rgba(70,220,212,.12), rgba(153,94,255,.10));
  color: rgba(27,36,51,.92);
  font-size: .78rem;
  font-weight: 600;
}

.family-select{
  min-width: 12.5rem;
}


@media (min-width: 992px){
  .brand-lockup img{ height: 38px; }
}
