/* The homepage (views/sw_home.templ), on the kit in swiss.css. */

/* 01: the tools it replaces, struck through in the faintest ink, then what it is instead. */
.swh-was {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.swh-was__old {
  color: var(--db-fg-4);
}
.swh-was__old s {
  text-decoration-thickness: 3px;
}

/* 02: the six areas, a ruled row each: number, name, what it does, arrow. */
.swh-rows li {
  border-top: 1px solid var(--db-edge-2);
}
.swh-rows li:last-child {
  border-bottom: 1px solid var(--db-edge-2);
}
.swh-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-block: 26px;
}
.swh-row__n {
  flex-shrink: 0;
  width: 40px;
  font-family: var(--sw-sans);
  font-size: 14px;
  line-height: 16px;
  color: var(--db-fg-3);
}
.swh-row__t {
  flex-shrink: 0;
  width: 280px;
}
.swh-row__d {
  flex: 1;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 25px;
  color: var(--db-fg-2);
}
.swh-row .sw-arrow {
  width: 20px;
  font-size: 18px;
  line-height: 22px;
}
.swh-row:hover .swh-row__t {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
@media (max-width: 760px) {
  .swh-row {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .swh-row__t {
    width: auto;
    flex: 1;
  }
  .swh-row__d {
    flex-basis: 100%;
    padding-left: 56px;
    order: 3;
  }
}

/* 03: the kinds of business, a column each under a faint rule: pictogram, name, how it books, examples in mono. */
.swh-kinds {
  display: flex;
  gap: 24px;
}
.swh-kinds li {
  flex: 0 1 176px;
  min-width: 0;
}
.swh-kind {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--db-edge-2);
}
.swh-kind__name {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 26px;
}
.swh-kind:hover .swh-kind__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.swh-kind__gets {
  min-height: 42px;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 21px;
  color: var(--db-fg-2);
}
.swh-kind__e {
  padding-top: 6px;
}
@media (max-width: 1100px) {
  .swh-kinds {
    flex-wrap: wrap;
    row-gap: 40px;
  }
  .swh-kinds li {
    flex-basis: 200px;
  }
}

/* Don't see yours? A ruled row to Who it's for. */
.swh-yours {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-block: 1px solid var(--db-fg);
  font-size: clamp(20px, 1rem + 0.6vw, 26px);
  letter-spacing: -0.02em;
  line-height: 30px;
}
.swh-yours__then {
  color: var(--db-fg-3);
}
