/* ==========================================================================
   Ultlock — base.css
   Shared design system: reset, tokens, header, footer, utilities, buttons.
   ========================================================================== */

:root{
  --ink:#181a1f;
  --body-c:#31333b;
  --mute:#5c6069;
  --paper:#ffffff;
  --paper-alt:#f5f4ee;
  --paper-deep:#efeee4;
  --line:#e3e1d6;
  --accent:#ff6a1a;
  --accent-ink:#a13c00;
  --accent-tint:#fff0e2;
  --navy:#10151f;
  --navy-2:#182238;
  --white:#ffffff;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --shadow-card:0 24px 44px -28px rgba(16,21,31,.38);
  --shadow-soft:0 12px 24px -18px rgba(16,21,31,.28);
  --container:1120px;
  --font-head:'Poppins',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--body-c);
  background:var(--paper);
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:700;
}
h1{font-size:clamp(1.9rem,5.6vw,3.2rem);}
h2{font-size:clamp(1.5rem,4vw,2.25rem);}
h3{font-size:clamp(1.15rem,2.6vw,1.5rem);}
p{margin:0 0 1em;}
a{color:var(--accent-ink);text-decoration-thickness:1.5px;}
a:hover{color:var(--ink);}
a:focus-visible,button:focus-visible,input:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:2px;
}
img,video{max-width:100%;height:auto;display:block;}
ul,ol{padding-left:1.25em;}
li{margin-bottom:.4em;}
strong{color:var(--ink);}

.u-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;
}

.u-container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 18px;
}
@media (min-width:768px){
  .u-container{padding:0 32px;}
}

.u-section{padding:48px 0;}
.u-section--alt{background:var(--paper-alt);}
.u-section--deep{background:var(--paper-deep);}
.u-section--navy{background:var(--navy);color:#dfe3ec;}
.u-section--navy h2,.u-section--navy h3{color:#fff;}
@media (min-width:768px){
  .u-section{padding:72px 0;}
}
@media (min-width:1024px){
  .u-section{padding:96px 0;}
}

.u-stack{display:flex;flex-direction:column;}
.u-row{display:flex;flex-wrap:wrap;}
.u-gap-sm{gap:12px;}
.u-gap-md{gap:24px;}
.u-gap-lg{gap:40px;}
.u-center{text-align:center;}
.u-max-prose{max-width:680px;}
.u-mx-auto{margin-left:auto;margin-right:auto;}

.u-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-head);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--accent-ink);
  margin-bottom:14px;
}
.u-eyebrow::before{
  content:"";
  width:22px;height:3px;border-radius:2px;
  background:var(--accent);
  display:inline-block;
}

.u-rule{
  width:64px;height:4px;border-radius:2px;
  background:var(--accent);
  margin:18px auto 0;
}
.u-rule--left{margin:18px 0 0;}

/* Buttons -------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:1rem;
  padding:16px 28px;
  min-height:44px;
  border-radius:999px;
  border:2px solid var(--ink);
  background:var(--ink);
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.btn:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--ink);
  transform:translateY(-2px);
}
.btn:active{transform:translateY(0);}
.btn--ghost{
  background:transparent;
  color:var(--ink);
}
.btn--ghost:hover{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.btn--block{width:100%;}
@media (min-width:480px){
  .btn--block{width:auto;}
}

/* Ribbon ----------------------------------------------------------------- */
.ribbon{
  background:var(--navy);
  color:#e7eaf1;
}
.ribbon__text{
  margin:0;
  padding:9px 18px;
  max-width:var(--container);
  margin:0 auto;
  font-size:.82rem;
  text-align:center;
  letter-spacing:.01em;
}
.ribbon__text strong{color:#fff;}

/* Header ------------------------------------------------------------------ */
.site_header{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:30;
}
.site_header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:16px;
  padding-bottom:16px;
  gap:16px;
  flex-wrap:wrap;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--ink);
  min-height:44px;
}
.brand:hover{color:var(--ink);}
.brand__mark{
  width:38px;height:38px;
  flex:none;
  color:var(--accent);
}
.brand__mark svg{width:100%;height:100%;display:block;}
.brand__lockup{display:flex;flex-direction:column;line-height:1.15;}
.brand__name{
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.28rem;
  color:var(--ink);
}
.brand__name em{
  font-style:normal;
  color:var(--accent-ink);
}
.brand__tag{
  font-size:.68rem;
  color:var(--mute);
  letter-spacing:.03em;
  display:none;
}
@media (min-width:480px){
  .brand__tag{display:block;}
}

.nav_toggle{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:44px;height:44px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line);
  background:var(--paper);
  cursor:pointer;
  order:2;
}
.nav_toggle__bar{
  width:20px;height:2px;background:var(--ink);border-radius:2px;
  transition:transform .2s ease,opacity .2s ease;
}
.nav_toggle[aria-expanded="true"] .nav_toggle__bar:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav_toggle[aria-expanded="true"] .nav_toggle__bar:nth-child(2){opacity:0;}
.nav_toggle[aria-expanded="true"] .nav_toggle__bar:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.site_nav{
  display:none;
  flex-direction:column;
  width:100%;
  order:3;
  gap:2px;
  border-top:1px solid var(--line);
  margin-top:14px;
  padding-top:10px;
}
.site_nav.is-open{display:flex;}
.site_nav a{
  display:block;
  padding:12px 6px;
  color:var(--ink);
  text-decoration:none;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  border-bottom:1px solid var(--line);
  min-height:44px;
}
.site_nav a:hover{color:var(--accent-ink);}

@media (min-width:768px){
  .nav_toggle{display:none;}
  .site_nav{
    display:flex;
    flex-direction:row;
    width:auto;
    order:2;
    border-top:none;
    margin-top:0;
    padding-top:0;
    gap:6px;
  }
  .site_nav a{
    border-bottom:none;
    padding:10px 14px;
    border-radius:999px;
  }
  .site_nav a:hover{background:var(--accent-tint);}
}

/* End note / disclaimer --------------------------------------------------- */
.end-note{
  display:block;
  background:var(--paper-deep);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:28px 0;
}
.end-note .u-container{font-size:.92rem;color:var(--mute);}
.end-note p{margin:0 auto;max-width:820px;}
.end-note a{color:var(--accent-ink);font-weight:600;}

/* Footer / colophon -------------------------------------------------------- */
.colophon{
  background:var(--navy-2);
  color:#c8ceda;
}
.colophon__inner{
  padding:44px 0 32px;
  display:flex;
  flex-direction:column;
  gap:32px;
}
@media (min-width:768px){
  .colophon__inner{
    flex-direction:row;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
  }
}
.colophon__org p{margin:0 0 1em;font-size:.92rem;line-height:1.65;}
.colophon__brand{
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.1rem;
  color:#fff;
  margin-bottom:.5em !important;
}
.colophon__foot-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:180px;
}
.colophon__foot-links a{
  color:#dfe3ec;
  text-decoration:none;
  font-size:.92rem;
  min-height:44px;
  display:flex;
  align-items:center;
}
.colophon__foot-links a:hover{color:var(--accent);text-decoration:underline;}
.colophon__bottom{
  border-top:1px solid rgba(255,255,255,.12);
  background:#000;
}
.colophon__bottom p{
  margin:0;
  padding:16px 0;
  text-align:center;
  font-size:.78rem;
  color:#9aa1b0;
}

/* Cookie banner ------------------------------------------------------------ */
.cookie_bar{
  position:fixed;
  left:12px;right:12px;bottom:12px;
  z-index:60;
  background:var(--ink);
  color:#f1f1ea;
  border-radius:var(--radius-md);
  padding:18px;
  box-shadow:var(--shadow-card);
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:640px;
  margin:0 auto;
}
.cookie_bar[hidden]{display:none;}
.cookie_bar p{margin:0;font-size:.88rem;color:#e7e7df;}
.cookie_bar a{color:#ffd9bd;}
.cookie_bar__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cookie_bar__actions button{
  flex:1 1 auto;
  min-width:120px;
  min-height:44px;
  border-radius:999px;
  border:2px solid #fff;
  background:transparent;
  color:#fff;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.88rem;
  cursor:pointer;
  transition:background .18s ease,color .18s ease;
}
.cookie_bar__actions button.is-primary{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--ink);
}
.cookie_bar__actions button:hover{background:#fff;color:var(--ink);}
@media (min-width:480px){
  .cookie_bar{flex-direction:row;align-items:center;max-width:720px;}
  .cookie_bar__actions{flex:none;}
}

/* Simple content page (legal/about) --------------------------------------- */
.page_hero{padding:44px 0 8px;}
.page_hero h1{margin-bottom:.35em;}
.page_hero p{color:var(--mute);font-size:1.05rem;max-width:640px;}
.prose{max-width:720px;}
.prose h2{margin-top:1.6em;}
.prose h2:first-child{margin-top:0;}
.prose ul{margin:0 0 1.2em;}
.prose li{margin-bottom:.5em;}
.prose table{
  width:100%;
  border-collapse:collapse;
  margin:1em 0 1.6em;
  font-size:.92rem;
}
.prose_table_wrap{width:100%;overflow-x:auto;margin:1em 0 1.6em;}
.prose table th,.prose table td{
  text-align:left;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
.prose table th{font-family:var(--font-head);color:var(--ink);}
.contact_card{
  background:var(--paper-alt);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:22px 24px;
  margin:1.4em 0;
}
.contact_card p{margin:0 0 .4em;}
.contact_card p:last-child{margin-bottom:0;}
