:root {
  --ink: #1c2a22;
  --ink-soft: #3d4f44;
  --muted: #5c6d63;
  --paper: #f4efe4;
  --paper-2: #efe6d4;
  --white: #fffdf8;
  --green: #2c6a4a;
  --green-dark: #1e4d36;
  --green-soft: #e4f0e6;
  --marigold: #d9822b;
  --marigold-soft: #f8e6cc;
  --line: #ddcfb6;
  --shadow: 0 10px 30px rgba(28, 42, 34, 0.08);
  --radius: 18px;
  --font: "Noto Sans", "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Kannada", "Noto Sans Telugu", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #f8e7c8 0, transparent 28%),
    radial-gradient(circle at 92% 0%, #dcecd9 0, transparent 26%),
    var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

body.lang-hi { font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif; }
body.lang-ta { font-family: "Noto Sans Tamil", "Noto Sans", sans-serif; }
body.lang-kn { font-family: "Noto Sans Kannada", "Noto Sans", sans-serif; }
body.lang-te { font-family: "Noto Sans Telugu", "Noto Sans", sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  min-height: 72px;
  padding: 0.65rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.lang-switch button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.hero {
  padding: 2.4rem 0 1.5rem;
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
}

.kicker {
  display: inline-block;
  background: var(--marigold-soft);
  color: #7a4309;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-bottom: 0.85rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover { background: var(--green-dark); }

.btn--ghost {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--green);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust span::before {
  content: "•";
  color: var(--marigold);
  margin-right: 0.45rem;
}

.hero__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.hero__card h2 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.mini-job {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-top: 1px dashed var(--line);
}

.mini-job:first-of-type { border-top: 0; }

.mini-job b { display: block; }
.mini-job span { color: var(--muted); font-size: 0.88rem; }

.section {
  padding: 2.2rem 0;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.lede {
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 1.3rem;
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem;
  text-align: left;
  cursor: pointer;
  min-height: 7.5rem;
}

.role-card:hover,
.role-card:focus {
  border-color: var(--green);
  outline: none;
}

.role-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.role-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.role-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1rem 1.15rem;
  border-left: 5px solid var(--marigold);
}

.step strong {
  display: block;
  margin-bottom: 0.25rem;
}

.board {
  display: grid;
  gap: 0.75rem;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.job-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.pill--new {
  background: var(--green-soft);
  color: var(--green-dark);
}

.job-card__meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.forms {
  background: #1e3a2c;
  color: #f4efe4;
  border-radius: 28px;
  padding: 1.3rem 1.1rem 1.5rem;
}

.forms h2,
.forms .lede { color: #f4efe4; }
.forms .lede { opacity: 0.88; }

.tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tabs button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: #f4efe4;
  cursor: pointer;
  font-weight: 700;
}

.tabs button.is-active {
  background: var(--marigold);
  color: #1c2a22;
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 1rem;
}

.form-card[hidden] { display: none; }

.field {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.75rem;
}

.field span {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.field textarea { min-height: 5.2rem; resize: vertical; }

.form-msg {
  margin-top: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
}

.form-msg[hidden],
.form-error[hidden] { display: none; }

.form-error {
  margin-top: 0.5rem;
  color: #9b2c2c;
  font-size: 0.9rem;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.86;
}

.site-footer {
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forms { padding: 1.7rem; }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.8rem;
  }

  .field--wide { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .roles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
