/*
Theme Name: ShieldLane Experimental Theme
Theme URI: https://shieldlane.sehatna.site
Author: OpenAI Codex
Description: Experimental WordPress theme assembly for ShieldLane.
Version: 0.1.0
Text Domain: shieldlane-experimental-theme
*/

:root {
  --sl-primary: #166534;
  --sl-accent: #0EA5E9;
  --sl-accent-deep: #0F4C81;
  --sl-ink: #0f172a;
  --sl-muted: #475569;
  --sl-bg: #f8fafc;
  --sl-surface: rgba(255,255,255,.92);
  --sl-line: rgba(15,23,42,.10);
  --sl-shadow: 0 18px 50px rgba(15,23,42,.08);
  --sl-radius: 24px;
  --sl-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(920px 520px at 0% 0%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(840px 480px at 100% 0%, rgba(22,101,52,.10), transparent 58%),
    var(--sl-bg);
  color: var(--sl-ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sl-container {
  width: min(var(--sl-container), calc(100% - 32px));
  margin: 0 auto;
}

.sl-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248,250,252,.78);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.sl-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.sl-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sl-brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sl-primary), var(--sl-accent));
  padding: 6px;
  box-shadow: 0 14px 28px rgba(14,165,233,.18);
}

.sl-brand-copy {
  display: grid;
  gap: 4px;
}

.sl-brand-copy strong {
  font-size: 20px;
  line-height: 1;
}

.sl-brand-copy small {
  color: var(--sl-muted);
  font-size: 13px;
}

.sl-header-actions,
.sl-nav-list,
.sl-footer-links,
.sl-inline-list,
.sl-card-grid,
.sl-faq-grid,
.sl-post-grid {
  display: flex;
  gap: 12px;
}

.sl-nav-list,
.sl-inline-list {
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sl-nav-list a,
.sl-inline-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--sl-ink);
  transition: background-color .2s ease, transform .2s ease;
}

.sl-nav-list a:hover,
.sl-inline-list a:hover {
  background: rgba(14,165,233,.08);
  transform: translateY(-1px);
}

.sl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sl-button:hover {
  transform: translateY(-1px);
}

.sl-button-primary {
  background: linear-gradient(135deg, var(--sl-primary), var(--sl-accent));
  color: #fff;
  box-shadow: 0 16px 34px rgba(14,165,233,.22);
}

.sl-button-secondary {
  background: rgba(255,255,255,.82);
  color: var(--sl-ink);
  border-color: rgba(15,23,42,.08);
}

.sl-page-shell {
  width: min(var(--sl-container), calc(100% - 32px));
  margin: 34px auto 56px;
  display: grid;
  gap: 24px;
}

.sl-hero-panel,
.sl-card,
.sl-prose,
.sl-post-card,
.sl-empty,
.sl-form-panel {
  background: var(--sl-surface);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  box-shadow: var(--sl-shadow);
}

.sl-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(14,165,233,.78)),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  color: #fff;
}

.sl-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 220px at 12% 18%, rgba(255,255,255,.18), transparent 70%),
    radial-gradient(520px 260px at 88% 0%, rgba(22,101,52,.22), transparent 66%);
  pointer-events: none;
}

.sl-hero-panel > * {
  position: relative;
}

.sl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 13px;
  font-weight: 800;
}

.sl-hero-panel h1 {
  margin: 16px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

.sl-hero-panel p {
  margin: 14px 0 0;
  max-width: 72ch;
  color: rgba(255,255,255,.9);
}

.sl-card-grid,
.sl-faq-grid,
.sl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sl-card,
.sl-post-card {
  padding: 20px;
}

.sl-card h2,
.sl-card h3,
.sl-post-card h2 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.sl-card p,
.sl-post-card p,
.sl-meta,
.sl-muted {
  color: var(--sl-muted);
}

.sl-inline-list strong {
  color: var(--sl-ink);
}

.sl-list,
.sl-checklist,
.sl-footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sl-checklist li,
.sl-list li {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--sl-line);
  background: rgba(255,255,255,.76);
}

.sl-checklist li::before,
.sl-list li::before {
  content: "•";
  display: inline-block;
  margin-inline-end: 8px;
  color: var(--sl-accent-deep);
  font-weight: 900;
}

.sl-prose {
  padding: 26px;
}

.sl-prose h2,
.sl-prose h3 {
  margin: 0 0 14px;
  line-height: 1.3;
}

.sl-prose h2 + p,
.sl-prose h3 + p {
  margin-top: 0;
}

.sl-prose p,
.sl-prose ul,
.sl-prose ol,
.sl-prose table {
  margin: 0 0 16px;
}

.sl-prose ul,
.sl-prose ol {
  padding-inline-start: 24px;
}

.sl-prose table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--sl-line);
  background: rgba(255,255,255,.92);
}

.sl-prose th,
.sl-prose td {
  padding: 12px 14px;
  border-top: 1px solid var(--sl-line);
  text-align: start;
  vertical-align: top;
}

.sl-faq-item {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--sl-line);
  background: rgba(255,255,255,.9);
  box-shadow: var(--sl-shadow);
}

.sl-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.sl-faq-item p {
  margin: 12px 0 0;
  color: var(--sl-muted);
}

.sl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.sl-field {
  display: grid;
  gap: 8px;
}

.sl-field-full {
  grid-column: 1 / -1;
}

.sl-field label {
  font-weight: 700;
}

.sl-field input,
.sl-field select,
.sl-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--sl-line);
  background: rgba(255,255,255,.95);
  color: var(--sl-ink);
  font: inherit;
}

.sl-field textarea {
  min-height: 150px;
  resize: vertical;
}

.sl-form-note {
  margin-top: 12px;
  color: var(--sl-muted);
  font-size: 14px;
}

.sl-post-grid {
  align-items: stretch;
}

.sl-post-card {
  display: grid;
  gap: 14px;
}

.sl-post-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.sl-empty {
  padding: 28px;
}

.sl-site-footer {
  margin-top: 56px;
  color: #e2e8f0;
  background:
    linear-gradient(160deg, #0f172a, #0b3a4b 70%, #0b4a3f);
}

.sl-footer-shell {
  width: min(var(--sl-container), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 28px;
  display: grid;
  gap: 22px;
}

.sl-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 20px;
}

.sl-footer-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.sl-footer-card h3 {
  margin: 0 0 12px;
}

.sl-footer-card p,
.sl-footer-card li,
.sl-footer-note {
  color: rgba(226,232,240,.82);
}

.sl-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 980px) {
  .sl-header-shell,
  .sl-footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .sl-card-grid,
  .sl-faq-grid,
  .sl-post-grid,
  .sl-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .sl-card-grid,
  .sl-faq-grid,
  .sl-post-grid,
  .sl-footer-grid,
  .sl-form-grid {
    grid-template-columns: 1fr;
  }

  .sl-page-shell {
    width: min(var(--sl-container), calc(100% - 24px));
  }
}
