/* assets/styles.css */
	@font-face 			{font-family: 'Noto'; src: url('fonts/noto.ttf') format('truetype');}
/* ---------- Design tokens ---------- */
:root{
  --bg: #ffffff;
  --muted: #E0E4E6;       
  --text: #222;
  --subtext: #444;
  --border: #d6d6d6;

  --accent: #333333;      
  --max: 1100px;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.07);
}
/* i18n polish */
body{
  transition: opacity 140ms ease;
}
body.i18n-fade-out{
  opacity: 0.15;
}

.btn.is-active-lang{
  border-color: rgba(161,2,2,.55);
  box-shadow: 0 0 0 3px rgba(161,2,2,.10);
  background: rgba(255,255,255,.65);
  text-decoration: none;
}
.btn[aria-pressed="true"]{ display:none; }
/* ---------- Base ---------- */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: Noto, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
p{ margin: 0 0 1rem; color: var(--subtext); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top nav ---------- */
.topnav{
  position: sticky;
  top: 0;
  z-index: 10;
  background: #333333;
  color:#d6d6d6;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topnav .inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
}
.topnav .icons{
  display: flex;
  gap: 10px;
  align-items: center;
}
.topnav .icons a{
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
}
.topnav .icons a:hover{
  background: rgba(0,0,0,.06);
  text-decoration: none;
}
.separator{
  opacity: .4;
  padding: 0 6px;
}

/* ---------- Hero ---------- */
.hero{
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center;
  padding: 34px 0;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero .meta{
  margin: 0 0 14px;
  color: var(--subtext);
  font-size: .98rem;
}
.hero .lead{
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn{
  background-color: #ececec;
  border-radius: 10px;
  padding: 0.75em 1em;
  margin-bottom: 10px;
  color: #353535;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7em;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;

}
.btn:hover{ text-decoration: none; background: rgba(255,255,255,.55); }
.btn.primary{
  border-color: #333333;
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section{
  padding: 34px 0;
}
.section h2{
  margin: 0 0 18px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--text);
}

/* ---------- Cards ---------- */
.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: justify;
}
.card .thumb{
  width: min(220px, 60%);
  margin: 0 auto 12px;
}
.card h3{
  margin: 0 0 8px;
  text-align: center;
}
.card p{
  margin: 0 0 12px;
}
.card .cta{
  display: flex;
  justify-content: center;
}

/* ---------- Footer ---------- */
footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--subtext);
  font-size: .95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
}
