/* ===========================
   microver.ch — Dark Glass Theme
   =========================== */
/* Base */
:root{
  --bg: #ffffff;
  --ink: #111218;
  --muted: #5a5f6b;
  --hair: rgba(17,18,24,.10);
  --card: rgba(17,18,24,.03);
  --glow: rgba(120, 150, 255, .12);
  --max: 1100px;
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

/* Subtle spiritual background */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 420px at 12% 10%, var(--glow), transparent 70%),
    radial-gradient(800px 380px at 88% 20%, rgba(255, 220, 160, .10), transparent 70%),
    radial-gradient(900px 420px at 50% 92%, rgba(120, 255, 210, .08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.skip{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: .5rem .75rem;
  border-radius: 10px;
}
.skip:focus{ left: 1rem; top: 1rem; z-index: 9999; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
  z-index: 50;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.brand{
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark{
  font-size: 2rem;
  letter-spacing: -.1em;
  display: inline-block;
  transform: translateY(0.12em);
}

.brand-text{
  font-weight: 650;
  letter-spacing: .01em;
}

/* Nav (desktop) */
.nav{
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav a{
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
  padding: .35rem .5rem;
  border-radius: 999px;
}
.nav a:hover{
  color: var(--ink);
  background: var(--card);
}

/* No-JS hamburger */
.nav-toggle{ display: none; }
.nav-toggle-label{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(255,255,255,.9);
}
.nav-toggle-label span{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  opacity: .85;
}

/* Main + "pages" */
.site-main{
  padding: 2.2rem 0 3.5rem;
}

/* Every section is a "page" */
.page{
  display: none;
  padding: 1rem 0;
}

/* Show home by default */
.page-home{ display: block; }

/* Show the targeted section. */
.page:target{ display: block; }

/* If a section is targeted, hide home (so it feels like page navigation). */
body:has(.page:target) .page-home{ display: none; }

/* Page layout */
.hero{
  padding: 2.2rem 0 1rem;
}
.eyebrow{
  margin: 0 0 .5rem;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}
h1{
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 .8rem;
  letter-spacing: -0.02em;
}
.lead{
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

/* Logo grid */
.logo-grid{
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.logo-card{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .85rem;
  align-items: center;
  padding: .95rem 1rem;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.75);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.logo-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background: rgba(255,255,255,.92);
}
.logo{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(17,18,24,.04);
  border: 1px solid var(--hair);
}
.logo svg{
  width: 26px;
  height: 26px;
  color: var(--ink);
  fill: currentColor;
}
.logo-name{
  font-weight: 600;
}

/* Buttons */
.home-cta{
  margin-top: 1.4rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: white;
  background: var(--ink);
}
.button:hover{ opacity: .92; }
.button-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--hair);
}
.button-ghost:hover{
  background: var(--card);
}

/* Inner pages */
.page-inner{
  padding: 1.2rem 0 0;
}
.page-head{
  padding: 1.2rem 0 1rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 1.2rem;
}
h2{
  margin: 0 0 .25rem;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
}
h3{
  margin: 1.2rem 0 .4rem;
  font-size: 1.15rem;
}
.muted{ color: var(--muted); }

.axioms{
  padding-left: 1.25rem;
  margin: .5rem 0 1rem;
}
.page-nav{
  margin-top: 1.3rem;
}
.page-nav a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
}
.page-nav a:hover{ border-bottom-color: var(--ink); }

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card{
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding: 1rem;
}
.card h3{ margin-top: 0; }

/* Footer */
.site-footer{
  border-top: 1px solid var(--hair);
  padding: 1.2rem 0;
  background: rgba(255,255,255,.7);
  text-align: center;
}
.footer-inner{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* Responsive */
@media (max-width: 900px){
  .logo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  /* Show hamburger, turn nav into drawer */
  .nav-toggle-label{ display: inline-flex; }
  .nav{
    position: absolute;
    right: 1rem;
    top: 64px;
    display: grid;
    gap: .25rem;
    padding: .6rem;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    min-width: 220px;
    transform-origin: top right;
    transform: scale(.98);
    opacity: 0;
    pointer-events: none;
  }
  .nav a{ padding: .55rem .6rem; }

  /* Checkbox controls open/close */
  .nav-toggle:checked ~ .nav{
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}






/* --- Landing (3 big cards) — isolated classes, will not affect other cards --- */

.landing-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.landing-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 2rem 1.75rem;
  border: 1px solid var(--hair, rgba(17,18,24,.10));
  border-radius: var(--radius, 18px);
  background: rgba(255,255,255,.75);
  text-decoration: none;
  color: inherit;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.landing-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background: rgba(255,255,255,.92);
}

.landing-icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(17,18,24,.04);
  border: 1px solid var(--hair, rgba(17,18,24,.10));
}

.landing-icon svg{
  width: 30px;
  height: 30px;
  color: currentColor;
}

.landing-title{
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.landing-text{
  margin-top: .6rem;
  color: var(--muted, #5a5f6b);
  max-width: 40ch;
  line-height: 1.55;
}

/* Center the whole landing block (optional but usually desired) */
.landing-center{
  text-align: center;
}

.landing-center .lead{
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 900px){
  .landing-grid{
    grid-template-columns: 1fr;
  }
  .landing-card{
    padding: 1.75rem 1.5rem;
  }
}

