
/* RAPCHAINS — premium static site */

:root{
  --bg:#0b0c10;
  --bg2:#0f1117;
  --card:#111526;
  --text:#f5f3ee;
  --muted:rgba(245,243,238,.72);
  --muted2:rgba(245,243,238,.55);
  --line:rgba(245,243,238,.10);
  --gold:#d8b75a;
  --gold2:#b88a22;
  --shadow:0 18px 55px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:26px;
  --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:radial-gradient(1200px 600px at 20% 0%, rgba(216,183,90,.10), transparent 60%),
             radial-gradient(900px 500px at 90% 10%, rgba(216,183,90,.07), transparent 60%),
             linear-gradient(180deg, var(--bg), var(--bg2));
  line-height:1.55;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
button, input, textarea, select{font:inherit}
::selection{background:rgba(216,183,90,.28)}

.container{width:min(var(--container), calc(100% - 40px)); margin:0 auto}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.small{font-size:.92rem}
.muted{color:var(--muted)}
.muted2{color:var(--muted2)}
.gold{color:var(--gold)}
.hr{height:1px; background:var(--line); margin:28px 0}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:14px; top:14px; width:auto; height:auto; padding:10px 12px;
  background:rgba(15,17,23,.92); border:1px solid var(--line); border-radius:12px; z-index:9999;
}

/* Top bar (business trust info) */
.topbar{
  background:rgba(10,12,16,.60);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar .row{
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding:10px 0;
  flex-wrap:wrap;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border:1px solid var(--line);
  border-radius:999px; background:rgba(17,21,38,.55);
}
.badge .dot{width:8px; height:8px; border-radius:50%; background:var(--gold)}
.badge strong{font-weight:650}
.badge a{color:var(--text); text-decoration:none}
.badge a:hover{text-decoration:underline}

/* Header / nav */
.header{
  position:sticky; top:0; z-index:60;
  background:rgba(11,12,16,.66);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width:220px;
}
.brand img{width:38px; height:38px; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.35)}
.brand .name{font-weight:800; letter-spacing:.08em}
.brand .tag{font-size:.86rem; color:var(--muted2); margin-top:2px}
.navlinks{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap; justify-content:flex-end;
}
.navlinks a{
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  text-decoration:none;
  color:var(--muted);
}
.navlinks a:hover{border-color:var(--line); color:var(--text); text-decoration:none}
.navlinks a.active{border-color:rgba(216,183,90,.30); color:var(--text)}
.nav-cta{
  display:flex; gap:10px; align-items:center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(17,21,38,.55);
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color:rgba(216,183,90,.32); background:rgba(17,21,38,.70); text-decoration:none}
.btn:active{transform: translateY(0)}
.btn.primary{
  border-color:rgba(216,183,90,.55);
  background: linear-gradient(135deg, rgba(216,183,90,.22), rgba(184,138,34,.12));
}
.btn.ghost{
  background:transparent;
}
.icon{
  width:18px; height:18px; display:inline-block; opacity:.92;
}

/* Mobile menu */
.menu-toggle{display:none}
@media (max-width: 980px){
  .menu-toggle{display:inline-flex}
  .navlinks{display:none; width:100%}
  .navlinks.open{display:flex; flex-direction:column; align-items:flex-start}
  .brand{min-width:auto}
}

/* Hero */
.hero{
  padding:44px 0 34px;
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:26px; align-items:stretch;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
}
.hero-card{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(17,21,38,.62), rgba(15,17,23,.62));
  border-radius:var(--radius2);
  padding:28px;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-card:before{
  content:"";
  position:absolute; inset:-120px -120px auto auto;
  width:320px; height:320px;
  background: radial-gradient(circle, rgba(216,183,90,.22), transparent 62%);
  filter: blur(1px);
  transform: rotate(20deg);
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border:1px solid var(--line);
  border-radius:999px; background:rgba(11,12,16,.35);
  color:var(--muted);
  width:max-content;
}
.eyebrow .spark{width:10px; height:10px; border-radius:3px; background:var(--gold)}
h1{
  margin:16px 0 8px;
  font-size:clamp(2.0rem, 3.4vw, 3.15rem);
  line-height:1.05;
  letter-spacing:-.02em;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:1.06rem;
  max-width:56ch;
}
.hero-actions{margin-top:18px; display:flex; gap:12px; flex-wrap:wrap}
.note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px dashed rgba(216,183,90,.35);
  background:rgba(11,12,16,.28);
  color:var(--muted);
}
.hero-media{
  border:1px solid var(--line);
  background:rgba(11,12,16,.25);
  border-radius:var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
}
.hero-media .img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}
.hero-media .chip{
  position:absolute; left:14px; bottom:14px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(11,12,16,.72);
  backdrop-filter: blur(10px);
  max-width: 92%;
}

/* Sections */
.section{padding:28px 0}
.section h2{
  font-size:1.7rem; margin:0 0 10px;
  letter-spacing:-.01em;
}
.section p{color:var(--muted); margin:0}

.grid{
  display:grid; gap:14px;
}
.grid.cols-3{grid-template-columns: repeat(3, 1fr)}
.grid.cols-2{grid-template-columns: repeat(2, 1fr)}
@media (max-width: 980px){
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--line);
  background:rgba(17,21,38,.52);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.32);
}
.card.tight{padding:14px}
.card h3{margin:0 0 8px; font-size:1.1rem}
.card p{margin:0; color:var(--muted)}
.kpi{
  display:flex; gap:12px; align-items:flex-start;
}
.kpi .n{
  font-weight:850; font-size:1.35rem; color:var(--gold); line-height:1;
}
.kpi .t{color:var(--muted)}
.pill{
  display:inline-flex; padding:6px 10px; border-radius:999px;
  border:1px solid var(--line); background:rgba(11,12,16,.28);
  color:var(--muted); font-size:.92rem;
}

/* Menu items */
.products{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
@media (max-width: 1100px){ .products{grid-template-columns: repeat(2, 1fr)} }
@media (max-width: 720px){ .products{grid-template-columns: 1fr} }
.product{
  border:1px solid var(--line);
  background:rgba(17,21,38,.50);
  border-radius:var(--radius2);
  overflow:hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.33);
  display:flex; flex-direction:column;
  min-height:100%;
  transition: transform .15s ease, border-color .15s ease;
}
.product:hover{transform: translateY(-2px); border-color:rgba(216,183,90,.30)}
.product .thumb{
  aspect-ratio: 4/3;
  width:100%;
  object-fit:cover;
  background:#0a0c12;
}
.product .body{padding:16px}
.product .meta{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.price{
  font-weight:800;
  letter-spacing:.02em;
}
.desc{margin:10px 0 0; color:var(--muted); font-size:.98rem}
.product .actions{
  margin-top:auto;
  display:flex; gap:10px; padding:16px; padding-top:0;
  flex-wrap:wrap;
}

/* Forms */
.form{
  display:grid; gap:12px;
}
.field{
  display:grid; gap:6px;
}
label{font-weight:650}
input, textarea, select{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(11,12,16,.35);
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color:rgba(216,183,90,.45);
  box-shadow:0 0 0 4px rgba(216,183,90,.10);
}
.help{font-size:.92rem; color:var(--muted2)}
textarea{min-height:110px; resize:vertical}

/* Footer */
.footer{
  padding:34px 0 44px;
  border-top:1px solid var(--line);
  margin-top:26px;
  background:rgba(11,12,16,.35);
}
.footer-grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:start;
}
@media (max-width: 980px){ .footer-grid{grid-template-columns:1fr} }
.footer a{color:var(--muted); text-decoration:none}
.footer a:hover{color:var(--text); text-decoration:underline}
.footer .legal{margin-top:10px; color:var(--muted2); font-size:.92rem}

/* Modal */
.modal{
  position:fixed; inset:0;
  display:none;
  align-items:center; justify-content:center;
  padding:24px;
  z-index:100;
  background:rgba(0,0,0,.55);
}
.modal.open{display:flex}
.modal-panel{
  width:min(740px, 100%);
  border-radius:var(--radius2);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(17,21,38,.92), rgba(15,17,23,.92));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px; border-bottom:1px solid var(--line);
}
.modal-head h3{margin:0; font-size:1.05rem}
.modal-body{padding:16px}
.x{
  border:1px solid var(--line); border-radius:12px;
  background:transparent; color:var(--text);
  padding:8px 10px; cursor:pointer;
}
.x:hover{border-color:rgba(216,183,90,.32)}

/* Cookie banner */
.cookie{
  position:fixed;
  left:16px; right:16px; bottom:16px;
  z-index:120;
  display:none;
}
.cookie.show{display:block}
.cookie .panel{
  width:min(980px, 100%);
  margin:0 auto;
  border-radius:var(--radius2);
  border:1px solid var(--line);
  background:rgba(11,12,16,.86);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding:16px;
}
.cookie .row{
  display:flex; gap:14px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap;
}
.cookie .actions{display:flex; gap:10px; flex-wrap:wrap}
.cookie details{
  margin-top:10px;
  border-top:1px solid var(--line);
  padding-top:10px;
}
.cookie .checks{
  display:grid; gap:10px; margin-top:10px;
}
.check{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(17,21,38,.45);
}
.check input{width:auto; margin-top:4px}
.check .title{font-weight:750}
.check .note{margin:0; padding:0; border:0; background:transparent}

/* Subpage hero */
.page-hero{
  padding:30px 0 12px;
}
.page-hero h1{font-size:clamp(1.85rem, 2.8vw, 2.5rem); margin:0}
.breadcrumbs{margin-top:10px; color:var(--muted2); font-size:.92rem}

/* Reveal on scroll */
.reveal{opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1; transform: translateY(0)}
