/* Shared Solace-AI styles. Colours follow the logo. */
:root{
  --ink:#222629;
  --ink-2:#41474c;
  --ink-3:#5f676e;
  --rule:#e3e6e8;
  --green:#98ca3c;
  --green-deep:#557a14;
  --blue:#758bc6;
  --blue-deep:#4f63a0;
  --tint:#f6f8f1;
  --tint-blue:#f1f3fa;
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;background:#fff;color:var(--ink-2);
  font-family:"Source Sans 3",system-ui,-apple-system,sans-serif;
  font-size:1.0625rem;line-height:1.6;
}
a{color:var(--blue-deep);}
a:focus-visible{outline:3px solid var(--blue);outline-offset:2px;}
img{max-width:100%;}
.wrap{max-width:900px;margin:0 auto;padding:0 24px;}

.site-header{border-bottom:1px solid var(--rule);}
.site-header .wrap{
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:12px 24px;padding-top:16px;padding-bottom:16px;
}
.site-header img{display:block;width:210px;height:auto;}
.site-header nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-weight:600;}
.site-header nav a{text-decoration:none;white-space:nowrap;}
.site-header nav a:hover{text-decoration:underline;}
.site-header nav a[aria-current="page"]{
  color:var(--ink);border-bottom:3px solid var(--green);
}

.hero{padding:44px 0 8px;}
.hero .deeper-logo{display:block;height:76px;width:auto;margin-bottom:24px;}
h1{
  color:var(--ink);font-size:clamp(1.55rem,4.2vw,2.1rem);
  line-height:1.2;letter-spacing:-.01em;margin:0 0 14px;
}
h1 b{color:var(--green-deep);}
.lede{font-size:1.2rem;margin:0;}

section{padding-top:38px;}
h2{
  color:var(--ink);font-size:.9rem;letter-spacing:.12em;
  text-transform:uppercase;margin:0;
}
h2::after{
  content:"";display:block;width:48px;height:3px;border-radius:2px;
  background:var(--green);margin-top:10px;
}

.docs{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:14px;}
.docs a{
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  border:1px solid var(--rule);border-left:5px solid var(--green);
  border-radius:8px;padding:16px 20px;text-decoration:none;color:var(--ink-2);
}
.docs li:nth-child(2n) a{border-left-color:var(--blue);}
.docs a:hover{background:var(--tint);}
.docs .title{display:block;color:var(--blue-deep);font-weight:700;font-size:1.12rem;line-height:1.3;}
.docs a:hover .title{text-decoration:underline;}
.docs .desc{display:block;font-size:.98rem;line-height:1.45;margin-top:3px;}
.docs .type{
  flex:0 0 auto;font-size:.76rem;font-weight:700;letter-spacing:.06em;
  color:var(--ink-3);border:1px solid var(--rule);border-radius:4px;
  padding:2px 8px;background:#fff;
}
.note{
  background:var(--tint-blue);border:1px solid #d6dcef;border-radius:8px;
  padding:12px 18px;margin:22px 0 0;font-size:.98rem;
}

.domains{
  list-style:none;margin:22px 0 0;padding:0;
  border:1px solid var(--rule);border-radius:8px;overflow:hidden;
}
.domains li{display:flex;align-items:center;gap:14px;padding:11px 16px;color:var(--ink);font-weight:600;}
.domains li + li{border-top:1px solid var(--rule);}
.domains span{
  flex:0 0 30px;height:30px;border-radius:5px;display:grid;place-items:center;
  background:var(--green-deep);color:#fff;font-weight:700;
}
.domains li:nth-child(2n) span{background:var(--blue-deep);}

footer{margin-top:56px;border-top:1px solid var(--rule);background:var(--tint);}
footer .wrap{padding-top:26px;padding-bottom:30px;font-size:.96rem;}
footer p{margin:0 0 6px;}

@media(max-width:560px){
  .wrap{padding:0 18px;}
  .site-header img{width:170px;}
  .hero{padding-top:30px;}
  .hero .deeper-logo{height:56px;}
  .docs a{padding:14px 16px;gap:12px;}
}

/* ===== Long-form content (home page) ===== */
.hero h1 + .note{margin-top:28px;}
h3{color:var(--ink);font-size:1.15rem;line-height:1.3;margin:30px 0 8px;}
h2 + p, h2 + ul{margin-top:22px;}
figure{margin:26px 0;}
figure img{display:block;margin:0 auto;height:auto;}
figcaption{font-size:.95rem;color:var(--ink-3);margin-top:10px;text-align:center;}
.table-wrap{border:1px solid var(--rule);border-radius:8px;overflow:hidden;}
table{width:100%;border-collapse:collapse;text-align:left;}
th,td{padding:11px 16px;vertical-align:top;text-align:left;}
th{background:var(--tint);color:var(--ink);}
tr + tr td, tbody tr:first-child td{border-top:1px solid var(--rule);}
td:first-child{color:var(--ink);font-weight:600;}
.callout{
  margin:22px 0;padding:4px 20px;background:var(--tint);
  border-left:5px solid var(--green);border-radius:8px;
}
.card{
  margin-top:28px;padding:18px 22px;border:1px solid var(--rule);
  border-left:5px solid var(--blue);border-radius:8px;
}
.card h2{font-size:1.25rem;letter-spacing:0;text-transform:none;}
.card h2::after{display:none;}
.card p{margin:8px 0 0;}
section[id]{scroll-margin-top:8px;}

/* ===== Blog posts ===== */
article figure img{border-radius:8px;max-height:640px;width:auto;}
.back{margin-top:38px;padding-top:20px;border-top:1px solid var(--rule);font-weight:600;}
