:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --surface2:#f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --faint: #64748b;
  --accent: #2563eb;
  --accent2:#16a34a;
  --shadow: 0 18px 50px rgba(2,6,23,.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(900px 650px at 15% -10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(900px 650px at 85% 0%, rgba(22,163,74,.08), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

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

.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(180%) blur(12px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.1px;}
.brand img{display:block}

.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.nav-links a{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}
.nav-links a:hover{background:rgba(2,6,23,.04); color:var(--text)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-weight:800;
  font-size:14px;
  box-shadow:0 10px 24px rgba(2,6,23,.06);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn.primary{
  border-color:rgba(37,99,235,.30);
  background:linear-gradient(180deg, rgba(37,99,235,.95), rgba(37,99,235,.86));
  color:#fff;
  box-shadow:0 14px 28px rgba(37,99,235,.22);
}
.btn.secondary{
  background:rgba(2,6,23,.03);
  box-shadow:none;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(2,6,23,.02);
  color:var(--muted);
  font-size:12.5px;
  white-space:nowrap;
}
.badge .dot{
  width:7px;height:7px;border-radius:99px;background:rgba(37,99,235,.95);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.hero{
  padding:56px 0 22px;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(900px 500px at 20% 80%, rgba(22,163,74,.06), transparent 55%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:start;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.65);
}

h1{margin:14px 0 12px; font-size:44px; line-height:1.08; letter-spacing:-.6px;}
h2{margin:0 0 12px; font-size:22px; letter-spacing:-.2px;}
h3{margin:0 0 8px; font-size:16px; letter-spacing:-.1px;}
p{margin:0 0 14px}
.lead{font-size:17px; color:var(--muted)}
.small{font-size:13px; color:var(--muted)}
.mini{font-size:12px; color:var(--faint)}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.card.pad{padding:18px}
.card.flat{box-shadow:none}
.hr{height:1px;background:var(--border); margin:14px 0}
.notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(22,163,74,.25);
  background:rgba(22,163,74,.08);
  color:var(--text);
}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
.feature{padding:16px; background:linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.01));}
.icon{
  width:38px;height:38px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);
  background:rgba(2,6,23,.02);
  margin-bottom:10px;
  font-size:18px;
}

.section{padding:28px 0 44px;}
.split{display:grid; grid-template-columns: 1fr .9fr; gap:22px; align-items:start;}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(2,6,23,.01);
}
.table th, .table td{
  padding:12px 12px;
  font-size:13px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  vertical-align:top;
}
.table th{color:var(--text); text-align:left; font-weight:900; background:rgba(2,6,23,.02)}
.table tr:last-child td{border-bottom:none}

.gallery{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px;}
.thumb{margin:0; border-radius:16px; overflow:hidden; border:1px solid var(--border); background:rgba(2,6,23,.01);}
.thumb img{width:100%; height:auto; max-height:520px; object-fit:contain; display:block; background:#fff;}
.thumb figcaption{padding:10px 12px; font-size:12.5px; color:var(--muted)}

.form{display:flex; flex-direction:column; gap:12px;}
.row2{display:grid; grid-template-columns: 1fr 1fr; gap:12px;}
.field label{display:block; font-size:12px; font-weight:900; color:var(--text); margin-bottom:6px;}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  outline:none;
}
textarea{min-height:110px; resize:vertical}
input:focus, select:focus, textarea:focus{
  border-color:rgba(37,99,235,.55);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.hint{margin-top:6px; font-size:12px; color:var(--faint);}

.footer{
  padding:34px 0 44px;
  border-top:1px solid var(--border);
  background:var(--surface2);
}
.footer-grid{display:grid; grid-template-columns: 1.2fr 1fr; gap:22px;}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.code{
  padding:12px 14px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
  color:var(--text);
  white-space:pre-wrap;
}

@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:36px}
  .split{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  .row2{grid-template-columns:1fr}
  .nav-inner{height:auto; padding:14px 0}
}
