:root{
  --bg: #ffffff;
  --bg2:#fbfcff;
  --text:#0f172a;      /* slate-900 */
  --muted:#475569;     /* slate-600 */
  --muted2:#64748b;    /* slate-500 */
  --line: rgba(15,23,42,.10);

  --brand:#2563eb;     /* blue-600 */
  --brand2:#22c55e;    /* green-500 */
  --accent:#f97316;    /* orange-500 */
  --accent2:#a855f7;   /* purple-500 */

  --card:#ffffff;
  --shadow: 0 16px 45px rgba(2,6,23,.10);
  --shadow2: 0 10px 24px rgba(2,6,23,.08);

  --radius: 18px;
  --radius2: 26px;

  --max: 1180px;
  --focus: 0 0 0 4px rgba(37,99,235,.18);

  --speed: 650ms;
  --easing: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(37,99,235,.10), transparent 55%),
    radial-gradient(900px 500px at 92% 0%, rgba(34,197,94,.10), transparent 55%),
    radial-gradient(900px 500px at 70% 100%, rgba(249,115,22,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2) 70%);
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button, input, textarea{ font:inherit; }

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

.skip{
  position:absolute; left:-999px; top:10px;
  background:#0f172a; color:#fff;
  padding:10px 12px; border-radius:12px;
  z-index:9999;
}
.skip:focus{ left:10px; outline:none; box-shadow: var(--focus); }

/* Topbar */
.topbar{
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner{
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
}
.topbar a{ color: var(--muted); }
.topbar a:hover{ color: var(--text); }
.topbar .left, .topbar .right{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow2);
}
.dot{
  width:8px; height:8px; border-radius:50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* Header / Nav */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav{
  height:76px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; gap:12px; align-items:center;
  min-width: 220px;
}
.logo{
  width:44px; height:44px; border-radius: 16px;
  background:
    radial-gradient(18px 18px at 28% 28%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.92));
  box-shadow: 0 14px 30px rgba(37,99,235,.18);
  border: 1px solid rgba(15,23,42,.08);
  position:relative;
  overflow:hidden;
}
.logo::after{
  content:"";
  position:absolute; inset:-30px -40px auto auto;
  width:120px; height:120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), transparent 60%);
  transform: rotate(18deg);
  opacity:.55;
  animation: floaty 7s var(--easing) infinite;
}
@keyframes floaty{
  0%,100%{ transform: translate3d(0,0,0) rotate(18deg); }
  50%{ transform: translate3d(-8px,10px,0) rotate(18deg); }
}
.brand .t1{ margin:0; font-size:15px; line-height:1.15; letter-spacing:-.2px; }
.brand .t2{ margin:3px 0 0 0; font-size:12px; color: var(--muted2); }

nav ul{
  margin:0; padding:0; list-style:none;
  display:flex; gap:8px; align-items:center;
}
nav a{
  display:inline-flex; align-items:center;
  padding:10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
nav a:hover, nav a:focus{
  background: rgba(37,99,235,.08);
  color: var(--text);
  outline:none;
  transform: translateY(-1px);
}
nav a.active{
  background: rgba(37,99,235,.10);
  color: var(--text);
  border: 1px solid rgba(37,99,235,.14);
}

.actions{
  display:flex; gap:10px; align-items:center; justify-content:flex-end;
  min-width: 260px;
}
.btn{
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow2);
  color: var(--text);
  font-size: 14px;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:focus{ outline:none; box-shadow: var(--shadow), var(--focus); }

.btn.primary{
  background: linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.92));
  border-color: transparent;
  color: #fff;
}
.btn.ghost{
  background: rgba(255,255,255,.65);
  color: var(--muted);
}

.hamburger{
  display:none;
  width:46px; height:46px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow2);
  cursor:pointer;
  align-items:center; justify-content:center;
}
.hamburger span{
  width:18px; height:2px;
  background: rgba(15,23,42,.78);
  position:relative;
  display:block;
}
.hamburger span::before,
.hamburger span::after{
  content:""; position:absolute; left:0; width:18px; height:2px;
  background: rgba(15,23,42,.78);
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.hamburger span::before{ top:-6px; }
.hamburger span::after{ top:6px; }

.mobile{
  display:none;
  padding: 0 0 14px 0;
}
.mobile .panel{
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display:grid;
  gap: 8px;
}
.mobile a{
  padding: 12px 12px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow2);
}
.mobile a:hover{ color: var(--text); background: rgba(37,99,235,.06); }

/* Header-Banner */
.headerBanner{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
}
.bannerWrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px 14px 18px;
}
.bannerCard{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
}
.bannerInner{
  aspect-ratio: 775 / 213;
  width: 100%;
  min-height: 120px;
  max-height: 260px;
  position:relative;
  background:
    radial-gradient(620px 240px at 40% 30%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(620px 260px at 75% 40%, rgba(34,197,94,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.55));
}
.bannerImg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  object-position: center;
  opacity:0;
  transform: scale(1.02);
  transition: opacity 900ms var(--easing);
  filter: saturate(1.04) contrast(1.02);
  image-rendering: auto;
}
.bannerImg.show{ opacity:1; }

.bannerOverlay{
  position:absolute; inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.68), rgba(255,255,255,.22) 45%, rgba(255,255,255,.55)),
    radial-gradient(700px 280px at 25% 35%, rgba(37,99,235,.14), transparent 62%);
  mix-blend-mode: normal;
}
.bannerMeta{
  position:absolute; inset:auto 14px 14px 14px;
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  pointer-events:none;
}
.bannerPill{
  pointer-events:auto;
  display:inline-flex; gap:8px; align-items:center;
  padding: 9px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  backdrop-filter: blur(10px);
}
.bannerPill b{ color: var(--text); }

.bannerDots{
  pointer-events:auto;
  display:flex; gap:8px; align-items:center;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
}
.bannerDotBtn{
  width:10px; height:10px; border-radius:999px;
  border: 0;
  background: rgba(15,23,42,.22);
  cursor:pointer;
  transition: transform .2s ease, background .2s ease, width .2s ease;
}
.bannerDotBtn[aria-current="true"]{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  width: 22px;
}
.bannerDotBtn:focus{ outline:none; box-shadow: var(--focus); }

/* Hero */
.hero{
  padding: 26px 0 10px 0;
  position:relative;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.heroLeft{
  padding: 18px 0;
}
.hero h1{
  margin: 14px 0 10px 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -1px;
}
.hero p{
  margin:0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 62ch;
}
.heroBadges{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 16px;
}
.tag{
  display:inline-flex; gap:8px; align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow2);
  color: var(--muted);
  font-size: 13px;
}
.tag b{ color: var(--text); font-weight: 700; }

.heroCtas{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 16px;
  align-items:center;
}

/* Sections */
section{ padding: 34px 0; }
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.sectionHead h2{
  margin:0;
  font-size: 24px;
  letter-spacing: -.4px;
}
.sectionHead p{
  margin:0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 62ch;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  padding: 16px;
}
.card h3{ margin:0 0 8px 0; font-size: 16px; letter-spacing: -.2px; }
.card p{ margin:0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.icon{
  width:42px; height:42px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(34,197,94,.08));
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow2);
  margin-bottom: 10px;
}

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: stretch;
}

.list{
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Notice */
.notice{
  border-radius: var(--radius2);
  border: 1px solid rgba(249,115,22,.22);
  background: linear-gradient(180deg, rgba(249,115,22,.10), rgba(255,255,255,.75));
  box-shadow: var(--shadow2);
  padding: 14px;
  color: var(--muted);
  position:relative;
  overflow:hidden;
}
.notice b{ color: var(--text); }
.notice::after{
  content:"";
  position:absolute; inset:-40px -60px auto auto;
  width:180px; height:180px;
  background: radial-gradient(circle at 30% 30%, rgba(249,115,22,.25), transparent 60%);
  transform: rotate(12deg);
  opacity:.7;
  pointer-events:none;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gItem{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
  cursor:pointer;
  min-height: 160px;
  transform: translateZ(0);
}
.gItem img{
  width:100%;
  height:100%;
  object-fit: cover;
  transition: transform 650ms var(--easing);
}
.gItem:hover img{ transform: scale(1.05); }
.gItem .cap{
  position:absolute; inset:auto 12px 12px 12px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow2);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  display:flex; gap:8px; align-items:center;
  backdrop-filter: blur(10px);
}
.gItem .cap b{ color: var(--text); }

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(2,6,23,.62);
  backdrop-filter: blur(8px);
  z-index: 80;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
}
.lightbox.open{ display:flex; }
.lbCard{
  width:min(1080px, 100%);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 24px 70px rgba(2,6,23,.35);
  overflow:hidden;
  position:relative;
}
.lbImg{
  width:100%;
  max-height: 75vh;
  object-fit: cover;
  background: #fff;
}
.lbBar{
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid rgba(15,23,42,.10);
}
.lbBar b{ color: var(--text); }
.lbBtn{
  border: 0;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  box-shadow: var(--shadow2);
}
.lbBtn:hover{ background: rgba(37,99,235,.07); }
.lbBtn:focus{ outline:none; box-shadow: var(--shadow2), var(--focus); }

/* Contact */
.contactGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: stretch;
}
.hint{
  margin: 8px 0 0 0;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.5;
}
.infoLine{
  display:flex; gap:10px; align-items:flex-start;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 10px;
}
.infoLine b{ color: var(--text); }

/* Footer */
footer{
  margin-top: 14px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
}
.foot{
  padding: 22px 0 36px 0;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  align-items:flex-start;
}
.foot .links{
  display:flex; gap:10px; flex-wrap:wrap;
}
.foot .links a{
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow2);
}
.foot .links a:hover{ color: var(--text); background: rgba(37,99,235,.06); }

/* Reveal Animations */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity var(--speed) var(--easing), transform var(--speed) var(--easing);
  will-change: transform, opacity;
}
.reveal.show{
  opacity:1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  nav ul{ display:none; }
  .hamburger{ display:flex; }
  .mobile{ display:block; }
  .actions{ min-width:auto; }
  .heroGrid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .contactGrid{ grid-template-columns: 1fr; }
  .bannerMeta{ flex-direction: column; align-items:flex-start; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .logo::after{ animation:none; }
  .reveal{ transition:none; opacity:1; transform:none; }
  .bannerImg{ transition:none; }
}

/* ===== Legal pages helpers ===== */
.pageHero{
  padding: 22px 0 8px 0;
}
.pageHero h1{
  margin: 14px 0 8px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.8px;
}
.pageHero p{
  margin:0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 70ch;
}
.legal{
  padding: 26px 0 38px 0;
}
.legal .card{
  max-width: 980px;
  margin: 0 auto;
}
.legal h2{
  margin: 18px 0 8px 0;
  font-size: 18px;
  letter-spacing: -.2px;
}
.legal h2:first-child{ margin-top: 0; }
.legal p{
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.8px;
}
.legal ul{
  margin: 8px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.8px;
}
.kbdLink{
  display:inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  color: var(--text);
  font-size: 12.5px;
}