/* World Foundry - v1
   Palette:
   bg: #0E0E0F
   text: #F2F2F2
   gold: #C8A14A
   gray: #6E7177
   blue-steel (rare): #3A4A5A
*/

:root{
  --bg:#0E0E0F;
  --panel:#121214;
  --panel2:#151519;
  --text:#F2F2F2;
  --muted:#B8BCC3;
  --gray:#6E7177;
  --gold:#C8A14A;
  --steel:#3A4A5A;
  --border: rgba(242,242,242,0.10);
  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(58,74,90,0.18), transparent 60%),
              radial-gradient(900px 600px at 110% 10%, rgba(200,161,74,0.08), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--text); }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto;height:auto;
  padding:10px 12px;
  border-radius:12px;
  background:var(--panel);
  outline:1px solid var(--border);
  z-index:9999;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background: rgba(14,14,15,0.70);
  border-bottom:1px solid var(--border);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 210px;
}
.brand img{
  height:94px;
  width:auto;
  display:block;
}
.brand .word{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .word strong{
  letter-spacing:0.08em;
  font-size:12px;
  text-transform:uppercase;
}
.brand .word span{
  color:var(--gray);
  font-size:12px;
}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
  transition: background 120ms ease, color 120ms ease, outline 120ms ease;
}
.nav a:hover{
  background: rgba(242,242,242,0.05);
  color:var(--text);
}
.nav a.active{
  color:var(--text);
  outline: 1px solid rgba(200,161,74,0.30);
  background: rgba(200,161,74,0.08);
}

.hero{
  padding:64px 0 22px;
}
.hero .kicker{
  color:var(--gray);
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:14px;
}
.hero h1{
  font-size: clamp(34px, 4.2vw, 58px);
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-0.02em;
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width: 70ch;
  font-size: 18px;
}

.hero-actions{
  margin-top:22px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(242,242,242,0.04);
  color:var(--text);
  font-weight:600;
  font-size:14px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  box-shadow: none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(242,242,242,0.06);
}
.btn.primary{
  border-color: rgba(200,161,74,0.45);
  background: linear-gradient(180deg, rgba(200,161,74,0.18), rgba(200,161,74,0.10));
}
.btn.primary:hover{
  border-color: rgba(200,161,74,0.75);
}
.btn.ddred{
  border-color: rgba(221,0,0,0.45);
  background: linear-gradient(180deg, rgba(221,0,0,0.18), rgba(221,0,0,0.10));
}
.btn.ddred:hover{
  border-color: rgba(221,0,0,0.75);
}
.btn.ddgreen{
  border-color: rgba(0,221,0,0.45);
  background: linear-gradient(180deg, rgba(0,221,0,0.18), rgba(0,221,0,0.10));
}
.btn.ddgreen:hover{
  border-color: rgba(0,221,0,0.75);
}
.btn.ddblue{
  border-color: rgba(0,0,221,0.45);
  background: linear-gradient(180deg, rgba(0,0,221,0.18), rgba(0,0,221,0.10));
}
.btn.ddblue:hover{
  border-color: rgba(0,0,221,0.75);
}
.btn.ddaqua{
  border-color: rgba(0,221,221,0.45);
  background: linear-gradient(180deg, rgba(0,221,221,0.18), rgba(0,221,221,0.10));
}
.btn.ddaqua:hover{
  border-color: rgba(0,221,221,0.75);
}
.btn.ddyellow{
  border-color: rgba(221,221,0,0.45);
  background: linear-gradient(180deg, rgba(221,221,0,0.18), rgba(221,221,0,0.10));
}
.btn.ddyellow:hover{
  border-color: rgba(221,221,0,0.75);
}
.btn.ddorange{
  border-color: rgba(255,153,0,0.45);
  background: linear-gradient(180deg, rgba(255,153,0,0.18), rgba(255,153,0,0.10));
}
.btn.ddorange:hover{
  border-color: rgba(255,153,0,0.75);
}
.btn.ddpink{
  border-color: rgba(255,0,204,0.45);
  background: linear-gradient(180deg, rgba(255,0,204,0.18), rgba(255,0,204,0.10));
}
.btn.ddpink:hover{
  border-color: rgba(255,0,204,0.75);
}
.btn.ddpurple{
  border-color: rgba(128,0,255,0.45);
  background: linear-gradient(180deg, rgba(128,0,255,0.18), rgba(128,0,255,0.10));
}
.btn.ddpurple:hover{
  border-color: rgba(128,0,255,0.75);
}

.section{
  padding:34px 0;
}
.section h2{
  margin:0 0 10px;
  font-size:24px;
  letter-spacing:-0.01em;
}
.section .sub{
  margin:0 0 18px;
  color:var(--muted);
  max-width: 85ch;
}

.grid{
  display:grid;
  gap:16px;
}
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card{
  background: linear-gradient(180deg, rgba(242,242,242,0.045), rgba(242,242,242,0.015));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card h3{
  margin:0 0 6px;
  font-size:18px;
}
.card p{
  margin:0;
  color:var(--muted);
}
.card .meta{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--gray);
  font-size:13px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius: 999px;
  border:1px solid rgba(200,161,74,0.35);
  background: rgba(200,161,74,0.10);
  color:var(--text);
  font-size:12px;
  font-weight:700;
}
.badgegreen{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius: 999px;
  border:1px solid rgba(0,221,0,0.35);
  background: rgba(0,221,0,0.10);
  color:var(--text);
  font-size:12px;
  font-weight:700;
}

.card .actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.divider{
  height:1px;
  background: var(--border);
  margin:28px 0 0;
}

.callout{
  border-radius: var(--radius2);
  padding:22px;
  background:
    radial-gradient(600px 320px at 15% 0%, rgba(200,161,74,0.16), transparent 60%),
    linear-gradient(180deg, rgba(242,242,242,0.05), rgba(242,242,242,0.02));
  border:1px solid rgba(200,161,74,0.20);
  box-shadow: var(--shadow);
}
.callout h2{ margin:0 0 8px; }
.callout p{ margin:0; color:var(--muted); }
.callout .hero-actions{ margin-top:14px; }

.list{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.list li{ margin:8px 0; }

.pagehead{
  padding:32px 0 6px;
}
.pagehead h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.1;
}
.pagehead p{
  margin:0;
  color:var(--muted);
  max-width: 85ch;
  font-size:16px;
}

.two-col{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:16px;
  align-items:start;
}

.price-box{
  position:sticky;
  top:88px;
}

.kv{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.kv .row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  border-bottom:1px dashed rgba(242,242,242,0.12);
  padding:10px 0;
}
.kv .row strong{
  color:var(--text);
  font-weight:700;
}

hr{
  border:none;
  border-top:1px solid var(--border);
  margin:18px 0;
}

.form{
  display:grid;
  gap:12px;
}
.field{
  display:grid;
  gap:6px;
}
label{
  color:var(--muted);
  font-size:13px;
}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(242,242,242,0.14);
  background: rgba(242,242,242,0.03);
  color:var(--text);
  outline:none;
}
textarea{ min-height:140px; resize:vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(200,161,74,0.55);
  box-shadow: 0 0 0 4px rgba(200,161,74,0.10);
}

.site-footer{
  margin-top:40px;
  border-top:1px solid var(--border);
  padding:24px 0 30px;
  color:var(--muted);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
}
.footer-nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.footer-nav a{
  color:var(--muted);
  font-size:13px;
  padding:8px 10px;
  border-radius:12px;
}
.footer-nav a:hover{
  color:var(--text);
  background: rgba(242,242,242,0.05);
}
small{ color:var(--gray); }

/* Responsive */
@media (max-width: 980px){
  .grid.cols-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .two-col{ grid-template-columns: 1fr; }
  .price-box{ position:static; }
  .brand .word{ display:none; }
}

@media (max-width: 520px){
  .nav{ gap:6px; }
  .nav a{ padding:9px 8px; font-size:13px; }
  .hero{ padding-top:44px; }
  .hero p{ font-size:16px; }
}
