/* Content pages (/gst-billing-software, /hsn-code/…, …) — the same look as the landing, without
   the app. Rendered by backend/app/site_shell.py. Self-contained: no style.css needed. */
:root {
  --ink: #0d1b2a; --ink-2: #34445a; --muted: #5b6b80; --line: #e4e9f0;
  --bg-2: #f6f8fb; --brand: #0e8ca2; --brand-d: #0a6d7e; --brand-s: #e6f5f7; --deep: #0b2830;
  --sh: 0 1px 2px rgba(13,27,42,.06), 0 8px 28px rgba(13,27,42,.08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink);
  background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-d); }
img { max-width: 100%; }
.s-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .s-wrap { padding: 0 32px; } }
.s-narrow { max-width: 820px; }

/* nav */
.s-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.s-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.s-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.s-logo img { width: 28px; height: 28px; }
.s-logo b { color: var(--brand); }
.s-links { display: flex; align-items: center; gap: 4px; }
.s-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.s-links a:hover { background: var(--bg-2); color: var(--ink); }
.s-links .s-hide-sm { display: none; }
@media (min-width: 820px) { .s-links .s-hide-sm { display: inline-block; } }
.s-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff !important;
  text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer;
  transition: background .15s, transform .15s; font-family: inherit; }
.s-btn:hover { background: var(--brand-d); transform: translateY(-1px); }
.s-btn.sm { padding: 9px 14px; font-size: 14px; }
.s-btn.light { background: #fff; color: var(--brand-d) !important; }

/* page head */
.s-head { padding: 40px 0 28px; background: radial-gradient(700px 300px at 90% -20%, rgba(14,140,162,.12), transparent 60%), linear-gradient(#fff, #f8fafc); border-bottom: 1px solid var(--line); }
.s-crumb { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.s-crumb a { color: var(--brand-d); text-decoration: none; }
.s-crumb a:hover { text-decoration: underline; }
.s-head h1 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 0 0 14px; }
.s-lede { font-size: 18px; color: var(--muted); margin: 0; max-width: 68ch; }
.s-kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* article body */
.s-body { padding: 36px 0 24px; }
.s-body section { margin: 0 0 36px; }
.s-body h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.25; }
.s-body h3 { font-size: 17px; margin: 0 0 6px; }
.s-body p { margin: 0 0 14px; max-width: 70ch; }
.s-list { margin: 0 0 14px; padding-left: 0; list-style: none; }
.s-list li { position: relative; padding-left: 28px; margin-bottom: 9px; max-width: 68ch; }
.s-list li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.s-faq { padding: 16px 0; border-top: 1px solid var(--line); }
.s-faq p { color: var(--muted); margin: 0; }
.s-rels { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.s-rel { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: transform .15s, box-shadow .15s; }
.s-rel:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.s-rel b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.s-rel span { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* HSN tools */
.s-search { display: flex; gap: 8px; margin: 22px 0 0; max-width: 640px; }
.s-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; }
.s-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,140,162,.15); }
.s-note { display: flex; gap: 12px; align-items: flex-start; background: #fff8eb; border: 1px solid #f5dfb3; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; color: #6b4b12; margin: 0 0 24px; }
.s-note b { color: #4a3209; }
.s-table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 24px; }
.s-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.s-table th { text-align: left; background: var(--bg-2); color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.s-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.s-table tr:last-child td { border-bottom: 0; }
.s-table tr:target td { background: #fff7d6; }
.s-table td.s-code { font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-weight: 600; white-space: nowrap; width: 1%; }
.s-table a { text-decoration: none; }
.s-table a:hover { text-decoration: underline; }
.s-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.s-tile { display: flex; gap: 12px; align-items: baseline; text-decoration: none; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.s-tile:hover { border-color: #bfdfe5; box-shadow: var(--sh); }
.s-tile code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; color: var(--brand-d); flex: none; }
.s-tile span { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.s-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 32px; }
.s-pager a { text-decoration: none; font-weight: 600; font-size: 14.5px; }
.s-empty { color: var(--muted); }

/* CTA + footer */
.s-cta { margin: 24px 0 56px; border-radius: 20px; padding: 36px 28px; text-align: center; color: #cfe7eb;
  background: radial-gradient(500px 240px at 10% 0%, rgba(95,212,227,.25), transparent 60%), linear-gradient(135deg, #0a6d7e, #0b2830); }
.s-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; letter-spacing: -.02em; }
.s-cta p { margin: 0 auto 18px; max-width: 560px; }
.s-foot { background: #071a20; color: #92aab0; padding: 40px 0 28px; font-size: 14px; }
.s-foot-in { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; }
.s-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.s-foot a { color: #b5c9cd; text-decoration: none; }
.s-foot a:hover { color: #fff; }
.s-links a { white-space: nowrap; }
@media (max-width: 420px) { .s-logo { font-size: 16px; } .s-links a { padding: 8px; } .s-btn.sm { padding: 8px 12px; } .s-head h1 { font-size: 26px; } .s-lede { font-size: 16px; } }
