:root{
  --bg-1:#062a35;
  --bg-2:#083646;
  --bg-3:#0b4154;
  --card:#ffffff;
  --card-muted:#f6f8fb;
  --text:#1b2b34;
  --muted:#5a6b76;
  --brand:#0a2f3a;
  --brand-2:#0e3f4e;
  --accent:#2aa6a6;
  --stroke:#e6edf2;
  --shadow:0 18px 45px rgba(0,0,0,.25);
  --radius-lg:16px;
  --maxw:850px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:36px 16px;
  background:
    radial-gradient(1200px 700px at 15% 70%, rgba(34,171,168,.28) 0%, rgba(34,171,168,0) 55%),
    radial-gradient(900px 600px at 5% 20%, rgba(66,147,199,.22) 0%, rgba(66,147,199,0) 50%),
    linear-gradient(120deg,var(--bg-1),var(--bg-2) 55%,var(--bg-3));
  position:relative;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 1px 1px, rgba(120,212,206,.25) 1px, transparent 1.5px);
  background-size:22px 22px;
  opacity:.55;
  mask-image:radial-gradient(900px 650px at 80% 40%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  pointer-events:none;
}

.wrap{
  width:min(var(--maxw),100%);
  position:relative;
  z-index:1;
}

.card{
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
  padding:28px 30px;
  background:
    radial-gradient(360px 360px at 25% 25%, rgba(0,0,0,.03) 0%, rgba(0,0,0,0) 65%),
    linear-gradient(180deg,var(--card) 0%,var(--card-muted) 100%);
}

.header{
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:14px;
}

.crest{
  width:72px;
  height:72px;
  flex:0 0 auto;
}

.crest img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

h1{
  font-size:22px;
  line-height:1.2;
  margin:0;
  font-weight:650;
  letter-spacing:.1px;
  color:#243742;
}

.sub{
  margin:0 0 14px 0;
  color:var(--muted);
  line-height:1.55;
}

.divider{
  height:1px;
  background:var(--stroke);
  margin:14px 0 14px;
}

.button-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  text-decoration:none;
  padding:14px 16px;
  border-radius:10px;
  border:1px solid rgba(10,47,58,.14);
  background:#fff;
  color:var(--brand);
  font-weight:650;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(0,0,0,.10);
  border-color:rgba(10,47,58,.28);
  background:#fbfeff;
}

.btn.primary{
  background:var(--brand);
  color:#fff;
  border-color:rgba(255,255,255,.12);
}

.btn.primary:hover{
  background:var(--brand-2);
  border-color:rgba(255,255,255,.18);
}

.btn .meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.btn .title{
  font-size:14.5px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.btn .desc{
  font-size:12.5px;
  font-weight:500;
  opacity:.85;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.btn .icon{
  width:36px;
  height:36px;
  border-radius:9px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:rgba(42,166,166,.12);
  color:var(--brand);
}

.btn.primary .icon{
  background:rgba(255,255,255,.16);
  color:#fff;
}

.btn.support{
  border-color:rgba(42,166,166,.35);
  background:rgba(42,166,166,.06);
}

.btn.support:hover{
  background:rgba(42,166,166,.10);
  border-color:rgba(42,166,166,.55);
}

.accordion{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.acc{
  border:1px solid rgba(10,47,58,.14);
  border-radius:12px;
  background:rgba(255,255,255,.72);
  box-shadow:0 6px 14px rgba(0,0,0,.05);
  overflow:hidden;
}

.acc[open]{
  background:rgba(255,255,255,.88);
  border-color:rgba(10,47,58,.22);
}

.acc-summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  cursor:pointer;
  user-select:none;
  color:var(--brand);
  font-weight:750;
}

.acc-summary::-webkit-details-marker{display:none}

.acc-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.acc-title{
  font-size:14.5px;
  letter-spacing:.1px;
}

.acc-subtitle{
  font-size:12.5px;
  font-weight:500;
  color:var(--muted);
  line-height:1.35;
}

.acc-chevron{
  width:36px;
  height:36px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:rgba(42,166,166,.12);
  color:var(--brand);
  transition:transform .14s ease;
  flex:0 0 auto;
}

.acc[open] .acc-chevron{
  transform:rotate(180deg);
}

.acc:not([open]) > :not(summary){
  display:block;
}

.acc-panel{
  height:0;
  overflow:hidden;
  transition:height .26s ease;
}

.acc-panel-content{
  padding:8px 16px 16px;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .18s ease, transform .18s ease;
}

.acc[open] .acc-panel-content{
  opacity:1;
  transform:translateY(0);
}

.acc{
  overflow:hidden;
}

.acc-panel .btn{
  background:rgba(27,43,52,.06);
  color:var(--brand);
  border-color:rgba(10,47,58,.14);
}

.acc-panel .btn:hover{
  background:rgba(27,43,52,.10);
  border-color:rgba(10,47,58,.22);
}

.acc-panel .btn .icon{
  background:rgba(42,166,166,.12);
  color:var(--brand);
}

footer{
  text-align:center;
  color:rgba(255,255,255,.78);
  font-size:12.5px;
  margin-top:14px;
  padding:8px 6px 0;
  z-index:1;
  position:relative;
}

@media (max-width:480px){
  .card{padding:22px 18px}
  h1{font-size:19px}
  .crest{width:64px;height:64px}
}

.acc:not([open]) > :not(summary){
  display:block;
}

.panel-note{
  margin:0 0 10px 0;
  color:rgba(178,58,72,.85);
  font-style:italic;
}



.btn.is-disabled{
  pointer-events:none;
  opacity:.8;
}

.btn.is-disabled:hover{
  transform:none;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}
