:root{
  --bg: #f6f8fc;
  --surface: rgba(255,255,255,.88);
  --surface-solid: #ffffff;
  --surface-2: rgba(255,255,255,.72);
  --text: #0f172a;
  --muted: #475569;
  --brand: #00438f;
  --brand-2: #4f7ab6;
  --border: rgba(15,23,42,.10);
  --shadow: 0 16px 40px rgba(2,8,23,.12);
  --radius: 18px;
  --max: 1120px;
}

*{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, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  line-height:1.55;

  /* subtle brand + existing background photo */
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(79,122,182,.20), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(0,67,143,.12), transparent 55%),
    linear-gradient(180deg, rgba(246,248,252,.85), rgba(246,248,252,.95)),
    url("../../img/mario-gogh-VBLHICVh-lI-unsplash.jpg") center/cover fixed no-repeat;
}

/* COOKIE */

/* Cookie Consent */
.cookie-consent-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
}

.cookie-consent{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;

  max-width: 780px;
  margin: 0 auto;

  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17,24,38,.96);
  box-shadow: var(--shadow);
  padding: 14px;
}

.cookie-consent h3{
  margin: 0 0 6px;
  font-size: 14px;
}

.cookie-consent p{
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.cookie-consent .row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent .actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent .btn{
  cursor: pointer;
}

@media (max-width: 520px){
  .cookie-consent .row{ align-items: stretch; }
  .cookie-consent .actions{ width: 100%; }
  .cookie-consent .actions .btn{ flex: 1; }
}
/*COOKIE END*/

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
a:hover{color:var(--brand)}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.skip-link{
  position:absolute; left:-9999px; top:10px;
  background:var(--brand); color:#fff; padding:10px 12px; border-radius:12px;
}
.skip-link:focus{left:18px; z-index:9999}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(246,248,252,.78);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}

.brand{display:flex; align-items:center; gap:12px}
.brand-mark{
  width:44px; height:44px; border-radius:14px;
  background: linear-gradient(135deg, rgba(0,67,143,.14), rgba(79,122,182,.18));
  border:1px solid var(--border);
  display:grid; place-items:center;
  box-shadow: var(--shadow);
  font-weight:900; color:var(--brand);
}

.brand-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}


.brand-title{display:flex; flex-direction:column; gap:2px}
.brand-title strong{font-size:14px; letter-spacing:.2px}
.brand-title span{font-size:12px; color:var(--muted)}

.nav-toggle{
  appearance:none; border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  color:var(--text);
  border-radius:14px; padding:10px 12px;
  display:none; align-items:center; gap:10px;
}
.nav-toggle:focus-visible{outline:2px solid var(--brand); outline-offset:2px}
.burger{width:18px; height:12px; position:relative; display:inline-block}
.burger::before,.burger::after,.burger span{
  content:""; position:absolute; left:0; right:0; height:2px;
  background:var(--text); border-radius:2px;
}
.burger::before{top:0}
.burger span{top:5px}
.burger::after{bottom:0}

.nav{display:flex; align-items:center; gap:6px}
.nav a, .nav summary{
  font-size:13px;
  padding:10px 10px;
  border-radius:14px;
  color:var(--text);
}
.nav a:hover, .nav summary:hover{background: rgba(15,23,42,.06)}
.nav a:focus-visible, .nav summary:focus-visible{outline:2px solid var(--brand); outline-offset:2px}
.nav details{position:relative}
.nav details > summary{cursor:pointer; list-style:none}
.nav details > summary::-webkit-details-marker{display:none}
.submenu{
  position:absolute; top:44px; left:0;
  min-width:240px;
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:16px;
  padding:8px;
  box-shadow: var(--shadow);
}
.submenu a{display:block; padding:10px 10px}

.main{padding:26px 0 56px}

.hero{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow: var(--shadow);
  padding:22px;
}
.hero h1{margin:0 0 8px; font-size:26px; letter-spacing:-.2px}
.hero p{margin:0 0 16px; color:var(--muted); max-width:70ch}
.hero-actions{display:flex; flex-wrap:wrap; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  font-weight:700;
  font-size:13px;
}
.btn.primary{
  background: rgba(0,67,143,.12);
  border-color: rgba(0,67,143,.22);
  color:var(--brand);
}
.btn.soft{
  background: rgba(79,122,182,.10);
  border-color: rgba(79,122,182,.20);
}
.btn:active{transform: translateY(1px)}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:14px;
}
.card{
  grid-column: span 12;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  padding:16px;
}
.card h2{margin:0 0 10px; font-size:16px}
.card p{margin:0; color:var(--muted)}
.card small{color:var(--muted)}

.list{display:grid; gap:10px; margin-top:10px}
.item{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(255,255,255,.78);
}
.item a{font-weight:800}
.item time{color:var(--muted); font-size:12px; white-space:nowrap}

.prose{max-width: 78ch}
.prose h1{font-size:24px; margin:0 0 10px}
.prose h2{font-size:18px; margin:18px 0 10px}
.prose h3{font-size:15px; margin:16px 0 8px}
.prose p{color:var(--text); margin:0 0 12px}
.prose ul, .prose ol{margin:0 0 12px 20px}
.prose li{margin:6px 0}
.prose code{background: rgba(15,23,42,.06); padding:2px 6px; border-radius:10px}
.prose hr{border:0; border-top:1px solid var(--border); margin:18px 0}

table{width:100%; border-collapse:collapse; overflow:hidden; border-radius:14px}
th, td{padding:10px 10px; border-bottom:1px solid var(--border); vertical-align:top}
th{background: rgba(15,23,42,.04); text-align:left}
tr:hover td{background: rgba(15,23,42,.03)}

details.accordion{
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(255,255,255,.78);
  padding:10px 12px;
}
details.accordion > summary{
  cursor:pointer;
  font-weight:800;
  padding:6px 2px;
}
details.accordion[open]{background: rgba(255,255,255,.92)}
details.accordion > summary::marker{content:""}
details.accordion > summary::-webkit-details-marker{display:none}
details.accordion .content{padding:8px 2px 2px; color:var(--text)}

.form{
  display:grid;
  gap:10px;
  max-width: 720px;
}
.field label{font-weight:800; display:block; margin-bottom:6px}
.field input, .field select, .field textarea{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
  font: inherit;
}
.field textarea{min-height:140px; resize:vertical}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:2px solid rgba(0,67,143,.35);
  outline-offset:2px;
}

.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:var(--muted);
  background: rgba(246,248,252,.86);
  backdrop-filter: blur(12px);
}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--brand)}
.footer-inner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:10px;
  font-size:12px;
}

.notice{
  border-left: 4px solid var(--brand);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,67,143,.06);
  color: var(--text);
}

@media (max-width: 860px){
  .nav-toggle{display:inline-flex}
  .nav{
    position:fixed;
    inset:72px 12px auto 12px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    background: rgba(246,248,252,.96);
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav{display:flex}
  .nav details{position:static}
  .submenu{
    position:static;
    min-width:unset;
    margin-top:6px;
    box-shadow:none;
  }
}
