/* Hisab Card — public site styles.
   One small stylesheet, no framework and no build step: the site is a handful of
   static pages whose only job is to be readable, fast, and honest. */

:root {
  --teal-900: #04343a;
  --teal-700: #075e66;
  --teal-500: #0d8f97;
  --teal-100: #e6f4f4;
  --ink-900: #101b1d;
  --ink-700: #33454a;
  --ink-500: #5c7377;
  --line: #d7e3e3;
  --surface: #ffffff;
  --page: #f6fafa;
  --radius: 14px;
  --maxw: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-900);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

header.site {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff;
  padding: 18px 20px;
}

header.site .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

header.site a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

header.site .mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 15px;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}

header.site nav a {
  opacity: 0.9;
}

header.site nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 20px 72px;
}

main.wide {
  max-width: 900px;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

h2 {
  font-size: 20px;
  margin: 36px 0 10px;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
  margin: 24px 0 6px;
}

p,
li {
  color: var(--ink-700);
}

.lede {
  font-size: 18px;
  color: var(--ink-500);
}

a {
  color: var(--teal-700);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 18px 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0;
}

@media (min-width: 640px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.role {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.role h3 {
  margin-top: 0;
  color: var(--teal-900);
}

.meta {
  font-size: 14px;
  color: var(--ink-500);
}

.updated {
  background: var(--teal-100);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--teal-900);
  display: inline-block;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--teal-100);
  color: var(--teal-900);
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 20px 40px;
  font-size: 14px;
  color: var(--ink-500);
}

footer.site .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--ink-500);
}

.notice {
  border-left: 3px solid var(--teal-500);
  background: var(--surface);
  padding: 12px 16px;
  margin: 18px 0;
  border-radius: 0 10px 10px 0;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  margin: 14px 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
