/* Shared layout for public solution and guide pages. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0f2535;
  --navy-card: #152d3f;
  --orange: #f07820;
  --orange-dim: #c4601a;
  --text: #e8f2f5;
  --muted: #8ab8c8;
  --border: #2a4a5a;
}
body {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30,58,74,0.45) 0%, transparent 55%),
    var(--navy);
  color: var(--text);
  font-family: var(--font-sans, "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
  line-height: 1.7;
}
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
  padding: 0 1.25rem;
  background: rgba(15, 37, 53, 0.96);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 3.2rem 1.35rem 4.5rem; }
.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.8rem;
}
h1 {
  font-family: var(--font-serif, Fraunces, Georgia, serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.lede { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.5rem; }
h2 {
  font-family: var(--font-serif, Fraunces, Georgia, serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2.4rem 0 0.75rem;
}
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
p { color: var(--muted); margin-bottom: 0.95rem; }
strong { color: var(--text); }
ul, ol { margin: 0 0 1rem 1.2rem; color: var(--muted); }
li { margin-bottom: 0.4rem; }
a { color: var(--orange); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 0.4rem; }
.btn-p, .btn-s {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}
.btn-p { background: var(--orange); color: #fff; }
.btn-p:hover { background: var(--orange-dim); }
.btn-s { border: 1px solid var(--border); color: var(--text); }
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 0.8rem 0;
}
.card h3 { margin-top: 0; }
details { border-top: 1px solid var(--border); padding: 0.85rem 0; }
summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p { margin-top: 0.5rem; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot { max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; margin-right: 0.8rem; }
.foot a:hover { color: var(--text); }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}
