@import url('https://smohith.com/css/site.min.css?v=10');

/* smohith.com — Policies & Legal styles (supplements site.min.css) */

/* Nav ask button sticker style */
.main-nav .nav-ask,
.main-nav .nav-cta.nav-ask {
  background: var(--yellow);
  color: #161C40;
  border: 2px solid #161C40;
  padding: 11px 18px;
  transform: rotate(-2deg);
  display: inline-block;
  border-radius: 999px !important;
}

/* Legal meta box */
.legal-meta {
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding: 14px 18px;
  background: var(--card);
  border: 2px dashed var(--rule);
  margin: 28px 0;
  transition: background-color .5s;
}
.legal-meta strong {
  color: var(--ink);
}

/* Document cards grid on index.html */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 52px 28px;
  margin: 48px 0;
}
.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 36px 24px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .5s;
  box-shadow: 10px 10px 0 var(--ink);
}
.doc-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 14px 14px 0 var(--c, var(--yellow));
  color: var(--ink);
}
.doc-card .tab {
  position: absolute;
  top: -30px;
  left: -2px;
  height: 30px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c, var(--yellow));
  color: #161C40;
  border: 2px solid var(--ink);
  border-bottom: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.doc-card:nth-child(3n+1) .tab { left: -2px; }
.doc-card:nth-child(3n+2) .tab { left: 24%; }
.doc-card:nth-child(3n) .tab { right: -2px; left: auto; }

.doc-card .emoji {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 16px;
}
.doc-card .t {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.doc-card .d {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 20px;
}
.doc-card .go {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
}
.doc-card:hover .go {
  text-decoration: underline;
}

/* Callout / notice boxes */
.notice {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 22px 24px;
  margin: 32px 0;
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transition: background-color .5s;
}
.notice .t {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}
.notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.notice.mint {
  background: var(--mint);
  color: #12332E;
  border-color: #12332E;
  box-shadow: 8px 8px 0 rgba(22, 28, 64, .25);
  transform: rotate(-0.5deg);
}
.notice.mint .t,
.notice.mint p {
  color: #12332E;
}
.notice.warn {
  background: #FFF3F0;
  border-color: #C2412D;
  color: #4A150E;
  box-shadow: 8px 8px 0 #C2412D;
}
.notice.warn .t {
  color: #C2412D;
}
.notice.warn p {
  color: #4A150E;
}

:root[data-theme="dark"] .notice.mint {
  background: #173830;
  color: #D4F4E7;
  border-color: #5FB8AE;
  box-shadow: 8px 8px 0 #071512;
}
:root[data-theme="dark"] .notice.mint .t,
:root[data-theme="dark"] .notice.mint p {
  color: #D4F4E7;
}
:root[data-theme="dark"] .notice.warn {
  background: #331518;
  border-color: #F87171;
  color: #FEE2E2;
  box-shadow: 8px 8px 0 #18080a;
}
:root[data-theme="dark"] .notice.warn .t {
  color: #F87171;
}
:root[data-theme="dark"] .notice.warn p {
  color: #FEE2E2;
}
