/*
 * KuralNest public site. Colours and font stacks come from packages/ui tokens.css (copied in at
 * build time as tokens.css); sizes follow the ui-taste type scale and spacing. No JavaScript.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Tamil";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-tamil-tamil-400-normal.woff2") format("woff2");
  unicode-range: U+0B80-0BFF;
}
@font-face {
  font-family: "Noto Sans Tamil";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/noto-sans-tamil-tamil-600-normal.woff2") format("woff2");
  unicode-range: U+0B80-0BFF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-stack-sans);
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--bg);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

.top {
  border-bottom: 1px solid var(--border);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--text);
  color: var(--on-text);
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  opacity: 0.9;
}
.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

main {
  padding: 56px 0;
}
.hero {
  max-width: 640px;
}
.eyebrow {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}
h1 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}
h2 {
  margin: 32px 0 8px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}
.lead {
  margin: 12px 0 0;
  font-size: 17px;
  color: var(--text-2);
}
.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.prose {
  max-width: 720px;
}
.prose p,
.prose li {
  color: var(--text-2);
}
.prose ul {
  padding-left: 20px;
}

.draft {
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--warning-bg);
  color: var(--warning-fg);
  border: 1px solid var(--border);
}
.draft strong {
  display: block;
  font-size: 15px;
}
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--warning-bg);
  color: var(--warning-fg);
  font-size: 13px;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  font-size: 13px;
  color: var(--text-3);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer a {
  display: inline-block;
  padding: 10px 0;
  color: var(--text-2);
}
