/* Sections, phone first. */

.band {
  padding: 56px 0;
}

.band-paper2 {
  background: var(--paper-2);
}

.band-dark {
  background: var(--slate);
  color: var(--rice);
}

.band-dark .lede,
.band-dark .dim {
  color: var(--rice-dim);
}

.band-dark .kicker {
  color: var(--gold);
}

.band-dark a {
  color: var(--rice);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.more {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
}

.page-head {
  padding-top: 40px;
  padding-bottom: 28px;
}

.crumbs {
  padding-top: 20px;
  font-size: 0.92rem;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---- Hero: the kolam is the company register ---------------------------------------- */

.hero {
  background: var(--slate);
  color: var(--rice);
  padding: 28px 0 40px;
  overflow: hidden;
}

.hero h1 {
  color: var(--rice);
  font-size: clamp(2.7rem, 13.4vw, 6rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--rice);
  max-width: 40ch;
}

.hero-proof {
  font-size: 0.95rem;
  color: var(--rice-dim);
  border-top: 1px solid #4a453d;
  padding-top: 12px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-fig {
  margin-top: 28px;
}

.hero-caption {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--rice-dim);
  max-width: 60ch;
}

.kolam {
  position: relative;
}

.kolam svg {
  display: block;
  width: 100%;
  height: auto;
}

.kolam-line {
  stroke: var(--rice);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: draw 3.2s cubic-bezier(0.55, 0.1, 0.35, 1) both;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}

.kolam-dot {
  fill: var(--rice-dim);
}

.kolam-co {
  fill: var(--gold);
}

.kolam-labels {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kl {
  position: absolute;
  transform: translate(-50%, -50%);
}

.kl a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--slate);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
}

.kl a:hover,
.kl a:focus-visible {
  background: var(--rice);
}

.kl-name,
.kl-meta {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Company sheets ------------------------------------------------------------------ */

.sheets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.sheet {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 22px 20px 20px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.co-mark {
  color: var(--slate);
}

.co-mark .mark-dot {
  fill: var(--ink);
}

.co-mark .mark-own {
  fill: var(--leaf);
}

.co-logo {
  border-radius: 8px;
  object-fit: contain;
}

.sheet-sector {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-align: right;
}

.sheet-name {
  font-size: 2rem;
  margin: 0;
}

.sheet-name a {
  color: var(--ink);
  text-decoration: none;
}

.sheet-name a:hover {
  color: var(--leaf);
  text-decoration: underline;
}

.sheet-line {
  margin: 0;
}

.sheet-place {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.kv-reg {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
}

.reg {
  font-weight: 600;
  letter-spacing: 0.02em;
  user-select: all;
}

.issuer {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.check {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 4px;
}

.sheet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  font-weight: 700;
}

/* ---- Story: the letter and the timeline -------------------------------------------- */

.story {
  display: grid;
  gap: 40px;
}

.letter-body {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
}

.letter-body p {
  max-width: 34ch;
}

.story-page .letter-body p {
  max-width: 40ch;
}

.signed {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.95rem;
}

.signed-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 79px;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: var(--rule);
}

.tl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 8px 0;
  position: relative;
  align-items: baseline;
}

.tl::before {
  content: "";
  position: absolute;
  left: 74px;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  background: var(--paper-2);
}

.tl-co::before {
  border-color: var(--leaf);
  background: var(--leaf);
}

.tl-year {
  font-family: var(--serif);
  font-size: 1.7rem;
  text-align: right;
}

.tl-co .tl-text {
  font-weight: 700;
}

/* ---- Values ------------------------------------------------------------------------- */

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.values li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.v-n {
  grid-row: span 3;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-ink);
  line-height: 1.1;
}

.v-we {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 0;
}

.v-instead {
  margin: 0;
}

.v-example {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---- People ------------------------------------------------------------------------- */

.roll {
  display: grid;
  gap: 32px;
}

.roll-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.person {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.initials {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.person-words {
  display: grid;
  gap: 2px;
}

.person-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.person-role {
  font-weight: 600;
}

.person-boards,
.person-note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---- News --------------------------------------------------------------------------- */

.news {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.news li a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.news-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
}

.news li a:hover .news-title {
  color: var(--leaf);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.news-sum {
  color: var(--muted);
}

.two-up {
  display: grid;
  gap: 48px;
}

.careers-box {
  padding: 28px 24px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-self: start;
}

.hiring {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.hiring a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.hiring a:hover {
  color: var(--leaf);
}

.fraud-line {
  font-size: 0.95rem;
  padding-left: 12px;
  border-left: 3px solid var(--gold-ink);
}

/* ---- Contact desks ------------------------------------------------------------------- */

.desks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.band-dark .desks,
.band-dark .desks li {
  border-color: #4a453d;
}

.desks li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.desk-who {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0;
}

.desk-region {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 2px;
}

.band-dark .desk-region {
  color: var(--gold);
}

.desk-body p {
  margin: 0 0 2px;
}

.desk-person {
  font-weight: 700;
}

.desk-reach {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  overflow-wrap: anywhere;
}

/* ---- Company page ------------------------------------------------------------------- */

.company-head {
  display: grid;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.company-body {
  display: grid;
  gap: 40px;
  padding-bottom: 56px;
}

.prose p {
  max-width: 66ch;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
}

.company-rail {
  padding: 22px 20px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.company-rail .kv-reg {
  margin: 0;
  padding: 0;
  border: 0;
}

.others {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.others a {
  display: grid;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}

.others-name {
  font-family: var(--serif);
  font-size: 1.4rem;
}

/* ---- Careers -------------------------------------------------------------------------- */

.careers {
  display: grid;
  gap: 40px;
  padding-bottom: 56px;
}

.roles-co {
  margin-bottom: 32px;
}

.roles-co h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.9rem;
}

.count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--slate);
  color: var(--rice);
  font-size: 0.85rem;
  font-weight: 700;
}

.roles-co ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.roles-co a {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}

.role-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.roles-co a:hover .role-title {
  color: var(--leaf);
  text-decoration: underline;
}

.role-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.role-code {
  font-size: 0.85rem;
  color: var(--gold-ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.open-app {
  padding: 24px;
  background: var(--paper-2);
  border-radius: 10px;
  margin-bottom: 32px;
}

.open-app h2,
.careers-main section h2 {
  font-size: 1.9rem;
}

.notice-box {
  padding: 20px 20px 16px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold-ink);
  border-radius: 6px;
  margin-bottom: 20px;
}

.notice-box h2 {
  font-size: 1.6rem;
}

.notice-box ul {
  margin: 0 0 12px;
  padding-left: 1.1em;
}

.notice-box li {
  margin-bottom: 6px;
}

.notice-abroad {
  border-left-color: var(--leaf);
}

.via {
  font-size: 0.95rem;
}

.role {
  padding-bottom: 56px;
}

.role-head {
  padding: 20px 0 28px;
}

.kv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.role-body {
  display: grid;
  gap: 40px;
}

.role-text h2 {
  font-size: 1.8rem;
  margin-top: 8px;
}

.role-text ul {
  padding-left: 1.1em;
  margin: 0 0 28px;
}

.role-text li {
  margin-bottom: 6px;
}

.apply {
  padding: 24px 20px;
  background: var(--paper-2);
  border-radius: 10px;
  align-self: start;
}

.apply h2 {
  font-size: 2rem;
}

.privacy {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---- Investors ---------------------------------------------------------------------- */

.docs section {
  margin-bottom: 36px;
}

.docs h3 {
  font-size: 1.8rem;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
}

.doc-table thead th:nth-child(1) {
  width: 46%;
}

.doc-table thead th:nth-child(2) {
  width: 28%;
}

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

.doc-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1.5px solid var(--ink);
}

.doc-table tbody th {
  font-weight: 600;
}

.disclaimer {
  margin: 40px 0 56px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 90ch;
}

/* ---- Contact, thanks, article ------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 40px;
}

.office {
  align-self: start;
}

.thanks {
  padding-top: 48px;
  padding-bottom: 72px;
  max-width: 860px;
}

.steps {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 14px;
  padding: 10px 0;
}

.step-dot {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.steps .done .step-dot {
  background: var(--leaf);
  border-color: var(--leaf);
}

.step-title {
  font-weight: 700;
}

.step-when {
  color: var(--muted);
}

.fallback {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.article {
  padding-top: 20px;
  padding-bottom: 64px;
}

.article h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.article .news-meta {
  margin-bottom: 18px;
}

/* Phone: documents table rows stack. */
@media (max-width: 759px) {
  .doc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .doc-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }

  .doc-table th,
  .doc-table td {
    padding: 0;
    border: 0;
  }

  .doc-table tbody th {
    grid-column: 1 / -1;
  }

  .doc-table td {
    color: var(--muted);
    font-size: 0.88rem;
  }
}
