:root{
  --bg:#f6f7fb;
  --paper:#ffffff;
  --ink:#0f172a;
  --muted:rgba(15,23,42,.68);
  --line:rgba(15,23,42,.10);
  --accent:#0b5fff;
  --accent2:#0ea5e9;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --shadow2:0 8px 18px rgba(15,23,42,.06);
  --radius:18px;
  --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, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background: var(--bg);
  line-height:1.65;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:18px;top:18px;width:auto;height:auto;padding:10px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;z-index:999}

.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  min-height:68px; gap:14px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-mark{
  width:40px; height:40px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(11,95,255,.12), rgba(14,165,233,.12));
  border:1px solid rgba(11,95,255,.18);
  font-weight:900; letter-spacing:.2px;
}
.brand-text{font-weight:800; letter-spacing:.2px}

.navmenu{display:flex; align-items:center; gap:10px}
.navmenu a{padding:10px 12px; border-radius:12px; color:rgba(15,23,42,.72)}
.navmenu a:hover{background:rgba(15,23,42,.04); color:var(--ink)}

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  border-radius:12px;
  width:44px; height:44px;
  cursor:pointer;
}
.hamburger{display:block;width:18px;height:2px;margin:0 auto;background:var(--ink);position:relative}
.hamburger::before,.hamburger::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--ink)}
.hamburger::before{top:-6px}
.hamburger::after{top:6px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 14px;
  background: var(--accent);
  border:1px solid rgba(11,95,255,.18);
  color:#fff;
  box-shadow: var(--shadow2);
  font-weight:800;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-sm{padding:9px 12px; border-radius:12px}
.btn-ghost{
  background: transparent;
  border:1px solid var(--line);
  color: var(--ink);
  box-shadow:none;
}

.hero{
  padding:48px 0 18px;
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(11,95,255,.08), transparent 60%),
    radial-gradient(700px 380px at 90% 15%, rgba(14,165,233,.08), transparent 60%);
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:22px;
  align-items:stretch;
}
.kicker{
  margin:0 0 10px;
  color:var(--muted);
  font-weight:750;
  letter-spacing:.2px;
}
h1{
  margin:0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height:1.06;
  letter-spacing:-.4px;
}
.lead{margin:0 0 16px; font-size: 1.08rem; color:var(--muted)}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin: 16px 0 14px}

.pillrow{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.pill{
  display:inline-flex; align-items:center;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.9);
  color: rgba(15,23,42,.72);
  font-size:.92rem;
}

.panel{
  background: var(--paper);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}

.section{padding:34px 0}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:18px; margin-bottom:14px
}
.section-head h2{margin:0; font-size:1.55rem; letter-spacing:-.2px}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.grid2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}

.card{
  background: var(--paper);
  border:1px solid var(--line);
  border-radius: 16px;
  padding:16px;
  box-shadow: var(--shadow2);
}
.card h3{margin:0 0 6px}
.card p{margin:0; color:var(--muted)}

.timeline{display:grid; gap:10px}
.titem{
  background: var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 14px;
}
.titem .top{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  margin-bottom:6px
}
.role{font-weight:900}
.meta{color:var(--muted); font-size:.95rem}
.tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.tag{
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(15,23,42,.02);
  color: rgba(15,23,42,.72);
  font-size:.86rem;
}

.page-hero{padding:28px 0 10px}
.page-hero h1{font-size: clamp(26px, 3vw, 38px)}
.breadcrumb{color:var(--muted); font-size:.95rem}
.content{padding: 12px 0 44px}

.form{display:grid; gap:12px}
.field{display:grid; gap:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus, textarea:focus{border-color: rgba(11,95,255,.35)}
.notice{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: #fff;
}
.notice.ok{border-color: rgba(34,197,94,.35)}
.notice.bad{border-color: rgba(239,68,68,.35)}

.site-footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: rgba(255,255,255,.7);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:16px;
  align-items:center;
}
.footer-links{display:flex; flex-wrap:wrap; gap:10px; justify-content:center}
.footer-links a{color:rgba(15,23,42,.72); padding:8px 10px; border-radius:12px}
.footer-links a:hover{color:var(--ink); background:rgba(15,23,42,.04)}
.footer-meta{justify-self:end; display:flex; gap:8px; flex-wrap:wrap; color:var(--muted); font-size:.92rem}

@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr; text-align:center}
  .footer-meta{justify-self:center; justify-content:center}
}
@media (max-width: 760px){
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .navmenu{
    display:none;
    position:absolute;
    left:18px; right:18px; top:70px;
    flex-direction:column;
    align-items:stretch;
    padding:12px;
    border-radius: 18px;
    border:1px solid var(--line);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
  }
  .navmenu.open{display:flex}
}
