:root{
  --navy:#08214a;
  --navy-2:#0b326d;
  --ink:#172033;
  --muted:#657189;
  --line:#e7ecf5;
  --soft:#f5f8fc;
  --white:#ffffff;
  --cyan:#20c8f4;
  --blue:#2e69ff;
  --purple:#7b3ff2;
  --pink:#f23c8f;
  --orange:#ff9a24;
  --green:#5bd45b;
  --shadow:0 24px 70px rgba(8,33,74,.14);
  --radius:28px;
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 7% 5%, rgba(32,200,244,.22), transparent 27%),
    radial-gradient(circle at 85% 9%, rgba(255,154,36,.18), transparent 29%),
    linear-gradient(180deg,#f8fbff 0%,#ffffff 44%,#f4f8ff 100%);
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
img,svg{max-width:100%;display:block}

.page-shell{
  width:min(var(--content-max), calc(100% - 36px));
  margin:0 auto;
}
header{
  width:min(var(--content-max), calc(100% - 36px));
  margin:18px auto 0;
  border:1px solid rgba(231,236,245,.82);
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(22px);
  border-radius:26px;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:14px;
  z-index:10;
  box-shadow:0 12px 40px rgba(8,33,74,.08);
}

.brand{display:flex;align-items:center;font-weight:900;color:var(--navy)}
.brand-logo{
  height:52.5px;
  width:auto;
  max-width:240px;
  display:block;
  object-fit:contain;
}
nav{display:flex;align-items:center;gap:26px;color:#526076;font-size:14px;font-weight:700}
nav a:hover{color:var(--blue)}
.nav-cta{
  padding:12px 17px;
  border-radius:14px;
  color:white;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  box-shadow:0 12px 24px rgba(46,105,255,.24);
}
.nav-login{
  padding:12px 17px;
  border-radius:14px;
  color:var(--navy);
  background:#fff;
  border:1px solid #dce4f2;
  box-shadow:0 10px 24px rgba(8,33,74,.08);
}
.nav-login:hover{color:var(--blue);border-color:#c8d6ee}
footer{
  padding:36px 0 48px;
  color:#6d7890;
  font-size:14px;
}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:24px}
.footer-row .brand{letter-spacing:.05em}
.footer-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:10px 18px;
  text-align:right;
}
.footer-link{
  color:var(--blue);
  font-weight:700;
  white-space:nowrap;
}
.footer-link:hover{text-decoration:underline}

.legal-page{
  padding:36px 0 56px;
}
.legal-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:0 18px 48px rgba(8,33,74,.08);
  overflow:hidden;
}
.legal-header{
  padding:42px 48px 28px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
}
.legal-kicker{
  margin:0 0 10px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blue);
}
.legal-header h1{
  margin:0;
  font-size:clamp(34px,4vw,52px);
  line-height:1.05;
  letter-spacing:-.05em;
  color:var(--navy);
}
.legal-updated{
  margin:14px 0 0;
  color:var(--muted);
  font-size:15px;
}
.legal-content{
  padding:36px 48px 48px;
  color:#334155;
  font-size:16px;
  line-height:1.75;
}
.legal-content section{
  margin-bottom:34px;
}
.legal-content section:last-child{
  margin-bottom:0;
}
.legal-content h2{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.03em;
  color:var(--navy);
}
.legal-content p{
  margin:0 0 14px;
}
.legal-content p:last-child{
  margin-bottom:0;
}
.legal-content ul{
  margin:0 0 14px;
  padding-left:1.35rem;
}
.legal-content li{
  margin-bottom:8px;
}
.legal-content li:last-child{
  margin-bottom:0;
}
.legal-content a{
  color:var(--blue);
  font-weight:600;
}
.legal-content a:hover{text-decoration:underline}
.legal-caps{
  font-size:15px;
  line-height:1.65;
  letter-spacing:.01em;
}
.legal-table-wrap{
  overflow-x:auto;
  margin:8px 0 14px;
  border:1px solid var(--line);
  border-radius:18px;
}
.legal-table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  line-height:1.55;
}
.legal-table th,
.legal-table td{
  padding:14px 16px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line);
}
.legal-table th{
  background:#f5f8fc;
  color:var(--navy);
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.legal-table tr:last-child td,
.legal-table tr:last-child th{
  border-bottom:none;
}
.legal-table td:first-child{
  font-weight:700;
  color:var(--navy);
}
.legal-quote{
  margin:0 0 14px;
  padding:16px 18px;
  border-left:4px solid var(--blue);
  background:#f5f8fc;
  border-radius:0 14px 14px 0;
  color:#334155;
}
.legal-inline-button{
  display:inline;
  padding:0;
  border:none;
  background:none;
  color:var(--blue);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  text-decoration:underline;
}
.legal-inline-button:hover{color:var(--navy)}
.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;
}
.footer-link-button{
  border:none;
  background:none;
  padding:0;
  cursor:pointer;
  font:inherit;
}
body.cookie-modal-open{overflow:hidden}

.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:40;
  padding:18px 0 22px;
  background:rgba(7,27,60,.96);
  border-top:1px solid rgba(255,255,255,.12);
  box-shadow:0 -18px 50px rgba(0,0,0,.28);
  color:#fff;
}
.cookie-banner-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}
.cookie-banner-title{
  margin:0 0 8px;
  font-size:18px;
  font-weight:800;
  color:#fff;
}
.cookie-banner-desc{
  margin:0;
  max-width:760px;
  font-size:14px;
  line-height:1.65;
  color:rgba(255,255,255,.82);
}
.cookie-banner-desc a{
  color:#8ee8ff;
  font-weight:700;
}
.cookie-banner-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}
.cookie-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid transparent;
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.cookie-btn--primary{
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
}
.cookie-btn--secondary{
  background:#fff;
  color:var(--navy);
}
.cookie-btn--ghost{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.24);
}
.cookie-btn--ghost:hover{
  background:rgba(255,255,255,.08);
}

.cookie-modal{
  position:fixed;
  inset:0;
  z-index:50;
  place-items:center;
  padding:24px;
}
.cookie-modal:not([hidden]){
  display:grid;
}
.cookie-modal[hidden]{
  display:none !important;
}
.cookie-banner[hidden]{
  display:none !important;
}
.cookie-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,33,74,.58);
}
.cookie-modal-panel{
  position:relative;
  width:min(720px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 28px 80px rgba(8,33,74,.24);
  padding:28px;
}
.cookie-modal-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.cookie-modal-header h2{
  margin:0;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.04em;
  color:var(--navy);
}
.cookie-modal-close{
  width:36px;
  height:36px;
  border:none;
  border-radius:10px;
  background:#f5f8fc;
  color:var(--navy);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.cookie-modal-lead{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
}
.cookie-setting-list{
  display:grid;
  gap:14px;
  margin-bottom:22px;
}
.cookie-setting-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fafcff;
}
.cookie-setting-copy h3{
  margin:0 0 6px;
  font-size:16px;
  color:var(--navy);
}
.cookie-setting-copy p{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:var(--muted);
}
.cookie-setting-badge{
  flex:0 0 auto;
  padding:6px 10px;
  border-radius:999px;
  background:#e8f1ff;
  color:var(--blue);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.cookie-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.cookie-toggle input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}
.cookie-toggle-ui{
  width:48px;
  height:28px;
  border-radius:999px;
  background:#cbd5e1;
  transition:background .2s ease;
  position:relative;
}
.cookie-toggle-ui::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  transition:transform .2s ease;
}
.cookie-toggle input:checked + .cookie-toggle-ui{
  background:var(--blue);
}
.cookie-toggle input:checked + .cookie-toggle-ui::after{
  transform:translateX(20px);
}
.cookie-toggle input:focus-visible + .cookie-toggle-ui{
  outline:3px solid rgba(46,105,255,.25);
  outline-offset:2px;
}
.cookie-modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

@media(max-width:1000px){
  .cookie-banner-inner{
    flex-direction:column;
  }
  .cookie-banner-actions{
    justify-content:flex-start;
  }
  .cookie-setting-item{
    flex-direction:column;
  }
}

@media(max-width:1000px){
  .legal-header,
  .legal-content{
    padding-left:24px;
    padding-right:24px;
  }
  .footer-meta{
    justify-content:flex-start;
    text-align:left;
  }
}
