
:root{
  --bg1:#F4F3EE;
  --bg2:#F4F3EE;
  --bg3:#F4F3EE;
  --surface:rgba(255,255,255,.92);
  --card:#FFFFFF;
  --border:#D8D5CC;
  --ink:#1E1E1C;
  --muted:rgba(30,30,28,.78);
  --subtle:rgba(30,30,28,.62);
  --blue:#6B8F71;
  --blue2:#2E4A32;
  --forest:#2E4A32;
  --gold:#C9D6C3;
  --danger:#ff6b6b;
  --shadow:0 18px 50px rgba(18,18,16,.12);
  --radius:18px;
  --radius2:24px;
  --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";
  background: radial-gradient(circle at 18% 22%, var(--bg1) 0%, var(--bg2) 45%, var(--bg3) 100%);
  color:var(--ink);
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
small{color:var(--subtle)}
hr{border:0;border-top:1px solid var(--border);margin:18px 0}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.page{min-height:100vh; display:flex; flex-direction:column}
main{flex:1}
.tv-topnav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background:rgba(11,18,32,.68);
  border-bottom:1px solid var(--border);
}
.tv-topnav__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:750; letter-spacing:.2px;
}
.brand .mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(24,162,106,.95), rgba(216,177,90,.92));
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.navlinks{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.navlinks a{padding:8px 10px; border-radius:12px; color:var(--muted)}
.navlinks a.active, .navlinks a:hover{background:rgba(255,255,255,.06); color:var(--ink)}
.navctas{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px; border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--ink);
  cursor:pointer;
  font-weight:650;
}
.btn:hover{background:rgba(255,255,255,.07)}
.btn.primary{
  background: linear-gradient(135deg, var(--forest), var(--forest2));
  border-color: rgba(24,162,106,.35);
  box-shadow: 0 14px 40px rgba(24,162,106,.18);
}
.btn.gold{
  background: linear-gradient(135deg, rgba(216,177,90,.98), rgba(180,140,60,.92));
  border-color: rgba(216,177,90,.35);
  color:#0b1220;
}
.btn.danger{
  background:rgba(255,107,107,.12);
  border-color: rgba(255,107,107,.35);
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:650;
  font-size:12px;
}
.hero{padding:56px 0 26px 0}
.hero .kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  color:var(--muted);
  font-weight:700;
  letter-spacing:.2px;
}
.hero h1{margin:14px 0 10px 0;font-size:44px;letter-spacing:-.8px;line-height:1.05}
.hero p{margin:0; max-width:70ch; color:var(--muted); font-size:18px; line-height:1.55}
.hero .cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.grid{display:grid;grid-template-columns: repeat(12, 1fr);gap:16px;padding: 22px 0 44px 0}
.card{
  grid-column: span 12;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}
.card h2{margin:0 0 8px 0; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.55}
.card .meta{display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 0 0}
@media(min-width:900px){
  .card.span6{grid-column: span 6;}
  .card.span4{grid-column: span 4;}
  .card.span8{grid-column: span 8;}
}
.form-row{display:flex; flex-direction:column; gap:8px; margin:12px 0}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color:var(--ink);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
input::file-selector-button{
  margin-right:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--ink);
  cursor:pointer;
}
.notice{
  border:1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding:12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color:var(--muted);
}
.notice.success{border-left-color: var(--forest)}
.notice.danger{border-left-color: var(--danger)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.output{
  white-space: pre-wrap;
  background: rgba(0,0,0,.20);
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  color: var(--ink);
}
footer{
  border-top:1px solid var(--border);
  background:rgba(11,18,32,.60);
  padding:18px 0;
  color:var(--subtle);
}
.footer-row{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
