:root{
  --bg: #050506;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --line: rgba(255,255,255,.10);

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container-max: 1100px;
  --container-pad: 24px;
  --container-wide-max: 1100px;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  --btn-bg: rgba(255,255,255,0.06);
  --btn-border: rgba(255,255,255,0.20);
  --btn-bg-hover: rgba(255,255,255,0.92);
  --btn-border-hover: rgba(255,255,255,0.92);
}

/* Reset */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed watermark logo (subtle) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: url("../assets/logos/logo-wetermark.png") center / min(1000px, 65vw) no-repeat;
  opacity: 0.245;
  pointer-events: none;
  z-index: 0;
}
main{ position: relative; z-index: 1; }

a{ color: inherit; }

/* Layout */
.container{
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--wide{ max-width: var(--container-wide-max); }

.section{
  padding: 72px 0;
  border-top: none;
}
.section:first-of-type{ border-top: 0; }

.section--center{ text-align:center; }

.hero{
  position: relative;
  padding: 96px 0 72px;
  border-top: 0;
}
.hero__inner{ text-align:center; }

.hero-logo{
  display:block;
  height: 54px;
  width: auto;
  margin: 0 auto 18px;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 180ms ease;
}
.hero-logo:hover{
  opacity: 1;
  transform: translateY(-1px);
}
@media (max-width: 640px){
  .hero-logo{ height: 44px; margin-bottom: 14px; }
}

.hero h1{
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.h2{
  margin: 0 0 14px;
  font-size: clamp(22px, 2.0vw, 30px);
  font-weight: 650;
  letter-spacing: 0.3px;
  text-align: center;
}

.lead{
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 55px auto;
}

/* Make the hero lead more present */
.hero .lead{
  font-size: 1.35rem;
  font-weight: 600;
  opacity: .95;
  margin-top: 22px;
}

/* About paragraphs: wider + justified */
.about-text{
  max-width: 100ch;
  margin: 0 auto 18px;
  text-align: justify;
  overflow-wrap: break-word;
}

@media (max-width: 640px){
  .about-text{
    hyphens: auto;
    -webkit-hyphens: auto;
    text-align-last: auto;
  }
}

/* Grid & cards */
.grid{
  display: grid;
  gap: 18px;
}
.grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px){
  .grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .grid--3{ grid-template-columns: 1fr; }
  .hero{ padding: 72px 0 48px; }
}

.card{
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.075);
  padding: 1px 20px 1px 20px;
  box-shadow: var(--shadow);
}
.card h3{
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
}
.card p{
  margin: 0;
   color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-size: 0.98rem;
  text-align: left;
  hyphens: auto;
}

/* Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: #fff;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
  backdrop-filter: blur(4px);
}
.btn:hover{
  transform: translateY(-1px);
  background: var(--btn-bg-hover);
  color: #000;
  border-color: var(--btn-border-hover);
}
.hero + .section{
  padding-top: 10px;
}
/* H1: 1 line on wide screens, wraps naturally on smaller screens */
.hero h1{
  text-wrap: balance;
}

@media (min-width: 980px){
  .hero h1{ white-space: nowrap; }
}