:root{
  --bg0:#070d16;
  --bg1:#0a1322;
  --bg2:#0f1f35;

  --text:#e9eef7;
  --muted:rgba(233,238,247,.74);
  --faint:rgba(233,238,247,.52);

  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.10);

  --accent:#6aa8ff;
  --accent2:#4f86ff;

  --shadow:0 18px 55px rgba(0,0,0,.45);
  --shadow2:0 10px 30px rgba(0,0,0,.35);

  --radius:16px;
  --radius2:12px;
  --max:1080px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(106,168,255,.18), transparent 65%),
    radial-gradient(900px 550px at 88% 0%, rgba(79,134,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg1) 35%, var(--bg0));
}

a{color:inherit; text-decoration:none}
a:hover{color:#fff}

.wrap{max-width:var(--max); margin:0 auto; padding:0 22px}

.header{
  position:sticky; top:0; z-index:10;
  backdrop-filter:saturate(140%) blur(10px);
  background:linear-gradient(180deg, rgba(7,13,22,.92), rgba(7,13,22,.72));
  border-bottom:1px solid rgba(255,255,255,.07);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; padding:16px 0;
}

.brand{
  display:flex; align-items:center; gap:14px; min-width:0;
}
.brand img{width:38px; height:38px; object-fit:contain}
.brand .name{
  letter-spacing:.28em;
  text-transform:uppercase;
  font-size:.92rem;
  color:rgba(233,238,247,.92);
}
.brand .tag{
  margin-top:4px;
  font-size:.98rem;
  color:var(--muted);
  line-height:1.2;
}

.nav{
  display:flex; align-items:center; gap:12px;
  flex-wrap:wrap; justify-content:flex-end;
}
.nav a{
  font-size:.95rem;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{background:rgba(255,255,255,.06); color:#fff}
.nav a.active{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}

main{padding:56px 0 36px}

.kicker{margin:0 0 10px; color:var(--muted); font-size:1rem}
.h1{
  margin:0 0 12px;
  font-size:3.05rem;
  line-height:1.06;
  letter-spacing:-.02em;
}
.h2{
  margin:0 0 18px;
  font-size:1.28rem;
  color:rgba(233,238,247,.82);
  line-height:1.35;
}
.lead{
  margin:0;
  max-width:860px;
  color:var(--muted);
  font-size:1.06rem;
  line-height:1.75;
}

.hero-card{
  margin-top:22px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.05));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}

.actions{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  color:rgba(233,238,247,.92);
  box-shadow:var(--shadow2);
  font-size:1rem;
  cursor:pointer;
}
.btn:hover{background:rgba(255,255,255,.08)}
.btn.primary{
  background:linear-gradient(180deg, rgba(106,168,255,.22), rgba(106,168,255,.08));
  border-color:rgba(106,168,255,.24);
}
.btn.primary:hover{
  background:linear-gradient(180deg, rgba(106,168,255,.28), rgba(106,168,255,.10));
}

.section{
  margin-top:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  border-radius:var(--radius);
  padding:18px;
}

.section-title{
  margin:0 0 10px;
  font-size:1.05rem;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:rgba(233,238,247,.88);
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:10px;
}
.tile{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  padding:12px;
}
.tile .t{margin:0 0 6px; color:rgba(233,238,247,.92); font-size:1rem}
.tile .d{margin:0; color:var(--muted); line-height:1.6}

.page-title{
  margin:0 0 10px;
  font-size:2.2rem;
  letter-spacing:-.01em;
}
.hr{height:1px; background:rgba(255,255,255,.08); margin:16px 0}

.form{
  max-width:720px;
  display:grid;
  gap:10px;
  margin-top:12px;
}
.row{display:grid; gap:10px; grid-template-columns:1fr 1fr}
label{font-size:.92rem; color:rgba(233,238,247,.82)}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  color:rgba(233,238,247,.92);
  font-size:1rem;
  outline:none;
}
textarea{min-height:120px; resize:vertical}
input:focus, select:focus, textarea:focus{
  border-color:rgba(106,168,255,.40);
  box-shadow:0 0 0 3px rgba(106,168,255,.15);
}

.note{font-size:.93rem; color:var(--faint); line-height:1.6}
.ok{color:rgba(155,255,196,.92)}
.bad{color:rgba(255,170,170,.92)}

.footer{
  border-top:1px solid rgba(255,255,255,.07);
  padding:18px 0 26px;
  background:rgba(0,0,0,.12);
}
.footer-inner{
  display:flex; flex-wrap:wrap;
  align-items:flex-start; justify-content:space-between;
  gap:12px;
}
.footer-inner nav{display:flex; flex-wrap:wrap; gap:14px}
.footer-inner nav a{color:rgba(233,238,247,.72); font-size:.93rem}
.footer-inner nav a:hover{color:#fff}
.smallprint{
  max-width:720px;
  margin:0;
  color:rgba(233,238,247,.55);
  font-size:.88rem;
  line-height:1.55;
}

@media (max-width: 980px){
  .h1{font-size:2.55rem}
  .grid{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .brand .tag{display:none}
  main{padding-top:42px}
  .h1{font-size:2.15rem}
}
/* --- Simple homepage (clean front door) --- */
.home-simple{
  min-height: calc(100vh - 240px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:34px 0;
}

.home-logo{
  width:124px;
  height:124px;
  object-fit:contain;
  margin-bottom:14px;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
}

.home-title{
  letter-spacing:.28em;
  text-transform:uppercase;
  font-size:1.05rem;
  color:rgba(233,238,247,.92);
  margin-bottom:10px;
}

.home-motto{
  font-size:2.4rem;
  line-height:1.08;
  letter-spacing:-.02em;
  margin:0 0 12px;
}

.home-sub{
  color:rgba(233,238,247,.78);
  font-size:1.08rem;
  margin:0 0 18px;
}

.home-actions{
  justify-content:center;
}

@media (max-width: 520px){
  .home-logo{width:104px; height:104px;}
  .home-motto{font-size:2.0rem;}
}
/* --- Minimal page layout (remove boxes/lines) --- */
.page{
  padding: 34px 0 46px;
  max-width: 920px;
  margin: 0 auto;
}

.page h1{
  font-size: 2.1rem;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.page .lead{
  color: rgba(233,238,247,.78);
  font-size: 1.05rem;
  margin: 0 0 22px;
  max-width: 70ch;
}

.page h2{
  margin: 26px 0 10px;
  font-size: 1.25rem;
}

.page p, .page li{
  color: rgba(233,238,247,.86);
  max-width: 75ch;
}

.min-list{
  padding-left: 18px;
  margin: 10px 0 0;
}

.min-form{
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin-top: 14px;
}

.field label{
  display:block;
  font-size:.92rem;
  color: rgba(233,238,247,.72);
  margin: 0 0 6px;
}

.field input, .field select, .field textarea{
  width:100%;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,14,22,.35);
  color: rgba(233,238,247,.92);
  outline: none;
}

.field textarea{ min-height: 120px; resize: vertical; }

.inline-note{
  color: rgba(233,238,247,.62);
  font-size: .92rem;
  margin-top: 6px;
}

.hr-soft{
  height: 1px;
  background: rgba(255,255,255,.10);
  border: 0;
  margin: 22px 0;
}
