:root{
  --text:#0f172a;
  --muted:#475569;
  --line:rgba(15,23,42,.12);
  --card:rgba(255,255,255,.88);
  --shadow:0 14px 40px rgba(2,6,23,.10);
  --shadow2:0 10px 24px rgba(2,6,23,.10);
  --r-xl:26px;
  --r-lg:18px;
  --r-md:14px;
  --max:1120px;
  --accent:#111827;
  --accent2:#9a3412;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(154,52,18,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(15,23,42,.08), transparent 55%),
    linear-gradient(180deg, #fff, #fffaf4 45%, #fff 100%);
  min-height:100vh;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:focus, button:focus, input:focus, textarea:focus{
  outline: 3px solid rgba(154,52,18,.22);
  outline-offset:2px;
  border-radius:12px;
}

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

.skip{
  position:absolute; left:-999px; top:12px;
  background:#fff; border:1px solid var(--line);
  padding:10px 12px; border-radius:14px;
  box-shadow: var(--shadow2);
  z-index:100;
}
.skip:focus{ left:12px; }

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(12px);
  background:rgba(255,255,255,.72);
  border-bottom:1px solid var(--line);
}
.navwrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  min-width: 220px;
}
.mark{
  width:36px; height:36px; border-radius:12px;
  background:
    radial-gradient(18px 18px at 25% 35%, rgba(255,255,255,.9), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow2);
  position:relative;
}
.brand .name{ display:flex; flex-direction:column; line-height:1.05; }
.brand .name strong{ font-size:14px; letter-spacing:.2px; }
.brand .name span{ font-size:12px; color:var(--muted); }

.navlinks{
  display:none;
  align-items:center; gap:6px;
  padding:6px 10px;
}
.navlinks a{
  font-size:13px;
  padding:10px 10px;
  border-radius:12px;
  color:rgba(15,23,42,.78);
}
.navlinks a:hover{ background: rgba(154,52,18,.08); color:rgba(15,23,42,.95); }

.actions{
  display:flex; align-items:center; gap:10px;
  justify-content:flex-end;
  min-width: 220px;
}

.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(2,6,23,.10); }

.cta{
  display:inline-block;
  border:0;
  cursor:pointer;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 30px rgba(154,52,18,.16);
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover{ transform: translateY(-1px); box-shadow: 0 16px 36px rgba(154,52,18,.20); }
.ghost{
  display:inline-block;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  color: rgba(15,23,42,.90);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 8px 20px rgba(2,6,23,.06);
}
.ghost:hover{ transform: translateY(-1px); box-shadow: 0 12px 26px rgba(2,6,23,.08); }

.hamburger{
  width:42px; height:42px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.82);
  cursor:pointer;
  position:relative;
}
.hamburger span{
  width:18px; height:2px; background: rgba(15,23,42,.75);
  position:relative; display:block;
  border-radius:2px;
  transition: transform .18s ease, opacity .18s ease;
}
.hamburger span::before, .hamburger span::after{
  content:"";
  position:absolute; left:0;
  width:18px; height:2px; border-radius:2px;
  background: rgba(15,23,42,.75);
  transition: transform .18s ease, top .18s ease, bottom .18s ease;
}
.hamburger span::before{ top:-6px; }
.hamburger span::after{ bottom:-6px; }
.hamburger[aria-expanded="true"] span{ opacity:0; }
.hamburger[aria-expanded="true"] span::before{ top:0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span::after{ bottom:0; transform: rotate(-45deg); }

.drawer{
  position:fixed; inset: 72px 12px auto 12px;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateY(-10px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index:60;
}
.drawer.open{ opacity:1; transform: translateY(0); pointer-events:auto; }
.drawer .dhead{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px;
  border-bottom:1px solid var(--line);
}
.drawer .dhead .hint{ font-size:12px; color:var(--muted); }
.drawer nav{ display:grid; padding: 10px; gap:6px; }
.drawer nav a{
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid transparent;
  color: rgba(15,23,42,.90);
  background: rgba(154,52,18,.06);
}
.drawer nav a:hover{
  border-color: rgba(154,52,18,.22);
  background: rgba(154,52,18,.10);
}
.drawer .foot{ padding: 10px 14px 14px; color: var(--muted); font-size: 12px; }

main{ padding: 28px 0 54px; }
h1{
  margin:0;
  font-size: clamp(28px, 4.8vw, 44px);
  letter-spacing: -0.7px;
  line-height: 1.06;
}
h2{ margin:0 0 8px; font-size: 22px; letter-spacing: -0.2px; }
p{ margin:0; color: rgba(15,23,42,.78); line-height: 1.75; }

.pageHead{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 14px;
}
.pageHead .sub{ margin-top:10px; color: rgba(15,23,42,.72); max-width: 72ch; }

.grid2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.panel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.80);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: 18px;
}
.panel h3{ margin:0 0 8px; font-size: 16px; letter-spacing: -0.2px; }
.list{ margin:10px 0 0; padding-left:18px; color: rgba(15,23,42,.74); line-height:1.65; }
.actionsRow{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }

footer{
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.75);
  backdrop-filter:saturate(130%) blur(10px);
  padding: 22px 0;
}
.fwrap{
  display:flex;
  flex-direction:column;
  gap: 12px;
  justify-content:space-between;
}
.fwrap a{
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(15,23,42,.74);
}
.fwrap a:hover{ background: rgba(154,52,18,.08); color: rgba(15,23,42,.92); }
.legal{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

@media (min-width: 920px){
  .navlinks{ display:flex; }
  .hamburger{ display:none; }
  .drawer{ display:none; }
  .grid2{ grid-template-columns: 1fr 1fr; }
  .fwrap{ flex-direction:row; align-items:center; }
}
