/* brakepoint.xyz
   Minimal dark + eco mode styling
   v1
*/

:root{
  --bg:#0b0b0c;
  --bg2:#0f0f11;
  --panel:rgba(255,255,255,.04);
  --panel2:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.90);
  --muted:rgba(255,255,255,.68);
  --faint:rgba(255,255,255,.50);
  --accent:#8b5cf6;
  --accent2:rgba(139,92,246,.25);
  --radius:22px;
  --shadow:0 24px 80px rgba(0,0,0,.45);
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:
    radial-gradient(1200px 900px at 20% 0%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(900px 700px at 100% 10%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height:1.4;
}

a{color:inherit}
a:hover{opacity:.92}

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

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0 18px;
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}

.brand .logo{
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 30px rgba(0,0,0,.40);
  overflow:hidden;
  flex:0 0 auto;
}

.brand .logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.brand .wordmark{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand .name{
  font-size:14px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
}

.brand .sub{
  font-size:13px;
  color:var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:14px;
  color:var(--muted);
}

.nav a{
  text-decoration:none;
  padding:10px 10px;
  border-radius:12px;
}

.nav a:hover{
  background:rgba(255,255,255,.04);
}

.hero{
  padding:42px 0 26px;
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:26px;
  align-items:start;
}

.hero h1{
  font-size:48px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.02em;
}

.hero p{
  margin:0 0 18px;
  max-width:64ch;
  color:var(--muted);
  font-size:18px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 0;
}

.badge{
  font-size:13px;
  color:rgba(255,255,255,.74);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  padding:10px 12px;
  border-radius:999px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  letter-spacing:.01em;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}

.btn:hover{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.05);
}

.btn-primary{
  border-color:rgba(139,92,246,.60);
  background:rgba(139,92,246,.12);
}

.btn-primary:hover{
  border-color:rgba(139,92,246,.85);
  background:rgba(139,92,246,.16);
}

.card{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.20);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}

.card h2{
  margin:6px 0 8px;
  font-size:20px;
  letter-spacing:.01em;
}

.kicker{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
}

.card p{
  margin:0 0 14px;
  color:var(--muted);
}

.card .row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.card .link{
  text-decoration:none;
  color:rgba(255,255,255,.78);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
}

.card .link:hover{
  background:rgba(255,255,255,.04);
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  padding:18px 0 0;
}

.hr{
  height:1px;
  background:var(--line);
  margin:28px 0 18px;
}

.foot{
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.52);
  font-size:13px;
}

.foot a{
  color:rgba(255,255,255,.70);
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
}

.foot a:hover{
  background:rgba(255,255,255,.04);
}

.page{
  max-width:820px;
  margin:0 auto;
  padding:26px 0 0;
}

.page h1{
  font-size:34px;
  margin:0 0 12px;
}

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

.page p, .page li{
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

.page ul{
  padding-left:18px;
}

.note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(139,92,246,.28);
  background:rgba(139,92,246,.08);
  color:rgba(255,255,255,.78);
  font-size:14px;
}

@media (max-width: 900px){
  .hero{grid-template-columns:1fr; padding-top:34px}
  .grid{grid-template-columns:1fr}
  .hero h1{font-size:40px}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
}
