/* AI User Tools brand system. Navy and gold. Shared by every page. */

*{box-sizing:border-box;margin:0;padding:0}

:root{
  /* surfaces */
  --bg:#121a27;
  --bg-soft:#16202f;
  --surface:#1b2636;
  --surface-hi:#232f43;
  --line:#2c3a4f;
  --line-soft:#222e40;
  --code:#0e151f;

  /* accent */
  --gold:#f0c24e;
  --gold-hi:#f7d177;
  --gold-lo:#d6a634;

  /* text */
  --ink:#f2f5f8;
  --text:#9eacbd;
  --text-dim:#6c7a8c;

  /* type */
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;

  /* form */
  --r-sm:9px;
  --r:13px;
  --r-lg:18px;
  --wrap:1120px;
  --shadow:0 22px 50px -28px rgba(0,0,0,.75);
  --shadow-soft:0 10px 30px -20px rgba(0,0,0,.65);
}

html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4{color:var(--ink);line-height:1.12;letter-spacing:-0.022em;font-weight:680}
h1{font-size:clamp(2.15rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.6rem,3vw,2.35rem)}
h3{font-size:1.18rem;letter-spacing:-0.015em}
p{color:var(--text)}
a{color:inherit;text-decoration:none}
strong{color:var(--ink);font-weight:660}

::selection{background:rgba(240,194,78,.26);color:var(--ink)}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}

/* layout */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 26px}
.wrap-tight{max-width:760px;margin:0 auto;padding:0 26px}
.section{padding:104px 0}
.section + .section{border-top:1px solid var(--line-soft)}
.section.soft{background:var(--bg-soft)}

/* eyebrow */
.eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600;
}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--sans);font-size:15px;font-weight:620;
  border:1px solid transparent;border-radius:var(--r-sm);
  padding:13px 22px;cursor:pointer;text-decoration:none;white-space:nowrap;
  transition:transform .13s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.btn-primary{
  background:linear-gradient(180deg,#f8d074,#ebb63c);
  color:#1b2230;
  border-color:rgba(0,0,0,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(0,0,0,.14),0 1px 2px rgba(0,0,0,.32);
}
.btn-primary:hover{background:linear-gradient(180deg,#fbd884,#f1be4c);transform:scale(1.03)}
.btn-primary:active{background:linear-gradient(180deg,#e9b647,#dcab38);transform:scale(.99)}
.btn-ghost{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.022));
  color:var(--ink);
  border-color:rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-ghost:hover{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));border-color:rgba(255,255,255,.22);transform:scale(1.03)}
.btn-sm{padding:9px 15px;font-size:13.5px}
.btn-lg{padding:16px 28px;font-size:16px}

/* nav */
nav.site{
  position:sticky;top:0;z-index:60;
  background:rgba(18,26,39,.84);
  backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--line-soft);
}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:66px}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a:not(.btn){font-size:14.5px;color:var(--text);transition:color .14s ease}
.nav-links a:not(.btn):hover{color:var(--ink)}
.brand{display:flex;align-items:center;gap:10px;font-weight:680;font-size:16px;color:var(--ink);letter-spacing:-0.02em}
.brand .logo{flex:none}

/* logo mark */
.logo{
  width:30px;height:30px;border-radius:8px;
  background:var(--gold);
  display:flex;align-items:center;justify-content:center;
}
.logo svg{display:block}

/* cards */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:28px;
}
.card-link{transition:transform .14s ease,border-color .16s ease,box-shadow .16s ease}
.card-link:hover{transform:translateY(-3px);border-color:#3a4c66;box-shadow:var(--shadow-soft)}

/* footer */
footer.site{border-top:1px solid var(--line-soft);background:var(--bg-soft);padding:42px 0}
.foot-in{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:13.5px;color:var(--text-dim)}
.foot-in nav{display:flex;gap:20px;flex-wrap:wrap}
.foot-in a{color:var(--text);transition:color .14s ease}
.foot-in a:hover{color:var(--gold)}

/* prose for content pages (docs, legal, about) */
.prose{max-width:720px}
.prose h2{margin:46px 0 14px;font-size:1.5rem}
.prose h3{margin:32px 0 10px}
.prose h2:first-child,.prose h3:first-child{margin-top:0}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 16px;padding-left:22px}
.prose li{margin:7px 0;color:var(--text)}
.prose li::marker{color:var(--gold)}
.prose a{color:var(--gold);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose code{
  font-family:var(--mono);font-size:.88em;
  background:var(--code);border:1px solid var(--line);
  padding:2px 6px;border-radius:5px;color:#cdd6e2;
}
.prose strong{color:var(--ink)}

/* small shared bits */
.lead{font-size:clamp(1.02rem,1.5vw,1.18rem);color:var(--text)}
.dot{width:3px;height:3px;border-radius:50%;background:var(--text-dim);display:inline-block;flex:none}
.pill{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--mono);font-size:12px;
  background:var(--surface);border:1px solid var(--line);
  color:var(--text);padding:5px 11px;border-radius:999px;
}

@media(max-width:760px){
  .section{padding:72px 0}
  .nav-links{gap:18px}
  .foot-in{flex-direction:column;align-items:flex-start;gap:14px}
}
